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

index 6b2fb9906664d1db787f0bc9f7771bede2fc0334..6fb949582b23868ca2d3eeb75d641324d42a8528 100644 (file)
@@ -26,5 +26,5 @@ $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
 
 LDFLAGS_piggy.o := -r --format binary --oformat elf64-x86-64 -T
 
-$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE
+$(obj)/piggy.o: $(obj)/vmlinux_64.scr $(obj)/vmlinux.bin.gz FORCE
        $(call if_changed,ld)
diff --git a/arch/x86_64/boot/compressed/vmlinux.scr b/arch/x86_64/boot/compressed/vmlinux.scr
deleted file mode 100644 (file)
index bd1429c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-SECTIONS
-{
-  .text.compressed : {
-       input_len = .;
-       LONG(input_data_end - input_data) input_data = .;
-       *(.data)
-       output_len = . - 4;
-       input_data_end = .;
-       }
-}
diff --git a/arch/x86_64/boot/compressed/vmlinux_64.scr b/arch/x86_64/boot/compressed/vmlinux_64.scr
new file mode 100644 (file)
index 0000000..bd1429c
--- /dev/null
@@ -0,0 +1,10 @@
+SECTIONS
+{
+  .text.compressed : {
+       input_len = .;
+       LONG(input_data_end - input_data) input_data = .;
+       *(.data)
+       output_len = . - 4;
+       input_data_end = .;
+       }
+}