profiling support?

2007-12-19 Thread DKerns
We're using uClibc and gcc (all via buildroot) for MIPS. While trying to do some profiling (via either the -p or -pg flags to gcc) I get the following error: ../../mips-linux-uclibc/bin/ld: gcrt1.o: No such file: No such file or directory Does uClibc support profiling? Also, I don't see a "prof"

Alignment fixups for gethostbyname_r

2007-12-19 Thread Daniel Jacobowitz
MontaVista noticed that when their kernels were configured to trap on unaligned access gethostbyname_r could mysteriously crash. I tracked this down to an unaligned buffer being passed to gethostbyname_r from some other part of uClibc (afraid I don't remember where from any more). We have to pad