mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
748fc5e9b4
2006-09-14 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3182 * objcopy.c (group_signature): Return proper group signature. binutils/testsuite/ 2006-09-14 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3182 * binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF targets. * binutils-all/strip-1.d: New file. * binutils-all/strip-2.d: Likewise. * lib/utils-lib.exp (run_dump_test): Support strip.
19 lines
451 B
Makefile
19 lines
451 B
Makefile
#PROG: strip
|
|
#source: group.s
|
|
#strip: --strip-unneeded
|
|
#readelf: -Sg --wide
|
|
#name: strip with section group 2
|
|
|
|
#...
|
|
\[[ 0-9]+\] foo_group[ \t]+GROUP[ \t]+.*
|
|
#...
|
|
\[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG[ \t]+.*
|
|
#...
|
|
\[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.*
|
|
#...
|
|
COMDAT group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 2 sections:
|
|
\[Index\] Name
|
|
\[[ 0-9]+\] .text.*
|
|
\[[ 0-9]+\] .data.*
|
|
#pass
|