> > This test fails compilation with these errors: > > builtin-bitops-1.c:(.text+0x672): undefined reference to `__ffshi2' > builtin-bitops-1.c:(.text+0x6b4): undefined reference to `__popcounthi2' > builtin-bitops-1.c:(.text+0x6ee): undefined reference to `__parityhi2' > builtin-bitops-1.c:(.text+0x183e): undefined reference to `__clzhi2' > builtin-bitops-1.c:(.text+0x1872): undefined reference to `__ctzhi2' > > Maybe these should be defined in avr-libc? Is there something wrong > with my setup? >
These are routines supposed to be in libgcc. I don't know if it's an obligation. But I can't hurt I guess. I thought __clzhi2 also caused the other "Too much Ram used" bug. Maybe that was __clzsi2? I have made a implementation for __clzsi2/hi/qi. Did not test them however. But it seems that testing has just become real easy :D. Will look into it tomorrow at the office. Thanks for all the effort! Wouter _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
