diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-01-26 16:31:24 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-01-26 16:31:24 +0000 |
commit | c6d729b3755a7736af07562a74b9a62377990252 (patch) | |
tree | 1cccf1f01a02819c6574db0f5f022873c59428b3 /bfd | |
parent | e079cfe890a98f4105727e68cd4fafe8aa771bc8 (diff) | |
download | gdb-c6d729b3755a7736af07562a74b9a62377990252.zip gdb-c6d729b3755a7736af07562a74b9a62377990252.tar.gz gdb-c6d729b3755a7736af07562a74b9a62377990252.tar.bz2 |
Add new relocs for PowerPC Elf support.
Add eabi support.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 16 | ||||
-rwxr-xr-x | bfd/config.bfd | 1 | ||||
-rw-r--r-- | bfd/elfcode.h | 2 |
3 files changed, 18 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0faf943..d9ad16d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> * coff-sh.c (CALC_ADDEND): Don't define. diff --git a/bfd/config.bfd b/bfd/config.bfd index b1248b3..0bc2111 100755 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -117,6 +117,7 @@ case "${canon}" in powerpc-*-aix*) bfd_name=rs6000 ;; powerpc-*-elf*) bfd_name=ppc-elf ;; powerpc-*-sysv4*) bfd_name=ppc-elf ;; + powerpc-*-eabi*) bfd_name=ppc-elf ;; powerpc-*-netware*) bfd_name=ppc-nlm ;; rs6000-*-*) bfd_name=rs6000 ;; sparc-*-lynxos*) bfd_name=sparc-lynx ;; diff --git a/bfd/elfcode.h b/bfd/elfcode.h index c1ebbfa..a7e12f8 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -2229,7 +2229,7 @@ prep_headers (abfd) i_ehdrp->e_machine = EM_PARISC; break; case bfd_arch_powerpc: - i_ehdrp->e_machine = EM_CYGNUS_POWERPC; + i_ehdrp->e_machine = EM_PPC; break; /* start-sanitize-arc */ case bfd_arch_arc: |