vmlinux.lds.h (5c34202b8bf942da411b6599668a76b07449bbfd) | vmlinux.lds.h (7664709b44a13e2e0b545e2dd8e7b8797a1748dc) |
---|---|
1#ifndef LOAD_OFFSET 2#define LOAD_OFFSET 0 3#endif 4 5#ifndef VMLINUX_SYMBOL 6#define VMLINUX_SYMBOL(_sym_) _sym_ 7#endif 8 --- 125 unchanged lines hidden (view full) --- 134 135#define SECURITY_INIT \ 136 .security_initcall.init : AT(ADDR(.security_initcall.init) - LOAD_OFFSET) { \ 137 VMLINUX_SYMBOL(__security_initcall_start) = .; \ 138 *(.security_initcall.init) \ 139 VMLINUX_SYMBOL(__security_initcall_end) = .; \ 140 } 141 | 1#ifndef LOAD_OFFSET 2#define LOAD_OFFSET 0 3#endif 4 5#ifndef VMLINUX_SYMBOL 6#define VMLINUX_SYMBOL(_sym_) _sym_ 7#endif 8 --- 125 unchanged lines hidden (view full) --- 134 135#define SECURITY_INIT \ 136 .security_initcall.init : AT(ADDR(.security_initcall.init) - LOAD_OFFSET) { \ 137 VMLINUX_SYMBOL(__security_initcall_start) = .; \ 138 *(.security_initcall.init) \ 139 VMLINUX_SYMBOL(__security_initcall_end) = .; \ 140 } 141 |
142/* .text section. Map to function alignment to avoid address changes 143 * during second ld run in second ld pass when generating System.map */ 144#define TEXT_TEXT \ 145 ALIGN_FUNCTION(); \ 146 *(.text) 147 |
|
142/* sched.text is aling to function alignment to secure we have same 143 * address even at second ld pass when generating System.map */ 144#define SCHED_TEXT \ 145 ALIGN_FUNCTION(); \ 146 VMLINUX_SYMBOL(__sched_text_start) = .; \ 147 *(.sched.text) \ 148 VMLINUX_SYMBOL(__sched_text_end) = .; 149 --- 82 unchanged lines hidden --- | 148/* sched.text is aling to function alignment to secure we have same 149 * address even at second ld pass when generating System.map */ 150#define SCHED_TEXT \ 151 ALIGN_FUNCTION(); \ 152 VMLINUX_SYMBOL(__sched_text_start) = .; \ 153 *(.sched.text) \ 154 VMLINUX_SYMBOL(__sched_text_end) = .; 155 --- 82 unchanged lines hidden --- |