From 7e1fa4ad31e7789ed94d2339c7175047a107cfb0 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 18 Oct 2006 12:34:19 +0000 Subject: 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. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-mips-elf/rel32-n32.d | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'ld/testsuite') 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 + * 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 + * 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 ................ -- cgit v1.1