Skip to content

Commit 1b2306a

Browse files
committed
Fix test failure on SPARC
We need to ignore SPARC-specific symbol with STT_REGISTER. Fixes #1564
1 parent a91381b commit 1b2306a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/separate-debug-file.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gdb $t/exe1 -ex 'list main' -ex 'quit' | grep -F return1
3636
# See issue #1535 for more details
3737
readelf -W --sections $t/exe1.dbg | not grep -E '[EPS]HDR'
3838
readelf -W --symbols $t/exe1.dbg | not grep -E '<corrupt>'
39-
readelf -W --symbols $t/exe1.dbg | not grep -E '^ *[0-9][0-9]:.*UND *$'
39+
readelf -W --symbols $t/exe1.dbg | grep -vw REGISTER | not grep -E '^ *[0-9][0-9]:.*UND *$'
4040

4141

4242
$CC -c -o $t/a.o $t/a.c -g -I$t

0 commit comments

Comments
 (0)