2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Apr 2005 02:47:18 +0000 (02:47 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Apr 2005 02:47:18 +0000 (02:47 +0000)
* elf.c (bfd_elf_set_group_contents): Ignore linker created
group section.

bfd/ChangeLog
bfd/elf.c

index 15cd069e096d22403fe4aebfe4c9de7474140bb4..39282d0d92f034d85381fee1bafc6897eab61440 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (bfd_elf_set_group_contents): Ignore linker created
+       group section. 
+
 2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf-bfd.h (elf_section_data): Use (sec) instead of sec.
index 34529090f5eb4dff7a24b7a5b1a3a62dd258f3b6..f1c5fdb1781f52b702eca3d940e424b7a3f3c6f0 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2635,7 +2635,9 @@ bfd_elf_set_group_contents (bfd *abfd, asection *sec, void *failedptrarg)
   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;
 
This page took 0.034073 seconds and 4 git commands to generate.