libgloss/arm/libcfunc.c: alarm [PATCH]
Tue Jul 12 16:44:00 GMT 2005
On 7/12/05, Nick Clifton <email@example.com> wrote:
> Hi Shaun,
> > Removing the alarm stub from libcfunc.c will break the build for the
> > users that only require a stub definition of alarm,
> Why can't the declaration of alarm be a weak definition ?
I didn't see weak symbols used anywhere in libgloss or newlib, so I
thought they were not allowed for some reason. Weak symbols would
certainly solve my problem! Can the ENOSYS stubs _link and _raise, and
the semi-functional stubs _fstat and _stat in libgloss/arm/syscalls.c
also be made weak?
More information about the Newlib