From 3bde5ad1a60ef773aa11bb4618a58ec7fd3172c1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 7 Jul 2020 09:25:38 +0930 Subject: [PATCH] sh vxworks tests 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. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-sh/vxworks1-lib.rd | 2 +- ld/testsuite/ld-sh/vxworks4.d | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index af815f06873..e65988440d5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-07-07 Alan Modra + + * testsuite/ld-sh/vxworks1-lib.rd: Update expected output. + * testsuite/ld-sh/vxworks4.d: Likewise. + 2020-07-06 Yuri Chornoivan PR 26204 diff --git a/ld/testsuite/ld-sh/vxworks1-lib.rd b/ld/testsuite/ld-sh/vxworks1-lib.rd index d9c56a0112f..4d3c3005ae0 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 c5721dd16f6..58977ed2d49 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 -- 2.30.2