vmlinux.lds.S (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | vmlinux.lds.S (e66ac3f26aef131f5ca60350d25fba95f43acd0d) |
---|---|
1/* 2 * ld script to make SuperH Linux kernel 3 * Written by Niibe Yutaka and Paul Mundt 4 */ 5#ifdef CONFIG_SUPERH64 6#define LOAD_OFFSET PAGE_OFFSET 7OUTPUT_ARCH(sh:sh5) 8#else --- 9 unchanged lines hidden (view full) --- 18 #define MEMORY_OFFSET 0 19#else 20 #define MEMORY_OFFSET __MEMORY_START 21#endif 22 23ENTRY(_start) 24SECTIONS 25{ | 1/* 2 * ld script to make SuperH Linux kernel 3 * Written by Niibe Yutaka and Paul Mundt 4 */ 5#ifdef CONFIG_SUPERH64 6#define LOAD_OFFSET PAGE_OFFSET 7OUTPUT_ARCH(sh:sh5) 8#else --- 9 unchanged lines hidden (view full) --- 18 #define MEMORY_OFFSET 0 19#else 20 #define MEMORY_OFFSET __MEMORY_START 21#endif 22 23ENTRY(_start) 24SECTIONS 25{ |
26 . = PAGE_OFFSET + MEMORY_OFFSET + CONFIG_ZERO_PAGE_OFFSET; | 26 . = PAGE_OFFSET + MEMORY_OFFSET + PHYSICAL_OFFSET + CONFIG_ZERO_PAGE_OFFSET; |
27 28 _text = .; /* Text and read-only data */ 29 30 .empty_zero_page : AT(ADDR(.empty_zero_page) - LOAD_OFFSET) { 31 *(.empty_zero_page) 32 } = 0 33 34 .text : AT(ADDR(.text) - LOAD_OFFSET) { --- 54 unchanged lines hidden --- | 27 28 _text = .; /* Text and read-only data */ 29 30 .empty_zero_page : AT(ADDR(.empty_zero_page) - LOAD_OFFSET) { 31 *(.empty_zero_page) 32 } = 0 33 34 .text : AT(ADDR(.text) - LOAD_OFFSET) { --- 54 unchanged lines hidden --- |