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/config/bfin | |
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/config/bfin')
-rw-r--r-- | gcc/config/bfin/bfin.h | 5 |
1 files changed, 4 insertions, 1 deletions
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__"); \ |