I get also errors for S80 and M10 on building trunk with GCC 5.5.0 toolchain on WSL. GCC 5 only tested on SX260. My solution:
Index: platform/m10/sub/110d/movie_rec.c
===================================================================
--- platform/m10/sub/110d/movie_rec.c (revision 5226)
+++ platform/m10/sub/110d/movie_rec.c (working copy)
@@ -505,6 +505,20 @@
"loc_fc0fe176:\n"
" strh r2, [r7, #0x10]\n"
" b loc_fc0fe188\n"
+// 'springboard table' from line 580
+"loc_fc0fe20c:\n"
+" b loc_fc0fe34c\n"
+"loc_fc0fe20e:\n"
+" b loc_fc0fe324\n"
+"loc_fc0fe210:\n"
+" b loc_fc0fe312\n"
+"loc_fc0fe212:\n"
+" b loc_fc0fe2c0\n"
+"loc_fc0fe214:\n"
+" b loc_fc0fe2ce\n"
+"loc_fc0fe216:\n"
+" b loc_fc0fe2e8\n"
+// 'springboard table' end
"loc_fc0fe17a:\n"
" movw r2, #0x602\n"
"loc_fc0fe17e:\n"
@@ -563,18 +577,7 @@
" movw lr, #0x780\n"
" cmp r3, lr\n"
" b loc_fc0fe218\n"
-"loc_fc0fe20c:\n"
-" b loc_fc0fe34c\n"
-"loc_fc0fe20e:\n"
-" b loc_fc0fe324\n"
-"loc_fc0fe210:\n"
-" b loc_fc0fe312\n"
-"loc_fc0fe212:\n"
-" b loc_fc0fe2c0\n"
-"loc_fc0fe214:\n"
-" b loc_fc0fe2ce\n"
-"loc_fc0fe216:\n"
-" b loc_fc0fe2e8\n"
+// move 'springbord table' to line 508; this position is too far for .byte(offset)
"loc_fc0fe218:\n"
" bne loc_fc0fe306\n"
" add.w r4, r4, #0x1c\n"
Index: platform/m10/sub/110f/movie_rec.c
===================================================================
--- platform/m10/sub/110f/movie_rec.c (revision 5226)
+++ platform/m10/sub/110f/movie_rec.c (working copy)
@@ -505,6 +505,20 @@
"loc_fc0fe176:\n"
" strh r2, [r7, #0x10]\n"
" b loc_fc0fe188\n"
+// 'springboard table' from line 580
+"loc_fc0fe20c:\n"
+" b loc_fc0fe34c\n"
+"loc_fc0fe20e:\n"
+" b loc_fc0fe324\n"
+"loc_fc0fe210:\n"
+" b loc_fc0fe312\n"
+"loc_fc0fe212:\n"
+" b loc_fc0fe2c0\n"
+"loc_fc0fe214:\n"
+" b loc_fc0fe2ce\n"
+"loc_fc0fe216:\n"
+" b loc_fc0fe2e8\n"
+// 'springboard table' end
"loc_fc0fe17a:\n"
" movw r2, #0x602\n"
"loc_fc0fe17e:\n"
@@ -563,18 +577,7 @@
" movw lr, #0x780\n"
" cmp r3, lr\n"
" b loc_fc0fe218\n"
-"loc_fc0fe20c:\n"
-" b loc_fc0fe34c\n"
-"loc_fc0fe20e:\n"
-" b loc_fc0fe324\n"
-"loc_fc0fe210:\n"
-" b loc_fc0fe312\n"
-"loc_fc0fe212:\n"
-" b loc_fc0fe2c0\n"
-"loc_fc0fe214:\n"
-" b loc_fc0fe2ce\n"
-"loc_fc0fe216:\n"
-" b loc_fc0fe2e8\n"
+// move 'springbord table' to line 508; this position is too far for .byte(offset)
"loc_fc0fe218:\n"
" bne loc_fc0fe306\n"
" add.w r4, r4, #0x1c\n"
Index: platform/s80/sub/100g/boot.c
===================================================================
--- platform/s80/sub/100g/boot.c (revision 5226)
+++ platform/s80/sub/100g/boot.c (working copy)
@@ -148,7 +148,7 @@
);
}
-static int jogdial_is_stopped = 0;
+int jogdial_is_stopped = 0;
void set_jogdial_is_stopped () {
extern int jogdial_stopped; // from kbd.c
Index: platform/s80/sub/101b/boot.c
===================================================================
--- platform/s80/sub/101b/boot.c (revision 5226)
+++ platform/s80/sub/101b/boot.c (working copy)
@@ -148,7 +148,7 @@
);
}
-static int jogdial_is_stopped = 0;
+int jogdial_is_stopped = 0;
void set_jogdial_is_stopped () {
extern int jogdial_stopped; // from kbd.c
This patch is not testet on S80 or M10!
A GCC 4 build identical DISKBOOT.BIN's for S80 with and without this patch.
I don't know why GCC 4 assembler don't rise also an error for M10.
rudi