This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
About some functions in libgloss/arm/libcfun.c
- From: Can Finner <can dot finner at gmail dot com>
- To: newlib at sources dot redhat dot com
- Cc: Nick Clifton <nickc at redhat dot com>
- Date: Mon, 17 Oct 2011 17:26:41 +0800
- Subject: About some functions in libgloss/arm/libcfun.c
Hi,
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
--
Regards.