ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/lang/gcc34/files/patch-config-sparc-freebsd.h
Revision: 167
Committed: 2010-03-12T20:56:57-08:00 (15 years, 3 months ago) by douglas
Content type: text/x-diff
File size: 1029 byte(s)
Log Message:
Pull in the rest of the gcc ports to see how well the work for Objective C++.

File Contents

# Content
1 --- gcc/config/sparc/freebsd.h.orig 2004-07-17 21:18:58.000000000 +0000
2 +++ gcc/config/sparc/freebsd.h 2008-02-15 21:04:17.000000000 +0000
3 @@ -24,11 +24,21 @@
4 { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
5
6 /* FreeBSD needs the platform name (sparc64) defined.
7 - Emacs needs to know if the arch is 64 or 32-bits. */
8 + Emacs needs to know if the arch is 64 or 32-bits.
9 + This also selects which targets are available via -mcpu. */
10
11 -#undef CPP_CPU64_DEFAULT_SPEC
12 -#define CPP_CPU64_DEFAULT_SPEC \
13 - "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__"
14 +#undef FBSD_TARGET_CPU_CPP_BUILTINS
15 +#define FBSD_TARGET_CPU_CPP_BUILTINS() \
16 + do \
17 + { \
18 + builtin_define ("__LP64__"); \
19 + builtin_define ("__sparc64__"); \
20 + builtin_define ("__sparc_v9__"); \
21 + builtin_define ("__sparcv9"); \
22 + builtin_define ("__sparc__"); \
23 + builtin_define ("__arch64__"); \
24 + } \
25 + while (0)
26
27 #define LINK_SPEC "%(link_arch) \
28 %{!mno-relax:%{!r:-relax}} \

Properties

Name Value
svn:mime-type text/x-diff