2009-11-17 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Nov 2009 22:31:40 +0000 (22:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Nov 2009 22:31:40 +0000 (22:31 +0000)
PR ld/10955
* elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS
sections.

bfd/ChangeLog
bfd/elfxx-ia64.c

index 09a547740dc08adf4c89fb2d335643080250114b..88c1e452c41c52bd3cc73218221fe7d38269d10d 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/10955
+       * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS
+       sections.
+
 2009-11-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/10955
index ed105c833e8a77dbaf0321e64ec5bfc1b9a29f89..420a0ef1998939221e4b144c9247ce4868762322 100644 (file)
@@ -764,8 +764,9 @@ static void
 elfNN_ia64_update_short_info (asection *sec, bfd_vma offset,
                              struct elfNN_ia64_link_hash_table *ia64_info)
 {
-  /* Skip SHF_IA_64_SHORT sections.  */
-  if (sec->flags & SEC_SMALL_DATA)
+  /* Skip ABS and SHF_IA_64_SHORT sections.  */
+  if (sec == bfd_abs_section_ptr
+      || (sec->flags & SEC_SMALL_DATA) != 0)
     return;
 
   if (!ia64_info->min_short_sec)
This page took 0.027898 seconds and 4 git commands to generate.