diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2007-12-03 16:29:18 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2007-12-03 16:29:18 +0000 |
commit | f13488c072e1f6e2cec6ac578e238040fb47da21 (patch) | |
tree | f5e1282f8e0d5ca5ef90e6a00f1fc252e46d6f90 /gcc | |
parent | 403fd9399629105bedd66ba49fad9c7dd6df4d29 (diff) | |
download | gcc-f13488c072e1f6e2cec6ac578e238040fb47da21.zip gcc-f13488c072e1f6e2cec6ac578e238040fb47da21.tar.gz gcc-f13488c072e1f6e2cec6ac578e238040fb47da21.tar.bz2 |
bfin.h (TARGET_CPU_CPP_BUILTINS): Define __FDPIC__ as necessary.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __FDPIC__ as
necessary.
From-SVN: r130583
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.h | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 102f980..50f6691 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-11-27 Bernd Schmidt <bernd.schmidt@analog.com> + + * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __FDPIC__ as + necessary. + 2007-12-03 Razya Ladelsky <razya@il.ibm.com> * doc/invoke.texi (fipa-cp, fipa-matrix-reorg): Add documentation. diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index b568d9a..446c74d 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -123,7 +123,10 @@ extern int target_flags; builtin_define ("__WORKAROUND_SPECULATIVE_SYNCS"); \ \ if (TARGET_FDPIC) \ - builtin_define ("__BFIN_FDPIC__"); \ + { \ + builtin_define ("__BFIN_FDPIC__"); \ + builtin_define ("__FDPIC__"); \ + } \ if (TARGET_ID_SHARED_LIBRARY \ && !TARGET_SEP_DATA) \ builtin_define ("__ID_SHARED_LIB__"); \ |