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 | 0bcb993b9f9ddf2dce0a3e137d42c027ac1edf70 (patch) | |
tree | dfd566a4bcee7708f247974510be2aa99bba0904 /bfd/bfd-in2.h | |
parent | ef14edc44ec441c28a756a0b07395f2dc36af2a0 (diff) | |
download | gdb-0bcb993b9f9ddf2dce0a3e137d42c027ac1edf70.zip gdb-0bcb993b9f9ddf2dce0a3e137d42c027ac1edf70.tar.gz gdb-0bcb993b9f9ddf2dce0a3e137d42c027ac1edf70.tar.bz2 |
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/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 2e47b53..f79438e 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1350,6 +1350,7 @@ enum bfd_architecture bfd_arch_fr30, #define bfd_mach_fr30 0x46523330 bfd_arch_mcore, + bfd_arch_pj, bfd_arch_last }; @@ -1885,6 +1886,14 @@ to compensate for the borrow when the low bits are added. */ BFD_RELOC_NS32K_DISP_16_PCREL, BFD_RELOC_NS32K_DISP_32_PCREL, +/* Picojava relocs. Not all of these appear in object files. */ + BFD_RELOC_PJ_CODE_HI16, + BFD_RELOC_PJ_CODE_LO16, + BFD_RELOC_PJ_CODE_DIR16, + BFD_RELOC_PJ_CODE_DIR32, + BFD_RELOC_PJ_CODE_REL16, + BFD_RELOC_PJ_CODE_REL32, + /* Power(rs6000) and PowerPC relocations. */ BFD_RELOC_PPC_B26, BFD_RELOC_PPC_BA26, |