This is the mail archive of the newlib@sources.redhat.com 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]

Re: libgloss/arm/libcfunc.c: alarm [PATCH]


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


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