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.
This commit is contained in:
A. Wilcox
2023-10-05 12:13:08 +01:00
committed by Nick Clifton
parent 0515a7b643
commit 41ef7afa97
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2023-10-05 A. Wilcox <awilfox@adelielinux.org>
PR 30924
* testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle
EABI version information in objdump's output.
2023-10-02 Nick Clifton <nickc@redhat.com>
* pe-dll.c (fill_edata): Use bfd_get_current_time when filling in

View File

@@ -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
} }
} } }
}
#