elf/sprof.c (generate_call_graph): putchar_unlocked
Ulrich Drepper
drepper@cygnus.com
Sun Jun 21 13:18:00 GMT 1998
Gordon Matzigkeit <gord@m-tech.ab.ca> writes:
> Is it supposed to be supported by glibc, or is it deprecated?
I don't support stdio but since Hurd relies on some stdio features not
yet implemented in libio it has to be available.
> The reason for this latest question is that elf/sprof.c contains a
> reference to putchar_unlocked, which is defined in libio, but not
> stdio.
Simply define
#define putc_unlocked(c, s) putc (c, s)
> Is the correct fix to change sprof.c,
No.
> to modify stdio,
Yes.
> or to ditch stdio entirely and just use libio?
I wish this is possible...
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-alpha
mailing list