aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-07-26 17:12:07 +0930
committerAlan Modra <amodra@gmail.com>2018-07-26 17:38:56 +0930
commitb358827438360cb5d04fbc59d594583fb506ba65 (patch)
tree03371311513a39663729e75d0b791c1844eddd3b /ld
parent3c3bb0580be0027a1c7187b78c747af74dcfa884 (diff)
downloadbinutils-b358827438360cb5d04fbc59d594583fb506ba65.zip
binutils-b358827438360cb5d04fbc59d594583fb506ba65.tar.gz
binutils-b358827438360cb5d04fbc59d594583fb506ba65.tar.bz2
Re: Enhance powerpc ld -r --relax
git commit 491993044ba6 broke the powerpc vxworks testsuite. * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25 ppc_elf_relax_section changes.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-powerpc/vxworks-relax-2.rd5
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e1692f1..b380c61 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2018-07-26 Alan Modra <amodra@gmail.com>
+ * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25
+ ppc_elf_relax_section changes.
+
+2018-07-26 Alan Modra <amodra@gmail.com>
+
* ld-powerpc/elfv2.s: Add .localentry f5,1 testcase.
* ld-powerpc/elfv2exe.d: Update.
* ld-powerpc/elfv2so.d: Update.
diff --git a/ld/testsuite/ld-powerpc/vxworks-relax-2.rd b/ld/testsuite/ld-powerpc/vxworks-relax-2.rd
index 8d8d39c..c5d4c84 100644
--- a/ld/testsuite/ld-powerpc/vxworks-relax-2.rd
+++ b/ld/testsuite/ld-powerpc/vxworks-relax-2.rd
@@ -1,5 +1,5 @@
-Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 8 entries:
+Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 7 entries:
Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
0+6 +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +.text \+ 4000034
0+a +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +.text \+ 4000034
@@ -7,5 +7,4 @@ Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 8 entries:
0+1a +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +.text \+ 4000034
0+26 +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +undefined \+ 0
0+2a +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +undefined \+ 0
-0+400003e +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +_start \+ 0
-0+4000042 +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +_start \+ 0
+0+4000034 +[0-9a-f]+ R_PPC_REL24 +0+ +_start \+ 0