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 (include files)


This patch adds several files to the top-level include directory.  Since that 
seems a bit unusual, I thought I should offer some explanation.

The xtensa-config.h file describes the features available in a particular 
instance of an Xtensa processor.  (Xtensa processors are too configurable to 
be described by different target names or configure options, so we have to 
use a bunch of macros to describe the available features.)  This file should 
be shared by all GNU tools.  There is currently a separate version for GCC in 
the gcc/config/xtensa directory, but I will change GCC to use the version 
here once it is available.

The two xtensa-isa headers describe the interface to Tensilica's code for 
describing configurable instruction sets.  The code for this interface needs 
to be in bfd because it is used from most of the binutils tools, and bfd is 
the only library that all the tools link against.  (It would be somewhat more 
natural for this to be in the opcodes library, but that doesn't work because 
the bfd code uses this interface and the opcodes library isn't linked into 
all the programs that use bfd.)

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

        * dis-asm.h (print_insn_xtensa): Declare.
        * xtensa-config.h: New file.
        * xtensa-isa-internal.h: Likewise.
        * xtensa-isa.h: Likewise.
        * elf/common.h (EM_XTENSA_OLD): Define.
        * elf/xtensa.h: New file.

Attachment: include.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]