__errno_location export
Momchil Velikov
velco@fadata.bg
Sun Dec 1 11:23:00 GMT 2002
>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
Jakub> 2002-11-25 Jakub Jelinek <jakub@redhat.com>
Jakub> * include/errno.h (__set_errno): Define as errno = val
Jakub> unconditionally.
This way I get undefined references to errno, most probably because of
the following in sysdeps/generic/errno.c
/* We declare these with compat_symbol so that they are not
visible at link time. Programs must use the accessor functions. */
# if defined HAVE_ELF && defined SHARED && defined DO_VERSIONING
# include <shlib-compat.h>
compat_symbol (libc, errno, errno, GLIBC_2_0);
compat_symbol (libc, _errno, _errno, GLIBC_2_0);
# endif
#endif
~velco
More information about the Libc-alpha
mailing list