aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
-rw-r--r--gcc/config/i386/i386.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f5d987..dc3552f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
+
+ * config/i386/i386.h (ix86_cpu): Remove extern attribute.
+ * config/i386/i386.c (ix86_cpu): Add extern attribute.
+
Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
* config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b2e2dff..a1ac359 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -183,7 +183,7 @@ static int pic_label_no = 0;
#define ix86_stack_locals (current_function->machine->stack_locals)
/* which cpu are we scheduling for */
-enum processor_type ix86_cpu;
+extern enum processor_type ix86_cpu;
/* which instruction set architecture to use. */
int ix86_arch;
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 579b132..b9a1e16 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -237,7 +237,7 @@ enum processor_type
PROCESSOR_max
};
-extern enum processor_type ix86_cpu;
+enum processor_type ix86_cpu;
extern int ix86_arch;