]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite/101269: fix testcase when used with -m32
authorIndu Bhagat <indu.bhagat@oracle.com>
Fri, 9 Jul 2021 16:03:08 +0000 (09:03 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Fri, 9 Jul 2021 16:09:01 +0000 (09:09 -0700)
commit37e65643d3e32d33bb6c9d15c678a627d1682626
tree75021c2a9471516738716c015d94811bec2669f5
parent2c699fd29829cd6115f78238dab7cab74f0a5009
testsuite/101269: fix testcase when used with -m32

PR testsuite/101269 - new test case gcc.dg/debug/btf/btf-datasec-1.c
fails with its introduction in r12-1852

BTF datasec records for .rodata/.data are expected for now for all targets.
For powerpc based targets, use -msdata=none when ilp32 is enabled.

2021-07-09  Indu Bhagat  <indu.bhagat@oracle.com>

gcc/testsuite/ChangeLog:

PR testsuite/101269
* gcc.dg/debug/btf/btf-datasec-1.c: Force -msdata=none with ilp32 for
powerpc based targets.
gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c