aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2002-06-05 10:31:47 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2002-06-05 10:31:47 +0000
commit53bfd6b45b89735e648cf4c966f9113eadcda35d (patch)
tree6043bd8729067725e0af88fed25aab46e96e3e46 /bfd/elfxx-mips.c
parentd4df96e6ca31377d190eed7312b61e072f90a24a (diff)
downloadgdb-53bfd6b45b89735e648cf4c966f9113eadcda35d.zip
gdb-53bfd6b45b89735e648cf4c966f9113eadcda35d.tar.gz
gdb-53bfd6b45b89735e648cf4c966f9113eadcda35d.tar.bz2
* 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.c9
1 files changed, 9 insertions, 0 deletions
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. */