From e5e96ef2899fb9d6009a53f83952e00cad2a97ab Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 11 Oct 2007 11:16:04 +0200 Subject: x86_64: prepare shared boot/compressed/vmlinux.scr Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- arch/x86_64/boot/compressed/Makefile | 2 +- arch/x86_64/boot/compressed/vmlinux.scr | 10 ---------- arch/x86_64/boot/compressed/vmlinux_64.scr | 10 ++++++++++ 3 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 arch/x86_64/boot/compressed/vmlinux.scr create mode 100644 arch/x86_64/boot/compressed/vmlinux_64.scr diff --git a/arch/x86_64/boot/compressed/Makefile b/arch/x86_64/boot/compressed/Makefile index 6b2fb9906664..6fb949582b23 100644 --- a/arch/x86_64/boot/compressed/Makefile +++ b/arch/x86_64/boot/compressed/Makefile @@ -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 index bd1429ce193e..000000000000 --- a/arch/x86_64/boot/compressed/vmlinux.scr +++ /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 index 000000000000..bd1429ce193e --- /dev/null +++ b/arch/x86_64/boot/compressed/vmlinux_64.scr @@ -0,0 +1,10 @@ +SECTIONS +{ + .text.compressed : { + input_len = .; + LONG(input_data_end - input_data) input_data = .; + *(.data) + output_len = . - 4; + input_data_end = .; + } +} -- cgit v1.2.3