This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Xtensa port, part 1: toplev config.sub
- From: Bob Wilson <bwilson at tensilica dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 30 Nov 2001 11:31:21 -0800
- Subject: Xtensa port, part 1: toplev config.sub
- Organization: Tensilica, Inc.
Here is a new port for Tensilica's Xtensa architecture. This set of
patches is for the 3.0 branch. I've fallen a bit behind on keeping the
3.1 version updated, but I'll submit those changes separately when I get
a chance to fix it up. Tensilica has already filed the copyright
assignment form with FSF.
We have received requests from various people to have this port included
in the standard GCC distribution, so we are submitting these changes to
you. If you agree that this is a useful contribution, please add these
patches to your CVS source tree. Of course, if you can suggest
improvements to the code or point out anything I've missed, I will do my
best to fix those things. If it is helpful to you, I would also be glad
to volunteer as the maintainer for this port.
This message contains only the top-level config.sub change. I'm sending
the rest of the port in the following pieces:
part 2: config.gcc and new config/xtensa files
part 3: patches to other files
part 4: documentation changes
part 5: a minor testsuite change
Changelog for part1:
* config.sub: Add support for Xtensa targets.
Index: config.sub
===================================================================
RCS file: /cvs/gcc/gcc/config.sub,v
retrieving revision 1.51.4.3
diff -c -3 -p -r1.51.4.3 config.sub
*** config.sub 2001/07/16 10:04:04 1.51.4.3
--- config.sub 2001/11/30 17:40:57
*************** case $basic_machine in
*** 239,244 ****
--- 239,245 ----
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
| mips64vr5000 | mips64vr5000el | mcore | s390 | s390x \
+ | xtensa \
| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
| v850 | c4x \
| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
*************** case $basic_machine in
*** 285,290 ****
--- 286,292 ----
| mips64el-* | mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
| mipstx39-* | mipstx39el-* | mcore-* \
+ | xtensa-* \
| f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
| [cjt]90-* \
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \