This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
elf32-mips / .pdr fixup
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Wed, 16 Jul 2008 14:01:47 -0400
- Subject: elf32-mips / .pdr fixup
Thiemo's patch for N32 support (elf32-mips.c revision 1.156) moved
elf32_mips_write_section to elfxx-mips.c. It also deleted the setting
of elf_backend_write_section, but didn't add it elsewhere.
Tested this patch with make check, cross to mips-linux-gnu. OK to
commit?
I've no particular need for this patch; it just came up when auditing
differences between Richard's and our implementations of non-PIC.
--
Daniel Jacobowitz
CodeSourcery
2008-07-16 Daniel Jacobowitz <dan@codesourcery.com>
* elf32-mips.c (elf_backend_write_section): Define.
Index: elf32-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-mips.c,v
retrieving revision 1.197
diff -u -p -r1.197 elf32-mips.c
--- elf32-mips.c 27 Feb 2008 17:06:06 -0000 1.197
+++ elf32-mips.c 16 Jul 2008 17:38:57 -0000
@@ -1594,6 +1594,7 @@ static const struct ecoff_debug_swap mip
#define elf_backend_discard_info _bfd_mips_elf_discard_info
#define elf_backend_ignore_discarded_relocs \
_bfd_mips_elf_ignore_discarded_relocs
+#define elf_backend_write_section _bfd_mips_elf_write_section
#define elf_backend_mips_irix_compat elf32_mips_irix_compat
#define elf_backend_mips_rtype_to_howto mips_elf32_rtype_to_howto
#define bfd_elf32_bfd_is_local_label_name \