elf/sprof.c (generate_call_graph): putchar_unlocked

Gordon Matzigkeit gord@m-tech.ab.ca
Sun Jun 21 00:46:00 GMT 1998


Hi!

I don't fully understand the relationship between libio and stdio,
except that stdio keeps getting out-of-date.  Is it supposed to be
supported by glibc, or is it deprecated?

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.

Is the correct fix to change sprof.c, to modify stdio, or to ditch
stdio entirely and just use libio?

Thanks,

-- 
Gordon Matzigkeit   \ Proudly running pieces of the GNU operating system.
gord@profitpress.com \ Jacques Cousteau loved programming in assembler.

Copyright (C) 1998 Gordon Matzigkeit; the creator offers you this gift
and wants it to remain free.
  This work is copylefted and may be copied, modified and distributed
  under the GNU General Public License (GPL); it comes with absolutely
  NO WARRANTY.  See http://www.gnu.org/copyleft/gpl.html .



More information about the Libc-hacker mailing list