diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-11-19 18:56:15 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-11-19 19:05:00 +0000 |
commit | 24a16d8b93774234148bcb7d40b7ba7f00cb7991 (patch) | |
tree | be029624b9474306d2a28c076deb887915453925 /gas | |
parent | d5ef21c3ecf2d7a97272bf5a5881f4e71289a1af (diff) | |
download | binutils-gdb-24a16d8b93774234148bcb7d40b7ba7f00cb7991.tar.gz |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section22.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section23a.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section24a.d | 2 |
4 files changed, 10 insertions, 3 deletions
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 <jozef.l@mittosystems.com> + + * 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 <amodra@gmail.com> * 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 .* #... |