]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: switch to .rodata.compressed in arch/x86/boot/compressed/vmlinux_??.scr
authorIan Campbell <ijc@hellion.org.uk>
Wed, 30 Jan 2008 12:33:38 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:38 +0000 (13:33 +0100)
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>
arch/x86/boot/compressed/vmlinux_32.lds
arch/x86/boot/compressed/vmlinux_32.scr
arch/x86/boot/compressed/vmlinux_64.lds
arch/x86/boot/compressed/vmlinux_64.scr

index d98ab69a1276ef66b2d41e9286c475d902252c0c..bb3c48379c40f858f6ce09d5be215ad192524ed4 100644 (file)
@@ -12,8 +12,8 @@ SECTIONS
                *(.text.head)
                _ehead = . ;
        }
-       .data.compressed : {
-               *(.data.compressed)
+       .rodata.compressed : {
+               *(.rodata.compressed)
        }
        .text : {
                _text = .;      /* Text */
index a54952661995951548cdcc6e2ec79eb8a1afcdaf..f02382ae5c48b1cd319a4cb1e755fa060f03cfdc 100644 (file)
@@ -1,6 +1,6 @@
 SECTIONS
 {
-  .data.compressed : {
+  .rodata.compressed : {
        input_len = .;
        LONG(input_data_end - input_data) input_data = .;
        *(.data)
index 8d63b3a22ce488f2cca49402986fc372caaf57f0..f6e5b445f45734126152819bf0dcb8e9de7acbfb 100644 (file)
@@ -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.*)
index bd1429ce193e903b1c1127edcff1b32371dfabfe..f02382ae5c48b1cd319a4cb1e755fa060f03cfdc 100644 (file)
@@ -1,6 +1,6 @@
 SECTIONS
 {
-  .text.compressed : {
+  .rodata.compressed : {
        input_len = .;
        LONG(input_data_end - input_data) input_data = .;
        *(.data)