diff options
author | Chris Demetriou <cgd@google.com> | 2004-06-14 18:25:10 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2004-06-14 18:25:10 +0000 |
commit | 092dcd755dcdcf664b25a7011fd15957f124c29f (patch) | |
tree | 40fdd5b8b97cfcae50dc9ffbc93896575431b5bd /include/elf | |
parent | 700c15aa2af8978c0ad550457244837ecd2a27f7 (diff) | |
download | gdb-092dcd755dcdcf664b25a7011fd15957f124c29f.zip gdb-092dcd755dcdcf664b25a7011fd15957f124c29f.tar.gz 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')
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/mips.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 0e41208..7c247cd 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +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. + 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> * sh.h (EF_SH_HAS_DSP): Remove. 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. */ |