binutils-gdb/ld/testsuite/ld-loongarch-elf/cmodel-libjirl.dd
liuzhensong 42bd5254fb LoongArch: ld: Fix bug not generate plt when link a dso
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
2022-08-24 14:27:03 +08:00

5 lines
58 B
Plaintext

.*file format.*loongarch
#...
[0-9a-f]+ <func@plt>:
#pass