New port: CRX

Tomer Levi Tomer.Levi@nsc.com
Tue Jul 6 15:46:00 GMT 2004


Hi Nick,

Following our correspondence, below you can find the Changelogs for each 
subdirectory in the Binutils project.
Attached at the bottom is the CRX patch file including all these changes 
(named binutils.crx.patch).
I'm waiting for your feedbacks.


Here is the Changelog entry for the top level source directory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

        * config.sub: Added crx.
        * configure.in: Added crx-*-* (noconfigdirs).


Here is the Changelog entry for the BFD subdirectory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

         * Makefile.am (ALL_MACHINES): Add cpu-crx.lo.
         (ALL_MACHINES_CFILES): Add cpu-crx.c.
         (BFD32_BACKENDS): Add elf32-crx.lo.
         (BFD32_BACKENDS_CFILES): Add elf32-crx.c.
         (cpu-crx.lo): New target.
         (elf32-crx.lo): New target.
         * Makefile.in: Regenerate.
         * archures.c (bfd_architecture): Add bfd_{arch,mach}_crx.
         (bfd_archures_list): Add bfd_crx_arch.
         * bfd-in2.h: Regenerate.
         * config.bfd: Handle crx-*-elf*, crx*.
         * configure.in: Handle bfd_elf32_crx_vec.
         * configure: Regenerate.
         * cpu-crx.c: New file.
         * elf32-crx.c: Likewise.
         * libbfd.h: Regenerate.
         * reloc.c: Add BFD_RELOC_CRX_REL4, BFD_RELOC_CRX_REL8, 
         BFD_RELOC_CRX_REL8_CMP, BFD_RELOC_CRX_REL16, BFD_RELOC_CRX_REL24, 

         BFD_RELOC_CRX_REL32, BFD_RELOC_CRX_REGREL12, 
BFD_RELOC_CRX_REGREL22, 
         BFD_RELOC_CRX_REGREL28, BFD_RELOC_CRX_REGREL32, 
BFD_RELOC_CRX_ABS16, 
         BFD_RELOC_CRX_ABS32, BFD_RELOC_CRX_NUM8, BFD_RELOC_CRX_NUM16, 
         BFD_RELOC_CRX_NUM32, BFD_RELOC_CRX_IMM16 and BFD_RELOC_CRX_IMM32
         * targets.c (bfd_elf32_crx_vec): Declare.
         (bfd_target_vector): Add bfd_elf32_crx_vec.


Here is the Changelog entry for the BINUTILS subdirectory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

       * MAINTAINERS: Added myself to the list.
         * readelf.c: include "elf/crx.h".
         (guess_is_rela): Handle EM_CRX.
         (get_machine_name): Ditto.
         (dump_relocations): Ditto.


Here is the Changelog entry for the GAS subdirectory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

         * Makefile.am (CPU_TYPES): Add crx.
         (TARGET_CPU_CFILES): Add config/tc-crx.c.
         (TARGET_CPU_HFILES): Add config/tc-crx.h.
         (DEPTC_crx_elf): New target.
         (DEPOBJ_crx_elf): Likewise.
         (DEP_crx_elf): Likewise.
         * Makefile.in: Regenerate.
         * configure.in: Add crx* target.
         * configure: Regenerate.
         * config/tc-crx.c: New file.
         * config/tc-crx.h: Likewise.


Here is the Changelog entry for the INCLUDE subdirectory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

include/ 
         * dis-asm.h (print_insn_crx): Declare.

include/elf/
         * common.h (EM_CRX): Define.
         * crx.h: New file.

include/opcode/
         * crx.h: New file.


Here is the Changelog entry for the LD subdirectory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

         * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
         (eelf32crx.c): New target.
         * Makefile.in: Regenerate.
         * configure.tgt: Handle crx-*-elf*.
         * emulparams/elf32crx.sh: New file.
         * emultempl/crxelf.em: Likewise.
         * scripttempl/elf32crx.sc: Likewise.


Here is the Changelog entry for the OPCODES subdirectory:

2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>

         * Makefile.am (CFILES): Add crx-dis.c, crx-opc.c.
         (ALL_MACHINES): Add crx-dis.lo, crx-opc.lo.
         (crx-dis.lo): New target.
         (crx-opc.lo): Likewise.
         * Makefile.in: Regenerate.
         * configure.in: Handle bfd_crx_arch.
         * configure: Regenerate.
         * crx-dis.c: New file.
         * crx-opc.c: Likewise.
         * disassemble.c (ARCH_crx): Define.
         (disassembler): Handle ARCH_crx.



Regards,
      Tomer Levi

Software Engineer                                   phone: 
+49-8141-35-1378
CompactRISC Development Tools  fax:        +49-8141-35-11-1378
National Semiconductor GmbH         mailto:Tomer.Levi@nsc.com
Livry-Gargan Str. 10                                internet: 
http://www.national.com
82256 Fuerstenfeldbruck, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils.crx.patch.bz2
Type: application/octet-stream
Size: 40870 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040706/3c643f97/attachment.obj>


More information about the Binutils mailing list