From: A. Wilcox Date: Thu, 5 Oct 2023 11:13:08 +0000 (+0100) Subject: Fix: ld testsuite: 'Version' pattern grabs 'Version5 EABI', breaking test on arm... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41ef7afa97212aa219b90b72c4f363eac0aaae40;p=binutils-gdb.git Fix: ld testsuite: 'Version' pattern grabs 'Version5 EABI', breaking test on arm-linux-musleabihf PR 30924 * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle EABI version information in objdump's output. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 4e4f5326d80..d402b59e8f2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2023-10-05 A. Wilcox + + PR 30924 + * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle + EABI version information in objdump's output. + 2023-10-02 Nick Clifton * pe-dll.c (fill_edata): Use bfd_get_current_time when filling in diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index b266cc0226f..73c1f79f59c 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -215,12 +215,14 @@ proc objdump_emptyverstuff { objdump object } { # this probably means that there is version information in libc, so we # can't really perform this test. return 1 + } else { if { [string match "*Version? EABI*" $exec_output] } then { +# there is EABI Version information in the private flags of the binary. + return 1 } else { verbose -log "$exec_output" verbose -log "objdump_emptyverstuff: did not expect any output from objdump" return 0 - } } - + } } } } #