Backport this - https://github.com/jsonn/pkgsrc/commit/9d0d89dbc3ab94147676f296c61f97...
authortwinaphex <libretro@gmail.com>
Tue, 22 Mar 2016 05:13:26 +0000 (06:13 +0100)
committertwinaphex <libretro@gmail.com>
Tue, 22 Mar 2016 05:13:26 +0000 (06:13 +0100)
libpcsxcore/new_dynarec/new_dynarec.c

index e9e2b5c..65c8f03 100644 (file)
@@ -134,7 +134,7 @@ struct ll_entry
   int ccadj[MAXBLOCK];
   int slen;
   u_int instr_addr[MAXBLOCK];
-  u_int link_addr[MAXBLOCK][3];
+  static u_int link_addr[MAXBLOCK][3];
   int linkcount;
   u_int stubs[MAXBLOCK*3][8];
   int stubcount;