mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2002-03-11 Ulrich Drepper <drepper@redhat.com> * gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func. They were never exported anyway. * gmon/gmon.c (_gmonparam): Add attribute_hidden. * gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't exported. * include/sys/gmon.h: Declare _gmonparam. * sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility symbols for getdents64. They were never exported.
This commit is contained in:
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
|||||||
|
2002-03-11 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func.
|
||||||
|
They were never exported anyway.
|
||||||
|
|
||||||
|
* gmon/gmon.c (_gmonparam): Add attribute_hidden.
|
||||||
|
* gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't
|
||||||
|
exported.
|
||||||
|
* include/sys/gmon.h: Declare _gmonparam.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility
|
||||||
|
symbols for getdents64. They were never exported.
|
||||||
|
|
||||||
2002-03-09 Roland McGrath <roland@frob.com>
|
2002-03-09 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
|
* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
struct __bb *__bb_head; /* Head of basic-block list or NULL. */
|
struct __bb *__bb_head; /* Head of basic-block list or NULL. */
|
||||||
|
|
||||||
struct gmonparam _gmonparam = { GMON_PROF_OFF };
|
struct gmonparam _gmonparam attribute_hidden = { GMON_PROF_OFF };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See profil(2) where this is described:
|
* See profil(2) where this is described:
|
||||||
|
@ -143,7 +143,6 @@ struct gmonparam {
|
|||||||
u_long hashfraction;
|
u_long hashfraction;
|
||||||
long log_hashfraction;
|
long log_hashfraction;
|
||||||
};
|
};
|
||||||
extern struct gmonparam _gmonparam;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Possible states of profiling.
|
* Possible states of profiling.
|
||||||
|
@ -11,5 +11,5 @@ struct __bb;
|
|||||||
extern void __bb_init_func (struct __bb *bb);
|
extern void __bb_init_func (struct __bb *bb);
|
||||||
extern void __bb_exit_func (void);
|
extern void __bb_exit_func (void);
|
||||||
|
|
||||||
|
extern struct gmonparam _gmonparam;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -27,8 +27,6 @@
|
|||||||
#undef __GETDENTS
|
#undef __GETDENTS
|
||||||
#undef DIRENT_TYPE
|
#undef DIRENT_TYPE
|
||||||
|
|
||||||
versioned_symbol (libc, __getdents64, getdents64, GLIBC_2_2);
|
|
||||||
|
|
||||||
#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
|
#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
|
||||||
|
|
||||||
#include <sysdeps/unix/sysv/linux/i386/olddirent.h>
|
#include <sysdeps/unix/sysv/linux/i386/olddirent.h>
|
||||||
@ -39,6 +37,4 @@ versioned_symbol (libc, __getdents64, getdents64, GLIBC_2_2);
|
|||||||
#define kernel_dirent64 old_kernel_dirent64
|
#define kernel_dirent64 old_kernel_dirent64
|
||||||
|
|
||||||
#include <sysdeps/unix/sysv/linux/getdents.c>
|
#include <sysdeps/unix/sysv/linux/getdents.c>
|
||||||
|
|
||||||
compat_symbol (libc, __old_getdents64, getdents64, GLIBC_2_1);
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user