From 24a16d8b93774234148bcb7d40b7ba7f00cb7991 Mon Sep 17 00:00:00 2001 From: Jozef Lawrynowicz Date: Thu, 19 Nov 2020 18:56:15 +0000 Subject: 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. --- gas/ChangeLog | 7 +++++++ gas/testsuite/gas/elf/section22.d | 2 +- gas/testsuite/gas/elf/section23a.d | 2 +- gas/testsuite/gas/elf/section24a.d | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 9266585..f9363a6 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 8aa7fcf..d3b3655 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 2e413e1..10a5344c 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 8f316d3..56ae76d 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 .* #... -- cgit v1.1