ports/devel/arm-none-eabi/gdb/patches/patch-sim_arm_arminit_c

18 lines
688 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
[ARM, sim] Fix build error and warnings
851c0536cabb661847c45c73ebd796eb3299066b
Index: sim/arm/arminit.c
--- sim/arm/arminit.c.orig
+++ sim/arm/arminit.c
@@ -40,6 +40,10 @@ unsigned ARMul_MultTable[32] =
ARMword ARMul_ImmedTable[4096]; /* immediate DP LHS values */
char ARMul_BitList[256]; /* number of bits in a byte table */
+/* The PC pipeline value depends on whether ARM
+ or Thumb instructions are being executed. */
+ARMword isize;
+
/***************************************************************************\
* Call this routine once to set up the emulator's tables. *
\***************************************************************************/