This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

new port for Xtensa processors (bfd files)


I've finally managed to get the Xtensa port working with the mainline 
binutils.  (Until recently, it was only in a private copy of the 2.12 
branch.)  So, here come the patches.  The bfd patch is in this message, with 
other directories to follow separately.

I don't think there's anything too unusual about this bfd port.  There are a 
few extra files added to support Tensilica's configurable Xtensa instruction 
set.  Let me know if you have questions or issues with this.

I'm not entirely clear on the process used by the binutils group.  It sounds 
like there is no problem with me being the maintainer for the Xtensa port, 
and I've got my write-able CVS account set up.  I'm assuming that I should 
get approval for this initial submission, and that afterwards, I don't need 
explicit approval for Xtensa-specific changes.  Please let me know if that 
assumption is incorrect or if there are other conventions, etc. that I should 
know.

2003-03-31  Bob Wilson  <bob dot wilson at acm dot org>

        * Makefile.am (ALL_MACHINES): Add cpu-xtensa.lo.
        (ALL_MACHINES_CFILES): Add cpu-xtensa.c.
        (BFD32_BACKENDS): Add elf32-xtensa.lo, xtensa-isa.lo, and
        xtensa-modules.lo.
        (BFD32_BACKENDS_CFILES): Add elf32-xtensa.c, xtensa-isa.c, and
        xtensa-modules.c.
        (cpu-xtensa.lo): New target.
        (elf32-xtensa.lo): Likewise.
        (xtensa-isa.lo): Likewise.
        (xtensa-modules.lo): Likewise.
        * Makefile.in: Regenerate.
        * archures.c (bfd_architecture): Add bfd_{arch,mach}_xtensa.
        (bfd_archures_list): Add bfd_xtensa_arch.
        * config.bfd: Handle xtensa-*-*.
        * configure.in: Handle bfd_elf32_xtensa_{le,be}_vec.
        * configure: Regenerate.
        * reloc.c: Add BFD_RELOC_XTENSA_{RTLD,GLOB_DAT,JMP_SLOT,RELATIVE,
        PLT,OP0,OP1,OP2,ASM_EXPAND,ASM_SIMPLIFY}.
        * targets.c (bfd_elf32_xtensa_be_vec): Declare.
        (bfd_elf32_xtensa_le_vec): Likewise.
        (bfd_target_vector): Add bfd_elf32_xtensa_{be,le}_vec.
        * cpu-xtensa.c: New file.
        * elf32-xtensa.c: Likewise.
        * xtensa-isa.c: Likewise.
        * xtensa-modules.c: Likewise.
        * libbfd.h: Regenerate.
        * bfd-in2.h: Likewise.

Attachment: bfd.diff.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]