
Add ld relax support and testsuits. ld/ChangeLog: * emultempl/loongarchelf.em: Regenerated. * testsuite/ld-elf/compressed1d.d: Xfail loongarch*-*. * testsuite/ld-elf/pr26936.d: Likewise. * testsuite/ld-loongarch-elf/disas-jirl.d: Regenerated. * testsuite/ld-loongarch-elf/disas-jirl-32.d: Regenerated. * testsuite/ld-loongarch-elf/jmp_op.d: Likewise. * testsuite/ld-loongarch-elf/macro_op.d: Likewise. * testsuite/ld-loongarch-elf/macro_op_32.d: Likewise. * testsuite/ld-loongarch-elf/relax-align.dd: New test. * testsuite/ld-loongarch-elf/relax-align.s: New test. * testsuite/ld-loongarch-elf/relax.exp: New test. * testsuite/ld-loongarch-elf/relax.s: New test. * testsuite/ld-loongarch-elf/uleb128.dd: New test. * testsuite/ld-loongarch-elf/uleb128.s: New test.
18 lines
690 B
Makefile
18 lines
690 B
Makefile
#source: pr26936a.s
|
|
#source: pr26936b.s
|
|
#source: pr26936c.s
|
|
#as: --gen-debug
|
|
#ld: -z noseparate-code -Ttext-segment 0x10000 -z max-page-size=0x1000 -z common-page-size=0x1000
|
|
#readelf: -wL -W
|
|
#target: [check_shared_lib_support]
|
|
# Assembly source file for the HPPA assembler is renamed and modifed by
|
|
# sed. loongarch and mn10300 and riscv put different numbers of local symbols in
|
|
# linkonce section and comdat sections. xtensa has more than one member
|
|
# in comdat groups.
|
|
#xfail: am33_2.0-*-* hppa*-*-hpux* loongarch*-*-* mn10300-*-* riscv*-*-* xtensa*-*-*
|
|
|
|
#...
|
|
CU: .*/pr26936c.s:
|
|
File name +Line number +Starting address +View +Stmt
|
|
pr26936c.s +6 +0x10[0-9a-f][0-9a-f][0-9a-f] +x
|
|
#pass
|