freebsd.h (107647) | freebsd.h (117404) |
---|---|
1/* Definitions for Sun Sparc64 running FreeBSD using the ELF format | 1/* Definitions for Sun SPARC64 running FreeBSD using the ELF format |
2 Copyright (C) 2001, 2002 Free Software Foundation, Inc. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 4 5This file is part of GNU CC. 6 7GNU CC is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 9the Free Software Foundation; either version 2, or (at your option) 10any later version. 11 12GNU CC is distributed in the hope that it will be useful, 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with GNU CC; see the file COPYING. If not, write to 19the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 20 | 2 Copyright (C) 2001, 2002 Free Software Foundation, Inc. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 4 5This file is part of GNU CC. 6 7GNU CC is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 9the Free Software Foundation; either version 2, or (at your option) 10any later version. 11 12GNU CC is distributed in the hope that it will be useful, 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with GNU CC; see the file COPYING. If not, write to 19the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 20 |
21/* $FreeBSD: head/contrib/gcc/config/sparc/freebsd.h 107647 2002-12-05 18:40:24Z obrien $ */ | 21/* $FreeBSD: head/contrib/gcc/config/sparc/freebsd.h 117404 2003-07-11 04:00:23Z kan $ */ |
22 23/* FreeBSD needs the platform name (sparc64) defined. 24 Emacs needs to know if the arch is 64 or 32-bits. */ 25 26#undef CPP_CPU64_DEFAULT_SPEC 27#define CPP_CPU64_DEFAULT_SPEC \ 28 "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__" 29 30/* Because we include sparc/sysv4.h. */ 31#undef CPP_PREDEFINES | 22 23/* FreeBSD needs the platform name (sparc64) defined. 24 Emacs needs to know if the arch is 64 or 32-bits. */ 25 26#undef CPP_CPU64_DEFAULT_SPEC 27#define CPP_CPU64_DEFAULT_SPEC \ 28 "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__" 29 30/* Because we include sparc/sysv4.h. */ 31#undef CPP_PREDEFINES |
32#define CPP_PREDEFINES FBSD_CPP_PREDEFINES | 32/* Do not define it here, we now use TARGET_OS_CPP_BUILTINS. */ |
33 34#define LINK_SPEC "%(link_arch) \ 35 %{!mno-relax:%{!r:-relax}} \ 36 %{p:%e`-p' not supported; use `-pg' and gprof(1)} \ 37 %{Wl,*:%*} \ 38 %{assert*} %{R*} %{rpath*} %{defsym*} \ 39 %{shared:-Bshareable %{h*} %{soname*}} \ 40 %{symbolic:-Bsymbolic} \ --- 9 unchanged lines hidden (view full) --- 50/* Define the actual types of some ANSI-mandated types. 51 Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c, 52 c-common.c, and config/<arch>/<arch>.h. */ 53 54/* Earlier headers may get this wrong for FreeBSD. 55 We use the GCC defaults instead. */ 56#undef WCHAR_TYPE 57 | 33 34#define LINK_SPEC "%(link_arch) \ 35 %{!mno-relax:%{!r:-relax}} \ 36 %{p:%e`-p' not supported; use `-pg' and gprof(1)} \ 37 %{Wl,*:%*} \ 38 %{assert*} %{R*} %{rpath*} %{defsym*} \ 39 %{shared:-Bshareable %{h*} %{soname*}} \ 40 %{symbolic:-Bsymbolic} \ --- 9 unchanged lines hidden (view full) --- 50/* Define the actual types of some ANSI-mandated types. 51 Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c, 52 c-common.c, and config/<arch>/<arch>.h. */ 53 54/* Earlier headers may get this wrong for FreeBSD. 55 We use the GCC defaults instead. */ 56#undef WCHAR_TYPE 57 |
58#undef WCHAR_UNSIGNED 59#define WCHAR_UNSIGNED 0 60 | |
61#undef WCHAR_TYPE_SIZE 62#define WCHAR_TYPE_SIZE 32 63 | 58#undef WCHAR_TYPE_SIZE 59#define WCHAR_TYPE_SIZE 32 60 |
64/* Define for support of TFmode long double and REAL_ARITHMETIC. 65 Sparc ABI says that long double is 4 words. */ | 61/* Define for support of TFmode long double. 62 SPARC ABI says that long double is 4 words. */ |
66#undef LONG_DOUBLE_TYPE_SIZE 67#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64) 68 69/* Constant which presents upper bound of the above value. */ 70#undef MAX_LONG_DOUBLE_TYPE_SIZE 71#define MAX_LONG_DOUBLE_TYPE_SIZE 128 72 73/* Define this to set long double type size to use in libgcc2.c, which can --- 116 unchanged lines hidden --- | 63#undef LONG_DOUBLE_TYPE_SIZE 64#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64) 65 66/* Constant which presents upper bound of the above value. */ 67#undef MAX_LONG_DOUBLE_TYPE_SIZE 68#define MAX_LONG_DOUBLE_TYPE_SIZE 128 69 70/* Define this to set long double type size to use in libgcc2.c, which can --- 116 unchanged lines hidden --- |