aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-11-17 22:31:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-11-17 22:31:40 +0000
commitf4dcf782ad1c31f49e22dfae13897adcaf71c229 (patch)
tree606befba4ada522c517fd0b30587cb354f6ce298 /bfd/elfxx-ia64.c
parentaffb4bf37a03b65825f187dfbe694470495a94bf (diff)
downloadgdb-f4dcf782ad1c31f49e22dfae13897adcaf71c229.zip
gdb-f4dcf782ad1c31f49e22dfae13897adcaf71c229.tar.gz
gdb-f4dcf782ad1c31f49e22dfae13897adcaf71c229.tar.bz2
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 ed105c8..420a0ef 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)