shebs 02/08/21 18:10:37
Modified: gcc varasm.c
gcc/config/i386 darwin.h
Log:
Fix i386 build.
Revision Changes Path
1.77 +10 -0 gcc3/gcc/varasm.c
Index: varasm.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/varasm.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- varasm.c 2002/08/17 06:29:05 1.76
+++ varasm.c 2002/08/22 01:10:34 1.77
@@ -5489,6 +5489,16 @@
return local_p;
}
+/* APPLE LOCAL begin coalescing */
+int
+darwin_named_section_is (name)
+ const char* name;
+{
+ return (in_section == in_named
+ && strcmp (in_named_name, name) == 0);
+}
+/* APPLE LOCAL end coalescing */
+
/* APPLE LOCAL begin PFE */
/* Called by pfe_freeze_thaw_function() to freeze/thaw the varasm_status
struct (private to this file) field of a struct function. */
1.20 +1 -7 gcc3/gcc/config/i386/darwin.h
Index: darwin.h
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/config/i386/darwin.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- darwin.h 2002/08/07 03:13:21 1.19
+++ darwin.h 2002/08/22 01:10:36 1.20
@@ -51,6 +51,7 @@
#define CPP_ALTIVEC_SPEC "%{!<faltivec}"
/* The Darwin assembler mostly follows AT&T syntax. */
+#undef ASSEMBLER_DIALECT
#define ASSEMBLER_DIALECT ASM_ATT
/* Define macro used to output shift-double opcodes when the shift
@@ -65,13 +66,6 @@
/* String containing the assembler's comment-starter. */
#define ASM_COMMENT_START "#"
-
-/* We don't do APP_ON/APP_OFF. */
-
-#undef ASM_APP_ON
-#define ASM_APP_ON ""
-#undef ASM_APP_OFF
-#define ASM_APP_OFF ""
/* By default, target has a 80387, uses IEEE compatible arithmetic,
and returns float values in the 387. */