[Xtensa] Change to 16-bit wide characters for xtensa-elf target

Bob Wilson bwilson@tensilica.com
Tue Apr 29 19:00:00 GMT 2003


The xtensa-elf target should use 16-bit wide characters but until now has been 
using 32 bits.  The xtensa-linux-gnu target still uses 32-bit wide characters 
and I patched xtensa/linux.h to set this explicitly.  This patch also removes 
several redundant macros and clarifies some comments.  Tested with the 
xtensa-elf target and committed on the mainline branch.

2003-04-29  Bob Wilson  <bob.wilson@acm.org>

        * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX): 
        Remove redundant macros.
        (WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
        (LOCAL_LABEL_PREFIX): Define unconditionally.
        (NO_DOT_IN_LABEL): Clarify comment.
        * config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit 
        definition to "long int".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-cleanup2.diff
Type: text/x-diff
Size: 3442 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030429/93784216/attachment.bin>


More information about the Gcc-patches mailing list