"Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx> writes: > Linux relies on simple operations (addition/subtraction and shifts) on > "long long" variables being implemented inline without a call to > libgcc, which isn't linked in. Sorry, but I don't think this is a reasonable expection for 64-bit shifts on 32-bit targets. If linux insists on not using libgcc, it should provide: > After your change Linux has unresolved references to external __ashldi3(), > __ashrdi3() and __lshrdi3() functions at the final link. ...these functions itself. Richard