diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index e60d6f21fa62..9f4747780dac 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -11,8 +11,8 @@ | |||
11 | 11 | ||
12 | #define RODATA \ | 12 | #define RODATA \ |
13 | . = ALIGN(4096); \ | 13 | . = ALIGN(4096); \ |
14 | __start_rodata = .; \ | ||
15 | .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ | 14 | .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ |
15 | VMLINUX_SYMBOL(__start_rodata) = .; \ | ||
16 | *(.rodata) *(.rodata.*) \ | 16 | *(.rodata) *(.rodata.*) \ |
17 | *(__vermagic) /* Kernel version magic */ \ | 17 | *(__vermagic) /* Kernel version magic */ \ |
18 | } \ | 18 | } \ |
@@ -119,17 +119,17 @@ | |||
119 | *(__ksymtab_strings) \ | 119 | *(__ksymtab_strings) \ |
120 | } \ | 120 | } \ |
121 | \ | 121 | \ |
122 | /* Unwind data binary search table */ \ | ||
123 | EH_FRAME_HDR \ | ||
124 | \ | ||
122 | /* Built-in module parameters. */ \ | 125 | /* Built-in module parameters. */ \ |
123 | __param : AT(ADDR(__param) - LOAD_OFFSET) { \ | 126 | __param : AT(ADDR(__param) - LOAD_OFFSET) { \ |
124 | VMLINUX_SYMBOL(__start___param) = .; \ | 127 | VMLINUX_SYMBOL(__start___param) = .; \ |
125 | *(__param) \ | 128 | *(__param) \ |
126 | VMLINUX_SYMBOL(__stop___param) = .; \ | 129 | VMLINUX_SYMBOL(__stop___param) = .; \ |
130 | VMLINUX_SYMBOL(__end_rodata) = .; \ | ||
127 | } \ | 131 | } \ |
128 | \ | 132 | \ |
129 | /* Unwind data binary search table */ \ | ||
130 | EH_FRAME_HDR \ | ||
131 | \ | ||
132 | __end_rodata = .; \ | ||
133 | . = ALIGN(4096); | 133 | . = ALIGN(4096); |
134 | 134 | ||
135 | #define SECURITY_INIT \ | 135 | #define SECURITY_INIT \ |