[PATCH] ARM: do not specify -static and -pie at the same time

Sascha Hauer s.hauer at pengutronix.de
Sun Mar 1 22:11:38 PST 2015

On Sun, Mar 01, 2015 at 02:12:37PM +0100, Lucas Stach wrote:
> PIE is a form of dynamic linking and thus inherently incompatible
> with -static. It worked ok as the current behavior of ld.bfd is
> to not respect -static if -pie has been specified.
> ld.gold and future versions of ld.bfd will fail to link if both
> of those incompatible switches are specified at the same time.
> Signed-off-by: Lucas Stach <dev at lynxeye.de>

Applied, thanks


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the barebox mailing list