diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-06-13 12:38:00 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-06-13 12:38:00 -0700 |
commit | 54f1b3cf509cd889905287cb8ce6c5ae33911a21 (patch) | |
tree | e39b1a7fa04db86a8215b7f9d4656d74e394aec0 /binutils-2.25/ld/testsuite/ld-mips-elf/reloc-1-n32.d | |
parent | 2a6558a8ecfb81d75215b4ec7dc61113e12cfd5f (diff) | |
download | toolchain_binutils-54f1b3cf509cd889905287cb8ce6c5ae33911a21.tar.gz toolchain_binutils-54f1b3cf509cd889905287cb8ce6c5ae33911a21.tar.bz2 toolchain_binutils-54f1b3cf509cd889905287cb8ce6c5ae33911a21.zip |
Add upstream binutils-2.25 snapshot 4/4 2014
For MIPS -mmsa support
Change-Id: I08c4f002fa7b33dec85ed75956e6ab551bb03c96
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-mips-elf/reloc-1-n32.d')
-rw-r--r-- | binutils-2.25/ld/testsuite/ld-mips-elf/reloc-1-n32.d | 199 |
1 files changed, 199 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-mips-elf/reloc-1-n32.d b/binutils-2.25/ld/testsuite/ld-mips-elf/reloc-1-n32.d new file mode 100644 index 00000000..e9f38e55 --- /dev/null +++ b/binutils-2.25/ld/testsuite/ld-mips-elf/reloc-1-n32.d @@ -0,0 +1,199 @@ +#source: reloc-1a.s -march=from-abi -mabi=n32 -EB +#source: reloc-1b.s -march=from-abi -mabi=n32 -EB +#ld: -r +#readelf: --relocs + +Relocation section '\.rela\.text' .* +.* +# +# Relocations against tstarta +# +.* 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 +.* R_MIPS_LO16 .* \.text \+ 7ff0 +.* R_MIPS_HI16 .* \.text \+ 8010 +.* R_MIPS_LO16 .* \.text \+ 8010 +# +# Relocations against t32a +# +.* 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 +.* R_MIPS_LO16 .* \.text \+ 8010 +.* R_MIPS_HI16 .* \.text \+ 8030 +.* R_MIPS_LO16 .* \.text \+ 8030 +# +# Relocations against _start +# +.* 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 +.* R_MIPS_LO16 .* _start \+ 7ff0 +.* R_MIPS_HI16 .* _start \+ 8010 +.* R_MIPS_LO16 .* _start \+ 8010 +# +# Relocations against tstarta +# +.* 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 +.* R_MIPS_LO16 .* \.text \+ 7ff0 +.* R_MIPS_GOT16 .* \.text \+ 8010 +.* R_MIPS_LO16 .* \.text \+ 8010 +# +# Relocations against t32a +# +.* 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 +.* R_MIPS_LO16 .* \.text \+ 8010 +.* R_MIPS_GOT16 .* \.text \+ 8030 +.* R_MIPS_LO16 .* \.text \+ 8030 +# +# Relocations against sdg +# +.* 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 \- 7fe4 +.* R_MIPS_GPREL16 .* \.sdata \- 7fe0 +.* R_MIPS_GPREL16 .* \.sdata \- 7fdc +# +# Relocations against tstarta +# +.* R_MIPS_26 .* \.text \- 4 +.* R_MIPS_26 .* \.text \+ 0 +.* R_MIPS_26 .* \.text \+ 4 +# +# Relocations against t32a +# +.* R_MIPS_26 .* \.text \+ 1c +.* R_MIPS_26 .* \.text \+ 20 +.* R_MIPS_26 .* \.text \+ 24 +# +# Relocations against _start +# +.* R_MIPS_26 .* _start \- 4 +.* R_MIPS_26 .* _start \+ 0 +.* R_MIPS_26 .* _start \+ 4 +# +# Relocations against tstartb +# +.* R_MIPS_HI16 .* \.text \+ 7fe0 +.* R_MIPS_LO16 .* \.text \+ 7fe0 +.* R_MIPS_HI16 .* \.text \+ 7ff0 +.* R_MIPS_LO16 .* \.text \+ 7ff0 +.* R_MIPS_HI16 .* \.text \+ fff0 +.* R_MIPS_LO16 .* \.text \+ fff0 +.* R_MIPS_HI16 .* \.text \+ 17fe0 +.* R_MIPS_LO16 .* \.text \+ 17fe0 +.* R_MIPS_HI16 .* \.text \+ 18000 +.* R_MIPS_LO16 .* \.text \+ 18000 +# +# Relocations against t32b +# +.* R_MIPS_HI16 .* \.text \+ 8000 +.* R_MIPS_LO16 .* \.text \+ 8000 +.* R_MIPS_HI16 .* \.text \+ 8010 +.* R_MIPS_LO16 .* \.text \+ 8010 +.* R_MIPS_HI16 .* \.text \+ 10010 +.* R_MIPS_LO16 .* \.text \+ 10010 +.* R_MIPS_HI16 .* \.text \+ 18000 +.* R_MIPS_LO16 .* \.text \+ 18000 +.* R_MIPS_HI16 .* \.text \+ 18020 +.* R_MIPS_LO16 .* \.text \+ 18020 +# +# Relocations against _start +# +.* 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 +.* R_MIPS_LO16 .* _start \+ 7ff0 +.* R_MIPS_HI16 .* _start \+ 8010 +.* R_MIPS_LO16 .* _start \+ 8010 +# +# Relocations against tstartb +# +.* R_MIPS_GOT16 .* \.text \+ 7fe0 +.* R_MIPS_LO16 .* \.text \+ 7fe0 +.* R_MIPS_GOT16 .* \.text \+ 7ff0 +.* R_MIPS_LO16 .* \.text \+ 7ff0 +.* R_MIPS_GOT16 .* \.text \+ fff0 +.* R_MIPS_LO16 .* \.text \+ fff0 +.* R_MIPS_GOT16 .* \.text \+ 17fe0 +.* R_MIPS_LO16 .* \.text \+ 17fe0 +.* R_MIPS_GOT16 .* \.text \+ 18000 +.* R_MIPS_LO16 .* \.text \+ 18000 +# +# Relocations against t32b +# +.* R_MIPS_GOT16 .* \.text \+ 8000 +.* R_MIPS_LO16 .* \.text \+ 8000 +.* R_MIPS_GOT16 .* \.text \+ 8010 +.* R_MIPS_LO16 .* \.text \+ 8010 +.* R_MIPS_GOT16 .* \.text \+ 10010 +.* R_MIPS_LO16 .* \.text \+ 10010 +.* R_MIPS_GOT16 .* \.text \+ 18000 +.* R_MIPS_LO16 .* \.text \+ 18000 +.* R_MIPS_GOT16 .* \.text \+ 18020 +.* R_MIPS_LO16 .* \.text \+ 18020 +# +# Relocations against sdg +# +.* R_MIPS_GPREL16 .* sdg \- 4 +.* R_MIPS_GPREL16 .* sdg \+ 0 +.* R_MIPS_GPREL16 .* sdg \+ 4 +# +# Relocations against sdlb +# +.* R_MIPS_GPREL16 .* \.sdata \- 7fc4 +.* R_MIPS_GPREL16 .* \.sdata \- 7fc0 +.* R_MIPS_GPREL16 .* \.sdata \- 7fbc +# +# Relocations against tstartb +# +.* R_MIPS_26 .* \.text \+ ffec +.* R_MIPS_26 .* \.text \+ fff0 +.* R_MIPS_26 .* \.text \+ fff4 +# +# Relocations against t32b +# +.* R_MIPS_26 .* \.text \+ 1000c +.* R_MIPS_26 .* \.text \+ 10010 +.* R_MIPS_26 .* \.text \+ 10014 +# +# Relocations against _start +# +.* R_MIPS_26 .* _start \- 4 +.* R_MIPS_26 .* _start \+ 0 +.* R_MIPS_26 .* _start \+ 4 +#pass |