diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2002-06-05 10:31:47 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2002-06-05 10:31:47 +0000 |
commit | 4aed693b7455e7dc22b807e4b3a37d6c63141b9f (patch) | |
tree | f930a29d54b311f67ef8b7dddef354e4de24d105 /bfd/elfxx-mips.c | |
parent | ddc986ef751645d837131f5eaa00b34ad7a7c8de (diff) | |
download | gdb-4aed693b7455e7dc22b807e4b3a37d6c63141b9f.tar.gz |
* elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to...
elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here.
elf64-mips.c (elf_backend_ignore_discarded_relocs): Use
_bfd_mips_elf_ignore_discarded_relocs.
elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 08e1abbcd70..fa32640c565 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -6422,6 +6422,15 @@ _bfd_mips_elf_hide_symbol (info, entry, force_local) got->_raw_size += MIPS_ELF_GOT_SIZE (dynobj); } +boolean +_bfd_mips_elf_ignore_discarded_relocs (sec) + asection *sec; +{ + if (strcmp (sec->name, ".pdr") == 0) + return true; + return false; +} + /* MIPS ELF uses a special find_nearest_line routine in order the handle the ECOFF debugging information. */ |