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 .rodata
|
||||
|
||||
.global _voiceprompts_start
|
||||
.global _voiceprompts_end
|
||||
.global _vpdata_start
|
||||
.global _vpdata_end
|
||||
|
||||
_voiceprompts_start:
|
||||
_vpdata_start:
|
||||
.incbin "../voiceprompts.vpc"
|
||||
_voiceprompts_end:
|
||||
|
||||
.set _vpdata_end, .
|
||||
|
|
|
|||
|
|
@ -114,8 +114,8 @@ static long long vpStartTime;
|
|||
#ifdef VP_USE_FILESYSTEM
|
||||
static FILE *vpFile = NULL;
|
||||
#else
|
||||
extern unsigned char _vpdata_start asm("_voiceprompts_start");
|
||||
extern unsigned char _vpdata_end asm("_voiceprompts_end");
|
||||
extern unsigned char _vpdata_start;
|
||||
extern unsigned char _vpdata_end;
|
||||
unsigned char *vpData = &_vpdata_start;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue