• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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
18