On Sun, 2022-09-04 at 10:26 +0800, Lulu Cheng wrote: > If the above modifications are not added, the function call is: > > bl %plt(test1) > > now is : > > bl test1
Regarding "%plt(...)", in the binutils code: /* For compatible old asm code. */ if (0 == strcmp (op_c_str, "plt")) btype = BFD_RELOC_LARCH_B26; Link: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gas/config/loongarch-parse.y;h=8704687706df50aa15aff05f97e4560d7ec6fa23;hb=refs/heads/master#l131 Zhensong: does "old asm code" here mean we should remove %plt from "new" assembly code, i. e. stop to print %plt(...) in GCC completely? -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University