This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Do we need WEAK_GMON_START?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]