https://sourceware.org/bugzilla/show_bug.cgi?id=25315

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
I guess we need to adjust elf_hppa_action_discarded():

/* What to do when ld finds relocations against symbols defined in
   discarded sections.  */

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;

  return _bfd_elf_default_action_discarded (sec);
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to