summaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-11-17 22:31:40 +0000
committerH.J. Lu <hjl@lucon.org>2009-11-17 22:31:40 +0000
commit88f7bee7caf3555d2d4d67f34a6593e037acf706 (patch)
treef38212a62d8de5e8f11efd60b7ab9261f09d3823 /bfd/elfxx-ia64.c
parentecb79c4b5c5f2c5491ab9bdde4d994d405053cea (diff)
downloadbinutils-redhat-88f7bee7caf3555d2d4d67f34a6593e037acf706.tar.gz
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.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index ed105c833e..420a0ef199 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -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)