Thread (20 messages) 20 messages, 5 authors, 2026-06-11

Re: [PATCH v1 1/6] objtool/powerpc: Add build-time fixup of alternate feature branch targets

From: Peter Zijlstra <peterz@infradead.org>
Date: 2026-05-05 14:46:02
Also in: linux-kbuild, lkml

On Tue, May 05, 2026 at 02:16:23PM +0530, Sathvika Vasireddy wrote:
 	switch (opcode) {
+	case 16:
Like case 18 below, this wants a comment describing which instruction
this is; bclr ?
+		if (ins & 1)
+			typ = INSN_OTHER;
+		else
+			typ = INSN_JUMP_CONDITIONAL;
+		imm = ins & 0xfffc;
+		if (imm & 0x8000)
+			imm -= 0x10000;
+		insn->immediate = imm | aa;
+		break;
+
 	case 18: /* b[l][a] */
 		if (ins == 0x48000005)	/* bl .+4 */
 			typ = INSN_OTHER;
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help