diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-03-11 19:20:16 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-03-11 19:20:16 +0000 |
commit | 48fe7bdacc15bbf455243d1d7d26231aa8292f04 (patch) | |
tree | 85524c9fb61395b044ecb4c82ff0c704da141a07 /ld/testsuite/ld-mips-elf/rel32-n32.d | |
parent | 908488f19e7e3f91c9129426ad503ed0194eba68 (diff) | |
download | gdb-48fe7bdacc15bbf455243d1d7d26231aa8292f04.zip gdb-48fe7bdacc15bbf455243d1d7d26231aa8292f04.tar.gz gdb-48fe7bdacc15bbf455243d1d7d26231aa8292f04.tar.bz2 |
* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
tests.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/rel32-n32.d')
-rw-r--r-- | ld/testsuite/ld-mips-elf/rel32-n32.d | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/rel32-n32.d b/ld/testsuite/ld-mips-elf/rel32-n32.d new file mode 100644 index 0000000..a9233c4 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/rel32-n32.d @@ -0,0 +1,16 @@ +#name: MIPS rel32 n32 +#source: rel32.s +#as: -KPIC -n32 +#readelf: -x 5 -r +#ld: -shared -melf32btsmipn32 + +Relocation section '.rel.dyn' at offset 0x3d0 contains 2 entries: + Offset Info Type Sym.Value Sym. Name +00000000 00000000 R_MIPS_NONE +000003f0 00000003 R_MIPS_REL32 + +Hex dump of section '.text': + 0x000003e0 00000000 00000000 00000000 00000000 ................ + 0x000003f0 000003f0 00000000 00000000 00000000 ................ + 0x00000400 00000000 00000000 00000000 00000000 ................ + 0x00000410 00000000 00000000 00000000 00000000 ................ |