Do we need WEAK_GMON_START?
Andreas Jaeger
aj@suse.de
Tue May 22 11:44:00 GMT 2001
A grep through glibc revealed that we don't use WEAK_GMON_START
anymore:
gromit:/usr/src/cvs/libc:[0]$ grep -r WEAK_GMON_START .
./sysdeps/unix/sysv/linux/ia64/Makefile:CFLAGS-initfini.s += -DWEAK_GMON_START
./sysdeps/unix/sysv/linux/i386/Makefile:CFLAGS-initfini.s += -DWEAK_GMON_START
./sysdeps/unix/sysv/linux/powerpc/Makefile:CFLAGS-initfini.s += -DWEAK_GMON_START
./sysdeps/unix/sysv/linux/s390/s390-32/Makefile:CFLAGS-initfini.s += -DWEAK_GMON_START
./sysdeps/unix/sysv/linux/s390/s390-64/Makefile:CFLAGS-initfini.s += -DWEAK_GMON_START
./ChangeLog.9: * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
./ChangeLog.9: -DWEAK_GMON_START to CFLAGS-initfini.s.
./ChangeLog.10: (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
./ChangeLog.11: (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
gromit:/usr/src/cvs/libc:[0]$
I'll sent tomorrow a patch and remove the remaining occurences. Or is
there any reason why we should leave them in?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list