This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: elf/sprof.c (generate_call_graph): putchar_unlocked
- To: Gordon Matzigkeit <gord@m-tech.ab.ca>
- Subject: Re: elf/sprof.c (generate_call_graph): putchar_unlocked
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 21 Jun 1998 13:15:35 -0700
- Cc: GNU Libc Alpha Testers <libc-alpha@cygnus.com>
- References: <861zsj4458.fsf@trick.profitpress.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------