|
@@ -1,6 +1,7 @@
|
|
/* ld script to make m68k Linux kernel */
|
|
/* ld script to make m68k Linux kernel */
|
|
|
|
|
|
#include <asm-generic/vmlinux.lds.h>
|
|
#include <asm-generic/vmlinux.lds.h>
|
|
|
|
+#include <asm/page.h>
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
|
|
OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
|
|
OUTPUT_ARCH(m68k)
|
|
OUTPUT_ARCH(m68k)
|
|
@@ -34,7 +35,7 @@ SECTIONS
|
|
_edata = .;
|
|
_edata = .;
|
|
|
|
|
|
/* will be freed after init */
|
|
/* will be freed after init */
|
|
- . = ALIGN(8192); /* Init code and data */
|
|
|
|
|
|
+ . = ALIGN(PAGE_SIZE); /* Init code and data */
|
|
__init_begin = .;
|
|
__init_begin = .;
|
|
.init.text : {
|
|
.init.text : {
|
|
_sinittext = .;
|
|
_sinittext = .;
|
|
@@ -61,12 +62,12 @@ __init_begin = .;
|
|
}
|
|
}
|
|
SECURITY_INIT
|
|
SECURITY_INIT
|
|
#ifdef CONFIG_BLK_DEV_INITRD
|
|
#ifdef CONFIG_BLK_DEV_INITRD
|
|
- . = ALIGN(8192);
|
|
|
|
|
|
+ . = ALIGN(PAGE_SIZE);
|
|
__initramfs_start = .;
|
|
__initramfs_start = .;
|
|
.init.ramfs : { *(.init.ramfs) }
|
|
.init.ramfs : { *(.init.ramfs) }
|
|
__initramfs_end = .;
|
|
__initramfs_end = .;
|
|
#endif
|
|
#endif
|
|
- . = ALIGN(8192);
|
|
|
|
|
|
+ . = ALIGN(PAGE_SIZE);
|
|
__init_end = .;
|
|
__init_end = .;
|
|
.data.init.task : { *(.data.init_task) }
|
|
.data.init.task : { *(.data.init_task) }
|
|
|
|
|