Ed Schouten a8c104fbb0 Add a workaround to prevent endless recursion in compiler-rt.
SPARC and MIPS CPUs don't have special instructions to count
leading/trailing zeroes. The compiler-rt library provides fallback
rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are
implemented as simple wrappers around the compiler built-in
__builtin_clz(), assuming these will expand to either 32-bit
CPU instructions or calls to __clzsi2 and __ctzsi2.

Unfortunately, our GCC 4.2 probably thinks that because the operand is
stored in a 64-bit register, it might just be a better idea to invoke
its 64-bit equivalent, simply resulting into endless recursion. Fix this
by defining __builtin_clz and __builtin_ctz to __clzsi2 and __ctzsi2
explicitly.
2012-01-12 16:51:56 +00:00
..
2011-07-14 14:01:36 +00:00
2010-02-28 22:06:07 +00:00
2011-12-13 17:34:47 +00:00
2012-01-05 21:36:12 +00:00
2010-11-18 18:22:58 +00:00
2011-05-25 14:13:53 +00:00
2011-12-28 05:58:31 +00:00
2011-04-28 14:43:38 +00:00
2011-12-08 02:40:46 +00:00
2011-11-01 02:01:55 +00:00
2010-11-03 10:46:39 +00:00