]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Re: Enhance powerpc ld -r --relax
authorAlan Modra <amodra@gmail.com>
Thu, 26 Jul 2018 07:42:07 +0000 (17:12 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 26 Jul 2018 08:08:56 +0000 (17:38 +0930)
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.

ld/ChangeLog
ld/testsuite/ld-powerpc/vxworks-relax-2.rd

index e1692f122e122ceaa3613b60b268028c7b34d45b..b380c61496f44035fe64ffcb28e69619b6425025 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 8d8d39c3ca843ceb9f31b7ac198fbca7f688244f..c5d4c84d746794a29448d2604a4e460db293761d 100644 (file)
@@ -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