diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-09-16 04:23:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-09-16 04:23:19 +0000 |
commit | 4c8e8a7ee091749d21a6f1ef57f75faa190860fd (patch) | |
tree | 22b9ab5bc37bf9103758642f6f389576b6d3d1a3 /binutils/testsuite/binutils-all/group-6.s | |
parent | 1a766c6843ce0005fee23633b3b30c98e81a7b07 (diff) | |
download | gdb-4c8e8a7ee091749d21a6f1ef57f75faa190860fd.zip gdb-4c8e8a7ee091749d21a6f1ef57f75faa190860fd.tar.gz gdb-4c8e8a7ee091749d21a6f1ef57f75faa190860fd.tar.bz2 |
Remove the group section if all members are removed.
binutils/
2011-09-15 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/13180
* objcopy.c (is_strip_section_1): New.
(is_strip_section): Use it. Remove the group section if all
members are removed.
binutils/testsuite/
2011-09-15 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/13180
* binutils-all/group-6.d: New.
* binutils-all/group-6.s: Likewise.
* binutils-all/objcopy.exp: Run group-6 for ELF targrts.
Diffstat (limited to 'binutils/testsuite/binutils-all/group-6.s')
-rw-r--r-- | binutils/testsuite/binutils-all/group-6.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/group-6.s b/binutils/testsuite/binutils-all/group-6.s new file mode 100644 index 0000000..e4c2bda --- /dev/null +++ b/binutils/testsuite/binutils-all/group-6.s @@ -0,0 +1,4 @@ + .text + .byte 0 + .section .text.foo,"axG",%progbits,foo,comdat + .byte 0 |