diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2011-09-15 14:41:46 +0000 |
---|---|---|
committer | Ian Bolton <ibolton@gcc.gnu.org> | 2011-09-15 14:41:46 +0000 |
commit | 5d248b41e343955bd4fdd274a351a3bb91203cc3 (patch) | |
tree | d80c62337d1b8d0605e78fe8a813e520e66b8842 /gcc | |
parent | 5a8c97d80213bed41128b450c3bb174c905459e3 (diff) | |
download | gcc-5d248b41e343955bd4fdd274a351a3bb91203cc3.zip gcc-5d248b41e343955bd4fdd274a351a3bb91203cc3.tar.gz gcc-5d248b41e343955bd4fdd274a351a3bb91203cc3.tar.bz2 |
arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro.
2011-09-15 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro.
From-SVN: r178884
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33fbaee..4531283 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-09-15 James Greenhalgh <james.greenhalgh@arm.com> + + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro. + 2011-09-15 Jason Merrill <jason@redhat.com> PR c++/50361 diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 208ee51..a76988e 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -47,6 +47,8 @@ extern char arm_arch_name[]; { \ if (TARGET_DSP_MULTIPLY) \ builtin_define ("__ARM_FEATURE_DSP"); \ + if (unaligned_access) \ + builtin_define ("__ARM_FEATURE_UNALIGNED"); \ /* Define __arm__ even when in thumb mode, for \ consistency with armcc. */ \ builtin_define ("__arm__"); \ |