diff options
Diffstat (limited to 'arch/x86/boot/compressed/vmlinux_64.lds')
-rw-r--r-- | arch/x86/boot/compressed/vmlinux_64.lds | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/x86/boot/compressed/vmlinux_64.lds b/arch/x86/boot/compressed/vmlinux_64.lds index 94c13e557fb4..f6e5b445f457 100644 --- a/arch/x86/boot/compressed/vmlinux_64.lds +++ b/arch/x86/boot/compressed/vmlinux_64.lds | |||
@@ -3,15 +3,19 @@ OUTPUT_ARCH(i386:x86-64) | |||
3 | ENTRY(startup_64) | 3 | ENTRY(startup_64) |
4 | SECTIONS | 4 | SECTIONS |
5 | { | 5 | { |
6 | /* Be careful parts of head.S assume startup_32 is at | 6 | /* Be careful parts of head_64.S assume startup_64 is at |
7 | * address 0. | 7 | * address 0. |
8 | */ | 8 | */ |
9 | . = 0; | 9 | . = 0; |
10 | .text : { | 10 | .text.head : { |
11 | _head = . ; | 11 | _head = . ; |
12 | *(.text.head) | 12 | *(.text.head) |
13 | _ehead = . ; | 13 | _ehead = . ; |
14 | *(.text.compressed) | 14 | } |
15 | .rodata.compressed : { | ||
16 | *(.rodata.compressed) | ||
17 | } | ||
18 | .text : { | ||
15 | _text = .; /* Text */ | 19 | _text = .; /* Text */ |
16 | *(.text) | 20 | *(.text) |
17 | *(.text.*) | 21 | *(.text.*) |