diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r-- | ld/testsuite/ld-mips-elf/reloc-1-n32.d | 70 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/reloc-1-n64.d | 70 |
2 files changed, 70 insertions, 70 deletions
diff --git a/ld/testsuite/ld-mips-elf/reloc-1-n32.d b/ld/testsuite/ld-mips-elf/reloc-1-n32.d index dd41822..87a55f9 100644 --- a/ld/testsuite/ld-mips-elf/reloc-1-n32.d +++ b/ld/testsuite/ld-mips-elf/reloc-1-n32.d @@ -8,10 +8,10 @@ Relocation section '\.rela\.text' .* # # Relocations against tstarta # -.* R_MIPS_HI16 .* \.text \+ ffff7ff0 -.* R_MIPS_LO16 .* \.text \+ ffff7ff0 -.* R_MIPS_HI16 .* \.text \+ ffff8000 -.* R_MIPS_LO16 .* \.text \+ ffff8000 +.* R_MIPS_HI16 .* \.text \- 8010 +.* R_MIPS_LO16 .* \.text \- 8010 +.* R_MIPS_HI16 .* \.text \- 8000 +.* R_MIPS_LO16 .* \.text \- 8000 .* R_MIPS_HI16 .* \.text \+ 0 .* R_MIPS_LO16 .* \.text \+ 0 .* R_MIPS_HI16 .* \.text \+ 7ff0 @@ -21,10 +21,10 @@ Relocation section '\.rela\.text' .* # # Relocations against t32a # -.* R_MIPS_HI16 .* \.text \+ ffff8010 -.* R_MIPS_LO16 .* \.text \+ ffff8010 -.* R_MIPS_HI16 .* \.text \+ ffff8020 -.* R_MIPS_LO16 .* \.text \+ ffff8020 +.* R_MIPS_HI16 .* \.text \- 7ff0 +.* R_MIPS_LO16 .* \.text \- 7ff0 +.* R_MIPS_HI16 .* \.text \- 7fe0 +.* R_MIPS_LO16 .* \.text \- 7fe0 .* R_MIPS_HI16 .* \.text \+ 20 .* R_MIPS_LO16 .* \.text \+ 20 .* R_MIPS_HI16 .* \.text \+ 8010 @@ -34,10 +34,10 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_HI16 .* _start \+ ffff7ff0 -.* R_MIPS_LO16 .* _start \+ ffff7ff0 -.* R_MIPS_HI16 .* _start \+ ffff8000 -.* R_MIPS_LO16 .* _start \+ ffff8000 +.* R_MIPS_HI16 .* _start \- 8010 +.* R_MIPS_LO16 .* _start \- 8010 +.* R_MIPS_HI16 .* _start \- 8000 +.* R_MIPS_LO16 .* _start \- 8000 .* R_MIPS_HI16 .* _start \+ 0 .* R_MIPS_LO16 .* _start \+ 0 .* R_MIPS_HI16 .* _start \+ 7ff0 @@ -47,10 +47,10 @@ Relocation section '\.rela\.text' .* # # Relocations against tstarta # -.* R_MIPS_GOT16 .* \.text \+ ffff7ff0 -.* R_MIPS_LO16 .* \.text \+ ffff7ff0 -.* R_MIPS_GOT16 .* \.text \+ ffff8000 -.* R_MIPS_LO16 .* \.text \+ ffff8000 +.* R_MIPS_GOT16 .* \.text \- 8010 +.* R_MIPS_LO16 .* \.text \- 8010 +.* R_MIPS_GOT16 .* \.text \- 8000 +.* R_MIPS_LO16 .* \.text \- 8000 .* R_MIPS_GOT16 .* \.text \+ 0 .* R_MIPS_LO16 .* \.text \+ 0 .* R_MIPS_GOT16 .* \.text \+ 7ff0 @@ -60,10 +60,10 @@ Relocation section '\.rela\.text' .* # # Relocations against t32a # -.* R_MIPS_GOT16 .* \.text \+ ffff8010 -.* R_MIPS_LO16 .* \.text \+ ffff8010 -.* R_MIPS_GOT16 .* \.text \+ ffff8020 -.* R_MIPS_LO16 .* \.text \+ ffff8020 +.* R_MIPS_GOT16 .* \.text \- 7ff0 +.* R_MIPS_LO16 .* \.text \- 7ff0 +.* R_MIPS_GOT16 .* \.text \- 7fe0 +.* R_MIPS_LO16 .* \.text \- 7fe0 .* R_MIPS_GOT16 .* \.text \+ 20 .* R_MIPS_LO16 .* \.text \+ 20 .* R_MIPS_GOT16 .* \.text \+ 8010 @@ -73,20 +73,20 @@ Relocation section '\.rela\.text' .* # # Relocations against sdg # -.* R_MIPS_GPREL16 .* sdg \+ fffffffc +.* R_MIPS_GPREL16 .* sdg \- 4 .* R_MIPS_GPREL16 .* sdg \+ 0 .* R_MIPS_GPREL16 .* sdg \+ 4 # # Relocations against sdla. .sdata should be the first piece of gp-relative # data, which the linker script should put _gp - 0x7ff0. # -.* R_MIPS_GPREL16 .* \.sdata \+ ffff801c -.* R_MIPS_GPREL16 .* \.sdata \+ ffff8020 -.* R_MIPS_GPREL16 .* \.sdata \+ ffff8024 +.* R_MIPS_GPREL16 .* \.sdata \- 7fe4 +.* R_MIPS_GPREL16 .* \.sdata \- 7fe0 +.* R_MIPS_GPREL16 .* \.sdata \- 7fdc # # Relocations against tstarta # -.* R_MIPS_26 .* \.text \+ fffffffc +.* R_MIPS_26 .* \.text \- 4 .* R_MIPS_26 .* \.text \+ 0 .* R_MIPS_26 .* \.text \+ 4 # @@ -98,7 +98,7 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_26 .* _start \+ fffffffc +.* R_MIPS_26 .* _start \- 4 .* R_MIPS_26 .* _start \+ 0 .* R_MIPS_26 .* _start \+ 4 # @@ -130,10 +130,10 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_HI16 .* _start \+ ffff7ff0 -.* R_MIPS_LO16 .* _start \+ ffff7ff0 -.* R_MIPS_HI16 .* _start \+ ffff8000 -.* R_MIPS_LO16 .* _start \+ ffff8000 +.* R_MIPS_HI16 .* _start \- 8010 +.* R_MIPS_LO16 .* _start \- 8010 +.* R_MIPS_HI16 .* _start \- 8000 +.* R_MIPS_LO16 .* _start \- 8000 .* R_MIPS_HI16 .* _start \+ 0 .* R_MIPS_LO16 .* _start \+ 0 .* R_MIPS_HI16 .* _start \+ 7ff0 @@ -169,15 +169,15 @@ Relocation section '\.rela\.text' .* # # Relocations against sdg # -.* R_MIPS_GPREL16 .* sdg \+ fffffffc +.* R_MIPS_GPREL16 .* sdg \- 4 .* R_MIPS_GPREL16 .* sdg \+ 0 .* R_MIPS_GPREL16 .* sdg \+ 4 # # Relocations against sdlb # -.* R_MIPS_GPREL16 .* \.sdata \+ ffff803c -.* R_MIPS_GPREL16 .* \.sdata \+ ffff8040 -.* R_MIPS_GPREL16 .* \.sdata \+ ffff8044 +.* R_MIPS_GPREL16 .* \.sdata \- 7fc4 +.* R_MIPS_GPREL16 .* \.sdata \- 7fc0 +.* R_MIPS_GPREL16 .* \.sdata \- 7fbc # # Relocations against tstartb # @@ -193,7 +193,7 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_26 .* _start \+ fffffffc +.* R_MIPS_26 .* _start \- 4 .* R_MIPS_26 .* _start \+ 0 .* R_MIPS_26 .* _start \+ 4 #pass diff --git a/ld/testsuite/ld-mips-elf/reloc-1-n64.d b/ld/testsuite/ld-mips-elf/reloc-1-n64.d index 42d74ea..2cfbe9a 100644 --- a/ld/testsuite/ld-mips-elf/reloc-1-n64.d +++ b/ld/testsuite/ld-mips-elf/reloc-1-n64.d @@ -8,16 +8,16 @@ Relocation section '\.rela\.text' .* # # Relocations against tstarta # -.* R_MIPS_HI16 .* \.text \+ f+7ff0 +.* R_MIPS_HI16 .* \.text \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+7ff0 +.* R_MIPS_LO16 .* \.text \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_HI16 .* \.text \+ f+8000 +.* R_MIPS_HI16 .* \.text \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+8000 +.* R_MIPS_LO16 .* \.text \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_HI16 .* \.text \+ 0 @@ -41,16 +41,16 @@ Relocation section '\.rela\.text' .* # # Relocations against t32a # -.* R_MIPS_HI16 .* \.text \+ f+8010 +.* R_MIPS_HI16 .* \.text \- 7ff0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+8010 +.* R_MIPS_LO16 .* \.text \- 7ff0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_HI16 .* \.text \+ f+8020 +.* R_MIPS_HI16 .* \.text \- 7fe0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+8020 +.* R_MIPS_LO16 .* \.text \- 7fe0 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_HI16 .* \.text \+ 20 @@ -74,16 +74,16 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_HI16 .* _start \+ f+7ff0 +.* R_MIPS_HI16 .* _start \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* _start \+ f+7ff0 +.* R_MIPS_LO16 .* _start \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_HI16 .* _start \+ f+8000 +.* R_MIPS_HI16 .* _start \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* _start \+ f+8000 +.* R_MIPS_LO16 .* _start \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_HI16 .* _start \+ 0 @@ -107,16 +107,16 @@ Relocation section '\.rela\.text' .* # # Relocations against tstarta # -.* R_MIPS_GOT16 .* \.text \+ f+7ff0 +.* R_MIPS_GOT16 .* \.text \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+7ff0 +.* R_MIPS_LO16 .* \.text \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_GOT16 .* \.text \+ f+8000 +.* R_MIPS_GOT16 .* \.text \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+8000 +.* R_MIPS_LO16 .* \.text \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_GOT16 .* \.text \+ 0 @@ -140,16 +140,16 @@ Relocation section '\.rela\.text' .* # # Relocations against t32a # -.* R_MIPS_GOT16 .* \.text \+ f+8010 +.* R_MIPS_GOT16 .* \.text \- 7ff0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+8010 +.* R_MIPS_LO16 .* \.text \- 7ff0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_GOT16 .* \.text \+ f+8020 +.* R_MIPS_GOT16 .* \.text \- 7fe0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* \.text \+ f+8020 +.* R_MIPS_LO16 .* \.text \- 7fe0 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_GOT16 .* \.text \+ 20 @@ -173,7 +173,7 @@ Relocation section '\.rela\.text' .* # # Relocations against sdg # -.* R_MIPS_GPREL16 .* sdg \+ f+fffc +.* R_MIPS_GPREL16 .* sdg \- 4 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_GPREL16 .* sdg \+ 0 @@ -186,19 +186,19 @@ Relocation section '\.rela\.text' .* # Relocations against sdla. .sdata should be the first piece of gp-relative # data, which the linker script should put _gp - 0x7ff0. # -.* R_MIPS_GPREL16 .* \.sdata \+ f+801c +.* R_MIPS_GPREL16 .* \.sdata \- 7fe4 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_GPREL16 .* \.sdata \+ f+8020 +.* R_MIPS_GPREL16 .* \.sdata \- 7fe0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_GPREL16 .* \.sdata \+ f+8024 +.* R_MIPS_GPREL16 .* \.sdata \- 7fdc .* R_MIPS_NONE * .* R_MIPS_NONE * # # Relocations against tstarta # -.* R_MIPS_26 .* \.text \+ f+fffc +.* R_MIPS_26 .* \.text \- 4 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_26 .* \.text \+ 0 @@ -222,7 +222,7 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_26 .* _start \+ f+fffc +.* R_MIPS_26 .* _start \- 4 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_26 .* _start \+ 0 @@ -300,16 +300,16 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_HI16 .* _start \+ f+7ff0 +.* R_MIPS_HI16 .* _start \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* _start \+ f+7ff0 +.* R_MIPS_LO16 .* _start \- 8010 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_HI16 .* _start \+ f+8000 +.* R_MIPS_HI16 .* _start \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_LO16 .* _start \+ f+8000 +.* R_MIPS_LO16 .* _start \- 8000 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_HI16 .* _start \+ 0 @@ -399,7 +399,7 @@ Relocation section '\.rela\.text' .* # # Relocations against sdg # -.* R_MIPS_GPREL16 .* sdg \+ f+fffc +.* R_MIPS_GPREL16 .* sdg \- 4 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_GPREL16 .* sdg \+ 0 @@ -411,13 +411,13 @@ Relocation section '\.rela\.text' .* # # Relocations against sdlb # -.* R_MIPS_GPREL16 .* \.sdata \+ f+803c +.* R_MIPS_GPREL16 .* \.sdata \- 7fc4 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_GPREL16 .* \.sdata \+ f+8040 +.* R_MIPS_GPREL16 .* \.sdata \- 7fc0 .* R_MIPS_NONE * .* R_MIPS_NONE * -.* R_MIPS_GPREL16 .* \.sdata \+ f+8044 +.* R_MIPS_GPREL16 .* \.sdata \- 7fbc .* R_MIPS_NONE * .* R_MIPS_NONE * # @@ -447,7 +447,7 @@ Relocation section '\.rela\.text' .* # # Relocations against _start # -.* R_MIPS_26 .* _start \+ f+fffc +.* R_MIPS_26 .* _start \- 4 .* R_MIPS_NONE * .* R_MIPS_NONE * .* R_MIPS_26 .* _start \+ 0 |