mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
92f7d783c1
Verify that debug section is removed by garbage collection when there is a .note.gnu.property section. * testsuite/ld-i386/i386.exp: Run property-x86-4a and property-x86-4b. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/property-x86-4a.d: New file. * testsuite/ld-i386/property-x86-4a.s: Likewise. * testsuite/ld-i386/property-x86-4b.d: Likewise. * testsuite/ld-i386/property-x86-4b.s: Likewise. * testsuite/ld-x86-64/property-x86-4a.d: Likewise. * testsuite/ld-x86-64/property-x86-4a.s: Likewise. * testsuite/ld-x86-64/property-x86-4b.d: Likewise. * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
11 lines
174 B
Makefile
11 lines
174 B
Makefile
#source: property-x86-4a.s
|
|
#source: property-x86-4b.s
|
|
#as: --32
|
|
#ld: -m elf_i386 --gc-sections --entry=main
|
|
#readelf: -S --wide
|
|
|
|
#failif
|
|
#...
|
|
+\[ [0-9]\] .debug_info.*
|
|
#...
|