]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
examples/standalone: Remove relocation compile flags for PowerPC
authorPeter Tyser <ptyser@xes-inc.com>
Tue, 15 Jun 2010 19:48:25 +0000 (21:48 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jun 2010 20:29:13 +0000 (22:29 +0200)
commit620bbba524fbaa26971a5004793010b169824f1b
tree3c80dc3a8bca2b3e819c1d6a238bdd16930792d7
parent3bf74a4183fdf32e9be2742594ed8199e626650c
examples/standalone: Remove relocation compile flags for PowerPC

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 <ptyser@xes-inc.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
examples/standalone/Makefile