diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2008-07-04 12:54:51 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 18:10:33 +0900 |
commit | f12ae6bc4ad0054386b380dbf90e63617cd5ab92 (patch) | |
tree | 51efc329cb0559547ec4ece96dd5d684a8404a73 /arch/sh/boot/compressed/Makefile_32 | |
parent | f2fb4e4f647dabf1177d3ce164988e73482d76b1 (diff) | |
download | blackbird-op-linux-f12ae6bc4ad0054386b380dbf90e63617cd5ab92.tar.gz blackbird-op-linux-f12ae6bc4ad0054386b380dbf90e63617cd5ab92.zip |
sh: Fix up link error on SH-2 zImage with older binutils.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boot/compressed/Makefile_32')
-rw-r--r-- | arch/sh/boot/compressed/Makefile_32 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/boot/compressed/Makefile_32 b/arch/sh/boot/compressed/Makefile_32 index c0d25fb1aa60..47685f618ae7 100644 --- a/arch/sh/boot/compressed/Makefile_32 +++ b/arch/sh/boot/compressed/Makefile_32 @@ -35,8 +35,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE $(call if_changed,gzip) -LDFLAGS_piggy.o := -r --format binary --oformat elf32-sh-linux -T OBJCOPYFLAGS += -R .empty_zero_page -$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE - $(call if_changed,ld) +$(obj)/piggy.o: $(obj)/piggy.S $(obj)/vmlinux.bin.gz FORCE + $(call if_changed,as_o_S) |