summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/sparc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-12-05 18:40:24 +0000
committerobrien <obrien@FreeBSD.org>2002-12-05 18:40:24 +0000
commit8b626b1c8d31dc347fcc33a6ceb885950127601a (patch)
tree98f7f220a4a824214a9fb92574fb37c931cad0ce /contrib/gcc/config/sparc
parentfb733a94f4675ebffe9ad5c70c92ac95a76c37b7 (diff)
downloadFreeBSD-src-8b626b1c8d31dc347fcc33a6ceb885950127601a.zip
FreeBSD-src-8b626b1c8d31dc347fcc33a6ceb885950127601a.tar.gz
_NIH, __NIH__, __N_I_H__, __nih__, _niH_.
*sigh* GCC developers can't seem to make up their mind which pre-defined arch symbols are the official ones. So make them, and the Sparc64 using Martians happy with every permutation. This fixes f77 and possibly changes some 'long long' handling. Approved by: re(bmah)
Diffstat (limited to 'contrib/gcc/config/sparc')
-rw-r--r--contrib/gcc/config/sparc/freebsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/config/sparc/freebsd.h b/contrib/gcc/config/sparc/freebsd.h
index 5e21aa6..ad52ef4 100644
--- a/contrib/gcc/config/sparc/freebsd.h
+++ b/contrib/gcc/config/sparc/freebsd.h
@@ -24,7 +24,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Emacs needs to know if the arch is 64 or 32-bits. */
#undef CPP_CPU64_DEFAULT_SPEC
-#define CPP_CPU64_DEFAULT_SPEC "-D__sparc64__ -D__sparc_v9__ -D__arch64__"
+#define CPP_CPU64_DEFAULT_SPEC \
+ "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__"
/* Because we include sparc/sysv4.h. */
#undef CPP_PREDEFINES
OpenPOWER on IntegriCloud