Gas: Any pseudo instruction to disable a single RELOC?

YunQiang Su syq@gcc.gnu.org
Fri Jan 12 16:00:13 GMT 2024


>
> For this purpose GAS already supports the nal alias for bltzal $r0, 0.
>

Yes. I tried it first, and the performance of it is soooo bad.
The attached test case on Loongson 3A:

classic-MIPS-PIC          NAL-PIC                    BAL-PIC
1.5s                               18s (eighteen)           5s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xx.c
Type: application/octet-stream
Size: 934 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240113/8699d77d/attachment.obj>


More information about the Binutils mailing list