1 /* ld script to make Meta Linux kernel */
3 #include <asm/thread_info.h>
7 #include <asm-generic/vmlinux.lds.h>
9 OUTPUT_FORMAT("elf32-metag", "elf32-metag", "elf32-metag")
13 _jiffies = _jiffies_64;
16 . = CONFIG_PAGE_OFFSET;
32 __etext = .; /* End of text section */
35 RO_DATA_SECTION(PAGE_SIZE)
36 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
37 __edata = .; /* End of data section */
42 . = ALIGN(PAGE_SIZE); /* Init code and data */
44 INIT_TEXT_SECTION(PAGE_SIZE)
48 ___arch_info_begin = .;
53 PERCPU_SECTION(L1_CACHE_BYTES)
57 BSS_SECTION(0, PAGE_SIZE, 0)
66 /* When something in the kernel is NOT compiled as a module, the
67 * module cleanup code and data are put into these segments. Both
68 * can then be thrown away, as cleanup code is never called unless