This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]