Force main into .text
This commit is contained in:
parent
ab2cc8cc4a
commit
ef9f2fbe65
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
typedef void (*boot_entry_t)(int, int, int (*)(void *), void *, u_int);
|
typedef void (*boot_entry_t)(int, int, int (*)(void *), void *, u_int);
|
||||||
|
|
||||||
void main(void);
|
void main(void) __section(".text");
|
||||||
|
|
||||||
#define MAXBOOTPATHLEN 256
|
#define MAXBOOTPATHLEN 256
|
||||||
extern char bootdev[MAXBOOTPATHLEN];
|
extern char bootdev[MAXBOOTPATHLEN];
|
||||||
|
|
Loading…
Reference in New Issue