From ac1f751fef135699aef0c3f46214fbc2f78be4d4 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Thu, 30 May 2013 20:27:21 +0000 Subject: [PATCH] 2013-05-30 Paul Brook bfd/ * bfd-in2.h: Regenerate. * elf32-mips.c (elf_mips_eh_howto): New. (bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH. (bfd_elf32_bfd_reloc_name_lookup): Likewise. (mips_elf32_rtype_to_howto): Support R_MIPS_EH. * elf64-mips.c (elf_mips_eh_howto): New. (bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH. (bfd_elf64_bfd_reloc_name_lookup): Likewise. (mips_elf64_rtype_to_howto): Support R_MIPS_EH. * libbfd.h: Regenerate. * reloc.c (BFD_RELOC_MIPS_EH): New. gas/ * config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH. include/elf * mips.h (R_MIPS_EH): New. --- include/elf/ChangeLog | 4 ++++ include/elf/mips.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index e7058f79b..9be3cff6c 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2013-05-30 Paul Brook + + * mips.h (R_MIPS_EH): New. + 2013-05-28 Yufeng Zhang * aarch64.h (R_AARCH64_TLSDESC_LD64_PREL19): Rename to ... diff --git a/include/elf/mips.h b/include/elf/mips.h index 493bbfd21..b5f7e1a89 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -155,6 +155,7 @@ START_RELOC_NUMBERS (elf_mips_reloc_type) 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) + RELOC_NUMBER (R_MIPS_EH, 249) /* 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. */