On Sat, Feb 19, 2000 at 04:15:37PM +0100, Klaus Naumann wrote:
> while compiling glibc (cross compile) I think I encountered a bug in
> include/asm-mips/timex.h .
> It uses the define CP0_COUNT and the function read_32bit_cp0_register()
> which are defined in mipsregs.h . But the timex.h does _not_
> include this file. At least my compiler complained about undefined
> CP0_COUNT. I've appended a patch for the problem (Well, I
> hope it's fixing the problem in a correct way ;) ).
No. The function which uses read_32bit_cp0_register() shouldn't be
defined for userland in first hand.
(This is fixed in my copy of glibc which I'll upload once I've gone
through the necessary pain of recompiling my entire system twice.