From: Jozef Lawrynowicz Date: Thu, 19 Nov 2020 18:56:15 +0000 (+0000) Subject: gas/testsuite: Fix SHF_GNU_RETAIN tests for FreeBSD OSABIs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24a16d8b93774234148bcb7d40b7ba7f00cb7991;p=binutils-gdb.git gas/testsuite: Fix SHF_GNU_RETAIN tests for FreeBSD OSABIs gas/ChangeLog: * testsuite/gas/elf/section22.d: Allow FreeBSD OSABI in readelf output. * testsuite/gas/elf/section23a.d: Likewise. * testsuite/gas/elf/section24a.d: Likewise. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 92665855507..f9363a6f499 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2020-11-19 Jozef Lawrynowicz + + * testsuite/gas/elf/section22.d: Allow FreeBSD OSABI in readelf + output. + * testsuite/gas/elf/section23a.d: Likewise. + * testsuite/gas/elf/section24a.d: Likewise. + 2020-11-18 Alan Modra * doc/as.texi (.nop): Document optional size arg. diff --git a/gas/testsuite/gas/elf/section22.d b/gas/testsuite/gas/elf/section22.d index 8aa7fcfc34e..d3b3655b788 100644 --- a/gas/testsuite/gas/elf/section22.d +++ b/gas/testsuite/gas/elf/section22.d @@ -3,7 +3,7 @@ #notarget: ![supports_gnu_osabi] #... - +OS/ABI: +UNIX - GNU + +OS/ABI: +UNIX - (GNU|FreeBSD) #... \[..\] .text.discard0[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AX.* #... diff --git a/gas/testsuite/gas/elf/section23a.d b/gas/testsuite/gas/elf/section23a.d index 2e413e1ceca..10a5344c2d1 100644 --- a/gas/testsuite/gas/elf/section23a.d +++ b/gas/testsuite/gas/elf/section23a.d @@ -4,7 +4,7 @@ #readelf: -h -S --wide #... - +OS/ABI: +UNIX - GNU + +OS/ABI: +UNIX - (GNU|FreeBSD) #... \[..\] .data.retain_var[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 WAR.* #pass diff --git a/gas/testsuite/gas/elf/section24a.d b/gas/testsuite/gas/elf/section24a.d index 8f316d3196d..56ae76d8726 100644 --- a/gas/testsuite/gas/elf/section24a.d +++ b/gas/testsuite/gas/elf/section24a.d @@ -4,7 +4,7 @@ #readelf: -h -S --wide #... - +OS/ABI: +UNIX - GNU + +OS/ABI: +UNIX - (GNU|FreeBSD) #... \[..\] .text[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXR .* #...