Add more relocation suffixes

This commit is contained in:
Michael Meissner 1996-01-15 22:46:10 +00:00
parent 0bc9a7d2fb
commit c682be533c
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (mapping): Add more relocation suffixes.
Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table

View File

@ -932,6 +932,22 @@ ppc_elf_suffix (str_p)
MAP ("sectoff@l", BFD_RELOC_LO16_BASEREL),
MAP ("sectoff@h", BFD_RELOC_HI16_BASEREL),
MAP ("sectoff@ha", BFD_RELOC_HI16_S_BASEREL),
MAP ("naddr", BFD_RELOC_PPC_EMB_NADDR32),
MAP ("naddr16", BFD_RELOC_PPC_EMB_NADDR16),
MAP ("naddr@l", BFD_RELOC_PPC_EMB_NADDR16_LO),
MAP ("naddr@h", BFD_RELOC_PPC_EMB_NADDR16_HI),
MAP ("naddr@ha", BFD_RELOC_PPC_EMB_NADDR16_HA),
MAP ("sdai16", BFD_RELOC_PPC_EMB_SDAI16),
MAP ("sda2rel", BFD_RELOC_PPC_EMB_SDA2REL),
MAP ("sda2i16", BFD_RELOC_PPC_EMB_SDA2I16),
MAP ("sda21", BFD_RELOC_PPC_EMB_SDA21),
MAP ("mrkref", BFD_RELOC_PPC_EMB_MRKREF),
MAP ("relsect", BFD_RELOC_PPC_EMB_RELSEC16),
MAP ("relsect@l", BFD_RELOC_PPC_EMB_RELST_LO),
MAP ("relsect@h", BFD_RELOC_PPC_EMB_RELST_HI),
MAP ("relsect@ha", BFD_RELOC_PPC_EMB_RELST_HA),
MAP ("bitfld", BFD_RELOC_PPC_EMB_BIT_FLD),
MAP ("relsda", BFD_RELOC_PPC_EMB_RELSDA),
MAP ("xgot", BFD_RELOC_PPC_TOC16),
{ (char *)0, 0, BFD_RELOC_UNUSED }