2 * vmlinux.lds.S -- master linker script for m68knommu arch
4 * (C) Copyright 2002-2012, Greg Ungerer <gerg@snapgear.com>
6 * This linker script is equipped to build either ROM loaded or RAM
10 #if defined(CONFIG_RAMKERNEL)
11 #define KTEXT_ADDR CONFIG_KERNELBASE
13 #if defined(CONFIG_ROMKERNEL)
14 #define KTEXT_ADDR CONFIG_ROMSTART
15 #define KDATA_ADDR CONFIG_KERNELBASE
16 #define LOAD_OFFSET KDATA_ADDR + (ADDR(.text) + SIZEOF(.text))
20 #include <asm/thread_info.h>
21 #include <asm-generic/vmlinux.lds.h>
26 jiffies = jiffies_64 + 4;
62 RO_DATA_SECTION(PAGE_SIZE)
63 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE)
71 INIT_TEXT_SECTION(PAGE_SIZE)
89 .comment 0 : { *(.comment) }
91 /* Sections to be discarded */