mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
42bd5254fb
Fix the bug that can not generate func@plt when linking a undefined function with cmodel=medium. Add testcase. bfd/ * elfnn-loongarch.c ld/testsuite/ld-loongarch-elf/ * cmodel-libjirl.dd * cmodel.exp * libjirl.s
3 lines
61 B
ArmAsm
3 lines
61 B
ArmAsm
pcalau12i $r12, %pc_hi20(func)
|
|
jirl $r1,$r12, %pc_lo12(func)
|