From 1042d5c8aff3d8a3baef124d4d79f5a7883bd985 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 18 Jan 2011 01:40:34 +0100 Subject: [PATCH] batman: better way :) --- batman/Makefile | 4 ++-- batman/head.lds | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 batman/head.lds 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) -- 2.25.1