diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 10 | ||||
-rw-r--r-- | arch/x86/kernel/vmlinux_32.lds.S | 10 | ||||
-rw-r--r-- | arch/x86/kernel/vmlinux_64.lds.S | 10 |
3 files changed, 10 insertions, 20 deletions
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index a7c88bb43650..67164f6f092f 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -94,6 +94,16 @@ SECTIONS | |||
94 | 94 | ||
95 | NOTES :text :note | 95 | NOTES :text :note |
96 | 96 | ||
97 | /* Exception table */ | ||
98 | . = ALIGN(16); | ||
99 | __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { | ||
100 | __start___ex_table = .; | ||
101 | *(__ex_table) | ||
102 | __stop___ex_table = .; | ||
103 | } :text = 0x9090 | ||
104 | |||
105 | RODATA | ||
106 | |||
97 | 107 | ||
98 | #ifdef CONFIG_X86_32 | 108 | #ifdef CONFIG_X86_32 |
99 | # include "vmlinux_32.lds.S" | 109 | # include "vmlinux_32.lds.S" |
diff --git a/arch/x86/kernel/vmlinux_32.lds.S b/arch/x86/kernel/vmlinux_32.lds.S index 854009288ec4..920cc6989cc7 100644 --- a/arch/x86/kernel/vmlinux_32.lds.S +++ b/arch/x86/kernel/vmlinux_32.lds.S | |||
@@ -1,13 +1,3 @@ | |||
1 | /* Exception table */ | ||
2 | . = ALIGN(16); | ||
3 | __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { | ||
4 | __start___ex_table = .; | ||
5 | *(__ex_table) | ||
6 | __stop___ex_table = .; | ||
7 | } :text = 0x9090 | ||
8 | |||
9 | RODATA | ||
10 | |||
11 | /* writeable */ | 1 | /* writeable */ |
12 | . = ALIGN(PAGE_SIZE); | 2 | . = ALIGN(PAGE_SIZE); |
13 | /* Data */ | 3 | /* Data */ |
diff --git a/arch/x86/kernel/vmlinux_64.lds.S b/arch/x86/kernel/vmlinux_64.lds.S index b5d43670d809..641f3f991a01 100644 --- a/arch/x86/kernel/vmlinux_64.lds.S +++ b/arch/x86/kernel/vmlinux_64.lds.S | |||
@@ -1,13 +1,3 @@ | |||
1 | /* Exception table */ | ||
2 | . = ALIGN(16); | ||
3 | __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { | ||
4 | __start___ex_table = .; | ||
5 | *(__ex_table) | ||
6 | __stop___ex_table = .; | ||
7 | } :text = 0x9090 | ||
8 | |||
9 | RODATA | ||
10 | |||
11 | /* Align data segment to page size boundary */ | 1 | /* Align data segment to page size boundary */ |
12 | . = ALIGN(PAGE_SIZE); | 2 | . = ALIGN(PAGE_SIZE); |
13 | /* Data */ | 3 | /* Data */ |