From: H.J. Lu Date: Tue, 17 Nov 2009 22:31:40 +0000 (+0000) Subject: 2009-11-17 H.J. Lu X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=f4dcf782ad1c31f49e22dfae13897adcaf71c229;p=deliverable%2Fbinutils-gdb.git 2009-11-17 H.J. Lu PR ld/10955 * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS sections. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 09a547740d..88c1e452c4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-11-17 H.J. Lu + + PR ld/10955 + * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS + sections. + 2009-11-17 H.J. Lu PR ld/10955 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)