[PATCH 04/13] ld/mips: Update tests for _edata, __bss_start, and _end changes
H.J. Lu
hjl.tools@gmail.com
Fri Jun 1 18:44:00 GMT 2018
Since _edata, __bss_start, and _end are no longer defined in shared
libraries, adjust linker tests for address changes.
PR ld/23161
* testsuite/ld-mips-elf/rel32-n32.d: Updated.
* testsuite/ld-mips-elf/rel32-o32.d: Likewise.
* testsuite/ld-mips-elf/rel64.d: Likewise.
---
ld/testsuite/ld-mips-elf/rel32-n32.d | 6 +++---
ld/testsuite/ld-mips-elf/rel32-o32.d | 6 +++---
ld/testsuite/ld-mips-elf/rel64.d | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/ld/testsuite/ld-mips-elf/rel32-n32.d b/ld/testsuite/ld-mips-elf/rel32-n32.d
index 995161561a..94b138d88b 100644
--- a/ld/testsuite/ld-mips-elf/rel32-n32.d
+++ b/ld/testsuite/ld-mips-elf/rel32-n32.d
@@ -10,6 +10,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
[0-9a-f ]+R_MIPS_REL32
Hex dump of section '.text':
- 0x000002e0 00000000 00000000 00000000 00000000 ................
- 0x000002f0 000002f0 00000000 00000000 00000000 ................
- 0x00000300 00000000 00000000 00000000 00000000 ................
+ 0x00000260 00000000 00000000 00000000 00000000 ................
+ 0x00000270 00000270 00000000 00000000 00000000 ................
+ 0x00000280 00000000 00000000 00000000 00000000 ................
diff --git a/ld/testsuite/ld-mips-elf/rel32-o32.d b/ld/testsuite/ld-mips-elf/rel32-o32.d
index 742cdaadb4..e7e3923735 100644
--- a/ld/testsuite/ld-mips-elf/rel32-o32.d
+++ b/ld/testsuite/ld-mips-elf/rel32-o32.d
@@ -10,6 +10,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
[0-9a-f ]+R_MIPS_REL32
Hex dump of section '.text':
- 0x000002e0 00000000 00000000 00000000 00000000 ................
- 0x000002f0 000002f0 00000000 00000000 00000000 ................
- 0x00000300 00000000 00000000 00000000 00000000 ................
+ 0x00000260 00000000 00000000 00000000 00000000 ................
+ 0x00000270 00000270 00000000 00000000 00000000 ................
+ 0x00000280 00000000 00000000 00000000 00000000 ................
diff --git a/ld/testsuite/ld-mips-elf/rel64.d b/ld/testsuite/ld-mips-elf/rel64.d
index 01bffa3908..3941b203ab 100644
--- a/ld/testsuite/ld-mips-elf/rel64.d
+++ b/ld/testsuite/ld-mips-elf/rel64.d
@@ -14,6 +14,6 @@ Relocation section '.rel.dyn' at offset .* contains 2 entries:
+Type3: R_MIPS_NONE
Hex dump of section '.text':
- 0x00000450 00000000 00000000 00000000 00000000 ................
- 0x00000460 00000000 00000460 00000000 00000000 ................
- 0x00000470 00000000 00000000 00000000 00000000 ................
+ 0x000003c0 00000000 00000000 00000000 00000000 ................
+ 0x000003d0 00000000 000003d0 00000000 00000000 ................
+ 0x000003e0 00000000 00000000 00000000 00000000 ................
--
2.17.0
More information about the Binutils
mailing list