aboutsummaryrefslogtreecommitdiff
path: root/include/elf/mips.h
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2004-06-14 18:25:10 +0000
committerChris Demetriou <cgd@google.com>2004-06-14 18:25:10 +0000
commit092dcd755dcdcf664b25a7011fd15957f124c29f (patch)
tree40fdd5b8b97cfcae50dc9ffbc93896575431b5bd /include/elf/mips.h
parent700c15aa2af8978c0ad550457244837ecd2a27f7 (diff)
downloadfsf-binutils-gdb-092dcd755dcdcf664b25a7011fd15957f124c29f.zip
fsf-binutils-gdb-092dcd755dcdcf664b25a7011fd15957f124c29f.tar.gz
fsf-binutils-gdb-092dcd755dcdcf664b25a7011fd15957f124c29f.tar.bz2
[ bfd/ChangeLog ]
2004-06-14 Chris Demetriou <cgd@broadcom.com> * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24 removal) with updated comment. (bfd_elf32_bfd_reloc_type_lookup): Add back case for BFD_RELOC_32_PCREL. (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. [ include/elf/ChangeLog ] 2004-06-14 Chris Demetriou <cgd@broadcom.com> * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24), with an updated comment.
Diffstat (limited to 'include/elf/mips.h')
-rw-r--r--include/elf/mips.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/mips.h b/include/elf/mips.h
index 9aba63e..b7d800a 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -76,6 +76,11 @@ START_RELOC_NUMBERS (elf_mips_reloc_type)
/* These relocs are used for the mips16. */
RELOC_NUMBER (R_MIPS16_26, 100)
RELOC_NUMBER (R_MIPS16_GPREL, 101)
+ /* This was a GNU extension used by embedded-PIC. It was co-opted by
+ mips-linux for exception-handling data. It is no longer used, but
+ should continue to be supported by the linker for backward
+ compatibility. (GCC stopped using it in May, 2004.) */
+ RELOC_NUMBER (R_MIPS_PC32, 248)
/* FIXME: this relocation is used internally by gas. */
RELOC_NUMBER (R_MIPS_GNU_REL16_S2, 250)
/* These are GNU extensions to enable C++ vtable garbage collection. */