summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-12-16 05:40:06 +0000
committerobrien <obrien@FreeBSD.org>2003-12-16 05:40:06 +0000
commit0d7845a7ec88c3df6156acd09ffd1e01a76cae8e (patch)
tree5598ea38700b6cfc1c483e813af730721d4e14bf /contrib
parent949de4b3b467d72554ed213fb320efcbd21953af (diff)
downloadFreeBSD-src-0d7845a7ec88c3df6156acd09ffd1e01a76cae8e.zip
FreeBSD-src-0d7845a7ec88c3df6156acd09ffd1e01a76cae8e.tar.gz
One might want to correctly generate 32-bit code on an Opteron.
Submitted by: peter
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/i386/freebsd64.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/freebsd64.h b/contrib/gcc/config/i386/freebsd64.h
index 548b092..abcd965 100644
--- a/contrib/gcc/config/i386/freebsd64.h
+++ b/contrib/gcc/config/i386/freebsd64.h
@@ -29,7 +29,10 @@ Boston, MA 02111-1307, USA. */
#define FBSD_TARGET_CPU_CPP_BUILTINS() \
do \
{ \
- builtin_define ("__LP64__"); \
+ if (TARGET_64BIT) \
+ { \
+ builtin_define ("__LP64__"); \
+ } \
} \
while (0)
OpenPOWER on IntegriCloud