diff --git a/sys/arch/macppc/stand/ofwboot/boot.h b/sys/arch/macppc/stand/ofwboot/boot.h index b68f0a1f609b..2e3b6aae9f01 100644 --- a/sys/arch/macppc/stand/ofwboot/boot.h +++ b/sys/arch/macppc/stand/ofwboot/boot.h @@ -5,7 +5,7 @@ typedef void (*boot_entry_t)(int, int, int (*)(void *), void *, u_int); -void main(void); +void main(void) __section(".text"); #define MAXBOOTPATHLEN 256 extern char bootdev[MAXBOOTPATHLEN];