mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
Update.
2002-04-02 Jakub Jelinek <jakub@redhat.com> * inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function. * inet/ether_hton.c (__nss_ethers_lookup): Likewise. * inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise. * sunrpc/netname.c (__nss_publickey_lookup): Likewise. * sunrpc/publickey.c (__nss_publickey_lookup): Likewise. 2002-03-30 Jakub Jelinek <jakub@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown dynamic tags. 2002-03-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/s_fabs.S: New file. * sysdeps/i386/fpu/s_fabsf.S: New file. * sysdeps/i386/fpu/s_fabsl.S: New file. * sysdeps/sparc/sparc64/fpu/s_fabs.c: New file. * sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file. * sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file. 2002-04-02 Ulrich Drepper <drepper@redhat.com> * rt/tst-shm.c (do_test): Add one more test for size of shared memory object. 2002-03-29 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c: Add short description and prototypes for malloc_get_state, malloc_set_state and posix_memalign, for consistency and to avoid warnings with -Wstrict-prototypes. Reported by Andreas Jaeger <aj@suse.de>. 2002-04-02 Ulrich Drepper <drepper@redhat.com> * po/gl.po: Update from translation team.
This commit is contained in:
parent
62097690c6
commit
f7ddf3d3b7
38
ChangeLog
38
ChangeLog
@ -1,3 +1,41 @@
|
||||
2002-04-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function.
|
||||
* inet/ether_hton.c (__nss_ethers_lookup): Likewise.
|
||||
* inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise.
|
||||
* sunrpc/netname.c (__nss_publickey_lookup): Likewise.
|
||||
* sunrpc/publickey.c (__nss_publickey_lookup): Likewise.
|
||||
|
||||
2002-03-30 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown
|
||||
dynamic tags.
|
||||
|
||||
2002-03-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/i386/fpu/s_fabs.S: New file.
|
||||
* sysdeps/i386/fpu/s_fabsf.S: New file.
|
||||
* sysdeps/i386/fpu/s_fabsl.S: New file.
|
||||
* sysdeps/sparc/sparc64/fpu/s_fabs.c: New file.
|
||||
* sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file.
|
||||
* sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file.
|
||||
|
||||
2002-04-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* rt/tst-shm.c (do_test): Add one more test for size of shared
|
||||
memory object.
|
||||
|
||||
2002-03-29 Wolfram Gloger <wg@malloc.de>
|
||||
|
||||
* malloc/malloc.c: Add short description and prototypes for
|
||||
malloc_get_state, malloc_set_state and posix_memalign, for
|
||||
consistency and to avoid warnings with -Wstrict-prototypes.
|
||||
Reported by Andreas Jaeger <aj@suse.de>.
|
||||
|
||||
2002-04-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* po/gl.po: Update from translation team.
|
||||
|
||||
2002-03-31 Roland McGrath <roland@frob.com>
|
||||
|
||||
* hurd/hurdselect.c (_hurd_select): Fix
|
||||
|
@ -59,8 +59,6 @@ elf_get_dynamic_info (struct link_map *l)
|
||||
else if ((Elf32_Word) DT_ADDRTAGIDX (dyn->d_tag) < DT_ADDRNUM)
|
||||
info[DT_ADDRTAGIDX (dyn->d_tag) + DT_NUM + DT_THISPROCNUM
|
||||
+ DT_VERSIONTAGNUM + DT_EXTRANUM + DT_VALNUM] = dyn;
|
||||
else
|
||||
assert (! "bad dynamic tag");
|
||||
++dyn;
|
||||
}
|
||||
#ifndef DL_RO_DYN_SECTION
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996, 1999 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1999, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
@ -30,7 +30,7 @@ typedef int (*lookup_function) (const char *, struct etherent *, char *, int,
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_ethers_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
void **fctp) internal_function;
|
||||
|
||||
|
||||
int
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997, 1999, 2001, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
@ -31,7 +31,7 @@ typedef int (*lookup_function) (const struct ether_addr *, struct etherent *,
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_ethers_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
void **fctp) internal_function;
|
||||
|
||||
|
||||
int
|
||||
|
@ -38,7 +38,7 @@ static struct __netgrent dataset;
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_netgroup_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
void **fctp) internal_function;
|
||||
|
||||
|
||||
/* Set up NIP to run through the services. If ALL is zero, use NIP's
|
||||
|
@ -1190,6 +1190,39 @@ void public_mSTATs(void);
|
||||
void public_mSTATs();
|
||||
#endif
|
||||
|
||||
/*
|
||||
malloc_get_state(void);
|
||||
|
||||
Returns the state of all malloc variables in an opaque data
|
||||
structure.
|
||||
*/
|
||||
#if __STD_C
|
||||
Void_t* public_gET_STATe(void);
|
||||
#else
|
||||
Void_t* public_gET_STATe();
|
||||
#endif
|
||||
|
||||
/*
|
||||
malloc_set_state(Void_t* state);
|
||||
|
||||
Restore the state of all malloc variables from data obtained with
|
||||
malloc_get_state().
|
||||
*/
|
||||
#if __STD_C
|
||||
int public_sET_STATe(Void_t*);
|
||||
#else
|
||||
int public_sET_STATe();
|
||||
#endif
|
||||
|
||||
#ifdef _LIBC
|
||||
/*
|
||||
posix_memalign(void **memptr, size_t alignment, size_t size);
|
||||
|
||||
POSIX wrapper like memalign(), checking for validity of size.
|
||||
*/
|
||||
int __posix_memalign(void **, size_t, size_t);
|
||||
#endif
|
||||
|
||||
/* mallopt tuning options */
|
||||
|
||||
/*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Test program for POSIX shm_* functions.
|
||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
|
||||
|
||||
@ -131,6 +131,7 @@ do_test (void)
|
||||
pid_t pid2;
|
||||
int status1;
|
||||
int status2;
|
||||
struct stat st;
|
||||
|
||||
/* Create the shared memory object. */
|
||||
fd = shm_open ("/shm-test", O_RDWR | O_CREAT | O_TRUNC | O_EXCL, 0600);
|
||||
@ -154,6 +155,12 @@ do_test (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (fstat (fd, &st) == -1 || st.st_size != 4000)
|
||||
{
|
||||
shm_unlink ("/shm-test");
|
||||
error (EXIT_FAILURE, 0, "initial stat failed");
|
||||
}
|
||||
|
||||
/* Spawn to processes which will do the work. */
|
||||
pid1 = fork ();
|
||||
if (pid1 == 0)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
|
||||
|
||||
@ -135,7 +135,7 @@ typedef int (*netname2user_function) (const char netname[MAXNETNAMELEN + 1],
|
||||
uid_t *, gid_t *, int *, gid_t *);
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_publickey_lookup (service_user ** nip, const char *name,
|
||||
void **fctp);
|
||||
void **fctp) internal_function;
|
||||
|
||||
int
|
||||
netname2user (const char netname[MAXNETNAMELEN + 1], uid_t * uidp, gid_t * gidp,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Get public or secret key from key server.
|
||||
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
@ -33,7 +33,7 @@ typedef int (*secret_function) (const char *, char *, const char *, int *);
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_publickey_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
void **fctp) internal_function;
|
||||
|
||||
|
||||
int
|
||||
|
9
sysdeps/i386/fpu/s_fabs.S
Normal file
9
sysdeps/i386/fpu/s_fabs.S
Normal file
@ -0,0 +1,9 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
.text
|
||||
ENTRY(__fabs)
|
||||
fldl 4(%esp)
|
||||
fabs
|
||||
ret
|
||||
END(__fabs)
|
||||
weak_alias (__fabs, fabs)
|
9
sysdeps/i386/fpu/s_fabsf.S
Normal file
9
sysdeps/i386/fpu/s_fabsf.S
Normal file
@ -0,0 +1,9 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
.text
|
||||
ENTRY(__fabsf)
|
||||
flds 4(%esp)
|
||||
fabs
|
||||
ret
|
||||
END(__fabsf)
|
||||
weak_alias (__fabsf, fabsf)
|
9
sysdeps/i386/fpu/s_fabsl.S
Normal file
9
sysdeps/i386/fpu/s_fabsl.S
Normal file
@ -0,0 +1,9 @@
|
||||
#include <sysdep.h>
|
||||
|
||||
.text
|
||||
ENTRY(__fabsl)
|
||||
fldt 4(%esp)
|
||||
fabs
|
||||
ret
|
||||
END(__fabsl)
|
||||
weak_alias (__fabsl, fabsl)
|
5
sysdeps/sparc/sparc64/fpu/s_fabs.c
Normal file
5
sysdeps/sparc/sparc64/fpu/s_fabs.c
Normal file
@ -0,0 +1,5 @@
|
||||
double __fabs (double x)
|
||||
{
|
||||
return __builtin_fabs (x);
|
||||
}
|
||||
weak_alias (__fabs, fabs)
|
5
sysdeps/sparc/sparc64/fpu/s_fabsf.c
Normal file
5
sysdeps/sparc/sparc64/fpu/s_fabsf.c
Normal file
@ -0,0 +1,5 @@
|
||||
float __fabsf (float x)
|
||||
{
|
||||
return __builtin_fabsf (x);
|
||||
}
|
||||
weak_alias (__fabsf, fabsf)
|
5
sysdeps/sparc/sparc64/fpu/s_fabsl.c
Normal file
5
sysdeps/sparc/sparc64/fpu/s_fabsl.c
Normal file
@ -0,0 +1,5 @@
|
||||
long double __fabsl (long double x)
|
||||
{
|
||||
return __builtin_fabsl (x);
|
||||
}
|
||||
weak_alias (__fabsl, fabsl)
|
Loading…
Reference in New Issue
Block a user