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]

Re: Do we need WEAK_GMON_START?


Ulrich Drepper <drepper@redhat.com> writes:

> Andreas Jaeger <aj@suse.de> writes:
> 
> > A grep through glibc revealed that we don't use WEAK_GMON_START
> > anymore:
> 
> It's a left-over from a hack to work around a bug on Arm.  I think
> it's not needed anymore.

I've removed now the last occurences and will commit the appended
patch now,

Andreas

2001-05-23  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
	Remove, it's not used anywhere anymore.
	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile
	(CFLAGS-initfini.s): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile
	(CFLAGS-initfini.s): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
	Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
	Likewise.

============================================================
Index: sysdeps/unix/sysv/linux/i386/Makefile
--- sysdeps/unix/sysv/linux/i386/Makefile	2001/01/17 01:13:44	1.19
+++ sysdeps/unix/sysv/linux/i386/Makefile	2001/05/23 06:23:29
@@ -14,10 +14,6 @@
 sysdep-rtld-routines += dl-procinfo
 endif
 
-ifeq ($(subdir),csu)
-CFLAGS-initfini.s += -DWEAK_GMON_START
-endif
-
 ifeq ($(subdir),resource)
 sysdep_routines += oldgetrlimit64
 endif
============================================================
Index: sysdeps/unix/sysv/linux/ia64/Makefile
--- sysdeps/unix/sysv/linux/ia64/Makefile	2001/03/16 21:03:12	1.5
+++ sysdeps/unix/sysv/linux/ia64/Makefile	2001/05/23 06:23:29
@@ -6,10 +6,6 @@
 sysdep_routines += __start_context
 endif
 
-ifeq ($(subdir),csu)
-CFLAGS-initfini.s += -DWEAK_GMON_START
-endif
-
 ifeq ($(subdir),misc)
 sysdep_headers += sys/io.h
 sysdep_routines += ioperm clone2
============================================================
Index: sysdeps/unix/sysv/linux/powerpc/Makefile
--- sysdeps/unix/sysv/linux/powerpc/Makefile	2000/08/28 08:37:54	1.3
+++ sysdeps/unix/sysv/linux/powerpc/Makefile	2001/05/23 06:23:29
@@ -3,10 +3,6 @@
 		   rt_sigqueueinfo rt_sigaction rt_sigpending
 endif
 
-ifeq ($(subdir),csu)
-CFLAGS-initfini.s += -DWEAK_GMON_START
-endif
-
 ifeq ($(subdir),resource)
 sysdep_routines += oldgetrlimit64
 endif
============================================================
Index: sysdeps/unix/sysv/linux/s390/s390-32/Makefile
--- sysdeps/unix/sysv/linux/s390/s390-32/Makefile	2001/03/16 09:22:13	1.1
+++ sysdeps/unix/sysv/linux/s390/s390-32/Makefile	2001/05/23 06:23:29
@@ -3,10 +3,6 @@
 sysdep_headers += sys/elf.h
 endif
 
-ifeq ($(subdir),csu)
-CFLAGS-initfini.s += -DWEAK_GMON_START
-endif
-
 ifeq ($(subdir),resource)
 sysdep_routines += oldgetrlimit64
 endif
============================================================
Index: sysdeps/unix/sysv/linux/s390/s390-64/Makefile
--- sysdeps/unix/sysv/linux/s390/s390-64/Makefile	2001/03/16 09:21:57	1.1
+++ sysdeps/unix/sysv/linux/s390/s390-64/Makefile	2001/05/23 06:23:29
@@ -1,7 +1,3 @@
-ifeq ($(subdir),csu)
-CFLAGS-initfini.s += -DWEAK_GMON_START
-endif
-
 ifeq ($(subdir),misc)
 sysdep_routines += setfsgid setfsuid setresgid setresuid
 sysdep_headers += sys/elf.h

-- 
 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]