PATCH: IA64 unwind section references discarded section
H. J. Lu
hjl@lucon.org
Tue Apr 5 02:48:00 GMT 2005
On Mon, Apr 04, 2005 at 05:49:35PM -0700, James E Wilson wrote:
> On Mon, 2005-04-04 at 17:32, H. J. Lu wrote:
> > * elf.c (bfd_elf_set_group_contents): Ignore linker created
> > group section...
>
> OK. I'll approve this, unless someone more knowledgeable about bfd
> wants to overrule me.
I assume you only approved the bfd_elf_set_group_contents change. This
is the patch I checked in.
H.J.
---
2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (bfd_elf_set_group_contents): Ignore linker created
group section.
--- binutils/bfd/elf.c.linkonce 2005-04-01 17:45:16.000000000 -0800
+++ binutils/bfd/elf.c 2005-04-04 17:08:06.608059749 -0700
@@ -2635,7 +2635,9 @@ bfd_elf_set_group_contents (bfd *abfd, a
struct bfd_link_order *l;
bfd_boolean gas;
- if (elf_section_data (sec)->this_hdr.sh_type != SHT_GROUP
+ /* Ignore linker created group section. See elfNN_ia64_object_p in
+ elfxx-ia64.c. */
+ if (((sec->flags & (SEC_GROUP | SEC_LINKER_CREATED)) != SEC_GROUP)
|| *failedptr)
return;
More information about the Binutils
mailing list