From: Bernhard Urban Date: Tue, 18 Jan 2011 00:40:34 +0000 (+0100) Subject: batman: better way :) X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=savezelda.git;a=commitdiff_plain;h=1042d5c8aff3d8a3baef124d4d79f5a7883bd985 batman: better way :) --- diff --git a/batman/Makefile b/batman/Makefile index 8d9f5ac..af58778 100644 --- a/batman/Makefile +++ b/batman/Makefile @@ -81,9 +81,9 @@ exploit.elf: lego.lds exploit.o @echo " LINK $@" $(Q)$(LD) -T $^ -o $@ -head.elf: head.lds head.o +head.elf: head.o @echo " LINK $@" - $(Q)$(LD) -T $^ -o $@ + $(Q)$(LD) -e 0 $< -o $@ exploit.o: exploit.s @echo " ASSEMBLE $@" diff --git a/batman/head.lds b/batman/head.lds deleted file mode 100644 index 0e91c43..0000000 --- a/batman/head.lds +++ /dev/null @@ -1,6 +0,0 @@ -/* Copyright 2008-2009 Segher Boessenkool - This code is licensed to you under the terms of the GNU GPL, version 2; - see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt */ - -OUTPUT_FORMAT("elf32-powerpc") -OUTPUT_ARCH(powerpc:common)