aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-11-19 18:56:15 +0000
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-11-19 19:05:00 +0000
commit24a16d8b93774234148bcb7d40b7ba7f00cb7991 (patch)
treebe029624b9474306d2a28c076deb887915453925
parentd5ef21c3ecf2d7a97272bf5a5881f4e71289a1af (diff)
downloadgdb-24a16d8b93774234148bcb7d40b7ba7f00cb7991.zip
gdb-24a16d8b93774234148bcb7d40b7ba7f00cb7991.tar.gz
gdb-24a16d8b93774234148bcb7d40b7ba7f00cb7991.tar.bz2
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.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/testsuite/gas/elf/section22.d2
-rw-r--r--gas/testsuite/gas/elf/section23a.d2
-rw-r--r--gas/testsuite/gas/elf/section24a.d2
4 files changed, 10 insertions, 3 deletions
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 <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 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 .*
#...