dpatel 02/10/07 18:23:47
Modified: live/gcc3/gcc/config darwin.h
live/gcc3/gcc/config/rs6000 darwin.h
live/gcc3/gcc/config/i386 darwin.h
Log:
Supply -force_cpusubtype_ALL to assembler.
Revision Changes Path
1.181 +0 -5 src/live/gcc3/gcc/config/darwin.h
Index: darwin.h
===================================================================
RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/darwin.h,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- darwin.h 2002/09/06 21:30:05 1.180
+++ darwin.h 2002/10/08 01:23:46 1.181
@@ -201,11 +201,6 @@
#undef CC1PLUS_SPEC
#define CC1PLUS_SPEC "-D__private_extern__=extern"
-/* APPLE LOCAL asm flags */
-#define ASM_SPEC "-arch %T \
- %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
- %{!Zforce_cpusubtype_ALL:%{faltivec:-force_cpusubtype_ALL}}"
-
/* APPLE LOCAL begin linker flags */
/* This is mostly a clone of the standard LINK_COMMAND_SPEC, plus
framework, precomp, libtool, and fat build additions. Also we
1.76 +5 -0 src/live/gcc3/gcc/config/rs6000/darwin.h
Index: darwin.h
===================================================================
RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/rs6000/darwin.h,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- darwin.h 2002/09/10 20:53:42 1.75
+++ darwin.h 2002/10/08 01:23:46 1.76
@@ -70,6 +70,11 @@
/* APPLE LOCAL AltiVec */
#define CC1_SPEC "%{!static:%{!mdynamic-no-pic:-fPIC}} %{faltivec:-D__VEC__=10206
-D__ALTIVEC__=1}"
+/* APPLE LOCAL asm flags */
+#define ASM_SPEC "-arch %T \
+ %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
+ %{!Zforce_cpusubtype_ALL:%{faltivec:-force_cpusubtype_ALL}}"
+
/* APPLE LOCAL AltiVec */
#define CPP_ALTIVEC_SPEC "%{faltivec:-D__VEC__=10206 -D__ALTIVEC__=1}"
1.23 +7 -0 src/live/gcc3/gcc/config/i386/darwin.h
Index: darwin.h
===================================================================
RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/i386/darwin.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- darwin.h 2002/08/26 20:08:03 1.22
+++ darwin.h 2002/10/08 01:23:46 1.23
@@ -49,6 +49,13 @@
/* When -mdynamic-no-pic finally works, remove the "xx" below. FIXME!! */
#define CC1_SPEC "%{!static:%{!mxxdynamic-no-pic:-fPIC}} %{!<faltivec}"
+/* APPLE LOCAL asm flags */
+#define ASM_SPEC "-arch %T \
+ %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
+ %{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\
+ %{msse:-force_cpusubtype_ALL}\
+ %{msse2:-force_cpusubtype_ALL}}"
+
/* APPLE LOCAL AltiVec */
#define CPP_ALTIVEC_SPEC "%{!<faltivec}"