From 53bfd6b45b89735e648cf4c966f9113eadcda35d Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 5 Jun 2002 10:31:47 +0000 Subject: * 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. --- bfd/elfxx-mips.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bfd/elfxx-mips.c') diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 08e1abb..fa32640 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. */ -- cgit v1.1