diff options
author | Ian Campbell <ijc@hellion.org.uk> | 2008-01-30 13:33:38 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:38 +0100 |
commit | 20514e9f6e6221884afada04fbbbde651d3d8654 (patch) | |
tree | 2b857f95befdcaf69ca28ebd5f783a77ae90badb /arch/x86/boot/compressed/vmlinux_64.lds | |
parent | 004426eb295b5fff53ed606d5f7495f23674f2c8 (diff) | |
download | blackbird-op-linux-20514e9f6e6221884afada04fbbbde651d3d8654.tar.gz blackbird-op-linux-20514e9f6e6221884afada04fbbbde651d3d8654.zip |
x86: switch to .rodata.compressed in arch/x86/boot/compressed/vmlinux_??.scr
vmlinux_64 and vmlinux_32.scr are now identical
size shows an expected movement from .text to .rodata and 4 extra bytes
of padding.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot/compressed/vmlinux_64.lds')
-rw-r--r-- | arch/x86/boot/compressed/vmlinux_64.lds | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/vmlinux_64.lds b/arch/x86/boot/compressed/vmlinux_64.lds index 8d63b3a22ce4..f6e5b445f457 100644 --- a/arch/x86/boot/compressed/vmlinux_64.lds +++ b/arch/x86/boot/compressed/vmlinux_64.lds @@ -7,11 +7,15 @@ SECTIONS * address 0. */ . = 0; - .text : { + .text.head : { _head = . ; *(.text.head) _ehead = . ; - *(.text.compressed) + } + .rodata.compressed : { + *(.rodata.compressed) + } + .text : { _text = .; /* Text */ *(.text) *(.text.*) |