diff options
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 101c32309f17..624a2016198e 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -241,6 +241,18 @@ SECTIONS | |||
241 | 241 | ||
242 | INIT_DATA_SECTION(16) | 242 | INIT_DATA_SECTION(16) |
243 | 243 | ||
244 | /* | ||
245 | * Code and data for a variety of lowlevel trampolines, to be | ||
246 | * copied into base memory (< 1 MiB) during initialization. | ||
247 | * Since it is copied early, the main copy can be discarded | ||
248 | * afterwards. | ||
249 | */ | ||
250 | .x86_trampoline : AT(ADDR(.x86_trampoline) - LOAD_OFFSET) { | ||
251 | x86_trampoline_start = .; | ||
252 | *(.x86_trampoline) | ||
253 | x86_trampoline_end = .; | ||
254 | } | ||
255 | |||
244 | .x86_cpu_dev.init : AT(ADDR(.x86_cpu_dev.init) - LOAD_OFFSET) { | 256 | .x86_cpu_dev.init : AT(ADDR(.x86_cpu_dev.init) - LOAD_OFFSET) { |
245 | __x86_cpu_dev_start = .; | 257 | __x86_cpu_dev_start = .; |
246 | *(.x86_cpu_dev.init) | 258 | *(.x86_cpu_dev.init) |
@@ -292,6 +304,7 @@ SECTIONS | |||
292 | *(.iommu_table) | 304 | *(.iommu_table) |
293 | __iommu_table_end = .; | 305 | __iommu_table_end = .; |
294 | } | 306 | } |
307 | |||
295 | . = ALIGN(8); | 308 | . = ALIGN(8); |
296 | /* | 309 | /* |
297 | * .exit.text is discard at runtime, not link time, to deal with | 310 | * .exit.text is discard at runtime, not link time, to deal with |