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.cIndex: 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
I don't know why GCC 4 assembler don't rise also an error for M10.
003d91ee <branchtable_fc0fe01a>: 3d91ee: 19fd .short 0x19fd 3d91f0: fbfc0b71 .word 0xfbfc0b71 3d91f4: 717284a0 .word 0x717284a0 3d91f8: f9fa7171 .word 0xf9fa7171 3d91fc: 594433f8 .word 0x594433f8 3d9200: b6717171 .word 0xb6717171
../../../../platform/s80/sub/100g/libplatformsub.a(boot.o): In function `loc_FF82898C':boot.c:(.text+0x3f0): undefined reference to `jogdial_is_stopped'collect2: error: ld returned 1 exit status../../../makefile_sub.inc:67: recipe for target 'main.elf' failed
movie_rec.c -> movie_rec.o/tmp/ccTpDW5H.s: Assembler messages:/tmp/ccTpDW5H.s:610: Error: value of 257 too large for field of 1 bytes at 1138/tmp/ccTpDW5H.s:614: Error: value of 256 too large for field of 1 bytes at 1142../../../makefile_sub.inc:44: recipe for target 'movie_rec.o' failed
The largest byte is 0xfd.
Also, does anyone else using gcc 5 or higher experience this (I mean, could this be a toolchain source configuration issue)?
It is a cross compiler and not a toolchain. my fault. I use the same cross compilers build script for building gcc 4.8.3 in 2015.
S80 error message:Code: [Select]../../../../platform/s80/sub/100g/libplatformsub.a(boot.o): In function `loc_FF82898C':boot.c:(.text+0x3f0): undefined reference to `jogdial_is_stopped'collect2: error: ld returned 1 exit status../../../makefile_sub.inc:67: recipe for target 'main.elf' failed
M10 error message:Code: [Select]movie_rec.c -> movie_rec.o/tmp/ccTpDW5H.s: Assembler messages:/tmp/ccTpDW5H.s:610: Error: value of 257 too large for field of 1 bytes at 1138/tmp/ccTpDW5H.s:614: Error: value of 256 too large for field of 1 bytes at 1142../../../makefile_sub.inc:44: recipe for target 'movie_rec.o' failed
Calculated on loc_addresses? But there are additional code for chdk extensions eg. video bitrate.