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 | 53bfd6b45b89735e648cf4c966f9113eadcda35d (patch) | |
tree | 6043bd8729067725e0af88fed25aab46e96e3e46 /bfd/elf32-mips.c | |
parent | d4df96e6ca31377d190eed7312b61e072f90a24a (diff) | |
download | gdb-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/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 5c201b3..11c427a 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -82,8 +82,6 @@ static boolean elf32_mips_grok_psinfo PARAMS ((bfd *, Elf_Internal_Note *)); static boolean elf32_mips_discard_info PARAMS ((bfd *, struct elf_reloc_cookie *, struct bfd_link_info *)); -static boolean elf32_mips_ignore_discarded_relocs - PARAMS ((asection *)); static boolean elf32_mips_write_section PARAMS ((bfd *, asection *, bfd_byte *)); static irix_compat_t elf32_mips_irix_compat @@ -1727,15 +1725,6 @@ elf32_mips_discard_info (abfd, cookie, info) } static boolean -elf32_mips_ignore_discarded_relocs (sec) - asection *sec; -{ - if (strcmp (sec->name, ".pdr") == 0) - return true; - return false; -} - -static boolean elf32_mips_write_section (output_bfd, sec, contents) bfd *output_bfd; asection *sec; @@ -2056,7 +2045,7 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = { #define elf_backend_discard_info elf32_mips_discard_info #define elf_backend_ignore_discarded_relocs \ - elf32_mips_ignore_discarded_relocs + _bfd_mips_elf_ignore_discarded_relocs #define elf_backend_write_section elf32_mips_write_section #define elf_backend_mips_irix_compat elf32_mips_irix_compat #define elf_backend_mips_rtype_to_howto mips_elf32_rtype_to_howto |