X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf-hppa.h;h=e2d0436547009e236892db8ff916eb2350826e87;hb=0955507f6e7144c9c5e420bbcf617593b13de38b;hp=b907f6e676c91b67eb5413c672083ab591265f2d;hpb=6346d5ca43719ba6fc3176c29fd58a83d439f011;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h index b907f6e676..e2d0436547 100644 --- a/bfd/elf-hppa.h +++ b/bfd/elf-hppa.h @@ -1,5 +1,5 @@ /* Common code for PA ELF implementations. - Copyright (C) 1999-2015 Free Software Foundation, Inc. + Copyright (C) 1999-2016 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -1212,6 +1212,11 @@ elf_hppa_sort_unwind (bfd *abfd) 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;