testsuite: Update scanning symbol sections to support AIX.
commit6403e02510fe84c72c515247a9dfdb6e05d977fe
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 15 Nov 2020 02:10:25 +0000 (14 21:10 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 15 Nov 2020 19:39:21 +0000 (15 14:39 -0500)
tree1413f01fd8e0a23bc5b8fd56e7aac608d0546ded
parent8b3be949a563eb1ef23f777587b58f85cc7b9ef6
testsuite: Update scanning symbol sections to support AIX.

gcc/testsuite:

* lib/scanasm.exp (parse_section_of_symbols): Also look for AIX
XCOFF CSECT notation.
* g++.dg/opt/const4.C: Also look for AIX XCOFF "[RO]".
* gcc.dg/20021029-1.c: Likewise.
* gcc.dg/array-quals-1.c: Likewise and "[RW]".
* g++.dg/gomp/tls-5.C: Also look for AIX XCOFF "[TL]".
* gcc.dg/pr25376.c: Accept AIX decoration around named section
and function descriptor.
gcc/testsuite/g++.dg/gomp/tls-5.C
gcc/testsuite/g++.dg/opt/const4.C
gcc/testsuite/gcc.dg/20021029-1.c
gcc/testsuite/gcc.dg/array-quals-1.c
gcc/testsuite/gcc.dg/pr25376.c
gcc/testsuite/lib/scanasm.exp