sh vxworks tests

Message ID 20200707084718.GD28359@bubble.grove.modra.org
State New
Headers show
Series
  • sh vxworks tests
Related show

Commit Message

David Faust via Binutils July 7, 2020, 8:47 a.m.
These tests were failing only due to not being updated for readelf
output changes.

	* testsuite/ld-sh/vxworks1-lib.rd: Update expected output.
	* testsuite/ld-sh/vxworks4.d: Likewise.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/ld/testsuite/ld-sh/vxworks1-lib.rd b/ld/testsuite/ld-sh/vxworks1-lib.rd
index d9c56a0112..4d3c3005ae 100644
--- a/ld/testsuite/ld-sh/vxworks1-lib.rd
+++ b/ld/testsuite/ld-sh/vxworks1-lib.rd
@@ -6,7 +6,7 @@  Relocation section '\.rela\.plt' at offset .* contains 2 entries:
 
 Relocation section '\.rela\.dyn' at offset .* contains 4 entries:
  Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
-00081800  000000a5 R_SH_RELATIVE * 00080c48
+00081800  000000a5 R_SH_RELATIVE +80c48
 00080c30  .*01 R_SH_DIR32        00000000   ___GOTT_BASE__ \+ 0
 00080c34  .*01 R_SH_DIR32        00000000   ___GOTT_INDEX__ \+ 0
 00081414  .*a3 R_SH_GLOB_DAT     00081c00   x \+ 0
diff --git a/ld/testsuite/ld-sh/vxworks4.d b/ld/testsuite/ld-sh/vxworks4.d
index c5721dd16f..58977ed2d4 100644
--- a/ld/testsuite/ld-sh/vxworks4.d
+++ b/ld/testsuite/ld-sh/vxworks4.d
@@ -6,6 +6,6 @@ 
 
 Relocation section '\.rela\.dyn' at offset .* contains 3 entries:
  Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
-00081810  000000a5 R_SH_RELATIVE                                0008181c
+00081810  000000a5 R_SH_RELATIVE +8181c
 00081814  .*01 R_SH_DIR32        00000000   global \+ 1234
 00081818  .*02 R_SH_REL32        00000000   global \+ 1234