diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 52e2d69ee535..8307b1bb337a 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -11,7 +11,8 @@ | |||
11 | 11 | ||
12 | /* .data section */ | 12 | /* .data section */ |
13 | #define DATA_DATA \ | 13 | #define DATA_DATA \ |
14 | *(.data) | 14 | *(.data) \ |
15 | *(.data.init.refok) | ||
15 | 16 | ||
16 | #define RODATA \ | 17 | #define RODATA \ |
17 | . = ALIGN(4096); \ | 18 | . = ALIGN(4096); \ |
@@ -147,7 +148,8 @@ | |||
147 | * during second ld run in second ld pass when generating System.map */ | 148 | * during second ld run in second ld pass when generating System.map */ |
148 | #define TEXT_TEXT \ | 149 | #define TEXT_TEXT \ |
149 | ALIGN_FUNCTION(); \ | 150 | ALIGN_FUNCTION(); \ |
150 | *(.text) | 151 | *(.text) \ |
152 | *(.text.init.refok) | ||
151 | 153 | ||
152 | /* sched.text is aling to function alignment to secure we have same | 154 | /* sched.text is aling to function alignment to secure we have same |
153 | * address even at second ld pass when generating System.map */ | 155 | * address even at second ld pass when generating System.map */ |