Fix red in commit 131566b8f8
Use per-function sections to avoid linking in x1000_boot_linux() on normal builds, which prevents link errors due to referencing a non-existent usb_close(). Change-Id: Ied7b233603c49fc856db8445e368675b181e2f1f
This commit is contained in:
parent
47cbeb2e67
commit
db2817eb1a
1 changed files with 2 additions and 2 deletions
|
@ -36,10 +36,10 @@ enum {
|
|||
};
|
||||
|
||||
void x1000_boot_rockbox(const void* source, size_t length)
|
||||
__attribute__((section(".icode")));
|
||||
__attribute__((section(".icode.x1000_boot_rockbox")));
|
||||
void x1000_boot_linux(const void* source, size_t length,
|
||||
void* load, void* entry, const char* args)
|
||||
__attribute__((section(".icode")));
|
||||
__attribute__((section(".icode.x1000_boot_linux")));
|
||||
|
||||
/* dual boot support code */
|
||||
void x1000_dualboot_cleanup(void);
|
||||
|
|
Loading…
Reference in a new issue