+2015-10-11 John David Anglin <danglin@gcc.gnu.org>
+
+ * elf-hppa.h (elf_hppa_action_discarded): Ignore relocations in
+ .data.rel.ro.local.
+
2015-10-07 Cupertino Miranda <cmiranda@synopsys.com>
* archures.c: Remove support for older ARC. Added support for new
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;