diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 05:03:47 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 05:03:47 +0000 |
commit | a523505e2a0e3e79662bdf66c95546de61162656 (patch) | |
tree | 0c9b3d603cc8c49068cefe1d56782f02e2e077b0 /contrib/gcc/config/alpha/freebsd.h | |
parent | 1a0381eb69315e1fe116ed1a11a8998ffe412e17 (diff) | |
download | FreeBSD-src-a523505e2a0e3e79662bdf66c95546de61162656.zip FreeBSD-src-a523505e2a0e3e79662bdf66c95546de61162656.tar.gz |
Update for 3.3.1-prerelease.
Diffstat (limited to 'contrib/gcc/config/alpha/freebsd.h')
-rw-r--r-- | contrib/gcc/config/alpha/freebsd.h | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/contrib/gcc/config/alpha/freebsd.h b/contrib/gcc/config/alpha/freebsd.h index 5b88dff..4668987 100644 --- a/contrib/gcc/config/alpha/freebsd.h +++ b/contrib/gcc/config/alpha/freebsd.h @@ -22,19 +22,26 @@ Boston, MA 02111-1307, USA. */ /* $FreeBSD$ */ - -/* Provide a CPP_SPEC appropriate for FreeBSD/alpha. Besides the dealing with +/* Provide a FBSD_TARGET_CPU_CPP_BUILTINS and CPP_SPEC appropriate for + FreeBSD/alpha. Besides the dealing with the GCC option `-posix', and PIC issues as on all FreeBSD platforms, we must deal with the Alpha's FP issues. */ +#undef FBSD_TARGET_CPU_CPP_BUILTINS +#define FBSD_TARGET_CPU_CPP_BUILTINS() \ + do \ + { \ + if (flag_pic) \ + { \ + builtin_define ("__PIC__"); \ + builtin_define ("__pic__"); \ + } \ + } \ + while (0) + #undef CPP_SPEC -#define CPP_SPEC "%(cpp_cpu) %(cpp_subtarget) -D__ELF__ \ - %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ - %{posix:-D_POSIX_SOURCE} \ - %{mieee:-D_IEEE_FP} \ - %{mieee-with-inexact:-D_IEEE_FP -D_IEEE_FP_INEXACT}" +#define CPP_SPEC "%(cpp_subtarget) %{posix:-D_POSIX_SOURCE}" -#undef LINK_SPEC #define LINK_SPEC "%{G*} %{relax:-relax} \ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \ %{Wl,*:%*} \ @@ -66,9 +73,6 @@ Boston, MA 02111-1307, USA. */ /* alpha.h gets this wrong for FreeBSD. We use the GCC defaults instead. */ #undef WCHAR_TYPE -#undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 - #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 |