From 2cb10f02b0e0d0d062c97c19defef1e5e334b13b Mon Sep 17 00:00:00 2001 From: liuzhensong Date: Mon, 11 Jul 2022 11:02:44 +0800 Subject: [PATCH] LoongArch: Add testcases for new relocate types. gas/testsuite/gas/all/ gas.exp gas/testsuite/gas/loongarch/ jmp_op.d jmp_op.s macro_op.d macro_op.s macro_op_32.d macro_op_32.s macro_op_large_abs.d macro_op_large_abs.s macro_op_large_pc.d macro_op_large_pc.s reloc.d reloc.s ld/testsuite/ld-elf/ pr26936.d shared.exp ld/testsuite/ld-loongarch-elf/ attr-ifunc-4.c attr-ifunc-4.out disas-jirl.d ifunc.exp jmp_op.d jmp_op.s libnopic-global.s macro_op.d macro_op.s macro_op_32.d macro_op_32.s nopic-global-so.rd nopic-global-so.sd nopic-global.out nopic-global.s nopic-global.sd nopic-global.xd nopic-local.out nopic-local.rd nopic-local.s nopic-local.sd nopic-local.xd nopic-weak-global-so.rd nopic-weak-global-so.sd nopic-weak-global.out nopic-weak-global.s nopic-weak-global.sd nopic-weak-global.xd nopic-weak-local.out nopic-weak-local.rd nopic-weak-local.s nopic-weak-local.sd nopic-weak-local.xd pic.exp pic.ld --- gas/testsuite/gas/all/gas.exp | 4 +- gas/testsuite/gas/loongarch/jmp_op.d | 82 +- gas/testsuite/gas/loongarch/jmp_op.s | 38 +- gas/testsuite/gas/loongarch/macro_op.d | 778 ++------------- gas/testsuite/gas/loongarch/macro_op.s | 44 +- gas/testsuite/gas/loongarch/macro_op_32.d | 55 ++ gas/testsuite/gas/loongarch/macro_op_32.s | 16 + .../gas/loongarch/macro_op_large_abs.d | 77 ++ .../gas/loongarch/macro_op_large_abs.s | 9 + .../gas/loongarch/macro_op_large_pc.d | 77 ++ .../gas/loongarch/macro_op_large_pc.s | 9 + gas/testsuite/gas/loongarch/reloc.d | 167 ++++ gas/testsuite/gas/loongarch/reloc.s | 144 +++ ld/testsuite/ld-elf/pr26936.d | 2 +- ld/testsuite/ld-elf/shared.exp | 6 +- ld/testsuite/ld-loongarch-elf/attr-ifunc-4.c | 23 + .../ld-loongarch-elf/attr-ifunc-4.out | 1 + ld/testsuite/ld-loongarch-elf/disas-jirl-32.d | 18 +- ld/testsuite/ld-loongarch-elf/disas-jirl.d | 19 +- ld/testsuite/ld-loongarch-elf/ifunc.exp | 34 + ld/testsuite/ld-loongarch-elf/jmp_op.d | 84 +- ld/testsuite/ld-loongarch-elf/jmp_op.s | 42 +- .../ld-loongarch-elf/libnopic-global.s | 113 +++ ld/testsuite/ld-loongarch-elf/macro_op.d | 883 ++++-------------- ld/testsuite/ld-loongarch-elf/macro_op.s | 57 +- ld/testsuite/ld-loongarch-elf/macro_op_32.d | 768 +-------------- ld/testsuite/ld-loongarch-elf/macro_op_32.s | 43 +- .../ld-loongarch-elf/nopic-global-so.rd | 5 + .../ld-loongarch-elf/nopic-global-so.sd | 10 + .../ld-loongarch-elf/nopic-global.out | 1 + ld/testsuite/ld-loongarch-elf/nopic-global.s | 373 ++++++++ ld/testsuite/ld-loongarch-elf/nopic-global.sd | 5 + ld/testsuite/ld-loongarch-elf/nopic-global.xd | 3 + ld/testsuite/ld-loongarch-elf/nopic-local.out | 1 + ld/testsuite/ld-loongarch-elf/nopic-local.rd | 0 ld/testsuite/ld-loongarch-elf/nopic-local.s | 383 ++++++++ ld/testsuite/ld-loongarch-elf/nopic-local.sd | 5 + ld/testsuite/ld-loongarch-elf/nopic-local.xd | 3 + .../ld-loongarch-elf/nopic-weak-global-so.rd | 5 + .../ld-loongarch-elf/nopic-weak-global-so.sd | 10 + .../ld-loongarch-elf/nopic-weak-global.out | 1 + .../ld-loongarch-elf/nopic-weak-global.s | 374 ++++++++ .../ld-loongarch-elf/nopic-weak-global.sd | 5 + .../ld-loongarch-elf/nopic-weak-global.xd | 3 + .../ld-loongarch-elf/nopic-weak-local.out | 1 + .../ld-loongarch-elf/nopic-weak-local.rd | 0 .../ld-loongarch-elf/nopic-weak-local.s | 383 ++++++++ .../ld-loongarch-elf/nopic-weak-local.sd | 5 + .../ld-loongarch-elf/nopic-weak-local.xd | 3 + ld/testsuite/ld-loongarch-elf/pic.exp | 202 ++++ ld/testsuite/ld-loongarch-elf/pic.ld | 18 + 51 files changed, 2949 insertions(+), 2443 deletions(-) create mode 100644 gas/testsuite/gas/loongarch/macro_op_32.d create mode 100644 gas/testsuite/gas/loongarch/macro_op_32.s create mode 100644 gas/testsuite/gas/loongarch/macro_op_large_abs.d create mode 100644 gas/testsuite/gas/loongarch/macro_op_large_abs.s create mode 100644 gas/testsuite/gas/loongarch/macro_op_large_pc.d create mode 100644 gas/testsuite/gas/loongarch/macro_op_large_pc.s create mode 100644 gas/testsuite/gas/loongarch/reloc.d create mode 100644 gas/testsuite/gas/loongarch/reloc.s create mode 100644 ld/testsuite/ld-loongarch-elf/attr-ifunc-4.c create mode 100644 ld/testsuite/ld-loongarch-elf/attr-ifunc-4.out create mode 100644 ld/testsuite/ld-loongarch-elf/ifunc.exp create mode 100644 ld/testsuite/ld-loongarch-elf/libnopic-global.s create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-global-so.rd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-global-so.sd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-global.out create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-global.s create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-global.sd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-global.xd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-local.out create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-local.rd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-local.s create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-local.sd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-local.xd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.rd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.sd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-global.out create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-global.s create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-global.sd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-global.xd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-local.out create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-local.rd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-local.s create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-local.sd create mode 100644 ld/testsuite/ld-loongarch-elf/nopic-weak-local.xd create mode 100644 ld/testsuite/ld-loongarch-elf/pic.exp create mode 100644 ld/testsuite/ld-loongarch-elf/pic.ld diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 279d9b3db2b..28570c53ac5 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -166,11 +166,11 @@ switch -glob $target_triplet { # symbols on relocs. setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "rl78-*-*" setup_xfail "riscv*-*-*" "rx-*-*" "vax*-*-*" "xgate*-*-*" "z8k-*-*" - setup_xfail "loongarch*-*-*" "avr-*-*" + setup_xfail "avr-*-*" run_dump_test redef2 setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "rl78-*-*" setup_xfail "riscv*-*-*" "rx-*-*" "vax*-*-*" "xgate*-*-*" "z8k-*-*" - setup_xfail "loongarch*-*-*" "avr-*-*" + setup_xfail "avr-*-*" # rs6000-aix disallows redefinition via .comm. if [is_xcoff_format] { setup_xfail *-*-* diff --git a/gas/testsuite/gas/loongarch/jmp_op.d b/gas/testsuite/gas/loongarch/jmp_op.d index caa61951b4b..fa939c780ed 100644 --- a/gas/testsuite/gas/loongarch/jmp_op.d +++ b/gas/testsuite/gas/loongarch/jmp_op.d @@ -1,68 +1,30 @@ #as: #objdump: -dr -.*:[ ]+file format .* +.*:[ ]+file format .* Disassembly of section .text: 00000000.* <.text>: -[ ]+0:[ ]+03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[ ]+40:[ ]+67ffc0a4[ ]+[ ]+bge[ ]+\$a1, \$a0, -64\(0x3ffc0\)[ ]+# 0x0 +[ ]+44:[ ]+6bffbc85[ ]+[ ]+bltu[ ]+\$a0, \$a1, -68\(0x3ffbc\)[ ]+# 0x0 +[ ]+48:[ ]+6bffb8a4[ ]+[ ]+bltu[ ]+\$a1, \$a0, -72\(0x3ffb8\)[ ]+# 0x0 +[ ]+4c:[ ]+6fffb485[ ]+[ ]+bgeu[ ]+\$a0, \$a1, -76\(0x3ffb4\)[ ]+# 0x0 +[ ]+50:[ ]+6fffb0a4[ ]+[ ]+bgeu[ ]+\$a1, \$a0, -80\(0x3ffb0\)[ ]+# 0x0 diff --git a/gas/testsuite/gas/loongarch/jmp_op.s b/gas/testsuite/gas/loongarch/jmp_op.s index 2ec20ed828a..1deb165aeba 100644 --- a/gas/testsuite/gas/loongarch/jmp_op.s +++ b/gas/testsuite/gas/loongarch/jmp_op.s @@ -1,22 +1,22 @@ .L1: nop -bgtz $r4,L1 -bgez $r4,L1 -blez $r4,L1 -beqz $r4,L1 -bnez $r4,L1 -bceqz $fcc0,L1 -bcnez $fcc0,L1 +bgtz $r4,.L1 +bgez $r4,.L1 +blez $r4,.L1 +beqz $r4,.L1 +bnez $r4,.L1 +bceqz $fcc0,.L1 +bcnez $fcc0,.L1 jr $r4 -b L1 -bl L1 -beq $r4,$r5,L1 -bne $r4,$r5,L1 -blt $r4,$r5,L1 -bgt $r4,$r5,L1 -bge $r4,$r5,L1 -ble $r4,$r5,L1 -bltu $r4,$r5,L1 -bgtu $r4,$r5,L1 -bgeu $r4,$r5,L1 -bleu $r4,$r5,L1 +b .L1 +bl .L1 +beq $r4,$r5,.L1 +bne $r4,$r5,.L1 +blt $r4,$r5,.L1 +bgt $r4,$r5,.L1 +bge $r4,$r5,.L1 +ble $r4,$r5,.L1 +bltu $r4,$r5,.L1 +bgtu $r4,$r5,.L1 +bgeu $r4,$r5,.L1 +bleu $r4,$r5,.L1 diff --git a/gas/testsuite/gas/loongarch/macro_op.d b/gas/testsuite/gas/loongarch/macro_op.d index fabd006b8c1..d264c4f25c5 100644 --- a/gas/testsuite/gas/loongarch/macro_op.d +++ b/gas/testsuite/gas/loongarch/macro_op.d @@ -1,733 +1,59 @@ #as: #objdump: -dr -#skip: loongarch32*-*-* +#skip: loongarch32-*-* -.*:[ ]+file format .* +.*:[ ]+file format .* Disassembly of section .text: -0000000000000000 <.text>: -[ ]+0:[ ]+00150004 [ ]+move[ ]+[ ]+\$a0, \$zero -[ ]+4:[ ]+02bffc04 [ ]+addi.w[ ]+[ ]+\$a0, \$zero, -1\(0xfff\) -[ ]+8:[ ]+00150004 [ ]+move[ ]+[ ]+\$a0, \$zero -[ ]+c:[ ]+02bffc04 [ ]+addi.w[ ]+[ ]+\$a0, \$zero, -1\(0xfff\) -[ ]+10:[ ]+1c000004 [ ]+pcaddu12i[ ]+[ ]+\$a0, 0 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_PCREL[ ]+_GLOBAL_OFFSET_TABLE_\+0x800 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_GPREL[ ]+L1 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_ADD[ ]+\*ABS\* -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_ABSOLUTE[ ]+\*ABS\*\+0xc -[ ]+[ ]+[ ]+10: R_LARCH_SOP_SR[ ]+\*ABS\* -[ ]+[ ]+[ ]+10: R_LARCH_SOP_POP_32_S_5_20[ ]+\*ABS\* -[ ]+14:[ ]+28c00084 [ ]+ld.d[ ]+[ ]+\$a0, \$a0, 0 -[ ]+[ ]+[ ]+14: R_LARCH_SOP_PUSH_PCREL[ ]+_GLOBAL_OFFSET_TABLE_\+0x4 -[ ]+[ ]+[ ]+14: R_LARCH_SOP_PUSH_GPREL[ ]+L1 -[ ]+[ ]+[ ]+14: R_LARCH_SOP_ADD[ ]+\*ABS\* -[ ]+[ ]+[ ]+14: R_LARCH_SOP_PU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:[ ]+28c00084[ ]+ld.d[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+44:[ ]+R_LARCH_GOT_PC_LO12[ ]+.L1 +[ ]+48:[ ]+14000004[ ]+lu12i.w[ ]+\$a0,[ ]+0 +[ ]+48:[ ]+R_LARCH_TLS_LE_HI20[ ]+TLS1 +[ ]+4c:[ ]+03800084[ ]+ori[ ]+\$a0,[ ]+\$a0,[ ]+0x0 +[ ]+4c:[ ]+R_LARCH_TLS_LE_LO12[ ]+TLS1 +[ ]+50:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+50:[ ]+R_LARCH_TLS_IE_PC_HI20[ ]+TLS1 +[ ]+54:[ ]+28c00084[ ]+ld.d[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+54:[ ]+R_LARCH_TLS_IE_PC_LO12[ ]+TLS1 +[ ]+58:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+58:[ ]+R_LARCH_TLS_LD_PC_HI20[ ]+TLS1 +[ ]+5c:[ ]+02c00084[ ]+addi.d[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+5c:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 +[ ]+60:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+60:[ ]+R_LARCH_TLS_GD_PC_HI20[ ]+TLS1 +[ ]+64:[ ]+02c00084[ ]+addi.d[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+64:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 diff --git a/gas/testsuite/gas/loongarch/macro_op.s b/gas/testsuite/gas/loongarch/macro_op.s index d83261f55f0..0c3331416fd 100644 --- a/gas/testsuite/gas/loongarch/macro_op.s +++ b/gas/testsuite/gas/loongarch/macro_op.s @@ -1,29 +1,15 @@ -.L1: -li.w $r4,0 -li.w $r4,0xffffffff -li.d $r4,0 -li.d $r4,0xffffffffffffffff -la $r4,L1 -la.global $r4,L1 -la.global $r4,$r5,L1 -la.global $r4,L1 -la.global $r4,$r5,L1 -la.global $r4,L1 -la.global $r4,$r5,L1 -la.local $r4,L1 -la.local $r4,$r5,L1 -la.local $r4,L1 -la.local $r4,$r5,L1 -la.abs $r4,L1 -la.pcrel $r4,L1 -la.pcrel $r4,L1 -la.pcrel $r4,$r5,L1 -la.got $r4,L1 -la.got $r4,$r5,L1 -la.tls.le $r4,L1 -la.tls.ie $r4,L1 -la.tls.ie $r4,$r5,L1 -la.tls.ld $r4,L1 -la.tls.ld $r4,$r5,L1 -la.tls.gd $r4,L1 -la.tls.gd $r4,$r5,L1 +li.w $r4, 0 +li.w $r4, 0xffffffff +li.d $r4, 0 +li.d $r4, 0xffffffffffffffff +la $r4, .L1 +la.global $r4, .L1 +la.local $r4, .L1 +la.abs $r4, .L1 +la.pcrel $r4, .L1 +la.got $r4, .L1 + +la.tls.le $r4, TLS1 +la.tls.ie $r4, TLS1 +la.tls.ld $r4, TLS1 +la.tls.gd $r4, TLS1 diff --git a/gas/testsuite/gas/loongarch/macro_op_32.d b/gas/testsuite/gas/loongarch/macro_op_32.d new file mode 100644 index 00000000000..145d852b2be --- /dev/null +++ b/gas/testsuite/gas/loongarch/macro_op_32.d @@ -0,0 +1,55 @@ +#as: +#objdump: -dr +#skip: loongarch64-*-* + +.*:[ ]+file format .* + + +Disassembly of section .text: + +00000000.* <.text>: +[ ]+0:[ ]+00150004[ ]+move[ ]+\$a0,[ ]+\$zero +[ ]+4:[ ]+02bffc04[ ]+addi.w[ ]+\$a0,[ ]+\$zero,[ ]+-1\(0xfff\) +[ ]+8:[ ]+00150004[ ]+move[ ]+\$a0,[ ]+\$zero +[ ]+c:[ ]+02bffc04[ ]+addi.w[ ]+\$a0,[ ]+\$zero,[ ]+-1\(0xfff\) +[ ]+10:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+10:[ ]+R_LARCH_GOT_PC_HI20[ ]+.text +[ ]+14:[ ]+28800084[ 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_HI20[ ]+TLS1 +[ ]+44:[ ]+03800084[ ]+ori[ ]+\$a0,[ ]+\$a0,[ ]+0x0 +[ ]+44:[ ]+R_LARCH_TLS_LE_LO12[ ]+TLS1 +[ ]+48:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+48:[ ]+R_LARCH_TLS_IE_PC_HI20[ ]+TLS1 +[ ]+4c:[ ]+28800084[ ]+ld.w[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+4c:[ ]+R_LARCH_TLS_IE_PC_LO12[ ]+TLS1 +[ ]+50:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+50:[ ]+R_LARCH_TLS_LD_PC_HI20[ ]+TLS1 +[ ]+54:[ ]+02800084[ ]+addi.w[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+54:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 +[ ]+58:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+58:[ ]+R_LARCH_TLS_GD_PC_HI20[ ]+TLS1 +[ ]+5c:[ ]+02800084[ ]+addi.w[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+5c:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 diff --git a/gas/testsuite/gas/loongarch/macro_op_32.s b/gas/testsuite/gas/loongarch/macro_op_32.s new file mode 100644 index 00000000000..7f19565e156 --- /dev/null +++ b/gas/testsuite/gas/loongarch/macro_op_32.s @@ -0,0 +1,16 @@ +.L1: + li.w $r4, 0 + li.w $r4, 0xffffffff + li.w $r4, 0 + li.w $r4, 0xffffffff + la $r4, .L1 + la.global $r4, .L1 + la.local $r4, .L1 + la.abs $r4, .L1 + la.pcrel $r4, .L1 + la.got $r4, .L1 + + la.tls.le $r4, TLS1 + la.tls.ie $r4, TLS1 + la.tls.ld $r4, TLS1 + la.tls.gd $r4, TLS1 diff --git a/gas/testsuite/gas/loongarch/macro_op_large_abs.d b/gas/testsuite/gas/loongarch/macro_op_large_abs.d new file mode 100644 index 00000000000..c3214a859e6 --- /dev/null +++ b/gas/testsuite/gas/loongarch/macro_op_large_abs.d @@ -0,0 +1,77 @@ +#as: +#objdump: -dr +#skip: loongarch32-*-* + +.*:[ ]+file format .* + + +Disassembly of section .text: + +00000000.* <.text>: +[ ]+0:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+0:[ ]+R_LARCH_PCALA_HI20[ ]+.text +[ ]+4:[ ]+02c00005[ ]+addi.d[ ]+\$a1,[ ]+\$zero,[ ]+0 +[ ]+4:[ ]+R_LARCH_PCALA_LO12[ ]+.text +[ ]+8:[ ]+16000005[ ]+lu32i.d[ ]+\$a1,[ ]+0 +[ ]+8:[ ]+R_LARCH_PCALA64_LO20[ ]+.text +[ ]+c:[ ]+030000a5[ ]+lu52i.d[ ]+\$a1,[ ]+\$a1,[ ]+0 +[ ]+c:[ ]+R_LARCH_PCALA64_HI12[ ]+.text +[ ]+10:[ ]+00109484[ ]+add.d[ ]+\$a0,[ ]+\$a0,[ ]+\$a1 +[ ]+14:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+14:[ ]+R_LARCH_GOT_PC_HI20[ ]+.text +[ ]+18:[ ]+02c00005[ ]+addi.d[ ]+\$a1,[ ]+\$zero,[ ]+0 +[ ]+18:[ ]+R_LARCH_GOT_PC_LO12[ ]+.text +[ ]+1c:[ ]+16000005[ ]+lu32i.d[ ]+\$a1,[ ]+0 +[ ]+1c:[ ]+R_LARCH_GOT64_PC_LO20[ ]+.text +[ ]+20:[ ]+030000a5[ ]+lu52i.d[ ]+\$a1,[ ]+\$a1,[ ]+0 +[ ]+20:[ ]+R_LARCH_GOT64_PC_HI12[ ]+.text +[ ]+24:[ ]+380c1484[ ]+ldx.d[ ]+\$a0,[ ]+\$a0,[ ]+\$a1 +[ ]+28:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+28:[ ]+R_L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a5[ ]+lu52i.d[ ]+\$a1,[ ]+\$a1,[ ]+0 +[ ]+8c:[ ]+R_LARCH_GOT64_PC_HI12[ ]+TLS1 +[ ]+90:[ ]+00109484[ ]+add.d[ ]+\$a0,[ ]+\$a0,[ ]+\$a1 diff --git a/gas/testsuite/gas/loongarch/macro_op_large_abs.s b/gas/testsuite/gas/loongarch/macro_op_large_abs.s new file mode 100644 index 00000000000..fd76391dbea --- /dev/null +++ b/gas/testsuite/gas/loongarch/macro_op_large_abs.s @@ -0,0 +1,9 @@ +.L1: +la.local $r4, $r5, .L1 +la.global $r4, $r5, .L1 +la.pcrel $r4, $r5, .L1 +la.got $r4, $r5, .L1 +la.tls.le $r4, TLS1 +la.tls.ie $r4, $r5, TLS1 +la.tls.ld $r4, $r5, TLS1 +la.tls.gd $r4, $r5, TLS1 diff --git a/gas/testsuite/gas/loongarch/macro_op_large_pc.d b/gas/testsuite/gas/loongarch/macro_op_large_pc.d new file mode 100644 index 00000000000..c3214a859e6 --- /dev/null +++ b/gas/testsuite/gas/loongarch/macro_op_large_pc.d @@ -0,0 +1,77 @@ +#as: +#objdump: -dr +#skip: loongarch32-*-* + +.*:[ ]+file format .* + + +Disassembly of section .text: + +00000000.* <.text>: +[ ]+0:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+0:[ ]+R_LARCH_PCALA_HI20[ ]+.text +[ ]+4:[ ]+02c00005[ ]+addi.d[ ]+\$a1,[ ]+\$zero,[ ]+0 +[ ]+4:[ ]+R_LARCH_PCALA_LO12[ ]+.text +[ ]+8:[ ]+16000005[ ]+lu32i.d[ ]+\$a1,[ ]+0 +[ ]+8:[ ]+R_LARCH_PCALA64_LO20[ ]+.text +[ ]+c:[ ]+030000a5[ ]+lu52i.d[ ]+\$a1,[ ]+\$a1,[ ]+0 +[ ]+c:[ ]+R_LARCH_PCALA64_HI12[ ]+.text +[ ]+10:[ ]+00109484[ ]+add.d[ ]+\$a0,[ ]+\$a0,[ ]+\$a1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74:[ ]+R_LARCH_GOT64_PC_LO20[ ]+TLS1 +[ ]+78:[ ]+030000a5[ ]+lu52i.d[ ]+\$a1,[ ]+\$a1,[ ]+0 +[ ]+78:[ ]+R_LARCH_GOT64_PC_HI12[ ]+TLS1 +[ ]+7c:[ ]+00109484[ ]+add.d[ ]+\$a0,[ ]+\$a0,[ ]+\$a1 +[ ]+80:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+80:[ ]+R_LARCH_TLS_GD_PC_HI20[ ]+TLS1 +[ ]+84:[ ]+02c00005[ ]+addi.d[ ]+\$a1,[ ]+\$zero,[ ]+0 +[ ]+84:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 +[ ]+88:[ ]+16000005[ ]+lu32i.d[ ]+\$a1,[ ]+0 +[ ]+88:[ ]+R_LARCH_GOT64_PC_LO20[ ]+TLS1 +[ ]+8c:[ ]+030000a5[ ]+lu52i.d[ ]+\$a1,[ ]+\$a1,[ ]+0 +[ ]+8c:[ ]+R_LARCH_GOT64_PC_HI12[ ]+TLS1 +[ ]+90:[ ]+00109484[ ]+add.d[ ]+\$a0,[ ]+\$a0,[ ]+\$a1 diff --git a/gas/testsuite/gas/loongarch/macro_op_large_pc.s b/gas/testsuite/gas/loongarch/macro_op_large_pc.s new file mode 100644 index 00000000000..fd76391dbea --- /dev/null +++ b/gas/testsuite/gas/loongarch/macro_op_large_pc.s @@ -0,0 +1,9 @@ +.L1: +la.local $r4, $r5, .L1 +la.global $r4, $r5, .L1 +la.pcrel $r4, $r5, .L1 +la.got $r4, $r5, .L1 +la.tls.le $r4, TLS1 +la.tls.ie $r4, $r5, TLS1 +la.tls.ld $r4, $r5, TLS1 +la.tls.gd $r4, $r5, TLS1 diff --git a/gas/testsuite/gas/loongarch/reloc.d b/gas/testsuite/gas/loongarch/reloc.d new file mode 100644 index 00000000000..6f5f110b1af --- /dev/null +++ b/gas/testsuite/gas/loongarch/reloc.d @@ -0,0 +1,167 @@ +#as: +#objd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\$a1,[ ]+\$a0,[ ]+0 +[ ]+138:[ ]+R_LARCH_TLS_LE64_HI12[ ]+TLSL1\+0x8 diff --git a/gas/testsuite/gas/loongarch/reloc.s b/gas/testsuite/gas/loongarch/reloc.s new file mode 100644 index 00000000000..a67fecd9429 --- /dev/null +++ b/gas/testsuite/gas/loongarch/reloc.s @@ -0,0 +1,144 @@ +/* Test insn relocs. */ +.text +nop + +/* Jump Insns. */ +/* b16. */ +beq $r4,$r5,%b16(.L1) +bne $r4,$r5,%b16(.L1) +blt $r4,$r5,%b16(.L1) +bge $r4,$r5,%b16(.L1) +bltu $r4,$r5,%b16(.L1) +bgeu $r4,$r5,%b16(.L1) +jirl $r4,$r5,%b16(.L1) + +/* b21. */ +beqz $r4,%b21(.L1) +bnez $r4,%b21(.L1) + +/* b26. */ +b %b26(.L1) +bl %b26(.L1) + + +/* ABS Insns. */ +/* lu12i.w. */ +lu12i.w $r4,%abs_hi20(.L1) + +/* ori */ +ori $r4,$r5,%abs_lo12(.L1) + +/* lu32i.d. */ +lu32i.d $r4,%abs64_lo20(.L1) + +/* lu52i.d. */ +lu52i.d $r5,$r4,%abs64_hi12(.L1) + + +/* Pcala Insns. */ +/* pcalau12i. */ +pcalau12i $r4,%pc_hi20(.L1) +pcalau12i $r4,%got_pc_hi20(.L1) +pcalau12i $r4,%got_pc_lo12(.L1) +pcalau12i $r4,%ie_pc_hi20(TLSL1) +pcalau12i $r4,%ld_pc_hi20(TLSL1) +pcalau12i $r4,%gd_pc_hi20(TLSL1) + +/* addi.w/d ld.b/h/w/d. */ +addi.w $r5,$r4,%pc_lo12(.L1) +addi.d $r5,$r4,%pc_lo12(.L1) +ld.b $r5,$r4,%pc_lo12(.L1) +ld.h $r5,$r4,%pc_lo12(.L1) +ld.w $r5,$r4,%pc_lo12(.L1) +ld.d $r5,$r4,%pc_lo12(.L1) +lu32i.d $r4,%pc64_lo20(.L1) +lu52i.d $r5,$r4,%pc64_lo20(.L1) +lu32i.d $r4,%got64_pc_lo20(.L1) +lu52i.d $r5,$r4,%got64_pc_hi12(.L1) + + +/* GOT64 Insns. */ +/* lu12i.w. */ +lu12i.w $r4,%got_hi20(.L1) +ori $r4,$r4,%got_lo12(.L1) +lu32i.d $r4,%got64_lo20(.L1) +lu52i.d $r5,$r4,%got64_hi12(.L1) + + +/* TLS Insns. */ +lu12i.w $r4,%le_hi20(TLSL1) +ori $r5,$r4,%le_lo12(TLSL1) +lu32i.d $r4,%le64_lo20(TLSL1) +lu52i.d $r5,$r4,%le64_hi12(TLSL1) + + + +/* Insns with addend. */ +/* Jump Insns. */ +/* b16. */ +beq $r4,$r5,%b16(.L1 + 0x8) +bne $r4,$r5,%b16(.L1 + 0x8) +blt $r4,$r5,%b16(.L1 + 0x8) +bge $r4,$r5,%b16(.L1 + 0x8) +bltu $r4,$r5,%b16(.L1 + 0x8) +bgeu $r4,$r5,%b16(.L1 + 0x8) +jirl $r4,$r5,%b16(.L1 + 0x8) + +/* b21. */ +beqz $r4,%b21(.L1 + 0x8) +bnez $r4,%b21(.L1 + 0x8) + +/* b26. */ +b %b26(.L1 + 0x8) +bl %b26(.L1 + 0x8) + + +/* ABS Insns. */ +/* lu12i.w. */ +lu12i.w $r4,%abs_hi20(.L1 + 0x8) + +/* ori */ +ori $r4,$r5,%abs_lo12(.L1 + 0x8) + +/* lu32i.d. */ +lu32i.d $r4,%abs64_lo20(.L1 + 0x8) + +/* lu52i.d. */ +lu52i.d $r5,$r4,%abs64_hi12(.L1 + 0x8) + + +/* Pcala Insns. */ +/* pcalau12i. */ +pcalau12i $r4,%pc_hi20(.L1 + 0x8) +pcalau12i $r4,%got_pc_hi20(.L1 + 0x8) +pcalau12i $r4,%got_pc_lo12(.L1 + 0x8) +pcalau12i $r4,%ie_pc_hi20(TLSL1 + 0x8) +pcalau12i $r4,%ld_pc_hi20(TLSL1 + 0x8) +pcalau12i $r4,%gd_pc_hi20(TLSL1 + 0x8) + +/* addi.w/d ld.b/h/w/d. */ +addi.w $r5,$r4,%pc_lo12(.L1 + 0x8) +addi.d $r5,$r4,%pc_lo12(.L1 + 0x8) +ld.b $r5,$r4,%pc_lo12(.L1 + 0x8) +ld.h $r5,$r4,%pc_lo12(.L1 + 0x8) +ld.w $r5,$r4,%pc_lo12(.L1 + 0x8) +ld.d $r5,$r4,%pc_lo12(.L1 + 0x8) +lu32i.d $r4,%pc64_lo20(.L1 + 0x8) +lu52i.d $r5,$r4,%pc64_lo20(.L1 + 0x8) +lu32i.d $r4,%got64_pc_lo20(.L1 + 0x8) +lu52i.d $r5,$r4,%got64_pc_hi12(.L1 + 0x8) + + +/* GOT64 Insns. */ +/* lu12i.w. */ +lu12i.w $r4,%got_hi20(.L1 + 0x8) +ori $r4,$r4,%got_lo12(.L1 + 0x8) +lu32i.d $r4,%got64_lo20(.L1 + 0x8) +lu52i.d $r5,$r4,%got64_hi12(.L1 + 0x8) + + +/* TLS Insns. */ +lu12i.w $r4,%le_hi20(TLSL1 + 0x8) +ori $r5,$r4,%le_lo12(TLSL1 + 0x8) +lu32i.d $r4,%le64_lo20(TLSL1 + 0x8) +lu52i.d $r5,$r4,%le64_hi12(TLSL1 + 0x8) diff --git a/ld/testsuite/ld-elf/pr26936.d b/ld/testsuite/ld-elf/pr26936.d index 9115f810465..c479f475829 100644 --- a/ld/testsuite/ld-elf/pr26936.d +++ b/ld/testsuite/ld-elf/pr26936.d @@ -9,7 +9,7 @@ # sed. 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* mn10300-*-* riscv*-*-* xtensa*-*-* loongarch*-*-* +#xfail: am33_2.0-*-* hppa*-*-hpux* mn10300-*-* riscv*-*-* xtensa*-*-* #... CU: .*/pr26936c.s: diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 06c3202d5cc..44924b097aa 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -346,6 +346,7 @@ if { [check_gc_sections_available] } { mips*-*-* { } tic6x-*-* { } xtensa-*-* { } + loongarch*-*-* { } default { run_ld_link_tests [list \ [list \ @@ -465,7 +466,7 @@ run_ld_link_tests [list \ ] # These targets don't copy dynamic variables into .bss. -setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*" +setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*" *loongarch*-*-* # or don't have .data.rel.ro setup_xfail "hppa*64*-*-hpux*" "tic6x-*-*" # or complain about relocs in read-only sections @@ -485,7 +486,8 @@ run_ld_link_tests [list \ {pr20995c.s} {{readelf {-l --wide} pr20995-2so.r}} "pr20995-2.so"] \ ] {![check_relro_support]} -setup_xfail alpha-*-* xtensa-*-* +# LoongArch: Read-only sections, merged into text segment in normal exe. +setup_xfail alpha-*-* xtensa-*-* loongarch*-*-* run_ld_link_tests [list \ [list \ "pr20995-2" \ diff --git a/ld/testsuite/ld-loongarch-elf/attr-ifunc-4.c b/ld/testsuite/ld-loongarch-elf/attr-ifunc-4.c new file mode 100644 index 00000000000..5c87445b394 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/attr-ifunc-4.c @@ -0,0 +1,23 @@ +/* { dg-do run } */ +/* { dg-require-ifunc "" } */ +/* { dg-options "" } */ + +#include + +static int implementation (void) +{ + printf ("'ere I am JH\n"); + return 0; +} + +static __typeof__ (implementation)* resolver (void) +{ + return implementation; +} + +static int magic (void) __attribute__ ((ifunc ("resolver"))); + +int main () +{ + return magic () != 0; +} diff --git a/ld/testsuite/ld-loongarch-elf/attr-ifunc-4.out b/ld/testsuite/ld-loongarch-elf/attr-ifunc-4.out new file mode 100644 index 00000000000..2d9cc343630 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/attr-ifunc-4.out @@ -0,0 +1 @@ +'ere I am JH diff --git a/ld/testsuite/ld-loongarch-elf/disas-jirl-32.d b/ld/testsuite/ld-loongarch-elf/disas-jirl-32.d index 6621c03e5bc..2f2a41afe75 100644 --- a/ld/testsuite/ld-loongarch-elf/disas-jirl-32.d +++ b/ld/testsuite/ld-loongarch-elf/disas-jirl-32.d @@ -1,15 +1,15 @@ -#name: jirl zero-offset symbols for LoongArch32 -#source: disas-jirl-32.s -#ld: --no-relax -#objdump: -d +#as: +#objdump: -dr #skip: loongarch64-*-* -.*:[ ]+file format .* +.*:[ ]+file format .* Disassembly of section .text: -00010054 <_start>: -[ ]+10054:[ ]+1c000014 [ ]+pcaddu12i[ ]+[ ]+\$t8, 0 -[ ]+10058:[ ]+02800294 [ ]+addi.w[ ]+[ ]+\$t8, \$t8, 0 -[ ]+1005c:[ ]+4c000281 [ ]+jirl[ ]+[ ]+\$ra, \$t8, 0 +00000000.* <_start>: +[ ]+0:[ ]+1a000014[ ]+pcalau12i[ ]+\$t8,[ ]+0 +[ ]+0:[ ]+R_LARCH_PCALA_HI20[ ]+_start +[ ]+4:[ ]+02800294[ ]+addi.w[ ]+\$t8,[ ]+\$t8,[ ]+0 +[ ]+4:[ ]+R_LARCH_PCALA_LO12[ ]+_start +[ ]+8:[ ]+4c000281[ ]+jirl[ ]+\$ra,[ ]+\$t8,[ ]+0 diff --git a/ld/testsuite/ld-loongarch-elf/disas-jirl.d b/ld/testsuite/ld-loongarch-elf/disas-jirl.d index f79111a5d8b..595c30c7361 100644 --- a/ld/testsuite/ld-loongarch-elf/disas-jirl.d +++ b/ld/testsuite/ld-loongarch-elf/disas-jirl.d @@ -1,15 +1,14 @@ -#name: jirl zero-offset symbols for LoongArch64 -#source: disas-jirl.s -#ld: --no-relax -#objdump: -d -#skip: loongarch32-*-* +#as: +#objdump: -dr -.*:[ ]+file format .* +.*:[ ]+file format .* Disassembly of section .text: -0000000120000078 <_start>: -[ ]+120000078:[ ]+1c000014 [ ]+pcaddu12i[ ]+[ ]+\$t8, 0 -[ ]+12000007c:[ ]+02c00294 [ ]+addi.d[ ]+[ ]+\$t8, \$t8, 0 -[ ]+120000080:[ ]+4c000281 [ ]+jirl[ ]+[ ]+\$ra, \$t8, 0 +00000000.*: +[ ]+0:[ ]+1a000014[ ]+pcalau12i[ ]+\$t8,[ ]+0 +[ ]+0:[ ]+R_LARCH_PCALA_HI20[ ]+_start +[ ]+4:[ ]+02c00294[ ]+addi.d[ ]+\$t8,[ ]+\$t8,[ ]+0 +[ ]+4:[ ]+R_LARCH_PCALA_LO12[ ]+_start +[ ]+8:[ ]+4c000281[ ]+jirl[ ]+\$ra,[ ]+\$t8,[ ]+0 diff --git a/ld/testsuite/ld-loongarch-elf/ifunc.exp b/ld/testsuite/ld-loongarch-elf/ifunc.exp new file mode 100644 index 00000000000..2b55002f824 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/ifunc.exp @@ -0,0 +1,34 @@ +# Expect script for LoongArch assembler tests. +# Copyright (C) 2021-2022 Free Software Foundation, Inc. +# +# This file is part of the GNU Binutils. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, +# MA 02110-1301, USA. + + + +if [istarget loongarch*-*-*] { + run_ld_link_exec_tests [list \ + [list \ + "Run attr-ifunc-4" \ + "" \ + "" \ + {attr-ifunc-4.c} \ + "attr-ifunc-4" \ + "attr-ifunc-4.out" \ + ] \ + ] +} diff --git a/ld/testsuite/ld-loongarch-elf/jmp_op.d b/ld/testsuite/ld-loongarch-elf/jmp_op.d index c68f7aa49ba..93452c317bb 100644 --- a/ld/testsuite/ld-loongarch-elf/jmp_op.d +++ b/ld/testsuite/ld-loongarch-elf/jmp_op.d @@ -1,68 +1,30 @@ #as: #objdump: -dr -.*:[ ]+file format .* +.*:[ ]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+\$a1,[ ]+\$a0,[ ]+-56\(0x3ffc8\)[ ]+#[ ]+0x0 +[ ]+3c:[ ]+67ffc485[ ]+bge[ ]+\$a0,[ ]+\$a1,[ ]+-60\(0x3ffc4\)[ ]+#[ ]+0x0 +[ ]+40:[ ]+67ffc0a4[ ]+bge[ ]+\$a1,[ ]+\$a0,[ ]+-64\(0x3ffc0\)[ ]+#[ ]+0x0 +[ ]+44:[ ]+6bffbc85[ ]+bltu[ ]+\$a0,[ ]+\$a1,[ ]+-68\(0x3ffbc\)[ ]+#[ ]+0x0 +[ ]+48:[ ]+6bffb8a4[ ]+bltu[ ]+\$a1,[ ]+\$a0,[ ]+-72\(0x3ffb8\)[ ]+#[ ]+0x0 +[ ]+4c:[ ]+6fffb485[ ]+bgeu[ ]+\$a0,[ ]+\$a1,[ ]+-76\(0x3ffb4\)[ ]+#[ ]+0x0 +[ ]+50:[ ]+6fffb0a4[ ]+bgeu[ ]+\$a1,[ ]+\$a0,[ ]+-80\(0x3ffb0\)[ ]+#[ ]+0x0 diff --git a/ld/testsuite/ld-loongarch-elf/jmp_op.s b/ld/testsuite/ld-loongarch-elf/jmp_op.s index 01b043d19eb..1deb165aeba 100644 --- a/ld/testsuite/ld-loongarch-elf/jmp_op.s +++ b/ld/testsuite/ld-loongarch-elf/jmp_op.s @@ -1,22 +1,22 @@ .L1: - nop - bgtz $r4,L1 - bgez $r4,L1 - blez $r4,L1 - beqz $r4,L1 - bnez $r4,L1 - bceqz $fcc0,L1 - bcnez $fcc0,L1 - jr $r4 - b L1 - bl L1 - beq $r4,$r5,L1 - bne $r4,$r5,L1 - blt $r4,$r5,L1 - bgt $r4,$r5,L1 - bge $r4,$r5,L1 - ble $r4,$r5,L1 - bltu $r4,$r5,L1 - bgtu $r4,$r5,L1 - bgeu $r4,$r5,L1 - bleu $r4,$r5,L1 +nop +bgtz $r4,.L1 +bgez $r4,.L1 +blez $r4,.L1 +beqz $r4,.L1 +bnez $r4,.L1 +bceqz $fcc0,.L1 +bcnez $fcc0,.L1 +jr $r4 +b .L1 +bl .L1 +beq $r4,$r5,.L1 +bne $r4,$r5,.L1 +blt $r4,$r5,.L1 +bgt $r4,$r5,.L1 +bge $r4,$r5,.L1 +ble $r4,$r5,.L1 +bltu $r4,$r5,.L1 +bgtu $r4,$r5,.L1 +bgeu $r4,$r5,.L1 +bleu $r4,$r5,.L1 diff --git a/ld/testsuite/ld-loongarch-elf/libnopic-global.s b/ld/testsuite/ld-loongarch-elf/libnopic-global.s new file mode 100644 index 00000000000..39d7dc68ae1 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/libnopic-global.s @@ -0,0 +1,113 @@ + .file "libnopic-global.c" + .text +.Ltext0: + .file 1 "libnopic-global.c" + .globl g_nopic + .data + .align 2 + .type g_nopic, @object + .size g_nopic, 4 +g_nopic: + .word 305419896 + .text +.Letext0: + .section .debug_info,"",@progbits +.Ldebug_info0: + .4byte 0x38 + .2byte 0x5 + .byte 0x1 + .byte 0x8 + .4byte .Ldebug_abbrev0 + .uleb128 0x1 + .4byte .LASF0 + .byte 0x1d + .4byte .LASF1 + .4byte .LASF2 + .4byte .Ldebug_line0 + .uleb128 0x2 + .4byte .LASF3 + .byte 0x1 + .byte 0x1 + .byte 0x5 + .4byte 0x34 + .uleb128 0x9 + .byte 0x3 + .8byte g_nopic + .uleb128 0x3 + .byte 0x4 + .byte 0x5 + .ascii "int\000" + .byte 0 + .section .debug_abbrev,"",@progbits +.Ldebug_abbrev0: + .uleb128 0x1 + .uleb128 0x11 + .byte 0x1 + .uleb128 0x25 + .uleb128 0xe + .uleb128 0x13 + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x1b + .uleb128 0xe + .uleb128 0x10 + .uleb128 0x17 + .byte 0 + .byte 0 + .uleb128 0x2 + .uleb128 0x34 + .byte 0 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x2 + .uleb128 0x18 + .byte 0 + .byte 0 + .uleb128 0x3 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0x8 + .byte 0 + .byte 0 + .byte 0 + .section .debug_aranges,"",@progbits + .4byte 0x1c + .2byte 0x2 + .4byte .Ldebug_info0 + .byte 0x8 + .byte 0 + .2byte 0 + .2byte 0 + .8byte 0 + .8byte 0 + .section .debug_line,"",@progbits +.Ldebug_line0: + .section .debug_str,"MS",@progbits,1 +.LASF1: + .ascii "libnopic-global.c\000" +.LASF0: + .ascii "GNU C17 13.0.0 20220512 (experimental) -mabi=lp64d -marc" + .ascii "h=loongarch64 -mfpu=64 -mcmodel=normal -mtune=la464 -g -" + .ascii "O0 -fPIC\000" +.LASF2: + .ascii "/home/liuzhensong/test/ld/nopic/test/global_var\000" +.LASF3: + .ascii "g_nopic\000" + .ident "GCC: (GNU) 13.0.0 20220512 (experimental)" + .section .note.GNU-stack,"",@progbits diff --git a/ld/testsuite/ld-loongarch-elf/macro_op.d b/ld/testsuite/ld-loongarch-elf/macro_op.d index af100608824..a1c64fcf00f 100644 --- a/ld/testsuite/ld-loongarch-elf/macro_op.d +++ b/ld/testsuite/ld-loongarch-elf/macro_op.d @@ -1,733 +1,164 @@ #as: #objdump: -dr -#skip: loongarch32-*-* -.*:[ ]+file format .* +.*:[ ]+file format .* Disassembly of section .text: -0+0 <.text>: -[ ]+0:[ ]+00150004 [ ]+move[ ]+[ ]+\$a0, \$zero -[ ]+4:[ ]+02bffc04 [ ]+addi.w[ ]+[ ]+\$a0, \$zero, -1\(0xfff\) -[ ]+8:[ ]+00150004 [ ]+move[ ]+[ ]+\$a0, \$zero -[ ]+c:[ ]+02bffc04 [ ]+addi.w[ ]+[ ]+\$a0, \$zero, -1\(0xfff\) -[ ]+10:[ ]+1c000004 [ ]+p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[ ]+\$a1 diff --git a/ld/testsuite/ld-loongarch-elf/macro_op.s b/ld/testsuite/ld-loongarch-elf/macro_op.s index c15e364d4d0..5cf066c36ff 100644 --- a/ld/testsuite/ld-loongarch-elf/macro_op.s +++ b/ld/testsuite/ld-loongarch-elf/macro_op.s @@ -1,29 +1,30 @@ .L1: - li.w $r4,0 - li.w $r4,0xffffffff - li.d $r4,0 - li.d $r4,0xffffffffffffffff - la $r4,L1 - la.global $r4,L1 - la.global $r4,$r5,L1 - la.global $r4,L1 - la.global $r4,$r5,L1 - la.global $r4,L1 - la.global $r4,$r5,L1 - la.local $r4,L1 - la.local $r4,$r5,L1 - la.local $r4,L1 - la.local $r4,$r5,L1 - la.abs $r4,L1 - la.pcrel $r4,L1 - la.pcrel $r4,L1 - la.pcrel $r4,$r5,L1 - la.got $r4,L1 - la.got $r4,$r5,L1 - la.tls.le $r4,L1 - la.tls.ie $r4,L1 - la.tls.ie $r4,$r5,L1 - la.tls.ld $r4,L1 - la.tls.ld $r4,$r5,L1 - la.tls.gd $r4,L1 - la.tls.gd $r4,$r5,L1 +li.w $r4, 0 +li.w $r4, 0xffffffff +li.d $r4, 0 +li.d $r4, 0xffffffffffffffff +la $r4, .L1 +la.global $r4, .L1 +la.global $r4, $r5, .L1 +la.global $r4, .L1 +la.global $r4, $r5, .L1 +la.global $r4, .L1 +la.global $r4, $r5, .L1 +la.local $r4, .L1 +la.local $r4, $r5, .L1 +la.local $r4, .L1 +la.local $r4, $r5, .L1 +la.abs $r4, .L1 +la.pcrel $r4, .L1 +la.pcrel $r4, .L1 +la.pcrel $r4, $r5, .L1 +la.got $r4, .L1 +la.got $r4, $r5, .L1 + +la.tls.le $r4, TLS1 +la.tls.ie $r4, TLS1 +la.tls.ie $r4, $r5, TLS1 +la.tls.ld $r4, TLS1 +la.tls.ld $r4, $r5, TLS1 +la.tls.gd $r4, TLS1 +la.tls.gd $r4, $r5, TLS1 diff --git a/ld/testsuite/ld-loongarch-elf/macro_op_32.d b/ld/testsuite/ld-loongarch-elf/macro_op_32.d index 24906ecfd04..145d852b2be 100644 --- a/ld/testsuite/ld-loongarch-elf/macro_op_32.d +++ b/ld/testsuite/ld-loongarch-elf/macro_op_32.d @@ -2,728 +2,54 @@ #objdump: -dr #skip: loongarch64-*-* -.*:[ ]+file format .* +.*:[ ]+file format .* Disassembly of section .text: -0+0 <.text>: -[ ]+0:[ ]+00150004 [ ]+move[ ]+[ ]+\$a0, \$zero -[ ]+4:[ ]+02bffc04 [ ]+addi.w[ ]+[ ]+\$a0, \$zero, -1\(0xfff\) -[ ]+8:[ ]+00150004 [ ]+move[ ]+[ ]+\$a0, \$zero -[ ]+c:[ ]+02bffc04 [ ]+addi.w[ ]+[ ]+\$a0, \$zero, -1\(0xfff\) -[ ]+10:[ ]+1c000004 [ ]+pcaddu12i[ ]+[ ]+\$a0, 0 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_PCREL[ ]+_GLOBAL_OFFSET_TABLE_\+0x800 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_GPREL[ ]+L1 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_ADD[ ]+\*ABS\* -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_ABSOLUTE[ ]+\*ABS\*\+0x20 -[ ]+[ ]+[ ]+10: R_LARCH_SOP_SL[ ]+\*ABS\* -[ ]+[ ]+[ ]+10: R_LARCH_SOP_PUSH_ABSOLUTE[ ]+\*ABS\*\+0x2c -[ ]+[ ]+[ ]+10: R_LARCH_SOP_SR[ ]+\*ABS\* -[ ]+[ ]+[ ]+10: R_LARCH_SOP_POP_32_S_5_20[ ]+\*ABS\* -[ ]+14:[ ]+28800084 [ ]+ld.w[ ]+[ ]+\$a0, \$a0, 0 -[ ]+[ ]+[ ]+14: R_LARCH_SOP_PUSH_PCREL[ ]+_GLOBAL_OFFSET_TABLE_\+0x4 -[ ]+[ ]+[ ]+14: R_LARCH_SOP_PUSH_GPREL[ ]+L1 -[ ]+[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PC_HI20[ ]+TLS1 +[ ]+4c:[ ]+28800084[ ]+ld.w[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+4c:[ ]+R_LARCH_TLS_IE_PC_LO12[ ]+TLS1 +[ ]+50:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+50:[ ]+R_LARCH_TLS_LD_PC_HI20[ ]+TLS1 +[ ]+54:[ ]+02800084[ ]+addi.w[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+54:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 +[ ]+58:[ ]+1a000004[ ]+pcalau12i[ ]+\$a0,[ ]+0 +[ ]+58:[ ]+R_LARCH_TLS_GD_PC_HI20[ ]+TLS1 +[ ]+5c:[ ]+02800084[ ]+addi.w[ ]+\$a0,[ ]+\$a0,[ ]+0 +[ ]+5c:[ ]+R_LARCH_GOT_PC_LO12[ ]+TLS1 diff --git a/ld/testsuite/ld-loongarch-elf/macro_op_32.s b/ld/testsuite/ld-loongarch-elf/macro_op_32.s index 2e26b6b3f9b..7f19565e156 100644 --- a/ld/testsuite/ld-loongarch-elf/macro_op_32.s +++ b/ld/testsuite/ld-loongarch-elf/macro_op_32.s @@ -1,29 +1,16 @@ .L1: - li.w $r4,0 - li.w $r4,0xffffffff - li.w $r4,0 - li.w $r4,0xffffffff - la $r4,L1 - la.global $r4,L1 - la.global $r4,$r5,L1 - la.global $r4,L1 - la.global $r4,$r5,L1 - la.global $r4,L1 - la.global $r4,$r5,L1 - la.local $r4,L1 - la.local $r4,$r5,L1 - la.local $r4,L1 - la.local $r4,$r5,L1 - la.abs $r4,L1 - la.pcrel $r4,L1 - la.pcrel $r4,L1 - la.pcrel $r4,$r5,L1 - la.got $r4,L1 - la.got $r4,$r5,L1 - la.tls.le $r4,L1 - la.tls.ie $r4,L1 - la.tls.ie $r4,$r5,L1 - la.tls.ld $r4,L1 - la.tls.ld $r4,$r5,L1 - la.tls.gd $r4,L1 - la.tls.gd $r4,$r5,L1 + li.w $r4, 0 + li.w $r4, 0xffffffff + li.w $r4, 0 + li.w $r4, 0xffffffff + la $r4, .L1 + la.global $r4, .L1 + la.local $r4, .L1 + la.abs $r4, .L1 + la.pcrel $r4, .L1 + la.got $r4, .L1 + + la.tls.le $r4, TLS1 + la.tls.ie $r4, TLS1 + la.tls.ld $r4, TLS1 + la.tls.gd $r4, TLS1 diff --git a/ld/testsuite/ld-loongarch-elf/nopic-global-so.rd b/ld/testsuite/ld-loongarch-elf/nopic-global-so.rd new file mode 100644 index 00000000000..2bcc718a276 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-global-so.rd @@ -0,0 +1,5 @@ +Relocation section '.rela.dyn'.* + +Offset +Info +Type +Sym\. +Value +Sym\. +Name +\+ +Addend +#... +[0-9a-f]+ +[0-9a-f]+ +R_LARCH_64 +[0-9a-f]+ +g_nopic +\+ +[0-9] +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-global-so.sd b/ld/testsuite/ld-loongarch-elf/nopic-global-so.sd new file mode 100644 index 00000000000..c0e7a66ba84 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-global-so.sd @@ -0,0 +1,10 @@ +Symbol table '\.dynsym' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]+: +[0-9a-f]+ +[0-9] +OBJECT +GLOBAL +DEFAULT +UND+ +g_nopic +#... +Symbol table '\.symtab' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]+: +[0-9a-f]+ +[0-9] +OBJECT +GLOBAL +DEFAULT +UND+ +g_nopic +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-global.out b/ld/testsuite/ld-loongarch-elf/nopic-global.out new file mode 100644 index 00000000000..3a179f6634e --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-global.out @@ -0,0 +1 @@ +0x12345678 diff --git a/ld/testsuite/ld-loongarch-elf/nopic-global.s b/ld/testsuite/ld-loongarch-elf/nopic-global.s new file mode 100644 index 00000000000..189fa675dac --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-global.s @@ -0,0 +1,373 @@ + .file "nopic-global.c" + .text +.Ltext0: + .file 1 "nopic-global.c" + .section .rodata + .align 3 +.LC0: + .ascii "0x%x\012\000" + .text + .align 2 + .globl main + .type main, @function +main: +.LFB6 = . + .loc 1 7 1 + .cfi_startproc + addi.d $r3,$r3,-16 + .cfi_def_cfa_offset 16 + st.d $r1,$r3,8 + stptr.d $r22,$r3,0 + .cfi_offset 1, -8 + .cfi_offset 22, -16 + addi.d $r22,$r3,16 + .cfi_def_cfa 22, 0 + .loc 1 8 15 + pcalau12i $r12,%got_pc_hi20(g_nopic) + ld.d $r12,$r12,%got_pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + .loc 1 8 6 + or $r13,$r12,$r0 + lu12i.w $r12,305418240>>12 # 0x12345000 + ori $r12,$r12,1656 + bne $r13,$r12,.L2 + .loc 1 9 5 + pcalau12i $r12,%got_pc_hi20(g_nopic) + ld.d $r12,$r12,%got_pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + or $r5,$r12,$r0 + pcalau12i $r12,%pc_hi20(.LC0) + addi.d $r4,$r12,%pc_lo12(.LC0) + bl %plt(printf) + b .L5 +.L2: + .loc 1 11 5 + bl %plt(abort) +.L5: + .loc 1 12 10 + or $r12,$r0,$r0 + .loc 1 13 1 + or $r4,$r12,$r0 + ld.d $r1,$r3,8 + .cfi_restore 1 + ldptr.d $r22,$r3,0 + .cfi_restore 22 + addi.d $r3,$r3,16 + .cfi_def_cfa_register 3 + jr $r1 + .cfi_endproc +.LFE6: + .size main, .-main +.Letext0: + .file 2 "/usr/include/stdlib.h" + .file 3 "/usr/include/stdio.h" + .section .debug_info,"",@progbits +.Ldebug_info0: + .4byte 0xce + .2byte 0x5 + .byte 0x1 + .byte 0x8 + .4byte .Ldebug_abbrev0 + .uleb128 0x2 + .4byte .LASF10 + .byte 0x1d + .4byte .LASF11 + .4byte .LASF12 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .4byte .Ldebug_line0 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF0 + .uleb128 0x1 + .byte 0x1 + .byte 0x8 + .4byte .LASF1 + .uleb128 0x1 + .byte 0x2 + .byte 0x7 + .4byte .LASF2 + .uleb128 0x1 + .byte 0x4 + .byte 0x7 + .4byte .LASF3 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF4 + .uleb128 0x1 + .byte 0x2 + .byte 0x5 + .4byte .LASF5 + .uleb128 0x3 + .byte 0x4 + .byte 0x5 + .ascii "int\000" + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF6 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF7 + .uleb128 0x4 + .4byte 0x66 + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF8 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF9 + .uleb128 0x5 + .4byte .LASF13 + .byte 0x1 + .byte 0x4 + .byte 0xc + .4byte 0x58 + .uleb128 0x6 + .4byte .LASF14 + .byte 0x2 + .2byte 0x256 + .byte 0xd + .uleb128 0x7 + .4byte .LASF15 + .byte 0x3 + .2byte 0x164 + .byte 0xc + .4byte 0x58 + .4byte 0xad + .uleb128 0x8 + .4byte 0xad + .uleb128 0x9 + .byte 0 + .uleb128 0xa + .byte 0x8 + .4byte 0x6d + .uleb128 0xb + .4byte .LASF16 + .byte 0x1 + .byte 0x6 + .byte 0x5 + .4byte 0x58 + .8byte .LFB6 + .8byte .LFE6-.LFB6 + .uleb128 0x1 + .byte 0x9c + .byte 0 + .section .debug_abbrev,"",@progbits +.Ldebug_abbrev0: + .uleb128 0x1 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .byte 0 + .byte 0 + .uleb128 0x2 + .uleb128 0x11 + .byte 0x1 + .uleb128 0x25 + .uleb128 0xe + .uleb128 0x13 + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x1b + .uleb128 0xe + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x10 + .uleb128 0x17 + .byte 0 + .byte 0 + .uleb128 0x3 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0x8 + .byte 0 + .byte 0 + .uleb128 0x4 + .uleb128 0x26 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x5 + .uleb128 0x34 + .byte 0 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3c + .uleb128 0x19 + .byte 0 + .byte 0 + .uleb128 0x6 + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x87 + .uleb128 0x19 + .uleb128 0x3c + .uleb128 0x19 + .byte 0 + .byte 0 + .uleb128 0x7 + .uleb128 0x2e + .byte 0x1 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3c + .uleb128 0x19 + .uleb128 0x1 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x8 + .uleb128 0x5 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x9 + .uleb128 0x18 + .byte 0 + .byte 0 + .byte 0 + .uleb128 0xa + .uleb128 0xf + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0xb + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x40 + .uleb128 0x18 + .uleb128 0x7c + .uleb128 0x19 + .byte 0 + .byte 0 + .byte 0 + .section .debug_aranges,"",@progbits + .4byte 0x2c + .2byte 0x2 + .4byte .Ldebug_info0 + .byte 0x8 + .byte 0 + .2byte 0 + .2byte 0 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .8byte 0 + .8byte 0 + .section .debug_line,"",@progbits +.Ldebug_line0: + .section .debug_str,"MS",@progbits,1 +.LASF8: + .ascii "long long int\000" +.LASF3: + .ascii "unsigned int\000" +.LASF11: + .ascii "nopic-global.c\000" +.LASF0: + .ascii "long unsigned int\000" +.LASF9: + .ascii "long long unsigned int\000" +.LASF10: + .ascii "GNU C17 13.0.0 20220512 (experimental) -mabi=lp64d -marc" + .ascii "h=loongarch64 -mfpu=64 -mcmodel=normal -mtune=la464 -g -" + .ascii "O0\000" +.LASF1: + .ascii "unsigned char\000" +.LASF12: + .ascii "/home/liuzhensong/test/ld/nopic/test/global_var\000" +.LASF7: + .ascii "char\000" +.LASF6: + .ascii "long int\000" +.LASF13: + .ascii "g_nopic\000" +.LASF2: + .ascii "short unsigned int\000" +.LASF15: + .ascii "printf\000" +.LASF16: + .ascii "main\000" +.LASF14: + .ascii "abort\000" +.LASF5: + .ascii "short int\000" +.LASF4: + .ascii "signed char\000" + .ident "GCC: (GNU) 13.0.0 20220512 (experimental)" + .section .note.GNU-stack,"",@progbits diff --git a/ld/testsuite/ld-loongarch-elf/nopic-global.sd b/ld/testsuite/ld-loongarch-elf/nopic-global.sd new file mode 100644 index 00000000000..605206a2832 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-global.sd @@ -0,0 +1,5 @@ +Symbol table '\.symtab' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]: +[0-9]+ +[0-9] +OBJECT +GLOBAL +DEFAULT +[0-9] +g_nopic +#xpass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-global.xd b/ld/testsuite/ld-loongarch-elf/nopic-global.xd new file mode 100644 index 00000000000..d0130663db6 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-global.xd @@ -0,0 +1,3 @@ +Hex dump of section '\.data': + +0x[0-9]+ +78563412.* +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-local.out b/ld/testsuite/ld-loongarch-elf/nopic-local.out new file mode 100644 index 00000000000..3a179f6634e --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-local.out @@ -0,0 +1 @@ +0x12345678 diff --git a/ld/testsuite/ld-loongarch-elf/nopic-local.rd b/ld/testsuite/ld-loongarch-elf/nopic-local.rd new file mode 100644 index 00000000000..e69de29bb2d diff --git a/ld/testsuite/ld-loongarch-elf/nopic-local.s b/ld/testsuite/ld-loongarch-elf/nopic-local.s new file mode 100644 index 00000000000..4a496f0325c --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-local.s @@ -0,0 +1,383 @@ + .file "nopic-local.c" + .text +.Ltext0: + .file 1 "nopic-local.c" + .globl g_nopic + .data + .align 2 + .type g_nopic, @object + .size g_nopic, 4 +g_nopic: + .word 305419896 + .section .rodata + .align 3 +.LC0: + .ascii "0x%x\012\000" + .text + .align 2 + .globl main + .type main, @function +main: +.LFB6 = . + .loc 1 7 1 + .cfi_startproc + addi.d $r3,$r3,-16 + .cfi_def_cfa_offset 16 + st.d $r1,$r3,8 + stptr.d $r22,$r3,0 + .cfi_offset 1, -8 + .cfi_offset 22, -16 + addi.d $r22,$r3,16 + .cfi_def_cfa 22, 0 + .loc 1 8 15 + pcalau12i $r12,%pc_hi20(g_nopic) + addi.d $r12,$r12,%pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + .loc 1 8 6 + or $r13,$r12,$r0 + lu12i.w $r12,305418240>>12 # 0x12345000 + ori $r12,$r12,1656 + bne $r13,$r12,.L2 + .loc 1 9 5 + pcalau12i $r12,%pc_hi20(g_nopic) + addi.d $r12,$r12,%pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + or $r5,$r12,$r0 + pcalau12i $r12,%pc_hi20(.LC0) + addi.d $r4,$r12,%pc_lo12(.LC0) + bl %plt(printf) + b .L5 +.L2: + .loc 1 11 5 + bl %plt(abort) +.L5: + .loc 1 12 10 + or $r12,$r0,$r0 + .loc 1 13 1 + or $r4,$r12,$r0 + ld.d $r1,$r3,8 + .cfi_restore 1 + ldptr.d $r22,$r3,0 + .cfi_restore 22 + addi.d $r3,$r3,16 + .cfi_def_cfa_register 3 + jr $r1 + .cfi_endproc +.LFE6: + .size main, .-main +.Letext0: + .file 2 "/usr/include/stdlib.h" + .file 3 "/usr/include/stdio.h" + .section .debug_info,"",@progbits +.Ldebug_info0: + .4byte 0xd8 + .2byte 0x5 + .byte 0x1 + .byte 0x8 + .4byte .Ldebug_abbrev0 + .uleb128 0x2 + .4byte .LASF10 + .byte 0x1d + .4byte .LASF11 + .4byte .LASF12 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .4byte .Ldebug_line0 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF0 + .uleb128 0x1 + .byte 0x1 + .byte 0x8 + .4byte .LASF1 + .uleb128 0x1 + .byte 0x2 + .byte 0x7 + .4byte .LASF2 + .uleb128 0x1 + .byte 0x4 + .byte 0x7 + .4byte .LASF3 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF4 + .uleb128 0x1 + .byte 0x2 + .byte 0x5 + .4byte .LASF5 + .uleb128 0x3 + .byte 0x4 + .byte 0x5 + .ascii "int\000" + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF6 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF7 + .uleb128 0x4 + .4byte 0x66 + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF8 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF9 + .uleb128 0x5 + .4byte .LASF13 + .byte 0x1 + .byte 0x4 + .byte 0x5 + .4byte 0x58 + .uleb128 0x9 + .byte 0x3 + .8byte g_nopic + .uleb128 0x6 + .4byte .LASF14 + .byte 0x2 + .2byte 0x256 + .byte 0xd + .uleb128 0x7 + .4byte .LASF15 + .byte 0x3 + .2byte 0x164 + .byte 0xc + .4byte 0x58 + .4byte 0xb7 + .uleb128 0x8 + .4byte 0xb7 + .uleb128 0x9 + .byte 0 + .uleb128 0xa + .byte 0x8 + .4byte 0x6d + .uleb128 0xb + .4byte .LASF16 + .byte 0x1 + .byte 0x6 + .byte 0x5 + .4byte 0x58 + .8byte .LFB6 + .8byte .LFE6-.LFB6 + .uleb128 0x1 + .byte 0x9c + .byte 0 + .section .debug_abbrev,"",@progbits +.Ldebug_abbrev0: + .uleb128 0x1 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .byte 0 + .byte 0 + .uleb128 0x2 + .uleb128 0x11 + .byte 0x1 + .uleb128 0x25 + .uleb128 0xe + .uleb128 0x13 + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x1b + .uleb128 0xe + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x10 + .uleb128 0x17 + .byte 0 + .byte 0 + .uleb128 0x3 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0x8 + .byte 0 + .byte 0 + .uleb128 0x4 + .uleb128 0x26 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x5 + .uleb128 0x34 + .byte 0 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x2 + .uleb128 0x18 + .byte 0 + .byte 0 + .uleb128 0x6 + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x87 + .uleb128 0x19 + .uleb128 0x3c + .uleb128 0x19 + .byte 0 + .byte 0 + .uleb128 0x7 + .uleb128 0x2e + .byte 0x1 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3c + .uleb128 0x19 + .uleb128 0x1 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x8 + .uleb128 0x5 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x9 + .uleb128 0x18 + .byte 0 + .byte 0 + .byte 0 + .uleb128 0xa + .uleb128 0xf + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0xb + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x40 + .uleb128 0x18 + .uleb128 0x7c + .uleb128 0x19 + .byte 0 + .byte 0 + .byte 0 + .section .debug_aranges,"",@progbits + .4byte 0x2c + .2byte 0x2 + .4byte .Ldebug_info0 + .byte 0x8 + .byte 0 + .2byte 0 + .2byte 0 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .8byte 0 + .8byte 0 + .section .debug_line,"",@progbits +.Ldebug_line0: + .section .debug_str,"MS",@progbits,1 +.LASF8: + .ascii "long long int\000" +.LASF3: + .ascii "unsigned int\000" +.LASF16: + .ascii "main\000" +.LASF0: + .ascii "long unsigned int\000" +.LASF9: + .ascii "long long unsigned int\000" +.LASF11: + .ascii "nopic-local.c\000" +.LASF10: + .ascii "GNU C17 13.0.0 20220512 (experimental) -mabi=lp64d -marc" + .ascii "h=loongarch64 -mfpu=64 -mcmodel=normal -mtune=la464 -g -" + .ascii "O0\000" +.LASF1: + .ascii "unsigned char\000" +.LASF7: + .ascii "char\000" +.LASF6: + .ascii "long int\000" +.LASF13: + .ascii "g_nopic\000" +.LASF2: + .ascii "short unsigned int\000" +.LASF15: + .ascii "printf\000" +.LASF12: + .ascii "/home/liuzhensong/test/ld/nopic/test/local_var\000" +.LASF14: + .ascii "abort\000" +.LASF5: + .ascii "short int\000" +.LASF4: + .ascii "signed char\000" + .ident "GCC: (GNU) 13.0.0 20220512 (experimental)" + .section .note.GNU-stack,"",@progbits diff --git a/ld/testsuite/ld-loongarch-elf/nopic-local.sd b/ld/testsuite/ld-loongarch-elf/nopic-local.sd new file mode 100644 index 00000000000..2dd16be527d --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-local.sd @@ -0,0 +1,5 @@ +Symbol table '\.symtab' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]: +[0-9]+ +[0-9] +OBJECT +GLOBAL +DEFAULT +[0-9] +g_nopic +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-local.xd b/ld/testsuite/ld-loongarch-elf/nopic-local.xd new file mode 100644 index 00000000000..d0130663db6 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-local.xd @@ -0,0 +1,3 @@ +Hex dump of section '\.data': + +0x[0-9]+ +78563412.* +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.rd b/ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.rd new file mode 100644 index 00000000000..2c32a543177 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.rd @@ -0,0 +1,5 @@ +Relocation section '.rela.dyn'.* + +Offset +Info +Type +Sym\. +Value +Sym\. +Name +\+ +Addend +#... +[0-9a-f]+ +[0-9a-f]+ +R_LARCH_64 +[0-9a-f]+ +g_nopic +\+ +[0-9a-f] +#... diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.sd b/ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.sd new file mode 100644 index 00000000000..4745ff78093 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-global-so.sd @@ -0,0 +1,10 @@ +Symbol table '\.dynsym' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]+: +[0-9]+ +[0-9] +OBJECT +WEAK +DEFAULT +UND +g_nopic +#... +Symbol table '\.symtab' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]+: +[0-9]+ +[0-9] +OBJECT +WEAK +DEFAULT +UND +g_nopic +#... diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-global.out b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.out new file mode 100644 index 00000000000..3a179f6634e --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.out @@ -0,0 +1 @@ +0x12345678 diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-global.s b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.s new file mode 100644 index 00000000000..298780a36c6 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.s @@ -0,0 +1,374 @@ + .file "nopic-weak-global.c" + .text +.Ltext0: + .file 1 "nopic-weak-global.c" + .section .rodata + .align 3 +.LC0: + .ascii "0x%x\012\000" + .text + .align 2 + .globl main + .type main, @function +main: +.LFB6 = . + .loc 1 7 1 + .cfi_startproc + addi.d $r3,$r3,-16 + .cfi_def_cfa_offset 16 + st.d $r1,$r3,8 + stptr.d $r22,$r3,0 + .cfi_offset 1, -8 + .cfi_offset 22, -16 + addi.d $r22,$r3,16 + .cfi_def_cfa 22, 0 + .loc 1 8 15 + pcalau12i $r12,%got_pc_hi20(g_nopic) + ld.d $r12,$r12,%got_pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + .loc 1 8 6 + or $r13,$r12,$r0 + lu12i.w $r12,305418240>>12 # 0x12345000 + ori $r12,$r12,1656 + bne $r13,$r12,.L2 + .loc 1 9 5 + pcalau12i $r12,%got_pc_hi20(g_nopic) + ld.d $r12,$r12,%got_pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + or $r5,$r12,$r0 + pcalau12i $r12,%pc_hi20(.LC0) + addi.d $r4,$r12,%pc_lo12(.LC0) + bl %plt(printf) + b .L5 +.L2: + .loc 1 11 5 + bl %plt(abort) +.L5: + .loc 1 12 10 + or $r12,$r0,$r0 + .loc 1 13 1 + or $r4,$r12,$r0 + ld.d $r1,$r3,8 + .cfi_restore 1 + ldptr.d $r22,$r3,0 + .cfi_restore 22 + addi.d $r3,$r3,16 + .cfi_def_cfa_register 3 + jr $r1 + .cfi_endproc +.LFE6: + .size main, .-main + .weak g_nopic +.Letext0: + .file 2 "/usr/include/stdlib.h" + .file 3 "/usr/include/stdio.h" + .section .debug_info,"",@progbits +.Ldebug_info0: + .4byte 0xce + .2byte 0x5 + .byte 0x1 + .byte 0x8 + .4byte .Ldebug_abbrev0 + .uleb128 0x2 + .4byte .LASF10 + .byte 0x1d + .4byte .LASF11 + .4byte .LASF12 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .4byte .Ldebug_line0 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF0 + .uleb128 0x1 + .byte 0x1 + .byte 0x8 + .4byte .LASF1 + .uleb128 0x1 + .byte 0x2 + .byte 0x7 + .4byte .LASF2 + .uleb128 0x1 + .byte 0x4 + .byte 0x7 + .4byte .LASF3 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF4 + .uleb128 0x1 + .byte 0x2 + .byte 0x5 + .4byte .LASF5 + .uleb128 0x3 + .byte 0x4 + .byte 0x5 + .ascii "int\000" + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF6 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF7 + .uleb128 0x4 + .4byte 0x66 + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF8 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF9 + .uleb128 0x5 + .4byte .LASF13 + .byte 0x1 + .byte 0x4 + .byte 0x22 + .4byte 0x58 + .uleb128 0x6 + .4byte .LASF14 + .byte 0x2 + .2byte 0x256 + .byte 0xd + .uleb128 0x7 + .4byte .LASF15 + .byte 0x3 + .2byte 0x164 + .byte 0xc + .4byte 0x58 + .4byte 0xad + .uleb128 0x8 + .4byte 0xad + .uleb128 0x9 + .byte 0 + .uleb128 0xa + .byte 0x8 + .4byte 0x6d + .uleb128 0xb + .4byte .LASF16 + .byte 0x1 + .byte 0x6 + .byte 0x5 + .4byte 0x58 + .8byte .LFB6 + .8byte .LFE6-.LFB6 + .uleb128 0x1 + .byte 0x9c + .byte 0 + .section .debug_abbrev,"",@progbits +.Ldebug_abbrev0: + .uleb128 0x1 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .byte 0 + .byte 0 + .uleb128 0x2 + .uleb128 0x11 + .byte 0x1 + .uleb128 0x25 + .uleb128 0xe + .uleb128 0x13 + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x1b + .uleb128 0xe + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x10 + .uleb128 0x17 + .byte 0 + .byte 0 + .uleb128 0x3 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0x8 + .byte 0 + .byte 0 + .uleb128 0x4 + .uleb128 0x26 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x5 + .uleb128 0x34 + .byte 0 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3c + .uleb128 0x19 + .byte 0 + .byte 0 + .uleb128 0x6 + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x87 + .uleb128 0x19 + .uleb128 0x3c + .uleb128 0x19 + .byte 0 + .byte 0 + .uleb128 0x7 + .uleb128 0x2e + .byte 0x1 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3c + .uleb128 0x19 + .uleb128 0x1 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x8 + .uleb128 0x5 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x9 + .uleb128 0x18 + .byte 0 + .byte 0 + .byte 0 + .uleb128 0xa + .uleb128 0xf + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0xb + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x40 + .uleb128 0x18 + .uleb128 0x7c + .uleb128 0x19 + .byte 0 + .byte 0 + .byte 0 + .section .debug_aranges,"",@progbits + .4byte 0x2c + .2byte 0x2 + .4byte .Ldebug_info0 + .byte 0x8 + .byte 0 + .2byte 0 + .2byte 0 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .8byte 0 + .8byte 0 + .section .debug_line,"",@progbits +.Ldebug_line0: + .section .debug_str,"MS",@progbits,1 +.LASF8: + .ascii "long long int\000" +.LASF3: + .ascii "unsigned int\000" +.LASF16: + .ascii "main\000" +.LASF0: + .ascii "long unsigned int\000" +.LASF9: + .ascii "long long unsigned int\000" +.LASF10: + .ascii "GNU C17 13.0.0 20220512 (experimental) -mabi=lp64d -marc" + .ascii "h=loongarch64 -mfpu=64 -mcmodel=normal -mtune=la464 -g -" + .ascii "O0\000" +.LASF1: + .ascii "unsigned char\000" +.LASF12: + .ascii "/home/liuzhensong/test/ld/nopic/test/global_var\000" +.LASF7: + .ascii "char\000" +.LASF6: + .ascii "long int\000" +.LASF13: + .ascii "g_nopic\000" +.LASF2: + .ascii "short unsigned int\000" +.LASF15: + .ascii "printf\000" +.LASF14: + .ascii "abort\000" +.LASF5: + .ascii "short int\000" +.LASF11: + .ascii "nopic-weak-global.c\000" +.LASF4: + .ascii "signed char\000" + .ident "GCC: (GNU) 13.0.0 20220512 (experimental)" + .section .note.GNU-stack,"",@progbits diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-global.sd b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.sd new file mode 100644 index 00000000000..f4634d20106 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.sd @@ -0,0 +1,5 @@ +#xfail: *-*-* +Symbol table '\.symtab' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]: +[0-9]+ +[0-9] +OBJECT +GLOBAL +DEFAULT +[0-9] +g_nopic diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-global.xd b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.xd new file mode 100644 index 00000000000..d0130663db6 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-global.xd @@ -0,0 +1,3 @@ +Hex dump of section '\.data': + +0x[0-9]+ +78563412.* +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-local.out b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.out new file mode 100644 index 00000000000..3a179f6634e --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.out @@ -0,0 +1 @@ +0x12345678 diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-local.rd b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.rd new file mode 100644 index 00000000000..e69de29bb2d diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-local.s b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.s new file mode 100644 index 00000000000..00a4b6162af --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.s @@ -0,0 +1,383 @@ + .file "nopic-weak-local.c" + .text +.Ltext0: + .file 1 "nopic-weak-local.c" + .weak g_nopic + .data + .align 2 + .type g_nopic, @object + .size g_nopic, 4 +g_nopic: + .word 305419896 + .section .rodata + .align 3 +.LC0: + .ascii "0x%x\012\000" + .text + .align 2 + .globl main + .type main, @function +main: +.LFB6 = . + .loc 1 7 1 + .cfi_startproc + addi.d $r3,$r3,-16 + .cfi_def_cfa_offset 16 + st.d $r1,$r3,8 + stptr.d $r22,$r3,0 + .cfi_offset 1, -8 + .cfi_offset 22, -16 + addi.d $r22,$r3,16 + .cfi_def_cfa 22, 0 + .loc 1 8 15 + pcalau12i $r12,%pc_hi20(g_nopic) + addi.d $r12,$r12,%pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + .loc 1 8 6 + or $r13,$r12,$r0 + lu12i.w $r12,305418240>>12 # 0x12345000 + ori $r12,$r12,1656 + bne $r13,$r12,.L2 + .loc 1 9 5 + pcalau12i $r12,%pc_hi20(g_nopic) + addi.d $r12,$r12,%pc_lo12(g_nopic) + ldptr.w $r12,$r12,0 + or $r5,$r12,$r0 + pcalau12i $r12,%pc_hi20(.LC0) + addi.d $r4,$r12,%pc_lo12(.LC0) + bl %plt(printf) + b .L5 +.L2: + .loc 1 11 5 + bl %plt(abort) +.L5: + .loc 1 12 10 + or $r12,$r0,$r0 + .loc 1 13 1 + or $r4,$r12,$r0 + ld.d $r1,$r3,8 + .cfi_restore 1 + ldptr.d $r22,$r3,0 + .cfi_restore 22 + addi.d $r3,$r3,16 + .cfi_def_cfa_register 3 + jr $r1 + .cfi_endproc +.LFE6: + .size main, .-main +.Letext0: + .file 2 "/usr/include/stdlib.h" + .file 3 "/usr/include/stdio.h" + .section .debug_info,"",@progbits +.Ldebug_info0: + .4byte 0xd8 + .2byte 0x5 + .byte 0x1 + .byte 0x8 + .4byte .Ldebug_abbrev0 + .uleb128 0x2 + .4byte .LASF10 + .byte 0x1d + .4byte .LASF11 + .4byte .LASF12 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .4byte .Ldebug_line0 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF0 + .uleb128 0x1 + .byte 0x1 + .byte 0x8 + .4byte .LASF1 + .uleb128 0x1 + .byte 0x2 + .byte 0x7 + .4byte .LASF2 + .uleb128 0x1 + .byte 0x4 + .byte 0x7 + .4byte .LASF3 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF4 + .uleb128 0x1 + .byte 0x2 + .byte 0x5 + .4byte .LASF5 + .uleb128 0x3 + .byte 0x4 + .byte 0x5 + .ascii "int\000" + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF6 + .uleb128 0x1 + .byte 0x1 + .byte 0x6 + .4byte .LASF7 + .uleb128 0x4 + .4byte 0x66 + .uleb128 0x1 + .byte 0x8 + .byte 0x5 + .4byte .LASF8 + .uleb128 0x1 + .byte 0x8 + .byte 0x7 + .4byte .LASF9 + .uleb128 0x5 + .4byte .LASF13 + .byte 0x1 + .byte 0x4 + .byte 0x1b + .4byte 0x58 + .uleb128 0x9 + .byte 0x3 + .8byte g_nopic + .uleb128 0x6 + .4byte .LASF14 + .byte 0x2 + .2byte 0x256 + .byte 0xd + .uleb128 0x7 + .4byte .LASF15 + .byte 0x3 + .2byte 0x164 + .byte 0xc + .4byte 0x58 + .4byte 0xb7 + .uleb128 0x8 + .4byte 0xb7 + .uleb128 0x9 + .byte 0 + .uleb128 0xa + .byte 0x8 + .4byte 0x6d + .uleb128 0xb + .4byte .LASF16 + .byte 0x1 + .byte 0x6 + .byte 0x5 + .4byte 0x58 + .8byte .LFB6 + .8byte .LFE6-.LFB6 + .uleb128 0x1 + .byte 0x9c + .byte 0 + .section .debug_abbrev,"",@progbits +.Ldebug_abbrev0: + .uleb128 0x1 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .byte 0 + .byte 0 + .uleb128 0x2 + .uleb128 0x11 + .byte 0x1 + .uleb128 0x25 + .uleb128 0xe + .uleb128 0x13 + .uleb128 0xb + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x1b + .uleb128 0xe + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x10 + .uleb128 0x17 + .byte 0 + .byte 0 + .uleb128 0x3 + .uleb128 0x24 + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x3e + .uleb128 0xb + .uleb128 0x3 + .uleb128 0x8 + .byte 0 + .byte 0 + .uleb128 0x4 + .uleb128 0x26 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x5 + .uleb128 0x34 + .byte 0 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x2 + .uleb128 0x18 + .byte 0 + .byte 0 + .uleb128 0x6 + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x87 + .uleb128 0x19 + .uleb128 0x3c + .uleb128 0x19 + .byte 0 + .byte 0 + .uleb128 0x7 + .uleb128 0x2e + .byte 0x1 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0x5 + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x27 + .uleb128 0x19 + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x3c + .uleb128 0x19 + .uleb128 0x1 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x8 + .uleb128 0x5 + .byte 0 + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0x9 + .uleb128 0x18 + .byte 0 + .byte 0 + .byte 0 + .uleb128 0xa + .uleb128 0xf + .byte 0 + .uleb128 0xb + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .byte 0 + .byte 0 + .uleb128 0xb + .uleb128 0x2e + .byte 0 + .uleb128 0x3f + .uleb128 0x19 + .uleb128 0x3 + .uleb128 0xe + .uleb128 0x3a + .uleb128 0xb + .uleb128 0x3b + .uleb128 0xb + .uleb128 0x39 + .uleb128 0xb + .uleb128 0x49 + .uleb128 0x13 + .uleb128 0x11 + .uleb128 0x1 + .uleb128 0x12 + .uleb128 0x7 + .uleb128 0x40 + .uleb128 0x18 + .uleb128 0x7c + .uleb128 0x19 + .byte 0 + .byte 0 + .byte 0 + .section .debug_aranges,"",@progbits + .4byte 0x2c + .2byte 0x2 + .4byte .Ldebug_info0 + .byte 0x8 + .byte 0 + .2byte 0 + .2byte 0 + .8byte .Ltext0 + .8byte .Letext0-.Ltext0 + .8byte 0 + .8byte 0 + .section .debug_line,"",@progbits +.Ldebug_line0: + .section .debug_str,"MS",@progbits,1 +.LASF8: + .ascii "long long int\000" +.LASF3: + .ascii "unsigned int\000" +.LASF16: + .ascii "main\000" +.LASF0: + .ascii "long unsigned int\000" +.LASF9: + .ascii "long long unsigned int\000" +.LASF10: + .ascii "GNU C17 13.0.0 20220512 (experimental) -mabi=lp64d -marc" + .ascii "h=loongarch64 -mfpu=64 -mcmodel=normal -mtune=la464 -g -" + .ascii "O0\000" +.LASF1: + .ascii "unsigned char\000" +.LASF7: + .ascii "char\000" +.LASF6: + .ascii "long int\000" +.LASF11: + .ascii "nopic-weak-local.c\000" +.LASF13: + .ascii "g_nopic\000" +.LASF2: + .ascii "short unsigned int\000" +.LASF15: + .ascii "printf\000" +.LASF12: + .ascii "/home/liuzhensong/test/ld/nopic/test/local_var\000" +.LASF14: + .ascii "abort\000" +.LASF5: + .ascii "short int\000" +.LASF4: + .ascii "signed char\000" + .ident "GCC: (GNU) 13.0.0 20220512 (experimental)" + .section .note.GNU-stack,"",@progbits diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-local.sd b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.sd new file mode 100644 index 00000000000..b2970676a44 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.sd @@ -0,0 +1,5 @@ +Symbol table '\.symtab' contains [0-9]+ entries: + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +#... + +[0-9]: +[0-9]+ +[0-9] +OBJECT +WEAK +DEFAULT +[0-9] +g_nopic +#pass diff --git a/ld/testsuite/ld-loongarch-elf/nopic-weak-local.xd b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.xd new file mode 100644 index 00000000000..d0130663db6 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/nopic-weak-local.xd @@ -0,0 +1,3 @@ +Hex dump of section '\.data': + +0x[0-9]+ +78563412.* +#pass diff --git a/ld/testsuite/ld-loongarch-elf/pic.exp b/ld/testsuite/ld-loongarch-elf/pic.exp new file mode 100644 index 00000000000..40a5138a39a --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/pic.exp @@ -0,0 +1,202 @@ +# Expect script for LoongArch ELF linker tests +# Copyright (C) 2022 Free Software Foundation, Inc. +# +# This file is part of the GNU Binutils. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, +# MA 02110-1301, USA. +# + +if ![istarget loongarch*-*-*] { + return +} + +global verbose +set old_verbose verbose +# set verbose 3 + +# Check to see if the C compiler works +if { ![check_compiler_available] } { + return +} + + +set testname "nopic link test pre build" +set pre_builds [list \ + [list \ + "$testname" \ + "-shared $NOSANITIZE_CFLAGS" \ + "-fPIC $NOSANITIZE_CFLAGS" \ + {libnopic-global.s} \ + {} \ + "libnopic-global.so" \ + ] \ +] + +# 0:name +# 1:ld or ar options +# 2:compile options +# 3:filenames of source files +# 4:action and options. +# 5:name of output file +# 6:language (optional) +run_cc_link_tests $pre_builds + + + +set testname "nopic link test" + +set link_tests [list \ + [list \ + "$testname readelf -s/-x nopic-local" \ + "-T pic.ld" "" \ + "" \ + { nopic-local.s } \ + [list \ + [list readelf -s nopic-local.sd] \ + [list readelf "-x .data" nopic-local.xd] \ + ] \ + "nopic-local" \ + ] \ + [list \ + "$testname readelf -s/-x nopic-weak-local" \ + "-T pic.ld" "" \ + "" \ + {nopic-weak-local.s} \ + [list \ + [list readelf -s nopic-weak-local.sd] \ + [list readelf "-x .data" nopic-weak-local.xd] \ + ] \ + "nopic-weak-local" \ + ] \ + [list \ + "$testname readelf -s/-x nopic-global" \ + "-T pic.ld" "" \ + "" \ + {nopic-global.s libnopic-global.s} \ + [list \ + [list readelf -s nopic-global.sd] \ + [list readelf "-x .data" nopic-global.xd] \ + ] \ + "nopic-global" \ + ] \ + [list \ + "$testname readelf -s/-r nopic-global-so" \ + "-L./tmpdir -lnopic-global -L/usr/lib -lc" "" \ + "" \ + {nopic-global.s} \ + [list \ + [list readelf -s nopic-global-so.sd] \ + [list readelf -r nopic-global-so.rd] \ + ] \ + "nopic-global-so" \ + ] \ + [list \ + "$testname readelf -s/-x nopic-weak-global" \ + "-T pic.ld" "" \ + "" \ + {nopic-weak-global.s libnopic-global.s} \ + [list \ + [list readelf -s nopic-weak-global.sd] \ + [list readelf "-x .data" nopic-weak-global.xd] \ + ] \ + "nopic-weak-global" \ + ] \ + [list \ + "$testname readelf -s/-x nopic-weak-global-so" \ + "-L./tmpdir -lnopic-global -L/usr/lib -lc" "" \ + "" \ + {nopic-weak-global.s} \ + [list \ + [list readelf -s nopic-weak-global-so.sd] \ + [list readelf -r nopic-weak-global-so.rd] \ + ] \ + "nopic-weak-global-so" \ + ] \ +] + +# 0:name +# 1:ld/ar leading options, placed before object files +# 2:ld/ar trailing options, placed after object files +# 3:assembler options +# 4:filenames of assembler files +# 5:list of actions, options and expected outputs. +# 6:name of output file +# 7:compiler flags (optional) +run_ld_link_tests $link_tests + +set testname "nopic link exec test" + +set link_exec_tests [list \ + [list \ + "$testname" \ + "" "" \ + { nopic-local.s } \ + "nopic-local" \ + "nopic-local.out" \ + ] \ + [list \ + "$testname" \ + "" "" \ + { nopic-weak-local.s } \ + "nopic-weak-local" \ + "nopic-weak-local.out" \ + ] \ + [list \ + "$testname" \ + "" "" \ + { nopic-global.s libnopic-global.s } \ + "nopic-global" \ + "nopic-global.out" \ + ] \ + [list \ + "$testname" \ + "-L./tmpdir -lnopic-global -lc -Wl,-rpath=./tmpdir -no-pie" "" \ + { nopic-global.s } \ + "nopic-global-so" \ + "nopic-global.out" \ + ] \ + [list \ + "$testname" \ + "" "" \ + { nopic-weak-global.s libnopic-global.s } \ + "nopic-weak-global" \ + "nopic-weak-global.out" \ + ] \ + [list \ + "$testname" \ + "-L./tmpdir -lnopic-global -lc -Wl,-rpath=./tmpdir -no-pie" "" \ + { nopic-weak-global.s } \ + "nopic-weak-global-so" \ + "nopic-weak-global.out" \ + ] \ +] + +# ldtests contains test-items with 3 items followed by 1 lists, 2 items +# and 3 optional items: +# 0:name +# 1:ld leading options, placed before object files +# 2:assembler options +# 3:filenames of source files +# 4:name of output file +# 5:expected output +# 6:compiler flags (optional) +# 7:language (optional) +# 8:linker warning (optional) +# 9:ld trailing options, placed after object files (optional) +run_ld_link_exec_tests $link_exec_tests + + +#set verbose old_verbose diff --git a/ld/testsuite/ld-loongarch-elf/pic.ld b/ld/testsuite/ld-loongarch-elf/pic.ld new file mode 100644 index 00000000000..d57b37f5310 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/pic.ld @@ -0,0 +1,18 @@ +SECTIONS +{ + .bss : { *(.dynbss) } + .got : { *(.got.plt) *(.got) } + .dynamic : { *(.dynamic) } + .data : { *(.data) } + .rela.dyn : { *(.rela.*) } + .interp : { *(.interp) } + .hash : { *(.hash) } + .gnu.hash : { *(.gnu.hash) } + .dynsym : { *(.dynsym) } + .dynstr : { *(.dynstr) } + .debug_foo : { *(.debug_foo) } + .shstrtab : { *(.shstrtab) } + .symtab : { *(.symtab) } + .strtab : { *(.strtab) } + /DISCARD/ : { *(*) } +} -- 2.30.2