From c682be533c8b4e42c5d63d3232f53c864e32d3cf Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 15 Jan 1996 22:46:10 +0000 Subject: [PATCH] Add more relocation suffixes --- gas/ChangeLog | 4 ++++ gas/config/tc-ppc.c | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index fc352e46a0a..9f137aa4353 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 15 17:43:42 1996 Michael Meissner + + * config/tc-ppc.c (mapping): Add more relocation suffixes. + Sun Jan 14 21:29:36 1996 Michael Meissner * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index c1c2ba29e4c..5a25de3793b 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -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 } -- 2.30.2