Fix compilation error caused by voiceprompts data section definitions
This commit is contained in:
parent
7c2c61f948
commit
7ce3a8a605
|
|
@ -1,9 +1,10 @@
|
||||||
.section .note.GNU-stack,""
|
.section .note.GNU-stack,""
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
.global _voiceprompts_start
|
.global _vpdata_start
|
||||||
.global _voiceprompts_end
|
.global _vpdata_end
|
||||||
|
|
||||||
_voiceprompts_start:
|
_vpdata_start:
|
||||||
.incbin "../voiceprompts.vpc"
|
.incbin "../voiceprompts.vpc"
|
||||||
_voiceprompts_end:
|
|
||||||
|
.set _vpdata_end, .
|
||||||
|
|
|
||||||
|
|
@ -114,8 +114,8 @@ static long long vpStartTime;
|
||||||
#ifdef VP_USE_FILESYSTEM
|
#ifdef VP_USE_FILESYSTEM
|
||||||
static FILE *vpFile = NULL;
|
static FILE *vpFile = NULL;
|
||||||
#else
|
#else
|
||||||
extern unsigned char _vpdata_start asm("_voiceprompts_start");
|
extern unsigned char _vpdata_start;
|
||||||
extern unsigned char _vpdata_end asm("_voiceprompts_end");
|
extern unsigned char _vpdata_end;
|
||||||
unsigned char *vpData = &_vpdata_start;
|
unsigned char *vpData = &_vpdata_start;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue