/* Common code for PA ELF implementations.
- Copyright (C) 1999-2015 Free Software Foundation, Inc.
+ Copyright (C) 1999-2017 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
if (asec->name && strcmp (asec->name, ".text") == 0)
{
hdr->sh_info = indx;
+ hdr->sh_flags |= SHF_INFO_LINK;
break;
}
}
static unsigned int
elf_hppa_action_discarded (asection *sec)
{
+ /* Ignore relocations in .data.rel.ro.local. This section can contain
+ PLABEL32 relocations to functions in discarded COMDAT groups. */
+ if (strcmp (".data.rel.ro.local", sec->name) == 0)
+ return 0;
+
if (strcmp (".PARISC.unwind", sec->name) == 0)
return 0;