X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf-hppa.h;h=e2d0436547009e236892db8ff916eb2350826e87;hb=71de341392d18d7951b5a00fe68b6309e2dfbb47;hp=5e647962ea10224b901ef99e838fca194b5e4c78;hpb=b90efa5b79ac1524ec260f8eb89d1be37e0219a7;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h index 5e647962ea..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. @@ -47,7 +47,7 @@ static reloc_howto_type elf_hppa_howto_table[ELF_HOWTO_TABLE_SIZE] = { - { R_PARISC_NONE, 0, 0, 0, FALSE, 0, complain_overflow_bitfield, + { R_PARISC_NONE, 0, 3, 0, FALSE, 0, complain_overflow_dont, bfd_elf_generic_reloc, "R_PARISC_NONE", FALSE, 0, 0, FALSE }, /* The values in DIR32 are to placate the check in @@ -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;