diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-10-01 21:54:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-10-01 21:54:59 +0000 |
commit | eb3980ce22659dfa694a927ebe6cd3e91f838f06 (patch) | |
tree | 14267dbdb192f61f3dcfea92b577a257e0422c8b /binutils/testsuite/binutils-all/strip-5.d | |
parent | * int.c (trigger_peripheral_interrupt): Clear interrupt pending (diff) | |
download | binutils-gdb-eb3980ce22659dfa694a927ebe6cd3e91f838f06.tar.gz binutils-gdb-eb3980ce22659dfa694a927ebe6cd3e91f838f06.tar.bz2 binutils-gdb-eb3980ce22659dfa694a927ebe6cd3e91f838f06.zip |
2008-10-01 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/group-2.s: New.
* binutils-all/strip-4.d: Likewise.
* binutils-all/strip-5.d: Likewise.
* binutils-all/objcopy.exp: Test objcopy on group-2.s. Run
strip-4 and strip-5.
Diffstat (limited to 'binutils/testsuite/binutils-all/strip-5.d')
-rw-r--r-- | binutils/testsuite/binutils-all/strip-5.d | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/strip-5.d b/binutils/testsuite/binutils-all/strip-5.d new file mode 100644 index 00000000000..8dd233183f8 --- /dev/null +++ b/binutils/testsuite/binutils-all/strip-5.d @@ -0,0 +1,18 @@ +#PROG: strip +#source: group-2.s +#strip: --strip-unneeded +#readelf: -Sg --wide +#name: strip with section group 5 + +#... + \[[ 0-9]+\] .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]+\] `.group' \[.text.foo\] contains 2 sections: + \[Index\] Name + \[[ 0-9]+\] .text.* + \[[ 0-9]+\] .data.* +#pass |