From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Tyser Date: Tue, 15 Jun 2010 14:36:41 -0500 Subject: [U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC In-Reply-To: <4C17CEEC.8000409@freescale.com> References: <1276572325-12642-1-git-send-email-ptyser@xes-inc.com> <4C17CE2F.9050208@freescale.com> <4C17CEEC.8000409@freescale.com> Message-ID: <1276630601.32134.1501.camel@petert> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2010-06-15 at 14:05 -0500, Timur Tabi wrote: > Timur Tabi wrote: > > Peter Tyser wrote: > >> Previously, standalone applications were compiled with gcc flags that > >> produced relocatable executables on the PowerPC architecture (eg with the > >> -mrelocatable and -fPIC flags). There's no reason for these applications > >> to be fully relocatable at this time since no relocation fixups are > >> performed on standalone applications. > > > > This didn't work for me. The entry point for my application in 401b4. > > So if I comment-out the ifeq, like this: > > #ifeq ($(ARCH),powerpc) > CFLAGS := $(filter-out $(RELFLAGS),$(CFLAGS)) > #endif Was commenting out the 'ifeq' above necessary? It shouldn't be, so my first question would be why it was needed. Best, Peter