arc: Make sure that libgcc doesn't get included when it doesn't exist yet
authorMischa Jonker <mischa.jonker@synopsys.com>
Thu, 2 May 2013 09:51:29 +0000 (09:51 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 4 May 2013 21:21:31 +0000 (23:21 +0200)
commita6e6bf3ef63781579784f6c31f6f5d8d374e0f64
treec1c4c1ebfa13113e2152ebbcd86d63a73606c760
parent5de23bf875e34fd89eff5b9472ab501c2992b6b1
arc: Make sure that libgcc doesn't get included when it doesn't exist yet

For ARC, libgcc is always included, even when -nostdlib is given. This is
related to some small pieces of code that are not always generated by the
compiler; a call to libgcc is used in those cases instead.

During the initial stages of building the toolchain, this is a problem, as
libgcc does not exist yet. The ARC compiler supports -really-nostdlib to
override the default behavior.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/uClibc/uclibc.mk