new port for Xtensa processors (gas files)
Bob Wilson
bwilson@tensilica.com
Tue Apr 1 01:31:00 GMT 2003
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.wilson@acm.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.wilson@acm.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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas.diff.gz
Type: application/x-gzip
Size: 80666 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030401/ba40bb37/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-testsuite.diff.gz
Type: application/x-gzip
Size: 842 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030401/ba40bb37/attachment-0001.bin>
More information about the Binutils
mailing list