aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/vmlinux.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r--include/asm-generic/vmlinux.lds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 294853053707..76df771be585 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -42,6 +42,7 @@
42#define DATA_DATA \ 42#define DATA_DATA \
43 *(.data) \ 43 *(.data) \
44 *(.data.init.refok) \ 44 *(.data.init.refok) \
45 *(.ref.data) \
45 DEV_KEEP(init.data) \ 46 DEV_KEEP(init.data) \
46 DEV_KEEP(exit.data) \ 47 DEV_KEEP(exit.data) \
47 CPU_KEEP(init.data) \ 48 CPU_KEEP(init.data) \
@@ -169,6 +170,7 @@
169 \ 170 \
170 /* __*init sections */ \ 171 /* __*init sections */ \
171 __init_rodata : AT(ADDR(__init_rodata) - LOAD_OFFSET) { \ 172 __init_rodata : AT(ADDR(__init_rodata) - LOAD_OFFSET) { \
173 *(.ref.rodata) \
172 DEV_KEEP(init.rodata) \ 174 DEV_KEEP(init.rodata) \
173 DEV_KEEP(exit.rodata) \ 175 DEV_KEEP(exit.rodata) \
174 CPU_KEEP(init.rodata) \ 176 CPU_KEEP(init.rodata) \
@@ -202,6 +204,7 @@
202#define TEXT_TEXT \ 204#define TEXT_TEXT \
203 ALIGN_FUNCTION(); \ 205 ALIGN_FUNCTION(); \
204 *(.text) \ 206 *(.text) \
207 *(.ref.text) \
205 *(.text.init.refok) \ 208 *(.text.init.refok) \
206 *(.exit.text.refok) \ 209 *(.exit.text.refok) \
207 DEV_KEEP(init.text) \ 210 DEV_KEEP(init.text) \