libgloss/arm/libcfunc.c: alarm [PATCH]
Shaun Jackman
sjackman@gmail.com
Tue Jul 12 16:44:00 GMT 2005
On 7/12/05, Nick Clifton <nickc@redhat.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 ?
>
> Cheers
> Nick
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?
Cheers,
Shaun
More information about the Newlib
mailing list