mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-18 03:27:52 +08:00
Add new relocs for PowerPC Elf support.
Add eabi support.
This commit is contained in:
@ -1,3 +1,19 @@
|
|||||||
|
Thu Jan 26 11:12:54 1995 Michael Meissner <meissner@cygnus.com>
|
||||||
|
|
||||||
|
* elfcode.h (prep_headers): Use EM_PPC instead of
|
||||||
|
EM_CYGNUS_POWERPC.
|
||||||
|
|
||||||
|
* elf32-ppc.c (reloc_type): Add all System V.4 and eABI
|
||||||
|
relocations currently defined.
|
||||||
|
(powerpc_reloc_map): Adjust to new relocation names.
|
||||||
|
(elf_powerpc_howto_table): Add most of the new relocations.
|
||||||
|
(ELF_MACHINE_CODE): Use EM_PPC instead of EM_CYGNUS_POWERPC.
|
||||||
|
|
||||||
|
* config.bfd: Add support for powerpc-*-eabi.
|
||||||
|
|
||||||
|
* config/ppc-elf.mt: Add rs6000 architecture support to the
|
||||||
|
PowerPC. Also add XCOFF support.
|
||||||
|
|
||||||
Wed Jan 25 23:26:13 1995 Ian Lance Taylor <ian@cygnus.com>
|
Wed Jan 25 23:26:13 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* coff-sh.c (CALC_ADDEND): Don't define.
|
* coff-sh.c (CALC_ADDEND): Don't define.
|
||||||
|
@ -117,6 +117,7 @@ case "${canon}" in
|
|||||||
powerpc-*-aix*) bfd_name=rs6000 ;;
|
powerpc-*-aix*) bfd_name=rs6000 ;;
|
||||||
powerpc-*-elf*) bfd_name=ppc-elf ;;
|
powerpc-*-elf*) bfd_name=ppc-elf ;;
|
||||||
powerpc-*-sysv4*) bfd_name=ppc-elf ;;
|
powerpc-*-sysv4*) bfd_name=ppc-elf ;;
|
||||||
|
powerpc-*-eabi*) bfd_name=ppc-elf ;;
|
||||||
powerpc-*-netware*) bfd_name=ppc-nlm ;;
|
powerpc-*-netware*) bfd_name=ppc-nlm ;;
|
||||||
rs6000-*-*) bfd_name=rs6000 ;;
|
rs6000-*-*) bfd_name=rs6000 ;;
|
||||||
sparc-*-lynxos*) bfd_name=sparc-lynx ;;
|
sparc-*-lynxos*) bfd_name=sparc-lynx ;;
|
||||||
|
@ -2229,7 +2229,7 @@ prep_headers (abfd)
|
|||||||
i_ehdrp->e_machine = EM_PARISC;
|
i_ehdrp->e_machine = EM_PARISC;
|
||||||
break;
|
break;
|
||||||
case bfd_arch_powerpc:
|
case bfd_arch_powerpc:
|
||||||
i_ehdrp->e_machine = EM_CYGNUS_POWERPC;
|
i_ehdrp->e_machine = EM_PPC;
|
||||||
break;
|
break;
|
||||||
/* start-sanitize-arc */
|
/* start-sanitize-arc */
|
||||||
case bfd_arch_arc:
|
case bfd_arch_arc:
|
||||||
|
Reference in New Issue
Block a user