aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-03-25 06:45:16 +0000
committerAlan Modra <amodra@gmail.com>2012-03-25 06:45:16 +0000
commitb514e6a51fefb7dde379f595b76dd9113e132487 (patch)
tree8e00f7fd72dca626b544b5b1c5b3c832afc8b2a8 /ld/testsuite
parent8f784a0e6ad19b9cd7afc9a67d7ee39a5f5f94cf (diff)
downloadgdb-b514e6a51fefb7dde379f595b76dd9113e132487.zip
gdb-b514e6a51fefb7dde379f595b76dd9113e132487.tar.gz
gdb-b514e6a51fefb7dde379f595b76dd9113e132487.tar.bz2
ld/
* ldemul.c (before_allocation_default): Revert last change. ldlang.c (lang_add_section): Likewise. (strip_excluded_output_sections): Don't strip output sections with user input sections when emitrelocations, unless all are SEC_EXCLUDE. ld/testsuite/ * ld-powerpc/vxworks-relax.rd: Remove check on reloc section file offset and reloc symbol indices.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-powerpc/vxworks-relax.rd14
2 files changed, 12 insertions, 7 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 42c04ff..dc8643b 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-25 Alan Modra <amodra@gmail.com>
+
+ * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
+ file offset and reloc symbol indices.
+
2012-03-21 Hans-Peter Nilsson <hp@axis.com>
PR ld/13813
diff --git a/ld/testsuite/ld-powerpc/vxworks-relax.rd b/ld/testsuite/ld-powerpc/vxworks-relax.rd
index e28094c..572c74d 100644
--- a/ld/testsuite/ld-powerpc/vxworks-relax.rd
+++ b/ld/testsuite/ld-powerpc/vxworks-relax.rd
@@ -1,9 +1,9 @@
-Relocation section '.rela.text' at offset 0x4010150 contains 6 entries:
+Relocation section '.rela.text' at offset .* contains 6 entries:
Offset Info Type Sym.Value Sym. Name \+ Addend
-00080012 00000106 R_PPC_ADDR16_HA 00080000 .text \+ 4000020
-00080016 00000104 R_PPC_ADDR16_LO 00080000 .text \+ 4000020
-00080006 00000106 R_PPC_ADDR16_HA 00080000 .text \+ 4000020
-0008000a 00000104 R_PPC_ADDR16_LO 00080000 .text \+ 4000020
-0408002a 00000306 R_PPC_ADDR16_HA 00080000 _start \+ 0
-0408002e 00000304 R_PPC_ADDR16_LO 00080000 _start \+ 0
+00080012 .* R_PPC_ADDR16_HA 00080000 .text \+ 4000020
+00080016 .* R_PPC_ADDR16_LO 00080000 .text \+ 4000020
+00080006 .* R_PPC_ADDR16_HA 00080000 .text \+ 4000020
+0008000a .* R_PPC_ADDR16_LO 00080000 .text \+ 4000020
+0408002a .* R_PPC_ADDR16_HA 00080000 _start \+ 0
+0408002e .* R_PPC_ADDR16_LO 00080000 _start \+ 0