This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Oct 1, 2008 at 4:11 PM, H.J. Lu <hjl.tools@gmail.com> wrote: > On Wed, Oct 1, 2008 at 2:52 PM, H.J. Lu <hjl.tools@gmail.com> wrote: >> On Sun, Sep 28, 2008 at 6:28 AM, Alan Modra <amodra@bigpond.net.au> wrote: >>> On Sat, Sep 27, 2008 at 11:14:19AM +0930, Alan Modra wrote: >>>> Preferably not by scanning the symbols, but by setting up elf_group_id >>>> in bfd_section_from_shdr when reading the input file. >>> >>> Actually, not there because the bfd symbols aren't available at that >>> point. Instead, objcopy needs to set elf_group_id after it has read >>> the bfd symbols. >>> >>> The bfd part of this patch also keeps the original SHT_GROUP section >>> name. >>> >>> bfd/ >>> * elf.c (_bfd_elf_init_private_section_data): Tweak union copy. >>> (bfd_section_from_shdr): Don't change SHT_GROUP section name. >>> * elflink.c (section_signature): New function. >>> (_bfd_elf_section_already_linked): Use it. >>> binutils/ >>> * objcopy.c (setup_section): Set elf_group_id. >>> >> >> I am checking in the following testcases for this change. >> >> > > I checked in more tests. > > -- > H.J. > -- > > 2008-10-01 H.J. Lu <hongjiu.lu@intel.com> > > * binutils-all/group-3.s: New. > * binutils-all/strip-6.d: Likewise. > * binutils-all/strip-7.d: Likewise. > > * binutils-all/objcopy.exp: Test objcopy on group-3.s. Run > strip-6 and strip-7. > I checked in more tests. -- H.J. --- 2008-10-01 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/group-4.s: New. * binutils-all/strip-8.d: Likewise. * binutils-all/strip-9.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-4.s. Run strip-8 and strip-9.
Attachment:
binutils-group-3.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |