Add arm thumb support
From-SVN: r50920
This commit is contained in:
parent
beb9c8a234
commit
a46ccd1b47
2 changed files with 9 additions and 3 deletions
|
@ -5,11 +5,13 @@
|
|||
#define __IEEE_LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
#ifdef __arm__
|
||||
#if defined(__arm__) || defined(__thumb__)
|
||||
/* ARM always has big-endian words. Within those words the byte ordering
|
||||
appears to be big or little endian. Newlib doesn't seem to care about
|
||||
the byte ordering within words. */
|
||||
will be big or little endian depending upon the target. */
|
||||
#define __IEEE_BIG_ENDIAN
|
||||
#ifdef __ARMEL__
|
||||
#define __IEEE_BYTES_LITTLE_ENDIAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __hppa__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue