i386: prepare shared boot/compressed/vmlinux.scr
authorThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:13:41 +0000 (11:13 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:13:41 +0000 (11:13 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/i386/boot/compressed/Makefile
arch/i386/boot/compressed/vmlinux.scr [deleted file]
arch/i386/boot/compressed/vmlinux_32.scr [new file with mode: 0644]

index aa7f873183492a6551a6937ef8558cb005c82344..3f4289143e3998ce21aceb924a860c5f4ed0b35d 100644 (file)
@@ -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 (file)
index 707a88f..0000000
+++ /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 (file)
index 0000000..707a88f
--- /dev/null
@@ -0,0 +1,10 @@
+SECTIONS
+{
+  .data.compressed : {
+       input_len = .;
+       LONG(input_data_end - input_data) input_data = .; 
+       *(.data) 
+       output_len = . - 4;
+       input_data_end = .; 
+       }
+}