About some functions in libgloss/arm/libcfun.c

Can Finner can.finner@gmail.com
Tue Oct 18 11:37:00 GMT 2011

I am trying to synchronize libgloss and newlib/syscall.
I have tracked down the changes introduced to libgloss for last few
years but have a question.
What does the functions such as clock/sleep, etc. in libgloss/arm/libcfun.c do?
For example, there are already clock function in
newlib/libc/time/clock.c, which also calls _clock syscall.
Since clock in libcfun.c has weak attribute, won't it be ignored when
libc is linked?

Any help? Thanks

More information about the Newlib mailing list