blob: 5459e72deb5c8517fc3ff6123ee35e4eac8c53c7 [file] [log] [blame]
Mark Wielaardf9fc50c2015-07-29 17:51:27 +02001# Buggy binutils objdump might strip SHF_INFO_LINK from relocation sections.
2# With gcc5 we might have a .rela.plt section with that flag set.
3#
4# int main()
5# {
6# return 0;
7# }
8#
9# gcc -o testfile-info-link -g testprog.c
10# objcopy --only-keep-debug testfile-info-link testfile-info-link.debuginfo
11# eu-strip --strip-debug -o testfile-info-link.stripped testfile-info-link
12
13original=testfile-info-link
14stripped=testfile-info-link.stripped
15debugfile=testfile-info-link.debuginfo
16
17. $srcdir/run-unstrip-test.sh