mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
boards/arm/stm32/stm32f4discovery: Fix build errors
Fix these build errors:
CC: stm32_romfs_initialize.c
{standard input}: Assembler messages:
{standard input}:498: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}
{standard input}:499: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}
{standard input}:502: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}
{standard input}:503: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}
This commit is contained in:
@@ -93,7 +93,8 @@ __asm__ (
|
|||||||
"romfs_data_end:\n"
|
"romfs_data_end:\n"
|
||||||
".globl romfs_data_size\n"
|
".globl romfs_data_size\n"
|
||||||
"romfs_data_size:\n"
|
"romfs_data_size:\n"
|
||||||
".word romfs_data_end - romfs_data_begin\n");
|
".word romfs_data_end - romfs_data_begin\n"
|
||||||
|
".previous\n");
|
||||||
|
|
||||||
extern const char romfs_data_begin;
|
extern const char romfs_data_begin;
|
||||||
extern const char romfs_data_end;
|
extern const char romfs_data_end;
|
||||||
|
|||||||
Reference in New Issue
Block a user