diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-04 17:07:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-04 17:07:46 +0000 |
commit | d0d8316425af47aa207f25824606809f0bbe7cac (patch) | |
tree | de80a238ce5c7be483602514dc75fc07cb7365db /bfd/elf.c | |
parent | 0420b43cad6df25acd99b382dcf92f2ff69e3ff7 (diff) | |
download | gdb-d0d8316425af47aa207f25824606809f0bbe7cac.tar.gz |
1999-09-04 Steve Chamberlain <sac@pobox.com>
* cpu-pj.c: New file.
* elf32-pj.c: New file.
* config.bfd (pj*): New cpu.
(pj-*-*, pjl-*-*): New targets.
* configure.in (bfd_elf32_pj_vec): New target vector.
(bfd_elf32_pjl_vec): New target vector.
* archures.c (bfd_arch_pj): Define.
* elf.c (prep_headers): Handle bfd_arch_pj.
* reloc.c: Define BFD_RELOC_PJ_* relocations.
* targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add
to target vector list.
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES): Add cpu-pj.lo.
(ALL_MACHINES_CFILES): Add cpu-pj.c.
(BFD32_BACKENDS): Add elf32-pj.lo.
(BFD32_BACKENDS_CFILES): Add elf32-pj.c.
* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c index 997408ce16e..5bfde4e4844 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -3185,6 +3185,9 @@ prep_headers (abfd) case bfd_arch_mn10300: i_ehdrp->e_machine = EM_CYGNUS_MN10300; break; + case bfd_arch_pj: + i_ehdrp->e_machine = EM_PJ; + break; /* also note that EM_M32, AT&T WE32100 is unknown to bfd */ default: i_ehdrp->e_machine = EM_NONE; |