mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
binutils: Add a --strip-section-headers test
PR ld/25617 * testsuite/binutils-all/objcopy.exp: Run strip-section-headers-1. * testsuite/binutils-all/strip-section-headers-1.d: New file.
This commit is contained in:
parent
0a06ea7a76
commit
1ad1b8865c
@ -1357,6 +1357,11 @@ if [is_elf_format] {
|
||||
verbose [file rootname $t]
|
||||
run_dump_test [file rootname $t]
|
||||
}
|
||||
|
||||
# Test --strip-section-headers
|
||||
run_dump_test "strip-section-headers-1" [list \
|
||||
[list source strip-15${reloc_format}.s] \
|
||||
[list as "${elf64} --defsym RELOC=${reloc}"]]
|
||||
}
|
||||
run_dump_test "localize-hidden-2"
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
#PROG: strip
|
||||
#strip: -g --strip-section-headers
|
||||
#readelf: -S
|
||||
|
||||
There are no sections in this file.
|
Loading…
Reference in New Issue
Block a user