Gas: Any pseudo instruction to disable a single RELOC?

YunQiang Su syq@gcc.gnu.org
Fri Jan 12 10:08:59 GMT 2024


Is there a way to disable generating RELOC for a single instruction?
One example is

     .set noreorder
xx:
      .reloc 0,R_MIPS_NONE,0  # append a new reloc.
      bal 4
      nop
      sll $2,$2,0
      sll $2,$2,0


In this example, I wish `bal 4` would be keeped as is.
Is there a way to disable generating any RELOC?


More information about the Binutils mailing list