aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-10-18 12:34:19 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-10-18 12:34:19 +0000
commit7e1fa4ad31e7789ed94d2339c7175047a107cfb0 (patch)
tree01032cd4f3bcec85db5f5cf1a5307d419d805835 /ld
parent2838ec41f8f9536ecb4235e671a9d73901d78649 (diff)
downloadgdb-7e1fa4ad31e7789ed94d2339c7175047a107cfb0.zip
gdb-7e1fa4ad31e7789ed94d2339c7175047a107cfb0.tar.gz
gdb-7e1fa4ad31e7789ed94d2339c7175047a107cfb0.tar.bz2
ld/testsuite/
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x30 to account for the fact that .reginfo is now placed before .text. Change the section number of .text accordingly.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-mips-elf/rel32-n32.d6
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 71adc9a..5780be9 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2006-10-18 Richard Sandiford <richard@codesourcery.com>
+ * ld-mips-elf/rel32-n32.d: Bump addresses by 0x30 to account for
+ the fact that .reginfo is now placed before .text. Change the
+ section number of .text accordingly.
+
+2006-10-18 Richard Sandiford <richard@codesourcery.com>
+
* ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000
to 0x10000. Move .reginfo before .text and bump .text addresses
by 0x10 to make room. Move data segment down by 0x10 bytes to
diff --git a/ld/testsuite/ld-mips-elf/rel32-n32.d b/ld/testsuite/ld-mips-elf/rel32-n32.d
index 3b3572f..3c6b093 100644
--- a/ld/testsuite/ld-mips-elf/rel32-n32.d
+++ b/ld/testsuite/ld-mips-elf/rel32-n32.d
@@ -1,7 +1,7 @@
#name: MIPS rel32 n32
#source: rel32.s
#as: -KPIC -EB -n32
-#readelf: -x 5 -r
+#readelf: -x 6 -r
#ld: -shared -melf32btsmipn32
Relocation section '.rel.dyn' at offset .* contains 2 entries:
@@ -10,6 +10,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
[0-9a-f ]+R_MIPS_REL32
Hex dump of section '.text':
- 0x000002b0 00000000 00000000 00000000 00000000 ................
- 0x000002c0 000002c0 00000000 00000000 00000000 ................
0x000002d0 00000000 00000000 00000000 00000000 ................
+ 0x000002e0 000002e0 00000000 00000000 00000000 ................
+ 0x000002f0 00000000 00000000 00000000 00000000 ................