new port for Xtensa processors (include files)

Bob Wilson bwilson@tensilica.com
Tue Apr 1 01:39:00 GMT 2003


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.wilson@acm.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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include.diff.gz
Type: application/x-gzip
Size: 6344 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030401/fb4b907f/attachment.bin>


More information about the Binutils mailing list