From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 29 Jun 2010 22:29:32 +0200 Subject: [U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC In-Reply-To: <1276631305-30648-1-git-send-email-wd@denx.de> References: <1276572325-12642-1-git-send-email-ptyser@xes-inc.com> <1276631305-30648-1-git-send-email-wd@denx.de> Message-ID: <20100629202932.15984151C39@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1276631305-30648-1-git-send-email-wd@denx.de> you wrote: > From: Peter Tyser > > 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. > > Additionally, removing the gcc relocation flags results in the entry > point of applications residing at the base of the image. When > a standalone application was relocatable, the entry point was generally > located at an offset into the image which was confusing and prone to > errors. > > This change moves the entry point of PowerPC standalone applications > from 0x40004 (usually) to 0x40000. > > Signed-off-by: Peter Tyser > Signed-off-by: Wolfgang Denk > --- > > It seems we need to cleanup a few more make variables (+AFLAGS, CPPFLAGS) > > examples/standalone/Makefile | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) Applied to "next". Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Totally illogical, there was no chance. -- Spock, "The Galileo Seven", stardate 2822.3