aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2013-05-06 15:25:45 +0000
committerCatherine Moore <clm@redhat.com>2013-05-06 15:25:45 +0000
commitb47468a6dbd1b54c44c2edc0f7db64a073d894ea (patch)
tree8b31843e0424b74b1fa02c4da140882b05c70bdc /include/elf
parent2de39019a22364c903cc23f34e170ef7de4bed03 (diff)
downloadgdb-b47468a6dbd1b54c44c2edc0f7db64a073d894ea.zip
gdb-b47468a6dbd1b54c44c2edc0f7db64a073d894ea.tar.gz
gdb-b47468a6dbd1b54c44c2edc0f7db64a073d894ea.tar.bz2
2013-05-06 Paul Brook <paul@codesourcery.com>
include/elf/ * mips.h (R_MIPS_PC32): Update comment. * elf64-mips.c (elf_mips_gnu_pcrel32): New. (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup, mips_elf64_rtype_to_howto): Handle R_MIPS_PC32. * elfn32-mips.c (elf_mips_gnu_pcrel32): New. (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup, mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32. 2013-05-06 Paul Brook <paul@codesourcery.com> Catherine Moore <clm@codesourcery.com> gas/ * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL. (limited_pcrel_reloc_p): Likewise. (md_apply_fix): Likewise. (tc_gen_reloc): Likewise.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/mips.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/elf/mips.h b/include/elf/mips.h
index ca9fdcd..493bbfd 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -152,9 +152,8 @@ START_RELOC_NUMBERS (elf_mips_reloc_type)
FAKE_RELOC (R_MICROMIPS_max, 174)
/* 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.) */
+ mips-linux for exception-handling data. GCC stopped using it in
+ May, 2004, then started using it again for compact unwind tables. */
RELOC_NUMBER (R_MIPS_PC32, 248)
/* FIXME: this relocation is used internally by gas. */
RELOC_NUMBER (R_MIPS_GNU_REL16_S2, 250)