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


Here is the gas port.  We added a new hook (md_post_relax_hook) that is called 
immediately after relaxing and sizing the sections, and the code for 
relaxation for Xtensa is relatively more complicated that for other ports.  
Otherwise, I think this is not too much different than other ports.

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

        * Makefile.am (CPU_TYPES): Add xtensa.
        (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
        (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
        (xtensa-relax.o): New target.
        Run "make dep-am".
        * Makefile.in: Regenerate.
        * configure.in: Handle xtensa-*-*.  Add xtensa-relax.o to
        extra_objects for xtensa targets.
        * configure: Regenerate.
        * write.c (write_object_file): Add new md_post_relax_hook.
        * config/tc-xtensa.c: New file.
        * config/tc-xtensa.h: Likewise.
        * config/xtensa-istack.h: Likewise.
        * config/xtensa-relax.c: Likewise.
        * config/xtensa-relax.h: Likewise.
        * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
        * doc/Makefile.in: Regenerate.
        * doc/all.texi: Set new XTENSA variable.
        * doc/as.texinfo: Set new Xtensa variable.  Describe
        Xtensa-specific options.  Define line comment character for
        Xtensa.  Add Xtensa processors to list of ELF targets where
        alignment is specified in bytes.  Add new Xtensa-Dependent node.
        Add acknowledgements for those contributing to the Xtensa port.
        * doc/internals.texi: Describe new md_post_relax_hook.
        * doc/c-xtensa.texi: New file.


Testsuite changelog:

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

        * gas/xtensa/all.exp: New file.
        * gas/xtensa/entry_align.s: Likewise.
        * gas/xtensa/entry_misalign2.s: Likewise.
        * gas/xtensa/entry_misalign.s: Likewise.
        * gas/xtensa/j_too_far.s: Likewise.
        * gas/xtensa/loop_align.s: Likewise.
        * gas/xtensa/loop_misalign.s: Likewise.

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

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