From: Thomas Gleixner Date: Thu, 11 Oct 2007 09:13:41 +0000 (+0200) Subject: i386: prepare shared boot/compressed/vmlinux.scr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20e482b6421cffa92942e2c4970c113667451205;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git i386: prepare shared boot/compressed/vmlinux.scr Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/i386/boot/compressed/Makefile b/arch/i386/boot/compressed/Makefile index aa7f8731834..3f4289143e3 100644 --- a/arch/i386/boot/compressed/Makefile +++ b/arch/i386/boot/compressed/Makefile @@ -46,5 +46,5 @@ endif LDFLAGS_piggy.o := -r --format binary --oformat elf32-i386 -T -$(obj)/piggy.o: $(src)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE +$(obj)/piggy.o: $(src)/vmlinux_32.scr $(obj)/vmlinux.bin.gz FORCE $(call if_changed,ld) diff --git a/arch/i386/boot/compressed/vmlinux.scr b/arch/i386/boot/compressed/vmlinux.scr deleted file mode 100644 index 707a88f7f29..00000000000 --- a/arch/i386/boot/compressed/vmlinux.scr +++ /dev/null @@ -1,10 +0,0 @@ -SECTIONS -{ - .data.compressed : { - input_len = .; - LONG(input_data_end - input_data) input_data = .; - *(.data) - output_len = . - 4; - input_data_end = .; - } -} diff --git a/arch/i386/boot/compressed/vmlinux_32.scr b/arch/i386/boot/compressed/vmlinux_32.scr new file mode 100644 index 00000000000..707a88f7f29 --- /dev/null +++ b/arch/i386/boot/compressed/vmlinux_32.scr @@ -0,0 +1,10 @@ +SECTIONS +{ + .data.compressed : { + input_len = .; + LONG(input_data_end - input_data) input_data = .; + *(.data) + output_len = . - 4; + input_data_end = .; + } +}