mirror of git://sourceware.org/git/glibc.git
Update.
2000-09-10 Ulrich Drepper <drepper@redhat.com> * shlib-versions: Simplify libm entries. Correct a few Hurd entries. * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the ugly GMON_WEAK_START hack. Patch by Philip Blundell <philb@gnu.org>. * sysdeps/i386/i486/bits/string.h: Pretty printing.
This commit is contained in:
parent
ada0ce8f41
commit
2119c7059e
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
||||||
|
2000-09-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* shlib-versions: Simplify libm entries. Correct a few Hurd entries.
|
||||||
|
|
||||||
|
* sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
|
||||||
|
ugly GMON_WEAK_START hack.
|
||||||
|
Patch by Philip Blundell <philb@gnu.org>.
|
||||||
|
|
||||||
|
* sysdeps/i386/i486/bits/string.h: Pretty printing.
|
||||||
|
|
||||||
2000-09-09 Ulrich Drepper <drepper@redhat.com>
|
2000-09-09 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
|
* sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
|
||||||
|
|
|
||||||
|
|
@ -17,26 +17,20 @@
|
||||||
# ------------- --------------- ------------------------------
|
# ------------- --------------- ------------------------------
|
||||||
|
|
||||||
# The interface to -lm depends mostly only on cpu, not on operating system.
|
# The interface to -lm depends mostly only on cpu, not on operating system.
|
||||||
i.86-.*-.* libm=6
|
|
||||||
m68k-.*-.* libm=6
|
|
||||||
sparc64-.*-linux.* libm=6 GLIBC_2.2
|
sparc64-.*-linux.* libm=6 GLIBC_2.2
|
||||||
sparc.*-.*-.* libm=6
|
|
||||||
alpha.*-.*-linux.* libm=6.1
|
alpha.*-.*-linux.* libm=6.1
|
||||||
alpha.*-.*-.* libm=6
|
|
||||||
powerpc-.*-.* libm=6
|
|
||||||
mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
|
mips.*-.*-linux.* libm=6 GLIBC_2.0 GLIBC_2.2
|
||||||
mips.*-.*-.* libm=6
|
ia64-.*-linux.* libm=6.1 GLIBC_2.2
|
||||||
arm.*-.*-.* libm=6
|
sh.*-.*-linux.* libm=6 GLIBC_2.2
|
||||||
ia64-.*-.* libm=6.1 GLIBC_2.2
|
.*-.*-linux.* libm=6
|
||||||
sh.*-.*-.* libm=6 GLIBC_2.2
|
.*-.*-gnu-gnu.* libm=6
|
||||||
s390.*-.*-linux.* libm=6
|
|
||||||
|
|
||||||
# We provide libc.so.6 for Linux kernel versions 2.0 and later.
|
# We provide libc.so.6 for Linux kernel versions 2.0 and later.
|
||||||
alpha.*-.*-linux.* libc=6.1
|
alpha.*-.*-linux.* libc=6.1
|
||||||
# Working mips versions were never released between 2.0 and 2.2.
|
# Working mips versions were never released between 2.0 and 2.2.
|
||||||
mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
|
mips.*-.*-linux.* libc=6 GLIBC_2.0 GLIBC_2.2
|
||||||
ia64-.*-.* libc=6.1 GLIBC_2.2
|
ia64-.*-linux.* libc=6.1 GLIBC_2.2
|
||||||
sh.*-.*-.* libc=6 GLIBC_2.2
|
sh.*-.*-linux.* libc=6 GLIBC_2.2
|
||||||
sparc64-.*-linux.* libc=6 GLIBC_2.2
|
sparc64-.*-linux.* libc=6 GLIBC_2.2
|
||||||
.*-.*-linux.* libc=6
|
.*-.*-linux.* libc=6
|
||||||
|
|
||||||
|
|
@ -44,13 +38,13 @@ sparc64-.*-linux.* libc=6 GLIBC_2.2
|
||||||
.*-.*-gnu-gnu.* libmachuser=1
|
.*-.*-gnu-gnu.* libmachuser=1
|
||||||
|
|
||||||
# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
|
# libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
|
||||||
.*-.*-gnu-gnu* libhurduser=0.0
|
.*-.*-gnu-gnu.* libhurduser=0.0
|
||||||
|
|
||||||
# libc.so.0.2 is for the Hurd alpha release 0.2.
|
# libc.so.0.2 is for the Hurd alpha release 0.2.
|
||||||
%ifdef USE_IN_LIBIO /* experimental only! */
|
%ifdef USE_IN_LIBIO /* experimental only! */
|
||||||
.*-.*-gnu-gnu* libc=0.2.90.libio GLIBC_2.2
|
.*-.*-gnu-gnu.* libc=0.2.90.libio GLIBC_2.2
|
||||||
%else
|
%else
|
||||||
.*-.*-gnu-gnu* libc=0.2
|
.*-.*-gnu-gnu.* libc=0.2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# The dynamic loader also requires different names.
|
# The dynamic loader also requires different names.
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,16 @@ asm ("\n/*@TESTS_END*/");
|
||||||
/* The beginning of _init: */
|
/* The beginning of _init: */
|
||||||
asm ("\n/*@_init_PROLOG_BEGINS*/");
|
asm ("\n/*@_init_PROLOG_BEGINS*/");
|
||||||
|
|
||||||
|
static void
|
||||||
|
call_gmon_start(void)
|
||||||
|
{
|
||||||
|
extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/
|
||||||
|
void (*gmon_start) (void) = __gmon_start__;
|
||||||
|
|
||||||
|
if (gmon_start)
|
||||||
|
gmon_start ();
|
||||||
|
}
|
||||||
|
|
||||||
SECTION (".init");
|
SECTION (".init");
|
||||||
void
|
void
|
||||||
_init (void)
|
_init (void)
|
||||||
|
|
@ -71,15 +81,7 @@ _init (void)
|
||||||
gcrt1.o to reference a symbol which would be defined by some library
|
gcrt1.o to reference a symbol which would be defined by some library
|
||||||
module which has a constructor; but then user code's constructors
|
module which has a constructor; but then user code's constructors
|
||||||
would come first, and not be profiled. */
|
would come first, and not be profiled. */
|
||||||
extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/
|
call_gmon_start ();
|
||||||
#ifndef WEAK_GMON_START
|
|
||||||
__gmon_start__ ();
|
|
||||||
#else
|
|
||||||
void (*gmon_start) (void) = __gmon_start__;
|
|
||||||
|
|
||||||
if (gmon_start)
|
|
||||||
gmon_start ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
asm ("ALIGN");
|
asm ("ALIGN");
|
||||||
asm("END_INIT");
|
asm("END_INIT");
|
||||||
|
|
@ -89,19 +91,6 @@ _init (void)
|
||||||
SECTION(".init");
|
SECTION(".init");
|
||||||
}
|
}
|
||||||
asm ("END_INIT");
|
asm ("END_INIT");
|
||||||
#ifndef WEAK_GMON_START
|
|
||||||
SECTION(".text");
|
|
||||||
|
|
||||||
/* This version of __gmon_start__ is used if no other is found. By providing
|
|
||||||
a default function we avoid the need to test whether the pointer is NULL,
|
|
||||||
which can be painful on some machines. */
|
|
||||||
|
|
||||||
void __attribute__ ((weak))
|
|
||||||
__gmon_start__ (void)
|
|
||||||
{
|
|
||||||
/* do nothing */
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* End of the _init epilog, beginning of the _fini prolog. */
|
/* End of the _init epilog, beginning of the _fini prolog. */
|
||||||
asm ("\n/*@_init_EPILOG_ENDS*/");
|
asm ("\n/*@_init_EPILOG_ENDS*/");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue