Put "extern" to multiply-defined variables in order to make
-fno-common work.
Change-Id: Ib5a882e3c536d868e8098e385823e50ac78f2d21
/* The PC pipeline value depends on whether ARM
or Thumb instructions are being executed. */
-ARMword isize;
+extern ARMword isize;
ARMword
#ifdef MODE32
/* Definitions for the support routines. */
+ARMword isize;
+
static ARMword ModeToBank (ARMword);
static void EnvokeList (ARMul_State *, unsigned long, unsigned long);
long double ld; /* Acc registers are 72-bits. */
};
-struct maverick_regs DSPregs[16];
-union maverick_acc_regs DSPacc[4];
-ARMword DSPsc;
+extern struct maverick_regs DSPregs[16];
+extern union maverick_acc_regs DSPacc[4];
+extern ARMword DSPsc;
#define DEST_REG (BITS (12, 15))
#define SRC1_REG (BITS (16, 19))