glibc/sysdeps/unix
Ulrich Drepper 9c7ff11a5c Update.
2003-06-11  Ulrich Drepper  <drepper@redhat.com>

	* time/tzfile.c: Add a couple of __builtin_expect.

	Remove warnings gcc 3.3 shows.
	* argp/argp-help.c (hol_entry_short_iterate): Don't inline.
	* elf/dl-load.c (fillin_rpath): Likewise.
	(add_path): Likewise.
	* elf/dl-version.c (find_needed): Always inline.
	* elf/do-lookup.c (FCT): Don't inline.
	* iconv/Makefile: Extend vpath to intl subdir.
	(iconvconfig-modules): Add hash-string.
	* iconv/gconv_charset.h (strip): Don't inline.
	(upstr): Always inline.
	Move __gconv_compare_alias prototype to...
	* iconv/gconv_int.h: ...here.
	* iconv/gconv_db.c: Don't include gconv_charset.h.
	* iconv/gconv_conf.c (add_alias): Don't inline.
	(insert_module): Likewise.
	* iconv/gconv_simple.c (internal_ucs4_loop): Always inline.
	(internal_ucs4_loop_unaligned): Likewise.
	(internal_ucs4_loop_single): Likewise.
	(ucs4_internal_loop): Likewise.
	(ucs4_internal_loop_unaligned): Likewise.
	(ucs4_internal_loop_single): Likewise.
	(internal_ucs4le_loop): Always inline.
	(internal_ucs4le_loop_unaligned): Likewise.
	(internal_ucs4le_loop_single): Likewise.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
	(ucs4le_internal_loop_single): Likewise.
	* iconv/loop.c: Always inline the defined functions.
	* iconvdata/cns11642.h: Likewise.
	* iconvdata/cns11642l1.h: Likewise.
	* iconvdata/euc-kr.c: Likewise.
	* iconvdata/gb2312.h: Likewise.
	* iconvdata/jis0201.h: Likewise.
	* iconvdata/jis0208.h: Likewise.
	* iconvdata/jis0212.h: Likewise.
	* iconvdata/jisx0213.h: Likewise.
	* iconvdata/ksc5601.h: Likewise.
	* iconvdata/utf-7.c (base64): Don't inline.
	* include/libc-symbols.h (symbol_set_first_element): Add cast
	(symbol_set_end_p): Likewise.
	* include/set-hooks (RUN_HOOK): Likewise.
	* inet/Makefile (aux): Add ifreq.
	* intl/Makefile (aux): Add some entries from routines.  Add
	hash-string.
	* intl/hash-string.c: New file.
	* intl/hash-string.h: Remove hash_string definition.  Declare
	__hash_string.
	* iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller.
	* iconv/iconvconfig.c (new_name): Likewise.
	* intl/dcigettext.c (_nl_find_msg): Likewise.
	* intl/loadmsgcat.c (_nl_load_domain): Likewise.
	* io/ftw.c (open_dir_stream): Always inline.
	(process_entry): Don't inline.
	* locale/findlocale.c: Include gconv_int.h.
	* locale/setlocale.c (new_composite_name): Don't inline.
	* locale/weight.h (findidx): Always inline.
	* locale/weightwc.h (findidx): Likewise.
	* locale/programs/linereader.c (lr_ignore_rest): Define here.
	* locale/programs/linereader.h (lr_ignore_rest): Don't define here,
	just declare it.
	(lr_getc): Always inline.
	(lr_ungetc): Likewise.
	* nss/nss_files/files-parse.c (parse_list): Likewise.
	* stdio-common/Makefile (aux): Add printf-parsemb and
	printf-parsewc.
	* stdio-common/_itoa.h (_itoa_word): Always inline.
	(_fitoa_word, _fitoa): Don't define here, only declare.
	* stdio-common/_itoa.c (_iftoa_word): Add here.
	(_fitoa): Likewise.
	* stdio-common/_itowa.h (_itowa_word): Always inline.
	* stdio-common/printf-parse.h (read_int): Don't inline.
	(find_spec): Don't define.
	Declare __find_specmb and __find_specwc.
	(parse_one_spec): Don't define.
	Declare __parse_one_specmb and __parse_one_specwc.
	* stdio-common/printf-parsemb.c: New file.
	* stdio-common/printf-parsewc.c: New file.
	* stdio-common/vfprintf.c: Update calls to find_spec and
	parse_one_spec for new names.
	* stdio-common/printf-prs.c: Likewise.  Define DONT_NEED_READ_INT.
	* stdlib/Makefile (aux): Add grouping and groupingwc.
	* stdlib/grouping.c: New file.
	* stdlib/groupingwc.c: New file.
	* stdlib/grouping.h (correctly_grouped_prefix): Don't define here.
	Just prototype.
	* stdlib/rpmatch.c (try): Don't inline.
	* stdlib/strtod.c (round_and_return): Don't line.
	(str_to_mpn): Likewise.
	(__mpn_lshift_1): Always inline.  Optimize only for constant count.
	Adjust for name change of correctly_grouped_prefix.
	* sysdeps/generic/strtol.c: Adjust for name change of
	correctly_grouped_prefix.
	* string/strxfrm.c (utf8_encode): Don't inline.
	* sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp.
	* sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp.
	* sysdeps/generic/ifreq.c: New file.
	* sysdeps/unix/sysv/linux/ifreq.c: New file.
	* sysdeps/generic/ifreq.h (__ifreq): Only declare here.
	* sysdeps/unix/sysv/linux/ifreq.h: Likewise.
	* sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline.
	* sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline.
	(fde_split): Likewise.
	(fde_merge): Likewise.
	(end_fde_sort): Likewise.
	(init_object): Likewise.
	(binary_search_unencoded_fdes): Likewise.
	(binary_search_single_encoding_fdes): Likewise.
	(binary_search_mixed_encoding_fdes): Likewise.
	* sysdeps/generic/wordexp.c (w_addchar): Don't inline.
	* sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline.
	* sysdeps/posix/sprofil.c (profil_count): Don't inline.
	* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
	Add xstatconv.
	* sysdeps/unix/sysv/linux/xstatconv.h: New file.
	* sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function.
	Export them.  Prepend __ to name.
	* sysdeps/unix/sysv/linux/Dist: Add xstatconv.h.
	* sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of
	conversion functions.
	* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max,
	__statfs_filesize_max, __statfs_symlinks): Define here.  __ prepended
	to name.  Change callers.
	* sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max,
	__statfs_filesize_max, __statfs_symlinks): Don't define here, just
	declare.
	* sysdeps/unix/sysv/linux/fpathconf.c: Change all callers.
	* time/tzfile.c (decode): Always inline.
	* wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*.
	Remove cast in tomb function call.
	* wcsmbs/wcsrtombs.c Likewise.
	* wcsmbs/wcstob.c: Introduce new temp variable to take pointer in
	tomb function call.
2003-06-11 23:22:36 +00:00
..
alpha Update. 2003-03-23 19:44:31 +00:00
arm Update. 2003-01-08 00:22:00 +00:00
bsd Update. 2002-12-31 20:46:11 +00:00
common 2003-02-23 Roland McGrath <roland@redhat.com> 2003-02-24 03:51:24 +00:00
i386 Update. 2002-12-31 20:46:11 +00:00
inet Remove __GI_* aliases, already added by make-syscalls.sh. 2003-01-31 03:40:10 +00:00
mips * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on NewABI. (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on NewABI. * sysdeps/mips/mips64/memcpy.S: Adjust register naming conventions. * sysdeps/mips/mips64/memset.S: Likewise. * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: Use t0 instead of t4 as temporary. 2003-04-09 02:51:04 +00:00
mman Update. 2002-12-15 01:00:22 +00:00
powerpc * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros. 2002-09-20 23:46:03 +00:00
sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sparc Update. 2003-03-23 19:44:31 +00:00
sysv Update. 2003-06-11 23:22:36 +00:00
x86_64 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
Dist Update. 2003-02-21 07:07:52 +00:00
Implies initial import 1995-02-18 01:27:10 +00:00
Makefile * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. 2003-05-02 02:21:25 +00:00
Subdirs Update. 1997-08-10 18:37:15 +00:00
_exit.S 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:11 +00:00
alarm.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
clock_gettime.c Update. 2003-03-16 10:16:43 +00:00
clock_nanosleep.c (CPUCLOCK_P): Fix definition. 2003-05-17 02:52:07 +00:00
clock_settime.c Update. 2003-03-16 10:16:43 +00:00
closedir.c (__closedir): Remove __libc_lock_lock call. It is not allowed to destroy pthread mutexes which are still in use even though it is safe for our implementations. If somebody still uses the descriptor it is a bug. 2002-12-10 09:59:25 +00:00
configure Regenerated: autoconf sysdeps/unix/configure.in 2002-11-24 17:39:46 +00:00
configure.in 2002-10-18 Jeff Bailey <jbailey@gnu.org> 2002-10-18 19:38:06 +00:00
confstr.h initial import 1995-02-18 01:27:10 +00:00
dirfd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dirstream.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errnos-tmpl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errnos.awk initial import 1995-02-18 01:27:10 +00:00
execve.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fork.S Update. 2002-12-31 20:46:11 +00:00
fxstat.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
getdents.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getegid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
geteuid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getlogin.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getlogin_r.c Jakub Jelinek <jakub@redhat.com> 2002-10-16 03:03:00 +00:00
getpagesize.c Update. 2002-08-03 07:02:10 +00:00
getppid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grantpt.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
ioctls-tmpl.c initial import 1995-02-18 01:27:10 +00:00
ioctls.awk initial import 1995-02-18 01:27:10 +00:00
make-syscalls.sh 2003-03-26 Roland McGrath <roland@redhat.com> 2003-03-26 22:49:15 +00:00
make_errlist.c Update. 2001-07-08 09:47:01 +00:00
mk-local_lim.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkfifo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nice.c (nice): Use getpriority() for the return value. 2002-09-28 19:13:13 +00:00
opendir.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
readdir.c * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno 2002-08-28 03:26:52 +00:00
readdir_r.c * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno 2002-08-28 03:26:52 +00:00
rewinddir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rmdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s-proto-bp.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. 2003-01-15 22:10:10 +00:00
s-proto-cancel.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d. 2002-12-30 00:12:56 +00:00
s-proto.S Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-19 00:42:21 +00:00
seekdir.c Update. 2001-08-08 02:52:43 +00:00
siglist.c Update. 2002-08-04 23:32:14 +00:00
snarf-ioctls Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sockatmark.c Update. 2001-08-17 07:51:36 +00:00
start.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
stime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
syscall.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
syscalls.list Update. 2003-03-23 19:44:31 +00:00
sysdep.h (__getgroups): Fix the error condition check for the return value of getgroups32. 2003-03-26 18:15:57 +00:00
system.c initial import 1995-02-18 01:27:10 +00:00
telldir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
time.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
utime.c Update. 2002-08-08 07:53:36 +00:00
xmknod.c Update. 2002-08-04 09:27:27 +00:00
xstat.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00