mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
Add support for eabi relocations and sections
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
|
* config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
|
||||||
|
computer is PowerPC.
|
||||||
|
|
||||||
|
* config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
|
||||||
|
|
||||||
|
* config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
|
||||||
|
mentioned in the eabi.
|
||||||
|
|
||||||
Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
|
Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
|
||||||
|
|
||||||
* config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
|
* config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
|
||||||
|
@ -4286,6 +4286,8 @@ md_apply_fix3 (fixp, valuep, seg)
|
|||||||
|
|
||||||
case BFD_RELOC_RVA:
|
case BFD_RELOC_RVA:
|
||||||
case BFD_RELOC_32_PCREL:
|
case BFD_RELOC_32_PCREL:
|
||||||
|
case BFD_RELOC_32_BASEREL:
|
||||||
|
case BFD_RELOC_PPC_EMB_NADDR32:
|
||||||
md_number_to_chars (fixp->fx_frag->fr_literal + fixp->fx_where,
|
md_number_to_chars (fixp->fx_frag->fr_literal + fixp->fx_where,
|
||||||
value, 4);
|
value, 4);
|
||||||
break;
|
break;
|
||||||
@ -4300,6 +4302,22 @@ md_apply_fix3 (fixp, valuep, seg)
|
|||||||
case BFD_RELOC_LO16_GOTOFF:
|
case BFD_RELOC_LO16_GOTOFF:
|
||||||
case BFD_RELOC_HI16_GOTOFF:
|
case BFD_RELOC_HI16_GOTOFF:
|
||||||
case BFD_RELOC_HI16_S_GOTOFF:
|
case BFD_RELOC_HI16_S_GOTOFF:
|
||||||
|
case BFD_RELOC_LO16_BASEREL:
|
||||||
|
case BFD_RELOC_HI16_BASEREL:
|
||||||
|
case BFD_RELOC_HI16_S_BASEREL:
|
||||||
|
case BFD_RELOC_PPC_EMB_NADDR16:
|
||||||
|
case BFD_RELOC_PPC_EMB_NADDR16_LO:
|
||||||
|
case BFD_RELOC_PPC_EMB_NADDR16_HI:
|
||||||
|
case BFD_RELOC_PPC_EMB_NADDR16_HA:
|
||||||
|
case BFD_RELOC_PPC_EMB_SDAI16:
|
||||||
|
case BFD_RELOC_PPC_EMB_SDA21:
|
||||||
|
case BFD_RELOC_PPC_EMB_SDA2REL:
|
||||||
|
case BFD_RELOC_PPC_EMB_SDA2I16:
|
||||||
|
case BFD_RELOC_PPC_EMB_RELSEC16:
|
||||||
|
case BFD_RELOC_PPC_EMB_RELST_LO:
|
||||||
|
case BFD_RELOC_PPC_EMB_RELST_HI:
|
||||||
|
case BFD_RELOC_PPC_EMB_RELST_HA:
|
||||||
|
case BFD_RELOC_PPC_EMB_RELSDA:
|
||||||
case BFD_RELOC_PPC_TOC16:
|
case BFD_RELOC_PPC_TOC16:
|
||||||
if (fixp->fx_pcrel)
|
if (fixp->fx_pcrel)
|
||||||
abort ();
|
abort ();
|
||||||
|
Reference in New Issue
Block a user