1 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
4 socketpair. Made socketpair a weak alias.
5 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
6 __socketpair. Use S_IFIFO protocol to make pipes POSIX
7 conforming, but fall back on the old protocol if the socket server
9 * include/sys/socket.h: Add prototype for __socketpair.
11 2000-08-09 Andreas Schwab <schwab@suse.de>
13 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
14 long long modifier is seen.
16 * elf/nodelete.c (do_test): Remove reference to undefined member
18 * rt/tst-aio4.c (do_test): Likewise.
20 * configure.in: Add `-lm' when checking for libgd.
21 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
24 2000-08-09 Andreas Jaeger <aj@suse.de>
26 * configure.in: Change required make versions.
28 * manual/install.texi (Tools for Compilation): Document required
30 (Supported Configurations): Update list of supported
33 2000-08-08 Ulrich Drepper <drepper@redhat.com>
35 * locale/linereader.c (get_string): Don't print an error is a string
36 contains an unknown character.
38 2000-08-06 Ulrich Drepper <drepper@redhat.com>
40 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
41 (new_symbol): Take new parameters with name of the symbol.
43 (handle_ellipsis): Don't only allow character symbols.
44 (collate_read): Allow string of collating elements contain invalid
45 characters; ignore entry in this case.
46 Handle ellipsis of collating symbols before first order_start.
47 Allow ellipsis in state 0.
49 2000-08-04 Ulrich Drepper <drepper@redhat.com>
51 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
53 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
55 2000-08-04 Greg McGary <greg@mcgary.org>
57 * posix/regex.c (SET_HIGH_BOUND): New macro.
58 (MOVE_BUFFER_POINTER): Use it.
59 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
60 (EXTEND_BUFFER): Use it.
62 2000-08-03 Ulrich Drepper <drepper@redhat.com>
64 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
65 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
66 _wide_data but from _IO_FILE directly.
67 * libio/iofclose.c: Likewise.
68 * libio/wfileops.c: Likewise.
70 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
71 * libio/libioP.h: Change prototypes.
73 2000-08-03 Greg McGary <greg@mcgary.org>
75 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
76 frame pointer early so that we save caller's frame pointer.
77 * sysdeps/i386/elf/setjmp.S: Likewise.
79 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
80 * io/test-utime.c: Test passing NULL as utimbuf* arg.
82 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
83 (MOVE_BUFFER_POINTER): Handle high_bound properly.
84 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
86 2000-08-03 Ulrich Drepper <drepper@redhat.com>
88 * iconvdata/big5.c: Updated.
89 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
91 2000-08-02 Ulrich Drepper <drepper@redhat.com>
93 * Makeconfig (all-subdirs): Add conform.
94 * conform/Makefile: Include ../Rules.
96 * Makefile (README): Add rules to generate here as well.
98 2000-08-02 Ulrich Drepper <drepper@redhat.com>
100 * version.h (VERSION): Bump to 2.1.92.
102 * sysdeps/ia64/Dist: Add _mcount.S.
104 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
106 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
108 * elf/Makefile (distribute): Add missing modules.
110 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
112 * posix/regex.c (compile_range): Translate range start and end
113 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
115 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
118 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
120 2000-08-02 Andreas Jaeger <aj@suse.de>
122 * elf/elf.h (EM_S390): Added.
123 (R_390_*): New relocs for S390.
125 * sysdeps/unix/sysv/linux/s390/Dist: New file.
126 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
127 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
128 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
129 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
130 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
131 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
132 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
133 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
134 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
135 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
136 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
137 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
138 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
139 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
140 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
141 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
142 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
143 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
144 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
145 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
146 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
147 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
148 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
149 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
150 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
151 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
152 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
153 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
154 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
155 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
156 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
157 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
158 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
159 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
160 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
161 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
162 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
163 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
164 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
165 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
168 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
169 * sysdeps/s390/sysdep.h: New file.
170 * sysdeps/s390/sys/ucontext.h: New file.
171 * sysdeps/s390/sub_n.S: New file.
172 * sysdeps/s390/strncpy.S: New file.
173 * sysdeps/s390/strcpy.S: New file.
174 * sysdeps/s390/stackinfo.h: New file.
175 * sysdeps/s390/setjmp.S: New file.
176 * sysdeps/s390/s390-mcount.S: New file.
177 * sysdeps/s390/mul_1.S: New file.
178 * sysdeps/s390/memusage.h: New file.
179 * sysdeps/s390/memset.S: New file.
180 * sysdeps/s390/memcpy.S: New file.
181 * sysdeps/s390/memchr.S: New file.
182 * sysdeps/s390/machine-gmon.h: New file.
183 * sysdeps/s390/ldbl2mpn.c: New file.
184 * sysdeps/s390/gmp-mparam.h: New file.
185 * sysdeps/s390/fpu/fpu_control.h: New file.
186 * sysdeps/s390/fpu/fesetround.c: New file.
187 * sysdeps/s390/fpu/fegetround.c: New file.
188 * sysdeps/s390/fpu/fclrexcpt.c: New file.
189 * sysdeps/s390/fpu/bits/fenv.h: New file.
190 * sysdeps/s390/ffs.c: New file.
191 * sysdeps/s390/elf/start.S: New file.
192 * sysdeps/s390/elf/setjmp.S: New file.
193 * sysdeps/s390/elf/bsd-setjmp.S: New file.
194 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
195 * sysdeps/s390/dl-machine.h: New file.
196 * sysdeps/s390/bzero.S: New file.
197 * sysdeps/s390/bsd-setjmp.S: New file.
198 * sysdeps/s390/bsd-_setjmp.S: New file.
199 * sysdeps/s390/bits/string.h: New file.
200 * sysdeps/s390/bits/setjmp.h: New file.
201 * sysdeps/s390/bits/huge_val.h: New file.
202 * sysdeps/s390/bits/endian.h: New file.
203 * sysdeps/s390/bits/byteswap.h: New file.
204 * sysdeps/s390/bcopy.S: New file.
205 * sysdeps/s390/backtrace.c: New file.
206 * sysdeps/s390/atomicity.h: New file.
207 * sysdeps/s390/asm-syntax.h: New file.
208 * sysdeps/s390/addmul_1.S: New file.
209 * sysdeps/s390/add_n.S: New file.
210 * sysdeps/s390/abort-instr.h: New file.
211 * sysdeps/s390/__longjmp.c: New file.
212 * sysdeps/s390/Makefile: New file.
213 * sysdeps/s390/Implies: New file.
214 * sysdeps/s390/Dist: New file.
215 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
217 2000-08-01 Ulrich Drepper <drepper@redhat.com>
219 Remove incompatible IPv6 extension of RPC.
220 * sunrpc/Makefile: Undo changes.
221 * sunrpc/rpc_main.c: Likewise.
222 * sunrpc/rpc/clnt.h: Likewise.
223 * sunrpc/rpc/svc.h: Likewise.
224 * sunrpc/bindrsvprt6.c: Removed.
225 * sunrpc/clnt_tcp6.c: Removed.
226 * sunrpc/clnt_udp6.c: Removed.
227 * sunrpc/svc_tcp6.c: Removed.
228 * sunrpc/svc_udp6.c: Removed.
230 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
231 dgettext, and dcgettetxt.
233 * intl/locale.alias: Update japanese aliases.
235 * sysdeps/ia64/bits/byteswap.h: New file.
236 Patch by Dan Pop <Dan.Pop@cern.ch>.
238 * misc/sys/cdefs.h: Define __attribute_format_arg__.
239 * intl/libintl.h: Use it here instead of using __attribute__ directly.
241 2000-07-13 H.J. Lu <hjl@gnu.org>
243 * posix/regex.c (re_max_failures): Set to 4000.
245 2000-08-01 Ulrich Drepper <drepper@redhat.com>
247 * gnulib/Makefile (tests): Add tst-gcc.
248 * gnulib/tst-gcc.c: New file.
250 * assert/Makefile (routines): Add __assert.
251 * assert/Versions: Export __assert for glibc 2.2.
252 * assert/__assert.c: New file.
253 * assert/assert.h: Declare __assert.
255 2000-07-27 Bruno Haible <haible@clisp.cons.org>
257 * locale/localeinfo.h (_ISCTYPE): New macro.
258 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
259 LC_CTYPE locale format.
260 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
261 (ctype_output): Output class_b[nr] right before class_3level[nr].
262 (allocate_arrays): Fill class_b, similarly to class_3level.
264 2000-08-01 Ulrich Drepper <drepper@redhat.com>
265 Joseph S. Myers <jsm28@cam.ac.uk>
267 * math/tgmath.h: Make standard compliant. Don't ask how.
269 2000-07-04 H.J. Lu <hjl@gnu.org>
271 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
272 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
273 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
275 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
277 * include/features.h (_XOPEN_SOURCE): Update the explanation.
278 (__USE_LARGEFILE): Add an explanation.
279 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
280 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
282 2000-08-01 Ulrich Drepper <drepper@redhat.com>
284 * libio/Makefile: Enable exception handling for genops, wgenops,
285 fileops, and wfileops.
287 2000-07-29 Mark Kettenis <kettenis@gnu.org>
289 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
290 acount that elf/rtld's main program might remove some varibales
291 from the environment if we're trying to be secure. Move the Hurd
292 startup data if necessary, or, if we there is no startup data,
293 make sure the magical convention that ARGV[0] is stored just after
294 the environment list.
296 2000-08-01 Philip Blundell <philb@gnu.org>
298 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
299 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
300 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
301 oldsetrlimit for GLIBC_2.0.
303 2000-08-01 Andreas Jaeger <aj@suse.de>
305 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
306 (LINE_PARSER): Allow any number of spaces between ip address and
307 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
309 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
311 * include/netdb.h: Remove getipnodebyaddr and friends, leave
314 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
315 _nss_nisplus_getipnodebyname_r.
317 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
318 now, getipnodebyname is deprecated.
319 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
322 * inet/Makefile (routines): Don't build getipnodebyaddr and
325 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
327 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
329 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
331 * wctype/Makefile (distribute): Add wchar-lookup.h.
333 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
335 * iconvdata/Makefile (distribute): Add isiri-3342.h.
337 2000-08-01 Andreas Schwab <schwab@suse.de>
339 * Make-dist (dist): Resolve `..' in file names.
341 2000-08-01 Andreas Jaeger <aj@suse.de>
343 * stdio-common/Makefile (distribute): Remove removed files, add
346 * Makefile (distribute): Remove include/db_185.h and db.h.
348 * include/db_185.h: Remove, it's not needed anymore.
349 * include/db.h: Likewise.
351 2000-07-31 Ulrich Drepper <drepper@redhat.com>
353 * inet/Makefile (tests): Remove tst-ipnode.
354 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
357 2000-07-31 Jes Sorensen <jes@linuxcare.com>
359 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
360 endp statements have already been added.
362 2000-04-18 David Mosberger <davidm@hpl.hp.com>
364 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
365 <sysdeps/ia64/sysdep.h>.
367 * sysdeps/ia64/_mcount.S: New file.
369 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
370 __gmon_start__. Fix up extraneous whitespace.
372 2000-01-12 H.J. Lu <hjl@gnu.org>
374 * sysdeps/ia64/elf/initfini.c: New file.
376 2000-07-31 Jes Sorensen <jes@linuxcare.com>
378 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
379 dependency between branch and ar.pfs write.
381 2000-07-31 H.J. Lu <hjl@gnu.org>
383 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
384 handle the wchar_t array.
386 2000-07-31 Ulrich Drepper <drepper@redhat.com>
388 * iconvdata/gb18030.c: Don't map to and from positions in ISO
389 10646 which are not yet assigned.
390 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
392 2000-07-31 Andreas Jaeger <aj@suse.de>
394 * inet/Versions: Remove getipnodebyaddr and friends from
397 * resolv/netdb.h: Remove getipnodebyaddr and friends.
399 2000-07-30 Bruno Haible <haible@clisp.cons.org>
401 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
402 ch >= 0x81 && ch2 < 0x40 as invalid.
404 2000-07-30 Bruno Haible <haible@clisp.cons.org>
406 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
407 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
409 2000-07-30 Bruno Haible <haible@clisp.cons.org>
411 * iconvdata/johab.c (BODY for TO_LOOP): After calling
412 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
414 2000-07-30 Bruno Haible <haible@clisp.cons.org>
416 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
418 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
420 2000-07-30 Bruno Haible <haible@clisp.cons.org>
422 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
424 2000-07-30 Bruno Haible <haible@clisp.cons.org>
426 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
427 (from_ucs4): Change values of U+00A4 and U+00ED.
428 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
430 2000-07-30 Bruno Haible <haible@clisp.cons.org>
432 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
433 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
435 2000-07-30 Bruno Haible <haible@clisp.cons.org>
437 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
438 * iconvdata/isiri-3342.h: New file.
439 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
442 2000-07-30 Bruno Haible <haible@clisp.cons.org>
444 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
445 (utf8_encode): Use simple shifts instead. Fix return value.
447 2000-07-31 Ulrich Drepper <drepper@redhat.com>
449 * timezone/private.h: Update from tzcode2000e.
450 * timezone/asia: Update from tzdata2000e.
451 * timezone/australasia: Likewise.
452 * timezone/europe: Likewise.
453 * timezone/northamerica: Likewise.
454 * timezone/zone-tab: Likewise.
456 2000-07-30 Ralf Baechle <ralf@gnu.org>
458 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
459 the order of struct sigaltstack members is different.
461 2000-07-26 Philip Blundell <philb@gnu.org>
463 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
465 2000-07-29 Ulrich Drepper <drepper@redhat.com>
467 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
468 * locale/programs/ld-ctype.c: Adjust for this.
470 * locale/programs/ld-collate.c: Add more alignment checks.
471 * locale/string/strcoll.c: Likewise.
473 2000-07-30 Mark Kettenis <kettenis@gnu.org>
475 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
476 outside USE_IN_LIBIO block.
478 2000-07-26 Philip Blundell <philb@gnu.org>
480 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
481 (elf_machine_rel): Use it for out-of-range PC24 relocs.
483 2000-07-28 Philip Blundell <philb@gnu.org>
485 * math/test-fpucw.c: Ignore reserved bits in control word.
487 2000-07-28 Philip Blundell <philb@gnu.org>
489 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
490 (ret): Redefine to PSEUDO_RET.
491 (PSEUDO): Remove jump to syscall_error.
493 2000-07-29 Mark Kettenis <kettenis@gnu.org>
495 * resolv/README: Add some information about using the resolver in
496 multi-threaded code and with C++. Spelling fixes.
498 2000-07-29 Mark Kettenis <kettenis@gnu.org>
500 * resolv/resolv.h (struct __sockaddr_in): Remove.
501 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
503 2000-07-29 Greg McGary <greg@mcgary.org>
505 * Rules (test-bp-inputs, make-test-out): New variables.
506 ($(objpfx)%-bp.out): New rule.
507 ($(objpfx)%.out): Rewrite in terms of new variables.
509 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
510 internal function that uses vtable.
511 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
512 * libio/vswprintf.c (_IO_vswprintf): Likewise.
514 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
515 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
516 (chunk_align): Likewise.
518 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
519 in a way that conforms to decl, and avoids spurious bounds violation.
521 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
522 * sysdeps/generic/frame.h: Likewise.
523 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
525 (__backtrace): Qualify frame-pointer chain and return address
526 pointers as __unbounded. Wrap bounds around variable `current'.
527 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
529 (catch_segfault): Qualify frame-pointer chain and return address
530 pointers as __unbounded. Wrap bounds around variable `current'.
531 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
532 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
533 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
535 (__backtrace): Qualify frame-pointer chain and return address
536 pointers as __unbounded. Wrap bounds around variable `current'.
538 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
539 * sysdeps/i386/mul_1.S: Likewise.
540 * sysdeps/i386/submul_1.S: Likewise.
541 * sysdeps/i386/i586/addmul_1.S: Likewise.
542 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
543 * sysdeps/i386/i586/submul_1.S: Likewise.
545 2000-07-27 Andreas Jaeger <aj@suse.de>
547 * libio/Depend: New file, libio needs localedata for tests.
548 * posix/Depend: Likewise.
550 2000-07-28 Ulrich Drepper <drepper@redhat.com>
552 * stdio-common/_i18n_itoa.c: Removed.
553 * stdio-common/_i18n_itoa.h: Removed.
554 * stdio-common/_i18n_itowa.c: Removed.
555 * stdio-common/_i18n_itowa.h: Removed.
556 * stdio-common/_i18n_number.h: New file.
557 * stdio-common/Depend: New file.
558 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
559 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
560 printing. Change printing of numbers with locale specific digits to
561 use new code in _i18n_number.h.
562 * stdio-common/Makefile (routines): Remove _i18n_itoa and
565 * stdio-common/bug13.c: Improve messages.
567 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
568 (set_class_defaults): Always search also for Uxxxx names.
569 Detect insufficient number of outdigits.
571 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
573 2000-07-27 Bruno Haible <haible@clisp.cons.org>
575 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
577 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
578 * wctype/wcfuncs.c (towlower, towupper): Use them.
579 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
580 * wctype/wctrans.c (wctrans): Likewise.
581 * wctype/wctrans_l.c (__wctrans_l): Likewise.
583 2000-07-27 Bruno Haible <haible@clisp.cons.org>
585 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
586 Use the optimized version of this function outside glibc as well.
588 2000-07-27 Jakub Jelinek <jakub@redhat.com>
590 * locale/indigits.h (indigit_value): Correct.
591 * locale/indigitswc.h (indigitwc_value): Correct.
592 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
593 conversion, add GROUP checking for it, fix GROUP number
594 conversion with strlen(thousands) > 1.
595 Honour width correctly in the presence of floating
596 decimal points and thousands separators.
597 * stdio-common/tst-sscanf.c: New test.
598 * stdio-common/Makefile: Add it to tests.
599 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
600 thousands separators and group argument is non-zero.
602 2000-07-25 Bruno Haible <haible@clisp.cons.org>
604 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
607 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
609 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
610 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
612 (headers): Add sys/tas.h.
613 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
615 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
616 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
619 2000-07-28 Andreas Jaeger <aj@suse.de>
621 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
623 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
624 ($(objpfx)tst-dladdr.out): new.
625 (tests): Add tst-dladdr.
626 ($(objpfx)glrefmain): Use libdl.
628 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
631 2000-07-27 Jes Sorensen <jes@linuxcare.com>
633 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
636 2000-07-27 Jes Sorensen <jes@linuxcare.com>
638 * intl/tst-translit.c: Include string.h to get prototype for
641 2000-07-27 Jes Sorensen <jes@linuxcare.com>
643 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
644 name and add weak alias for __fork.
646 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
647 & pwrite to use __libc_<name> as strong names instead of
650 * include/sched.h: Add clone2 prototype.
652 2000-07-26 Jes Sorensen <jes@linuxcare.com>
654 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
655 procedure name twice.
657 2000-07-27 Philip Blundell <philb@gnu.org>
659 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
661 2000-07-27 Andreas Jaeger <aj@suse.de>
663 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
664 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
665 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
666 Reported by Andi Kleen <ak@suse.de>.
668 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
669 (do_wait): Test requests with aio_return64.
670 (do_test): Change callers of do_wait.
672 2000-07-26 Andreas Jaeger <aj@suse.de>
674 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
675 (do_wait): Test requests with aio_return.
676 (do_test): Change callers of do_wait.
678 2000-07-27 Ulrich Drepper <drepper@redhat.com>
680 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
681 from request list. Don't do the list handling here, call
682 __aio_remove_request.
683 * rt/aio_misc.h: Add prototype for __aio_remove_request.
684 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
685 request might already be processed. Don't do the list handling
686 here, call __aio_remove_request.
688 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
691 * rt/aio_misc.c: Add comment explaining why writer memory barriers
694 2000-07-27 Greg McGary <greg@mcgary.org>
696 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
697 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
698 in union init. Pass zero for ignored semnum arg to semctl.
699 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
701 2000-07-26 Greg McGary <greg@mcgary.org>
703 * sysdeps/gnu/bits/msq.h: Qualify kernel's
704 data structure pointers as __unbounded.
705 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
706 * sysdeps/generic/bp-semctl.h: New file.
707 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
708 pointers as __unbounded. Check bounds of syscall args.
709 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
710 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
711 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
712 * sysdeps/unix/sysv/linux/semop.c: Likewise.
713 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
714 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
715 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
716 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
717 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
718 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
719 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
720 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
721 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
722 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
723 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
726 2000-07-26 Ulrich Drepper <drepper@redhat.com>
728 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
730 * locale/C-ctype.c: Likewise.
731 * wcsmbs/wcsmbsload.c: Likewise.
733 2000-07-26 Greg McGary <greg@mcgary.org>
735 * Makeconfig (+link-bounded, link-libc-bounded,
736 link-extra-libs-bounded): New variables.
737 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
738 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
739 * Rules (tests-bp.out): New variable.
740 (tests): Conditionally add BP tests.
741 (binaries-bounded): Add variable and associated rule.
742 * csu/Makefile [build-bounded] (extra-objs, install-lib):
743 Move conditional stuff after place where condition is defined.
745 * malloc/malloc.c (bp-checks.h): Add #include.
746 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
747 (_bin_at): Add unbounded version of bin_at.
748 (IAV, chunk_alloc): Use unbounded _bin_at.
749 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
750 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
751 Wrap BOUNDED_N around return value.
752 (chunk_realloc): Adjust oldsize once.
754 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
755 (__ubp_memchr): Add correct decl.
756 (_CHECK_STRING): Use __ubp_memchr.
757 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
758 New alias for unbounded-pointer __memchr.
759 * sysdeps/i386/memchr.S: Likewise.
760 * sysdeps/ia64/memchr.S: Likewise.
761 * sysdeps/m68k/memchr.S: Likewise.
762 * sysdeps/sparc/sparc32/memchr.S: Likewise.
763 * sysdeps/sparc/sparc64/memchr.S: Likewise.
764 * sysdeps/vax/memchr.s: Likewise.
766 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
767 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
768 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
769 * sysdeps/i386/i686/strtok.S: Likewise.
770 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
771 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
773 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
774 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
776 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
777 bounds of copy_result to mount_proc.
779 2000-07-25 Bruno Haible <haible@clisp.cons.org>
781 * wctype/wctype.h (__wctrans_l): New declaration.
782 * wctype/wctrans_l.c: New file.
783 * wctype/Makefile (routines): Add wctrans_l.
785 2000-07-26 Ulrich Drepper <drepper@redhat.com>
787 * posix/fnmatch_loop.c: Fixes for use outside glibc.
788 Patch by MacGyver <macgyver@tos.net>.
790 2000-07-26 Andreas Jaeger <aj@suse.de>
792 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
793 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
794 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
796 * rt/tst-aio.c (test_file): Fix typo.
797 * rt/tst-aio64.c (test_file): Likewise.
799 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
800 * rt/Makefile: Add rules to build and run tst-aio3.
802 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
803 it's not needed and confuses only.
805 2000-07-26 Ulrich Drepper <drepper@redhat.com>
807 * resolv/res_init.c: Add support for nameserver communication with
809 * resolv/res_send.c: Likewise.
810 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
812 Patch by <venaas@nvg.ntnu.no>.
814 2000-07-25 Bruno Haible <haible@clisp.cons.org>
816 * locale/programs/ld-ctype.c (wctype_table_get): New function.
817 (wcwidth_table_get): New function.
818 (wcwidth_table_add): Call it.
819 (wctrans_table_get): New function.
820 (wctrans_table_add): Call it.
822 2000-07-25 Ulrich Drepper <drepper@redhat.com>
824 * rt/lio_listio.c (lio_listio): Always disable individual
826 * rt/Makefile: Add rules to build and run tst-aio2.
827 * rt/tst-aio2.c: New file.
829 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
830 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
832 2000-07-25 Mark Kettenis <kettenis@gnu.org>
834 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
835 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
836 leading and trailing spaces from host, user and domain name.
838 2000-07-25 Jes Sorensen <jes@linuxcare.com>
840 * csu/defs.awk: Add support for need_endp.
842 2000-07-25 Mark Kettenis <kettenis@gnu.org>
844 * resolv/resolv.h: Remove __P from res_send_qhook and
845 res_send_rhook typedefs.
847 2000-07-25 Bruno Haible <haible@clisp.cons.org>
849 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
851 2000-07-25 Ulrich Drepper <drepper@redhat.com>
853 * iconv/gconv_builtin.h: Add WCHAR_T alias.
855 2000-07-25 Mark Kettenis <kettenis@gnu.org>
857 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
858 calling thread, set the cancellation flag and return success
861 2000-07-25 Ulrich Drepper <drepper@redhat.com>
863 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
864 * libio/tst-widetext.c: New file.
865 * libio/tst-widetext.input: New file.
867 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
869 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
870 empty external buffer correctly.
872 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
874 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
875 __STRING(entry) and not #entry.
876 (_RTLD_EPILOGUE): Likewise.
877 * sysdeps/mips/mips64/dl-machine.h: Likewise.
879 2000-07-25 Andreas Jaeger <aj@suse.de>
881 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
882 according to changes in test program, run also with static only
884 ($(objpfx)tst-printf.out): Likewise.
886 * stdio-common/tst-unbputc.sh: Likewise.
887 * stdio-common/tst-printf.sh: Likewise.
889 2000-07-25 Ulrich Drepper <drepper@redhat.com>
891 * libio/wfileops.c (_IO_wdo_write): Correct return value.
893 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
896 * libio/fileops.c: Pretty print.
898 2000-07-23 Bruno Haible <haible@clisp.cons.org>
900 * wctype/wchar-lookup.h: New file.
901 * wctype/iswctype.c: Include "wchar-lookup.h".
902 (__iswctype): Support alternate locale format with 3-level tables.
903 * wctype/iswctype_l.c (__iswctype_l): Likewise.
904 * wctype/towctrans.c (__towctrans): Likewise.
905 * wctype/towctrans_l.c (__towctrans_l): Likewise.
906 * wctype/wcfuncs.c: Include "wchar-lookup.h".
907 (__ctype32_wctype, __ctype32_wctrans): Declare external.
908 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
909 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
910 __iswxdigit, towlower, towupper): Support alternate locale format
912 * wctype/wcextra.c (iswblank): Likewise.
913 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
914 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
915 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
916 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
917 format with 3-level tables.
918 * wctype/wcextra_l.c (__iswblank_l): Likewise.
919 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
920 format, return a 3-level table pointer.
921 * wctype/wctype_l.c (__wctype_l): Likewise.
922 * wctype/wctrans.c (wctrans): Likewise.
923 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
924 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
925 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
926 (iswctype): Remove macro definition.
927 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
928 (internal_wcwidth): Support alternate locale format with 3-level
930 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
932 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
933 Define them as being type "word".
934 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
935 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
936 __ctype32_width): New exported variables.
937 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
938 alternate locale format. Don't initialize __ctype_names and
939 __ctype_width in the alternate locale format.
940 * locale/programs/localedef.h (oldstyle_tables): New declaration.
941 * locale/programs/localedef.c (oldstyle_tables): New variable.
942 (OPT_OLDSTYLE): New macro.
943 (options): Add --old-style option.
944 (parse_opt): Handle --old-style option.
945 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
946 map_offset, class_3level, map_3level, width_3level members.
947 (ctype_output): Support for alternate locale format: Computation of
948 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
949 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
950 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
951 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
952 now contain both class and map tables.
953 (struct wctype_table): New type.
954 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
956 (struct wcwidth_table): New type.
957 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
959 (struct wctrans_table): New type.
960 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
962 (allocate_arrays): Support for alternate locale format: Set
963 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
964 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
965 to the first 256 characters. Compute ctype->map_3level. Set
966 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
967 instead of ctype->width.
969 2000-07-24 Ulrich Drepper <drepper@redhat.com>
971 * libio/iogetwline.c (_IO_getwline_info): Use wide character
974 2000-07-24 Jakub Jelinek <jakub@redhat.com>
976 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
977 in wide characters, not bytes.
978 * libio/tst_putwc.c (do_test): Add test for writing lots of data
981 2000-07-22 Bruno Haible <haible@clisp.cons.org>
983 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
984 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
985 LC_MEASUREMENT, LC_IDENTIFICATION.
987 * locale/xlocale.h (struct __locale_struct): Increase size of
989 * locale/duplocale.c (__duplocale): Copy newly added categories as
991 * locale/freelocale.c (__freelocale): Free newly added categories.
992 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
993 If a base is given, use it, don't simply return it.
995 2000-07-22 Bruno Haible <haible@clisp.cons.org>
997 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
998 variables, copied_key and copied_salt, instead of boolean variables.
1000 2000-07-24 Andreas Jaeger <aj@suse.de>
1002 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
1005 * grp/initgroups.c (initgroups_dyn_function): Renamed from
1006 initgroups_function, adopted prototype for change from 2000-07-23.
1007 (initgroups): Follow type change.
1009 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
1010 & PAGE_MASK case, reformat.
1012 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
1013 from stdin and setup environment.
1015 2000-07-24 Andreas Schwab <schwab@suse.de>
1017 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
1019 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1021 * string/endian.h: Explain the _*_ENDIAN constant values a bit
1022 more. Patch by scarlet@mit.edu [PR libc/1799].
1024 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
1027 * argp/argp-parse.c (parser_finalize): Reverse order in which
1028 parsers are run for ARGP_KEY_END. [PR libc/1755].
1030 * grp/initgroups.c (initgroups): Don't limit the possible number
1031 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
1032 the setgroups call while the call fails and descrease the number
1033 of groups each round.
1034 The name of the initgroups function in the NSS modules changed.
1035 (compat_call): Adapt for dynamic resizing.
1036 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1037 Implement dynamic resizing.
1038 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1040 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
1041 * hesiod/Versions: Change exported interface name.
1042 * nis/Versions: Change exported interface name.
1044 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1046 * locale/iso-639.def: Some errors corrected.
1047 Patch by Keld Simonsen.
1049 * include/limits.h: Update non-gcc portion.
1050 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1052 2000-07-22 Mark Kettenis <kettenis@gnu.org>
1054 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
1055 program's data space, reallocate only the space that was just
1056 deallocated to release its backing space.
1058 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1060 * stdio-common/vfprintf.c (process_string_arg): For wide character
1061 version, handle precision also correctly.
1063 * nss/nss_files/files-hosts.c: Correct problem with three or more
1064 entries with the same name.
1066 * nss/nss_files/files-hosts.c: Implement multi handling.
1067 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
1069 2000-07-22 Ulrich Drepper <drepper@redhat.com>
1071 * nss/nss_files/files-parse.c: Don't pollute namespace by using
1074 * grp/Makefile: Change Makefiles and tests to run only when necessary.
1075 * malloc/Makefile: Likewise.
1076 * malloc/tst-mtrace.sh: Likewise.
1077 * posix/Makefile: Likewise.
1078 * posix/globtest.sh: Likewise.
1079 * posix/wordexp-tst.sh: Likewise.
1080 * string/Makefile: Likewise.
1082 2000-07-22 Mark Kettenis <kettenis@gnu.org>
1084 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
1085 size instead of LC_ALL to take into account the new locale
1088 2000-07-22 Ulrich Drepper <drepper@redhat.com>
1090 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
1091 remainders of hash table.
1092 * locale/categories.def: Remove remainders of transliteration
1094 * locale/langinfo.h: Likewise.
1095 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
1096 transliteration tables.
1098 * locale/gen-translit.pl: New file.
1099 * locale/C-translit.h.in: New file.
1100 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
1101 data pointers with data from this file.
1102 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
1103 and gen-translit.pl.
1104 Add rule to generate C-translit.h.
1105 * intl/tst-translit.c (main): Update for now performed
1108 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
1109 (it's no input error).
1110 * stdio-common/tstscanf.c: Add test case for format %f with input --.
1111 * stdio-common/scanf12.c: Correct expected result for first scanf.
1113 * stdio-common/vfprintf.c (process_string_arg): Correct handling
1114 of multibyte character strings in %s format with precision.
1116 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1118 * locale/programs/ld-collate.c (collate_read): Allow collating
1119 symbols and elements be named in reorder-after instructions.
1120 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1122 * locale/programs/ld-collate.c (handle_ellipsis): Test for
1123 duplication with generated name, not the name of the first
1125 Patch by Yong Li <yong.li@asu.edu>.
1127 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
1128 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1130 2000-07-21 Wolfram Gloger <wg@malloc.de>
1132 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
1133 allocations only if a non-main arena cannot be extended.
1135 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1137 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
1138 in DF_1_NODEFLIB handling.
1140 2000-07-21 Andreas Jaeger <aj@suse.de>
1142 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
1145 * libio/fwide.c: Include <wchar.h> for prototype.
1147 2000-07-21 Greg McGary <greg@mcgary.org>
1149 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
1150 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
1151 Define in terms of chunk_at_offset.
1152 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
1153 (next_bin, prev_bin): offset by size of real array elements.
1154 (chunk_align): Make `m' a scalar, since that's how it's used.
1156 2000-07-21 Greg McGary <greg@mcgary.org>
1158 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
1160 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
1161 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
1162 Wrap bounds around argv & envp and each of their string members.
1163 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
1164 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
1165 symbol in BP_SYM (). Discard bounds of address arg.
1166 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
1168 Discard bounds on address arg, add bounds to return value.
1170 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1172 * elf/Makefile (tests): Add filter. Add rules to generate filter.
1173 * elf/filter.c: New file.
1174 * elf/filtmod1.c: New file.
1175 * elf/filtmod2.c: New file.
1177 * elf/rtld.c: Define _dl_bind_not variable.
1178 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
1179 * elf/dl-support.c: Likewise.
1180 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
1181 * elf/dl-runtime.c (fixup): Don't remember looked up value if
1183 (profile_fixup): Likewise.
1185 * libio/Makefile (routines): Add fwide.
1186 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
1187 fwide now. Internal calls to _IO_fwide must do locking themselves
1188 or don't need locking.
1189 * libio/fwide.c: New file.
1191 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
1193 * elf/Makefile: Add no modules for nodelete test.
1194 * elf/nodelmod3.c: New file.
1195 * elf/nodelmod4.c: New file.
1196 * elf/nodelete.c: Also test case where dependency of dlopen() object
1199 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
1200 * elf/nodlopen.c: New file.
1201 * elf/nodlopenmod.c: New file.
1202 * include/dlfcn.h: Define __RTLD_DLOPEN.
1203 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
1204 and this is a dlopen() call, do not load the binary.
1205 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
1206 * dlfcn/dlopenold.c: Likewise.
1207 * configure.in: Add test for -z nodelete option.
1208 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1210 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1212 Make Hesiod NSS module thread-safe.
1214 * hesiod/README.hesiod: Update.
1216 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1217 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1218 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1219 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1221 * hesiod/nss_hesiod/hesiod-init.c: New file.
1222 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1223 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1224 * hesiod/nss_hesiod/nss_hesiod.h: New file.
1225 * hesiod/nss_hesiod/hesiod-service.c
1226 (_nss_hesiod_getservbyport_r): New function. Provide support for
1227 looking up services by port number.
1228 * hesiod/nss_hesiod/hesiod-proto.c: New file.
1230 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1231 * hesiod/hesiod.h: Likewise.
1232 * hesiod/hesiod_p.h: Likewise.
1234 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1236 Fix problems with `struct __res_state' getting too big.
1237 * resolv/resolv.h (struct __sockaddr_in): New definition.
1238 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1239 the private parts of the structure to save some space.
1240 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1241 (struct sockaddr_in *) in call to sock_eq.
1242 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1244 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1246 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1247 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1249 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1250 to _dl_map_object. Return immediately if no object loaded.
1251 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1252 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1253 if it exists into l_flags_1 word.
1254 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1255 it to determine whether loading is wanted or not.
1256 (_dl_map_object): Likewise.
1257 Call _dl_map_object_from_fd with new parameter.
1258 * sysdeps/generic/ldsodefs.h: Update prototype.
1259 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1260 * elf/rtld.c: Likewise.
1261 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1262 * elf/Makefile (tests): Add noload. Add rules to generate noload.
1263 * elf/noload.c: New file.
1264 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1265 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1266 * sysdeps/mips/bits/dlfcn.h: Likewise.
1267 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1268 (tests-nodelete-yes): Define.
1269 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1270 Add rules to build nodelete and modules.
1271 * elf/nodelete.c: New file.
1272 * elf/nodelmod1.c: New file.
1273 * elf/nodelmod2.c: New file.
1274 * configure.in: Add test for -z nodelete option.
1275 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1277 * libio/Makefile (tests): Add tst_wprintf2.
1278 (tst_wprintf2-ARGS): Define.
1279 * libio/tst_wprintf2.c: New file.
1280 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1282 * libio/wfiledoalloc.c: Only allocate external buffer if this
1283 hasn't happened yet.
1285 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1286 something in the buffer. gconv call can write up to end of the
1287 buffer, not only _IO_write_end.
1288 (_IO_wfile_overflow): Allocate also external buffer.
1290 2000-07-19 Ulrich Drepper <drepper@redhat.com>
1292 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1293 strings with precision in vfwprintf correctly.
1294 * stdio-common/vfprintf.c: Fix completely broken handling of
1295 unbuffered wide character streams.
1296 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1298 * resolv/Makefile (distribute): Add README.
1300 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
1302 2000-07-18 Mark Kettenis <kettenis@gnu.org>
1304 Update resolver code to BIND 8.2.3-T5B.
1306 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1308 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1309 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1311 * resolv/Banner: BIND-8.2.3-T5B.
1313 * resolv/base64.c: Update from BIND 8.2.3-T5B.
1314 * resolv/herror.c: Likewise.
1315 * resolv/inet_addr.c: Likewise.
1316 * resolv/inet_net_ntop.c: Likewise.
1317 * resolv/inet_net_pton.c: Likewise.
1318 * resolv/inet_neta.c: Likewise.
1319 * resolv/inet_ntop.c: Likewise.
1320 * resolv/nsap_addr.c: Likewise.
1321 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
1322 IPv6 addresses (ISC bug #520).
1324 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
1325 * resolv/ns_parse.c: Likewise.
1326 * resolv/ns_netint.c: Likewise.
1327 * resolv/ns_samedomain.c: Likewise.
1328 * resolv/ns_ttl.c: Likewise.
1329 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
1330 RCS ID in object file.
1332 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
1333 * resolv/res_mkquery.c: Likewise.
1334 * resolv/res_query.c: Likewise.
1335 * resolv/res_init.c: Likewise.
1336 (res_setoptions): Mark internal.
1337 * resolv/res_send.c: Likewise.
1338 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
1339 by using poll instead.
1340 * resolv/res_comp.c: Likewise.
1341 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
1342 weak alias for __dn_expand.
1343 * resolv/res_data.c: Likewise.
1344 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
1345 in _res.options. Avoids a potential security risk by avoiding a
1347 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
1348 res_mkquery, res_query, res_querydomain adn res_search weak
1349 aliases for __res_mkquery, __res_query, __res_querydomain and
1351 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
1352 instead to avoid close(0).
1353 (res_init): Always use the static resolver context.
1354 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
1355 alias for __res_init.
1357 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
1358 RES_SET_H_ERRNO and accompanying comment to...
1359 * include/resolv.h: ... here.
1361 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
1362 * resolv/arpa/nameser_compat.h: Likewise.
1364 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1366 * nss/makedb.c (main): Compare result of load_db with
1367 NSS_STATUS_SUCCESS and not 0.
1368 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
1370 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
1372 2000-07-18 Greg McGary <greg@mcgary.org>
1374 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
1375 (EXTEND_BUFFER): Use it.
1377 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1379 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1380 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1381 __builtin_return_address.
1382 * dlfcn/dlopenold.c: Likewise.
1383 * dlfcn/dlsym.c: Likewise.
1384 * dlfcn/dlvsym.c: Likewise.
1385 * elf/dl-profstub.c: Likewise.
1386 * malloc/malloc.c: Likewise.
1387 * sysdeps/generic/machine-gmon.h: Likewise.
1388 Based on a patch by schwidefsky@de.ibm.com.
1390 2000-07-18 Andreas Jaeger <aj@suse.de>
1392 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1393 NULL to elf_machine_fixup_plt t argument to silence GCC.
1395 * include/string.h: Add prototype for __memchr.
1397 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1399 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1402 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1404 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1406 * locale/C-ctype.c: Add initializers for gap elements.
1407 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1410 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1412 * nscd/nscd.c (print_version): Update copyright year.
1414 2000-07-17 Greg McGary <greg@mcgary.org>
1416 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1417 keyletters F, I, S, W. Remove unused keyletter V. Surround
1418 signature argnames with angle-brackets for use as word delimiters,
1419 and to induce syntax errors for any args not handled. Split
1420 multi-echo echoes and comment each stage.
1421 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1422 * sysdeps/unix/inet/syscalls.list: Likewise.
1423 * sysdeps/unix/mman/syscalls.list: Likewise.
1424 * sysdeps/unix/syscalls.list: Likewise.
1425 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1426 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1427 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1428 * sysdeps/unix/sysv/syscalls.list: Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1431 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1432 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1433 qualifiers. Don't check NULL-terminator of argv & envp.
1434 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1435 unbounded pointer type in word-size assertion.
1436 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1437 cases to stifle warnings.
1439 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1441 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1443 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1444 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
1447 * Makerules (o-objects): Supplement with $(o-objects$o).
1448 * string/Makefile (o-objects.ob): Add variable to pull
1449 unbounded versions of memcpy, memset and memchr into libc_b.
1451 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1452 rather than non-existent __ubp_memchr.
1453 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1454 (_CHECK_STRING, _CHECK_N): New macros.
1455 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1456 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1457 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1458 Add weak alias "memchr".
1459 * sysdeps/generic/memchr.c: Likewise.
1460 * sysdeps/i386/memchr.S: Likewise.
1461 * sysdeps/ia64/memchr.S: Likewise.
1462 * sysdeps/m68k/memchr.S: Likewise.
1463 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1464 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1465 * sysdeps/vax/memchr.s: Likewise.
1467 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1469 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1470 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1471 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1472 __BOUNDED_POINTERS__.
1473 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1474 for __BOUNDED_POINTERS__.
1476 2000-07-17 Bruno Haible <haible@clisp.cons.org>
1478 * iconv/gconv_open.c (__gconv_open): Initialize the __data
1479 field of struct __gconv_trans_data differently. Don't pass NULL to
1480 trans_init_fct. Simplify list append operation.
1482 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1484 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1485 not only those having tsearch.
1487 2000-07-17 Ulrich Drepper <drepper@redhat.com>
1489 * locale/langinfo.h: Add placeholder values in enum for removed
1492 2000-07-17 Jakub Jelinek <jakub@redhat.com>
1494 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1495 chain if the PHDR check fails.
1497 2000-07-17 Mark Kettenis <kettenis@gnu.org>
1499 * nss/getent.c (print_hosts): Make sure we always print a space
1500 between numeric addresses and hostnames.
1502 2000-07-17 Wolfram Gloger <wg@malloc.de>
1504 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1505 i.e. if n_mmaps_max>0.
1507 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1509 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1510 values to remove possible clash with other AI_* constants.
1511 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1512 hexadecimal constants to stress the fact they're in fact
1515 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1517 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1518 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1519 instead of res_init.
1521 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1523 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1524 parameters of memset calls to avoid warnings.
1526 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1528 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1531 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1532 Patch by Greg McGary <greg@mcgary.org>.
1534 * io/Makefile (tests): Add tst-getcwd.
1535 * io/tst-getcwd.c: New file.
1537 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1539 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1541 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1544 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1546 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1547 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1549 2000-07-12 H.J. Lu <hjl@gnu.org>
1551 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1553 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1554 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1555 (sysdep-routines): Add clone2.
1556 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1558 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1560 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1561 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1563 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1565 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1566 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1567 Change type of si_band from "int" to "long".
1568 (si_imm) [USE_GNU]: Define
1569 (si_isr) [USE_GNU]: Ditto.
1570 (ILL_BREAK) [USE_GNU]: Ditto.
1571 (FPE_DECOVF) [USE_GNU]: Ditto.
1572 (FPE_DECDIV) [USE_GNU]: Ditto.
1573 (FPE_DECERR) [USE_GNU]: Ditto.
1574 (FPE_INVASC) [USE_GNU]: Ditto.
1575 (FPE_INVDEC) [USE_GNU]: Ditto.
1576 (TRAP_BRANCH) [USE_GNU]: Ditto.
1577 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1579 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1581 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1582 bits/sigcontext as struct mcontext does not depend on it.
1584 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1586 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1588 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1590 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1592 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1594 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1596 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1598 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1600 * intl/Makefile (test-srcs): Add tst-translit.
1602 Add rules to build and run tst-translit.
1603 * intl/tst-translit.c: New file.
1604 * intl/tst-translit.sh: New file.
1605 * intl/translit.po: New file.
1607 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1609 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1610 transliteration function did its job, continue, don't stop.
1612 * iconvdata/iso646.c: Little optimizations in body for conversion
1615 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1617 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1619 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1621 * configure.in: Check for pwd binary.
1622 * config.make.in: Add PWD_P to be subsituted.
1623 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1625 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1627 * iconvdata/Makefile (modules): Add GB18030.
1628 (distribute): Add gb18030.c.
1629 * iconvdata/gconv-modules: Add entries for GB18030 module.
1630 * iconvdata/gb18030.c: New file.
1631 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1634 2000-07-13 Andreas Jaeger <aj@suse.de>
1636 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1639 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1640 * inet/getnetgrent.c (free_mem): Likewise.
1641 * misc/mntent.c (free_mem): Likewise.
1642 * nss/getXXbyYY.c (free_mem): Likewise.
1643 * nss/getXXent.c (free_mem): Likewise.
1644 * pwd/fgetpwent.c (free_mem): Likewise.
1645 * shadow/fgetspent.c (free_mem): Likewise.
1647 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1649 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1650 64-bit architecture correctly [PR libc/1794].
1652 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1654 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1655 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1656 report that we are out of memory.
1657 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1658 * elf/dl-libc.c (dlerror_run): Likewise.
1659 * elf/dl-open.c (_dl_open): Likewise.
1660 * elf/rtld.c (dl_main): Likewise.
1661 * elf/dl-error.c: Define _dl_out_of_memory.
1662 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1664 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1667 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1669 * iconv/loop.c: Fix comment.
1671 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1673 2000-07-13 Andreas Jaeger <aj@suse.de>
1675 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1676 getcwd (NULL, size) with size > 0.
1677 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1679 2000-07-13 Andreas Jaeger <aj@suse.de>
1681 * posix/Makefile: Remove build rules for libposix.
1683 2000-07-13 Andreas Schwab <schwab@suse.de>
1685 * sysdeps/generic/glob.c (glob): Fix memory leak.
1686 [SHELL]: Remove reference to undefined variable `files'.
1689 2000-07-13 Andreas Jaeger <aj@suse.de>
1691 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1694 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1695 memory if it was allocated.
1697 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1699 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1702 * iconv/gconv_open.c (__gconv_open): Reapply
1703 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1705 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1707 * iconv/gconv_open.c: Undo last two changes for now. They break
1710 2000-07-12 Andreas Jaeger <aj@suse.de>
1712 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1714 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1715 (CFLAGS-dl-cache.c): Likewise.
1716 (CFLAGS-ldconfig.c): Added, passes directory locations.
1718 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1720 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1721 (main): Use configured LIBDIR and SLIBDIR.
1723 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1725 * math/bits/cmathcalls.h (cimag): Add __THROW.
1726 (creal, conj): Likewise.
1727 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1730 2000-07-12 H.J. Lu <hjl@gnu.org>
1732 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1733 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1735 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1737 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1740 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1742 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1744 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1746 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1749 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1751 * iconv/gconv_open.c (__gconv_open): Initialize
1752 result->__steps[cnt].__data.
1754 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1756 * nss/getent.c (services_keys): Pass port number in network byte
1757 order in call to getservbyport.
1759 2000-07-11 Andreas Jaeger <aj@suse.de>
1761 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1763 * intl/Makefile (do-gettext-test): Likewise.
1764 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1766 2000-07-11 Andreas Schwab <schwab@suse.de>
1768 * Makeconfig (run-program-prefix): New rule.
1769 (built-program-cmd): Use run-program-prefix.
1771 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1773 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1774 and NOEXPR unconditionally available.
1776 2000-07-12 Greg McGary <greg@mcgary.org>
1778 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1779 * sysdeps/posix/open64.c: Likewise.
1780 * sysdeps/generic/fegetenv.c: Likewise.
1781 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1782 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1783 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1784 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1785 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1786 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1788 2000-07-11 Greg McGary <greg@mcgary.org>
1790 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1791 Add extra level of macro expansion.
1792 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1793 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1794 is available at the time `select' prototype is declared.
1795 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1796 Collect non-versioned weak aliases. Consider only non-versioned
1797 aliases for the user-visible systemcall name. Do checks inline with
1798 call to primitive system call.
1799 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1800 stand-alone bounds checks to suppress unused value warnings.
1801 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1803 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1805 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1806 file descriptor checking in SUID programs for the Hurd.
1808 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1809 res_hostalias instead of __hostalias for thread-safety.
1811 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1813 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1814 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1816 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1818 * include/features.h: Include ISO C99 features if the compiler used
1819 is an ISO C99 compiler.
1820 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1822 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1824 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1826 2000-07-10 Andreas Jaeger <aj@suse.de>
1828 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1829 it's overridden by libpthreads.
1830 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1831 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1832 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1836 * malloc/Makefile: Run tst-mtrace only with shared libs.
1838 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1841 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1843 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1844 that gpreg really points to the GOT section of the calling object.
1845 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1846 checking a start address of first one.
1848 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1851 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1853 2000-07-10 Andreas Jaeger <aj@suse.de>
1855 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1856 (string_alias->strong_alias).
1858 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1860 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1862 2000-07-07 Greg McGary <greg@mcgary.org>
1864 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1865 have no names without leading underscores.
1867 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1869 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1872 * stdio-common/Makefile (tests): Remove tst-printf here...
1873 (tests-srcs): ...and add it here.
1874 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1875 Add rules to run tst-printf.sh.
1876 * stdio-common/tst-printf.c: Move code around so that there is really
1877 no further output where it's stated.
1878 * stdio-common/tst-printf.sh: New file.
1880 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1882 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1883 (do_write): Renamed from pwrite.
1884 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1885 `struct _IO_cookie_file'.
1887 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1889 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1891 * malloc/tst-mtrace.sh: Run mtrace script.
1893 2000-07-07 Greg McGary <greg@mcgary.org>
1895 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1896 Move all three components of a bounded pointer.
1898 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1900 * locale/programs/locale.c (write_locales): Don't simply add all
1901 directories found in the subdir, test whether at least the
1902 LC_CTYPE file is in there.
1904 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1906 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1907 * iconvdata/euc-kr.c: Likewise.
1909 * stdio-common/vfprintf.c (process_string_arg): Check result of
1910 wcrtomb call and bail out if it failed.
1912 * malloc/Makefile (test-srcs): Add tst-mtrace.
1913 (distribute): Add tst-mtrace.sh.
1914 Add rule to run tst-mtrace.sh.
1915 * malloc/tst-mtrace.c: New file.
1916 * malloc/tst-mtrace.sh: New file.
1918 * include/signal.h: Declare __libc_sigaction.
1919 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1920 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1921 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1922 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1923 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1924 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1927 * configure.in: Fix CFLAGS-memprofstat.c definition after
1929 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1931 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1934 instead of NULL to elf_machine_fixup_plt t argument.
1935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1939 2000-07-06 Andreas Jaeger <aj@suse.de>
1941 * crypt/Makefile (LDLIBS-cert): Removed.
1942 (LDLIBS-md5c-test): Removed.
1943 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1944 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1946 2000-07-06 Andreas Jaeger <aj@suse.de>
1948 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1949 of the proc system is "proc".
1951 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1952 thread library for static programs.
1954 2000-07-06 Greg McGary <greg@mcgary.org>
1956 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1958 * sysdeps/generic/strcpy.c: Add bounds checks.
1959 * sysdeps/unix/fxstat.c: Likewise.
1960 * sysdeps/unix/xstat.c: Likewise.
1961 * sysdeps/unix/common/lxstat.c: Likewise.
1962 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1963 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1964 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1965 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1966 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1967 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1968 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1969 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1970 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1971 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1972 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1973 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1974 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1975 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1976 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1977 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1978 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1979 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1980 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1981 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1982 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1983 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1984 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1985 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1986 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1987 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1988 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1989 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1990 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1991 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1992 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1993 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1994 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1995 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1996 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1997 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1998 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1999 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2000 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2001 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2003 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2004 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2005 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2006 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
2007 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
2008 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2009 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
2010 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2011 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
2012 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
2013 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
2014 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2015 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2016 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2017 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2018 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2019 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
2020 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
2021 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
2022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2023 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
2024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
2027 * string/endian.h (__LONG_LONG_PAIR): New macro.
2028 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
2029 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2030 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2031 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2032 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2033 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2034 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2035 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2036 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2037 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2038 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2039 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2041 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
2043 2000-07-06 Andreas Jaeger <aj@suse.de>
2045 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
2048 * math/test-fpucw.c: Include <stdio.h> for printf.
2050 2000-07-05 Greg McGary <greg@mcgary.org>
2052 * sysdeps/generic/bp-checks.h: New file.
2053 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
2054 with list of #include files.
2055 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2056 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
2057 Don't generate BP thunk if `V' appears in signature.
2058 Generate thunks with complete bounds checks.
2059 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
2060 * sysdeps/unix/inet/syscalls.list: Likewise.
2061 * sysdeps/unix/mman/syscalls.list: Likewise.
2062 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2063 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2064 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2067 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2069 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
2070 result. Search first in /etc/mtab (proc/mounts would be stupid).
2071 If mount not in the file fall back on /proc.
2073 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
2074 string got copied in.
2075 Patch by Solar Designer <solar@false.com>.
2077 2000-07-05 Andreas Jaeger <aj@suse.de>
2079 * manual/install.texi (Installation): Update information about
2081 (Configuring and compiling): Update for glibc 2.2.
2083 2000-07-04 Andreas Jaeger <aj@suse.de>
2085 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
2086 (_FPU_IEEE): Likewise.
2088 * math/Makefile (tests): Add test-fpucw.
2090 * math/test-fpucw.c (main): New file.
2092 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2094 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
2096 * locale/programs/ld-collate.c (collate_output): Also write out the
2097 collation sequence values and the wide character string for the
2098 collation symbol table.
2100 * posix/fnmatch.c: Include "../locale/elem-hash.h".
2101 * posix/fnmatch_loop.c: Implement collating symbol handling.
2102 * posix/tst-fnmatch.input: Add more tests, especially for collating
2105 * posix/regex.c: Fix comment.
2107 2000-07-05 Andreas Jaeger <aj@suse.de>
2109 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
2110 (_FPU_GETCW): Remove extra colon.
2111 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2113 * posix/fnmatch_loop.c (FCT): Only declare len if
2114 !WIDE_CHAR_VERSION to silence GCC.
2116 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
2118 * sysdeps/generic/strchrnul.c: Likewise.
2119 * sysdeps/generic/strlen.c: Likewise.
2120 * sysdeps/generic/strchr.c: Likewise.
2121 * sysdeps/generic/memchr.c: Likewise.
2123 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2125 * posix/fnmatch_loop.c: Implement equivalence class handling.
2126 * posix/tst-fnmatch.input: Add tests for equivalence class
2129 * posix/fnmatch_loop.c: Improve performance for single-byte
2130 character sets by not using btowc.
2132 * posix/tst-fnmatch.input: Add tests for locale dependent
2134 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2136 * posix/tst-fnmatch.input: Add more test cases.
2138 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
2139 are not aligned to alignof(md5_uint32) do it before calling
2140 __md5_process_bytes.
2141 * crypt/md5.c: Make sure buffers are aligned.
2142 * crypt/md5.h: Likewise.
2143 Reported by Solar Designer <solar@false.com>.
2145 * crypt/Makefile: Add dependencies for test programs.
2147 * Rules: Define LC_ALL=C in environments of all programs we run.
2149 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
2151 2000-07-03 H.J. Lu <hjl@gnu.org>
2153 * locale/programs/ld-ctype.c (ctype_output): The size of iov
2154 is 2 + elem + offset, not 2 + elem + offset + 2.
2156 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2158 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
2160 * posix/Makefile (tests): Add tst-fnmatch.
2161 (tst-fnmatch-ENV): Define.
2162 * posix/tst-fnmatch.c: New file.
2163 * posix/tst-fnmatch.sh: New file.
2165 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
2167 * locale/programs/charmap.c (charmap_read): Prepend
2168 the condition filename == NULL.
2170 2000-07-03 Greg McGary <greg@mcgary.org>
2172 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2174 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
2175 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
2177 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
2178 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
2179 (FILEBUF_LITERAL): Add cast for CHAIN init.
2180 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
2181 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2182 Revert type of `fp' to _IO_FILE*.
2183 (_IO_iter_file): Remove cast.
2184 (_IO_iter_next): Elide intermediate member reference.
2186 * sysdeps/powerpc/strchr.S: Check bounds.
2187 Wrap extern symbols in BP_SYM ().
2189 2000-07-03 Andreas Jaeger <aj@suse.de>
2191 * dlfcn/Makefile (generated): New.
2193 2000-07-03 Ulrich Drepper <drepper@redhat.com>
2195 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
2196 (__uflow): Likewise.
2197 (__underflow): Likewise.
2198 * libio/wgenops.c (__wunderflow): Likewise.
2199 * stdio-common/tst-unbputc.c: New file.
2200 * stdio-common/tst-unbputc.sh: New file.
2201 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
2203 * po/en_GB.po: New file.
2204 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2206 2000-07-01 Andreas Jaeger <aj@suse.de>
2208 * intl/Makefile (generated-dirs): New.
2210 * elf/Makefile (generated): trusted-dirs.h is always generated,
2211 move out of build-shared condition.
2212 (generated): Merge the two entries for build-shared.
2214 2000-07-01 Ulrich Drepper <drepper@redhat.com>
2216 * debug/Makefile (distribute): Add xtrace.sh.
2218 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2220 * version.h (VERSION): Bump to 2.1.91.
2222 * configure.in: Update warning comment. glibc should not be
2225 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
2226 ioperm.c, sys/procfs.h, and sys/io.h.
2228 * sysdeps/powerpc/Dist: Add bp-asm.h.
2230 * assert/Depend: Add localedata.
2231 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
2232 (test-assert-perr-ENV): New. Define LANGUAGE=C.
2234 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2235 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2236 relocation address to prevent unaligned trap.
2237 Suggested by Richard Henderson <rth@cygnus.com>.
2239 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2241 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2242 if redirecting and either redirection is done using defines or
2245 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2247 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2248 generated expressions.
2249 Patch by Darren McClelland <dmcclell@zetec.com>.
2251 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2252 since zic uses setlocale and gettext but we cannot make it use the
2253 new locale data since zic calls a shell which might not use the
2256 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2257 handling the internation currency symbol. POSIX says that the
2258 fourth character is used to separate the currency symbol from the
2259 value. Therefore it does not have to be printed. But we cannot
2260 remove the space if the currency symbol is printed before the
2261 number since this is what many locales expect.
2263 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2264 whether this information is available.
2266 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2267 buffers in case the translation is too large. Remember allocated
2268 memory blocks in a list.
2269 (free_mem): Free memory for translations.
2271 * intl/tst-gettext.c: Use correct locale. Improve error messages.
2273 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2274 information is available set the string length to zero.
2276 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2278 2000-06-30 Greg McGary <greg@mcgary.org>
2280 * sysdeps/powerpc/bp-asm.h: New file.
2281 * sysdeps/powerpc/__longjmp.S: Check bounds.
2282 Wrap extern symbols in BP_SYM ().
2283 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2284 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2285 * sysdeps/powerpc/setjmp.S: Likewise.
2286 * sysdeps/powerpc/add_n.S: Likewise.
2287 * sysdeps/powerpc/addmul_1.S: Likewise.
2288 * sysdeps/powerpc/lshift.S: Likewise.
2289 * sysdeps/powerpc/rshift.S: Likewise.
2290 * sysdeps/powerpc/mul_1.S: Likewise.
2291 * sysdeps/powerpc/sub_n.S: Likewise.
2292 * sysdeps/powerpc/submul_1.S: Likewise.
2293 * sysdeps/powerpc/strlen.S: Likewise.
2294 * sysdeps/powerpc/memset.S: Likewise.
2295 * sysdeps/powerpc/stpcpy.S: Likewise.
2296 * sysdeps/powerpc/strcmp.S: Likewise.
2297 * sysdeps/powerpc/strcpy.S: Likewise.
2298 * sysdeps/powerpc/elf/bzero.S: Likewise.
2300 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2301 Line up operands column with tabs.
2303 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2305 * elf/Makefile (LDFLAGS-origtest): Actually add it.
2307 * sysdeps/ia64/htonl.S: New file.
2308 * sysdeps/ia64/htons.S: New file.
2309 * sysdeps/ia64/memcpy.S: Replace with version which does not use
2310 floating point registers.
2311 Patches by Dan Pop <Dan.Pop@cern.ch>.
2313 2000-06-30 Andreas Jaeger <aj@suse.de>
2315 * posix/Makefile (tests): tst-exec and tst-spawn only work with
2318 * io/Makefile (CFLAGS-test-lfs.c): New.
2319 (tests): Add test-lfs.
2321 * io/test-lfs.c: New file.
2323 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2325 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
2328 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
2330 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
2332 2000-06-29 Jes Sorensen <jes@linuxcare.com>
2334 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
2335 alias to the fstatfs call.
2337 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
2338 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
2340 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
2341 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
2343 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
2344 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
2345 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
2346 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
2348 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
2349 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
2351 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
2352 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
2354 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
2355 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
2357 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2359 2000-06-29 Andreas Jaeger <aj@suse.de>
2361 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
2363 (print_err_message): Likewise.
2364 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2366 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2368 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
2369 used as words is properly aligned.
2371 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
2374 2000-06-29 Greg McGary <greg@mcgary.org>
2376 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
2377 * sysdeps/unix/make-syscalls.sh: Handle signatures of
2378 length 7..9, just in case...
2379 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2381 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2382 (POP_ERRNO_LOCATION_RETURN): Fold insns.
2383 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2384 (PUSH_SIGNAL_MASK): New macro.
2385 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2386 LEAVE is unnecessary. Check bounds of jmp_buf.
2387 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
2388 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
2389 immediately before tail-call.
2390 * sysdeps/i386/setjmp.S: Likewise.
2391 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2392 * sysdeps/i386/bsd-setjmp.S: Likewise.
2394 2000-06-29 Jakub Jelinek <jakub@redhat.com>
2396 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2398 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2399 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2400 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2401 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2402 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2403 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2405 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2407 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2409 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2410 we later need to calling free().
2411 Patch by Matt Wilson <msw@redhat.com>.
2413 * stdio-common/tst-printf.c: Add test for above problem.
2415 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
2417 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2418 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2420 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2422 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2423 prototype for abs().
2424 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2426 2000-06-23 Andreas Jaeger <aj@suse.de>
2428 * config.h.in: Don't use regparm with bounded pointers.
2430 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2432 * stdlib/grouping.h: Correctly handle multibyte thousands
2433 separator and decimal point.
2434 * stdlib/stdtod.c: Likewise.
2435 * sysdeps/generic/strtol.c: Likewise.
2437 * locale/categories.def: Add entries for wide character decimal point
2438 and thousands separator in numeric and monetary category.
2440 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2442 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2443 second definition and initialization of decimal.
2445 2000-06-28 Greg McGary <greg@mcgary.org>
2447 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2449 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2450 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2452 (_IO_JUMPS): Don't cast THIS--expect arg to be a
2453 (struct _IO_FILE_plus *).
2454 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2455 THIS, since _IO_JUMPS no longer does it implicitly.
2456 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2457 arg type as (struct _IO_FILE_plus *).
2458 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2459 arg as (_IO_strfile *).
2460 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2461 Declare 1st arg as (_IO_strfile *).
2462 * libio/fileops.c (_IO_new_file_init): Declare
2463 arg type as (struct _IO_FILE_plus *).
2464 * libio/oldfileops.c (_IO_old_file_init): Likewise.
2465 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2466 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2467 Declare iteration pointer as (struct _IO_FILE_plus *).
2468 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2469 (struct _IO_FILE_plus *).
2470 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2471 * libio/oldstdfiles.c (_IO_list_all): Likewise.
2472 (_IO_check_libio): Set user-visible handles to
2473 (struct _IO_FILE_plus *).
2474 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2475 to (struct _IO_FILE_plus *).
2477 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2478 whose high bound includes vtable to all functions that will use
2479 vtable. For streambufs, pass pointer whose bounds include struct
2481 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2482 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2483 * libio/iofopen.c (_IO_new_fopen): Likewise.
2484 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2485 * libio/iofopen64.c (_IO_fopen64): Likewise.
2486 * libio/iopopen.c (_IO_new_popen): Likewise.
2487 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2488 * libio/memstream.c (open_memstream): Likewise.
2489 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2490 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2491 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2492 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2493 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2494 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2495 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2496 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2497 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2498 * stdlib/strfmon.c (__strfmon_l): Likewise.
2499 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2500 (vfprintf): Qualify computed-goto targets as unbounded.
2502 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2504 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2505 thousands separator correctly.
2507 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2508 * stdio-common/vfwscanf.c: Likewise.
2510 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2512 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2513 count into signatures for most calls.
2515 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2517 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2518 the generic parser now.
2520 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2522 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2523 table entries are 32 bit on the ia64 (as specified by the ABI),
2524 not 64 bit as on the Alpha.
2526 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2527 change of objects to use 32 bit hash table indices (see above).
2529 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2531 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2532 prototype for abs().
2534 2000-06-28 Wolfram Gloger <wg@malloc.de>
2536 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2537 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2538 may have been reached.
2540 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2542 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2543 symbols in multi-character weights correctly.
2545 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2546 depending on whether the input string is empty or not.
2548 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2549 given state and not avoiding this by modifying a local object.
2550 * wcsmbs/wcrtomb.c: Likewise.
2552 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2553 object since some incomplete characters might be in there.
2555 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2556 sequences with first byte 0x8e correctly.
2558 * iconvdata/jis0208.h: Remove redundant test.
2560 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2562 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2563 Add it where it is needed now.
2565 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2566 the input charset into account when generating the hash table.
2567 (allocate_arrays): Correct setting default width. Not all empty slots
2568 in the table are filled, only those not covert explicitly by the
2569 locale description and in the charset.
2571 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2572 return values from the wctrans function.
2574 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2575 wide character version.
2576 For %C handling, test correct pointer variable for NULL.
2578 * wcsmbs/wctob.c: Handle WEOF special.
2580 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2582 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2583 always-true test to avoid warning.
2585 2000-06-27 Greg McGary <greg@mcgary.org>
2587 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2588 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2589 (symbol_version, default_symbol_version): Factor redundant
2590 definitions out of conditional.
2592 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2594 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2597 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2599 * include/libc-symbols.h (symbol_version): Add extra level of
2601 (default_symbol_version): Likewise.
2603 2000-06-26 Greg McGary <greg@mcgary.org>
2605 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2606 for BP return value & push implicit struct-return pointer to
2608 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2609 (SYSCALL_ERROR_HANDLER): Likewise.
2610 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2611 (SYSCALL_ERROR_HANDLER): Likewise.
2613 * Makeconfig: Add missing comment.
2614 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2615 BP-flavored startup object.
2616 ($(objpfx)b$(start-installed-name)): New rule.
2617 * include/libc-symbols.h (symbol_set_declare): Change type
2618 of `__start_##set' and `__stop_##set' to pointer-to-function.
2619 (symbol_set_declare): Change type of `set' to array of
2620 pointer-to-function.
2621 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2622 pointer-to-function.
2624 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2626 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2627 Remove clock_* and timer_* entries.
2628 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2629 arg-count with signatures.
2631 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2632 Check bounds of arguments.
2633 * sysdeps/i386/addmul_1.S: Likewise.
2634 * sysdeps/i386/lshift.S: Likewise.
2635 * sysdeps/i386/mul_1.S: Likewise.
2636 * sysdeps/i386/rshift.S: Likewise.
2637 * sysdeps/i386/sub_n.S: Likewise.
2638 * sysdeps/i386/submul_1.S: Likewise.
2639 * sysdeps/i386/i586/add_n.S: Likewise.
2640 * sysdeps/i386/i586/addmul_1.S: Likewise.
2641 * sysdeps/i386/i586/lshift.S: Likewise.
2642 * sysdeps/i386/i586/rshift.S: Likewise.
2643 * sysdeps/i386/i586/sub_n.S: Likewise.
2644 * sysdeps/i386/i686/add_n.S: Likewise.
2646 * sysdeps/i386/memchr.S: Likewise.
2647 * sysdeps/i386/memcmp.S: Likewise.
2648 * sysdeps/i386/rawmemchr.S: Likewise.
2649 * sysdeps/i386/i586/bzero.S: Likewise.
2650 * sysdeps/i386/i586/memcpy.S: Likewise.
2651 * sysdeps/i386/i586/mempcpy.S: Likewise.
2652 * sysdeps/i386/i586/memset.S: Likewise.
2653 * sysdeps/i386/i686/bzero.S: Likewise.
2654 * sysdeps/i386/i686/memcpy.S: Likewise.
2655 * sysdeps/i386/i686/mempcpy.S: Likewise.
2656 * sysdeps/i386/i686/memset.S: Likewise.
2658 * sysdeps/i386/stpcpy.S: Likewise.
2659 * sysdeps/i386/stpncpy.S: Likewise.
2660 * sysdeps/i386/strchr.S: Likewise.
2661 * sysdeps/i386/strchrnul.S: Likewise.
2662 * sysdeps/i386/strcspn.S: Likewise.
2663 * sysdeps/i386/strpbrk.S: Likewise.
2664 * sysdeps/i386/strrchr.S: Likewise.
2665 * sysdeps/i386/strspn.S: Likewise.
2666 * sysdeps/i386/strtok.S: Likewise.
2667 * sysdeps/i386/strtok_r.S: Likewise.
2668 * sysdeps/i386/i486/strcat.S: Likewise.
2669 * sysdeps/i386/i486/strlen.S: Likewise.
2670 * sysdeps/i386/i586/strchr.S: Likewise.
2671 * sysdeps/i386/i586/strcpy.S: Likewise.
2672 * sysdeps/i386/i586/strlen.S: Likewise.
2673 * sysdeps/i386/i686/strcmp.S: Likewise.
2674 * sysdeps/i386/i686/strtok.S: Likewise.
2675 * sysdeps/i386/i686/strtok_r.S: Likewise.
2677 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2678 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2679 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2680 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2681 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2683 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2684 * sysdeps/i386/mul_1.S: Likewise.
2685 * sysdeps/i386/submul_1.S: Likewise.
2686 * sysdeps/i386/i586/add_n.S: Likewise.
2687 * sysdeps/i386/i586/addmul_1.S: Likewise.
2688 * sysdeps/i386/i586/lshift.S: Likewise.
2689 * sysdeps/i386/i586/mul_1.S: Likewise.
2690 * sysdeps/i386/i586/rshift.S: Likewise.
2691 * sysdeps/i386/i586/sub_n.S: Likewise.
2692 * sysdeps/i386/i586/submul_1.S: Likewise.
2694 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2696 * rt/Makefile (librt-routines): Add clock_nanosleep.
2697 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2698 * sysdeps/generic/clock_nanosleep.c: New file.
2699 * sysdeps/unix/clock_nanosleep.c: New file.
2700 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2701 * time/time.h: Declare clock_nanosleep.
2703 2000-06-26 Greg McGary <greg@mcgary.org>
2705 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2706 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2707 (ALIGN): Cleanup surrounding conditionals.
2709 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2710 Call ENTER/LEAVE macros.
2711 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2712 * sysdeps/i386/submul_1.S: Likewise.
2714 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2715 syntax. Define & use symbolic argument stack offsets. Call
2717 * sysdeps/i386/i586/mul_1.S: Likewise.
2718 * sysdeps/i386/i586/submul_1.S: Likewise.
2720 2000-06-25 Greg McGary <greg@mcgary.org>
2722 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2725 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2727 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2728 * iconvdata/gen-8bit-gap.sh: Likewise.
2729 * iconvdata/gen-8bit.sh: Likewise.
2731 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2733 * locale/programs/ld-collate.c (collate_read): Don't actually read
2734 the copy locale if we are ignoring the content.
2736 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2739 * locale/programs/ld-collate.c: Correct handling of different
2741 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2742 as extra parameter from which to copy category information.
2744 (load_locale): Likewise.
2745 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2747 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2748 * locale/programs/locfile.h: Likewise.
2749 * locale/programs/locfile-kw.gperf: Add entry for script.
2750 * locale/programs/locfile-token.h: Add tok_script.
2752 * locale/programs/locale.c: Update copyright year.
2753 * locale/programs/localedef.c: Likewise.
2755 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2757 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2758 Jens Moeller <jens.moeller@waii.com>.
2760 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2762 * locale/programs/ld-name.c (name_finish): Add missing format
2763 specifier to test for name_fmt.
2765 * locale/programs/ld-address.c (iso639): Correct length of string
2767 (iso3166): Likewise.
2769 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2771 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2774 * elf/elf.h (NT_PRFPXREG): Define.
2776 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2778 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2779 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2781 2000-06-23 Andreas Schwab <schwab@suse.de>
2783 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2786 2000-06-23 Andreas Jaeger <aj@suse.de>
2788 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2790 * io/test-stat.c: Add copyright header, mention Maciej.
2792 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2793 SYS_mincore, SYS_madvise): Added.
2795 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2798 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2800 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2801 (CFLAGS-tst_putwc.c): New definition.
2802 * libio/tst_getwc.c: New file.
2803 * libio/tst_getwc.input: New file.
2804 * libio/tst_putwc.c: New file.
2806 * include/string.h: Add prototype for __strdup.
2808 2000-06-22 Greg McGary <greg@mcgary.org>
2810 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2811 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2814 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2816 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2818 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2820 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2822 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2824 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2825 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2827 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2829 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2830 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2832 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2833 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2834 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2835 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2836 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2837 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2838 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2839 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2840 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2841 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2842 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2843 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2844 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2845 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2848 2000-06-22 Andreas Jaeger <aj@suse.de>
2850 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2853 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2855 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2857 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2859 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2862 2000-06-21 Greg McGary <greg@mcgary.org>
2864 * Makerules (elide-routines.*, elide-bp-thunks):
2865 Define unconditionally.
2867 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2869 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2871 2000-06-21 Andreas Jaeger <aj@suse.de>
2873 * io/Makefile (tests): Add test-stat.
2874 (CFLAGS-test-stat.c): New.
2876 * io/test-stat.c: New file from Maciej W. Rozycki
2877 <macro@ds2.pg.gda.pl>.
2879 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2881 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2882 in __rlimit_resource to make them match the kernel order.
2883 rlim_t is always 64 bit, use __rlim64_t to declare it
2886 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2888 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2889 RLIM_INFINITY before defining it to avoid clash with kernel header
2891 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2893 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2895 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2897 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2899 2000-06-21 Andreas Jaeger <aj@suse.de>
2901 * stdio-common/temptest.c: Include <stdlib.h>.
2902 * stdio-common/tst-fileno.c: Likewise.
2903 * stdio-common/scanf4.c: Likewise.
2904 * stdio-common/scanf5.c: Likewise.
2905 * time/clocktest.c: Likewise.
2906 * posix/test-vfork.c: Likewise.
2907 * posix/globtest.c: Likewise.
2908 * io/test-utime.c: Likewise.
2909 * wctype/test_wcfuncs.c: Likewise.
2910 * crypt/cert.c: Likewise.
2912 * stdio-common/tst-printfsz.c: Include <string.h>.
2913 * libio/tst_swscanf.c: Likewise.
2914 * libio/tst_wscanf.c: Likewise.
2915 * posix/runtests.c: Likewise.
2916 * posix/tst-getaddrinfo.c: Likewise.
2917 * posix/wordexp-test.c: Likewise.
2918 * misc/tst-efgcvt.c: Likewise.
2920 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2921 * nss/test-netdb.c: Likewise.
2923 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2924 supported kernel for MIPS.
2926 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2927 * rt/aio_suspend.c: Likewise.
2929 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2931 * math/libm-test.inc: Include <string.h>.
2933 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2935 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2937 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2939 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2940 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2942 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2944 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2946 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2948 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2950 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2952 * locale/programs/ld-collate.c (insert_value): Now take string and
2953 length instead of struct token* parameter. Adjust use of token.
2954 (handle_ellipsis): Likewise.
2955 (collate_read): Allow <Uxxxx> names and transform them into names
2956 to be passed to insert_value and handle_ellipsis.
2958 * locale/programs/ld-ctype.c (uninames): New array with names of
2959 digits in <Uxxxxxxxx> format.
2960 (ctype_finish): Correct search for space character value. Likewise
2961 for default outdigits values.
2963 2000-06-20 Greg McGary <greg@mcgary.org>
2965 * Makerules (objects): Add BP thunks.
2967 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2969 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2970 in width definitions.
2972 2000-06-20 Andreas Jaeger <aj@suse.de>
2974 * sysdeps/mips/fpu/libm-test-ulps: New file.
2976 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2979 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2981 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2983 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2985 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2986 change in gconv_builtin.h.
2988 * malloc/Makefile: Change all references to memprof into memusage.
2989 * malloc/memprof.c: Rename to...
2990 * malloc/memusage.c: ...this. New file.
2991 * malloc/memprof.sh: Rename to...
2992 * malloc/memusage.sh: ...this. New file.
2993 * malloc/memprofstat.c: Rename to...
2994 * malloc/memusagestat.c: ...this. New file.
2995 * sysdeps/alpha/memprof.h: Rename to..
2996 * sysdeps/alpha/memusage.h: ...this. New file.
2997 * sysdeps/arm/memprof.h: Rename to..
2998 * sysdeps/arm/memusage.h: ...this. New file.
2999 * sysdeps/generic/memprof.h: Rename to..
3000 * sysdeps/generic/memusage.h: ...this. New file.
3001 * sysdeps/i386/memprof.h: Rename to..
3002 * sysdeps/i386/memusage.h: ...this. New file.
3003 * sysdeps/ia64/memprof.h: Rename to..
3004 * sysdeps/ia64/memusage.h: ...this. New file.
3005 * sysdeps/m68k/memprof.h: Rename to..
3006 * sysdeps/m68k/memusage.h: ...this. New file.
3007 * sysdeps/mips/memprof.h: Rename to..
3008 * sysdeps/mips/memusage.h: ...this. New file.
3009 * sysdeps/powerpc/memprof.h: Rename to..
3010 * sysdeps/powerpc/memusage.h: ...this. New file.
3011 * sysdeps/sparc/memprof.h: Rename to..
3012 * sysdeps/sparc/memusage.h: ...this. New file.
3013 * sysdeps/sh/memprof.h: Rename to..
3014 * sysdeps/sh/memusage.h: ...this. New file.
3016 * elf/sprof.c (print_version): Update year.
3018 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
3019 table entry values. Use D_PTR.
3020 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
3021 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
3023 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3025 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3026 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
3027 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
3028 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
3030 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3032 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
3034 2000-06-16 Jes Sorensen <jes@linuxcare.com>
3036 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
3037 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
3038 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
3040 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
3042 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
3045 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
3046 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
3048 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
3051 2000-06-15 Jes Sorensen <jes@linuxcare.com>
3053 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
3055 2000-06-08 Jes Sorensen <jes@linuxcare.com>
3057 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
3059 2000-06-19 Ulrich Drepper <drepper@redhat.com>
3061 * iconv/gconv_int.h (strict gconv_module): Remove all members
3062 associated with regular expressions. Use a simple string as the
3064 * iconv/gconv_db.c: Remove code handling regular expressions.
3065 * iconv/gconv_conf.c: Likewise.
3066 * iconv/iconv_prog.c: Likewise.
3067 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
3069 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
3070 General namespace cleanup.
3071 (struct __gconv_trans_data): Add next field.
3072 (struct __gconv_step_data): Make __trans a pointer.
3073 * iconv/gconv_conf.c: Split out code to find gconv directories from
3074 __gconv_read_conf in new functions.
3075 * iconv/gconv_int.h: Define new data structure and declare new
3076 functions for handling of gconv directory list.
3077 * iconv/gconv_open.c: Allow more than one error handling step being
3078 used. Call function to load error handling module if it is none
3079 of the builtin transformations.
3080 * iconv/gconv_close.c: Add code to free transliteration data.
3081 * iconv/gconv_trans.c: Add functions to load and unload modules
3082 implementing transliteration etc.
3083 * iconv/skeleton.c: Call all context functions now that more than
3084 one module is allowed.
3085 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
3086 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
3087 where the full error handling using transliteration is needed.
3088 * iconvdata/8bit-gap.c: Likewise.
3089 * iconvdata/8bit-generic.c: Likewise.
3090 * iconvdata/ansi_x3.110.c: Likewise.
3091 * iconvdata/big5.c: Likewise.
3092 * iconvdata/big5hkscs.c: Likewise.
3093 * iconvdata/euc-cn.c: Likewise.
3094 * iconvdata/euc-jp.c: Likewise.
3095 * iconvdata/euc-kr.c: Likewise.
3096 * iconvdata/euc-tw.c: Likewise.
3097 * iconvdata/gbgbk.c: Likewise.
3098 * iconvdata/gbk.c: Likewise.
3099 * iconvdata/iso-2022-cn.c: Likewise.
3100 * iconvdata/iso-2022-jp.c: Likewise.
3101 * iconvdata/iso-2022-kr.c: Likewise.
3102 * iconvdata/iso646.c: Likewise.
3103 * iconvdata/iso8859-1.c: Likewise.
3104 * iconvdata/iso_6937-2.c: Likewise.
3105 * iconvdata/iso_6937.c: Likewise.
3106 * iconvdata/johab.c: Likewise.
3107 * iconvdata/sjis.c: Likewise.
3108 * iconvdata/t.61.c: Likewise.
3109 * iconvdata/uhc.c: Likewise.
3110 * iconvdata/unicode.c: Likewise.
3111 * iconvdata/utf-16.c: Likewise.
3112 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
3113 structure correctly after last change.
3114 * wcsmbs/btowc.c: Likewise.
3115 * wcsmbs/mbrtowc.c: Likewise.
3116 * wcsmbs/mbsnrtowcs.c: Likewise.
3117 * wcsmbs/mbsrtowcs.c: Likewise.
3118 * wcsmbs/wcrtomb.c: Likewise.
3119 * wcsmbs/wcsnrtombs.c: Likewise.
3120 * wcsmbs/wcsrtombs.c: Likewise.
3121 * wcsmbs/wctob.c: Likewise.
3123 * localedata/Makefile: Set -Wno-format for some files since gcc does
3124 not know all the format specifiers.
3126 2000-06-18 Ulrich Drepper <drepper@redhat.com>
3128 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
3130 * locale/lc-time.c (_nl_init_era_entries): Likewise.
3132 2000-06-18 Andreas Jaeger <aj@suse.de>
3134 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
3135 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3137 2000-06-17 Ulrich Drepper <drepper@redhat.com>
3139 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
3141 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3143 * locale/programs/ld-ctype.c (ctype_output): Really write out
3144 mboutdigits information.
3145 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
3146 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
3147 * localedata/tests/trans.def: Add outdigit information.
3149 * localedata/tst-mbswcs3.c: Remove comment.
3151 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
3152 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
3153 * libio/tst_wprintf.c (main): Add test for I flag.
3155 * iconv/gconv_trans.c: Implement handling if translit_ignore.
3156 * locale/langinfo.h: Add entries for translit_ignore information.
3157 * locale/categories.def: Add entries for new LC_CTYPE elements.
3158 * locale/C-ctype.c: Add initializers for new fields. Use NULL
3159 pointer instead of "" where possible.
3160 * locale/programs/ld-ctype.c: Write out translit_ignore information.
3161 * intl/Depend: Add localedata.
3162 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
3163 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
3165 2000-06-16 Ulrich Drepper <drepper@redhat.com>
3167 * locale/langinfo.h: Add entries for default_missing information.
3168 * locale/C-ctype.c: Add initializers for new fields.
3169 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
3171 * locale/categories.h: Add entries for all LC_CTYPE values.
3172 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
3175 * localedata/tst-trans.c: Write out an error message if class is
3178 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
3179 * iconv/gconv_open.c: Remove error handling specification from `from'
3181 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
3182 new parameter to always enable transliteration.
3183 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
3185 (struct locale_data): Add new members use_translit and options.
3186 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
3187 character set name contained modifier TRANSLIT.
3188 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
3190 (_nl_unload_locale): Free options string if necessary.
3191 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
3192 the locale names suggested this.
3193 * locale/C-address.c: Add two new initialilzers to adjust data
3194 structure for new format.
3195 * locale/C-collate.c: Likewise.
3196 * locale/C-ctype.c: Likewise.
3197 * locale/C-identification.c: Likewise.
3198 * locale/C-measurement.c: Likewise.
3199 * locale/C-messages.c: Likewise.
3200 * locale/C-monetary.c: Likewise.
3201 * locale/C-name.c: Likewise.
3202 * locale/C-numeric.c: Likewise.
3203 * locale/C-paper.c: Likewise.
3204 * locale/C-telephone.c: Likewise.
3205 * locale/C-time.c: Likewise.
3207 * locale/setlocale.c: Add some more __builtin_expect.
3209 2000-06-15 Ulrich Drepper <drepper@redhat.com>
3211 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
3213 (__gconv_init_fct): Remove two parameters.
3214 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
3215 gconv_transliterate. Remove two parameters.
3216 Change prototypes of builtin functions according to __gconv_fct change.
3217 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
3218 != NULL only during error handling. Stop in this case after the
3220 * iconv/gconv_trans.c: Replace with real implementation for
3221 __gconv_transliterate.
3222 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3223 * iconv/gconv.c: Change calls to downstream functions once again.
3224 Use NULL for the fifth parameter instead of pointer to output buffer.
3225 * libio/iofwide.c: Likewise.
3226 * wcsmbs/btowc.c: Likewise.
3227 * wcsmbs/mbrtowc.c: Likewise.
3228 * wcsmbs/mbsnrtowcs.c: Likewise.
3229 * wcsmbs/mbsrtowcs.c: Likewise.
3230 * wcsmbs/wcrtomb.c: Likewise.
3231 * wcsmbs/wcsnrtombs.c: Likewise.
3232 * wcsmbs/wcsrtombs.c: Likewise.
3233 * wcsmbs/wctob.c: Likewise.
3234 * iconv/gconv_simple.c: Remove two parameters from error handling
3236 * iconvdata/8bit-gap.c: Likewise.
3237 * iconvdata/8bit-generic.c: Likewise.
3238 * iconvdata/ansi_x3.110.c: Likewise.
3239 * iconvdata/big5.c: Likewise.
3240 * iconvdata/big5hkscs.c: Likewise.
3241 * iconvdata/euc-cn.c: Likewise.
3242 * iconvdata/euc-jp.c: Likewise.
3243 * iconvdata/euc-kr.c: Likewise.
3244 * iconvdata/euc-tw.c: Likewise.
3245 * iconvdata/gbgbk.c: Likewise.
3246 * iconvdata/gbk.c: Likewise.
3247 * iconvdata/iso-2022-cn.c: Likewise.
3248 * iconvdata/iso-2022-jp.c: Likewise.
3249 * iconvdata/iso-2022-kr.c: Likewise.
3250 * iconvdata/iso646.c: Likewise.
3251 * iconvdata/iso8859-1.c: Likewise.
3252 * iconvdata/iso_6937-2.c: Likewise.
3253 * iconvdata/iso_6937.c: Likewise.
3254 * iconvdata/johab.c: Likewise.
3255 * iconvdata/sjis.c: Likewise.
3256 * iconvdata/t.61.c: Likewise.
3257 * iconvdata/uhc.c: Likewise.
3258 * iconvdata/unicode.c: Likewise.
3259 * iconvdata/utf-16.c: Likewise.
3261 2000-06-15 Greg McGary <greg@mcgary.org>
3263 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3264 of callnum assignment. Tolerate callnum expressions containing
3267 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3269 * login/Makefile (utmpd): Remove rule to build utmpd.
3271 * csu/Versions: Move libgcc frame handling functions from here...
3272 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3273 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3274 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3275 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3276 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3279 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
3281 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3283 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3285 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3287 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3289 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3290 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3291 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3292 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3294 2000-06-14 Jakub Jelinek <jakub@redhat.com>
3296 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3297 defined, terminate quotes and read them after the comment char.
3298 * configure.in (HAVE_SECTION_QUOTES): Test whether
3299 __attribute__((section ("x"))) puts quotes around x or not.
3300 * config.h.in (HAVE_SECTION_QUOTES): Add.
3301 * configure: Rebuilt.
3303 2000-06-14 Andreas Jaeger <aj@suse.de>
3305 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3306 depending on the configure option --sysconfdir.
3307 Closes PR libc/1762.
3308 Patch by Andreas Schwab <schwab@suse.de>.
3310 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3312 Reported by Jim Pick <jim@jimpick.com>.
3314 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3316 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3317 crashing the application. Emit some simple error message.
3318 Reported by mju@panasas.com [PR libc/1769].
3320 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3322 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
3324 * crypt/Makefile (distribute): Add md5.h.
3326 * Makefile (distribute): Add include/shlib-compat.h.
3328 * Make-dist: Search for tests also in sysdeps hierachy.
3330 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
3331 ufc.c, speeds.c, README.ufc-crypt, and Banner.
3333 * sysdeps/sparc/Subdirs: New file.
3335 * locale/Makefile (distribute): Add weightwc.h and
3336 programs/localedef.h.
3338 * time/Makefile (distribute): Add datemsk.
3340 * sysdeps/ia64/Dist: Add softpipe.h.
3342 * sysdeps/unix/sysv/aix/Dist: New file.
3344 * posix/setpgrp.c: Moved to...
3345 * sysdeps/generic/setpgrp.c: ...here. New file.
3346 * io/mknod.c: Moved to...
3347 * sysdeps/generic/mknod.c: ...here. New file.
3349 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
3351 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
3353 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
3355 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
3356 gprsave0.S, gprrest1.S, and gprrest0.S.
3358 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
3360 * posix/Makefile (routines): Add spawnattr_getsigmask,
3361 spawnattr_getschedpolicy, spawnattr_getschedparam,
3362 spawnattr_setsigmask, spawnattr_setschedpolicy, and
3363 spawnattr_setschedparam.
3364 * posix/Versions: Add posix_spawnattr_getschedpolicy,
3365 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
3366 posix_spawnattr_setschedparam.
3368 * posix/spawnattr_setschedparam.c: Fix typo.
3370 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
3373 * login/programs/utmpd.c: Removed.
3374 * login/programs/utmpd.h: Removed.
3375 * login/programs/utmpd-private.h: Removed.
3377 * Makefile (distribute): Add include/db_185.h and include/db.h.
3379 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3382 * elf/Makefile (distribute): Add missing files.
3384 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3385 * elf/eval.c: Moved to...
3386 * dlfcn/eval.c: ...here. New file.
3388 * Makefile (distribute): Also distribute ChangeLog.1?.
3390 * Make-dist (+tsrcs): Remove .args handling here as well.
3392 * rt/Makefile (tests): Add tst-timer.
3393 * sysdeps/generic/tst-timer.c: New file.
3395 * Makerules (sources): Don't add BP sources here.
3397 * login/Makefile (distribute): Remove xtmp.h.
3399 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3400 is true. Reported by Bruno Haible <haible@ilog.fr>.
3402 2000-06-13 Andreas Jaeger <aj@suse.de>
3404 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3405 Patch by Ralf Baechle <ralf@gnu.org>.
3407 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3409 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3410 for mincore syscall.
3412 * misc/sys/cdefs.h: Define __bounded and __unbounded if
3413 __BOUNDED_POINTERS__ is not defined.
3415 2000-06-07 Greg McGary <greg@mcgary.org>
3417 * sysdeps/generic/bp-sym.h: New file.
3418 * sysdeps/generic/bp-start.h: New file.
3419 * sysdeps/i386/elf/start.S: Designate BP symbols.
3420 * sysdeps/generic/libc-start.c: Wrap bounds around
3421 argv & envp and each of their string members.
3423 2000-06-07 Greg McGary <greg@mcgary.org>
3425 * sysdeps/unix/make-syscalls.sh: Add comments to
3426 output that aid debugging & comprehension.
3427 Map simple syscall signatures to number of args.
3428 Generate BP syscall thunk definitions.
3429 * sysdeps/generic/bp-thunks.h: New file.
3430 * sysdeps/unix/syscalls.list: Replace arg-count with
3431 simple return+arg signature.
3432 * sysdeps/unix/common/syscalls.list: Likewise.
3433 * sysdeps/unix/inet/syscalls.list: Likewise.
3434 * sysdeps/unix/mman/syscalls.list: Likewise.
3435 * sysdeps/unix/sysv/syscalls.list: Likewise.
3436 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3439 2000-06-07 Greg McGary <greg@mcgary.org>
3441 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3442 for all files *.[cS].
3443 (CFLAGS-.ob): Don't optimize sibling calls.
3444 (bppfx): New variable.
3445 * Makerules (elide-bp-thunks): New variable.
3446 (elide-routines.*): Elide BP-* files for all but *.ob.
3447 (sources): Include bp-thunks.
3449 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3451 * iconv/gconv_simple.c: Remove unnecessary prototype.
3453 * iconv/gconv_trans.c: Pretty print.
3455 * elf/elf.h (R_SH_NUM): Got accidently dropped.
3457 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3458 minimal kernel versions. Add information about IA-64 kernel.
3460 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3461 specific minimal supported kernel versions to be specified.
3463 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3464 step data structure.
3465 * wcsmbs/btowc.c: Likewise.
3466 * wcsmbs/mbrtowc.c: Likewise.
3467 * wcsmbs/mbsnrtowcs.c: Likewise.
3468 * wcsmbs/mbsrtowcs.c: Likewise.
3469 * wcsmbs/wcrtomb.c: Likewise.
3470 * wcsmbs/wcsnrtombs.c: Likewise.
3471 * wcsmbs/wcsrtombs.c: Likewise.
3472 * wcsmbs/wctob.c: Likewise.
3474 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3475 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3477 * shlib-versions: Earliest backward compatible version for SH is 2.2.
3479 * misc/sys/cdefs.h: Remove one more __P.
3481 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3484 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3485 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3486 * sysdeps/sh/bits/setjmp.h: ...here. New file.
3488 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3489 Yutaka Niibe <gniibe@chroot.org>
3491 * configure.in: Add machine sh3, sh4.
3492 * elf/elf.h: Add SH specific declarations of relocations.
3493 * shlib-versions: Add sh*-*-linux* cases.
3495 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3497 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3498 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
3499 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3500 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3501 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
3502 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3504 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3505 instead of KERNEL_MATH_EMULATION.
3506 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3507 KERNEL_MATH_EMULATION.
3509 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3510 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3511 * sysdeps/sh/dl-machine.h: ...here. New file.
3512 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3513 and include generic SH version.
3514 * sysdeps/sh/sh3/bits/endian.h: Move to...
3515 * sysdeps/sh/bits/endian.h: ...here. New file.
3516 * sysdeps/sh/sh4/bits/endian.h: Removed.
3517 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3518 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3519 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3521 * include/libc-symbols.h (link_warning): Work around a change in
3522 GAS which warns about changing section attributes.
3523 Proposed by Nick Clifton <nickc@redhat.com>.
3525 2000-06-12 H.J. Lu <hjl@gnu.org>
3527 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3529 2000-06-11 H.J. Lu <hjl@gnu.org>
3531 * sysdeps/i386/fpu/Versions: New file.
3533 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3535 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3537 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3540 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3542 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3543 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3544 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3546 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3547 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3548 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3550 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3551 Yutaka Niibe <gniibe@chroot.org>
3553 * sysdeps/sh/Dist: New file.
3554 * sysdeps/sh/Implies: New file.
3555 * sysdeps/sh/elf/initfini.c: New file.
3556 * sysdeps/sh/gmp-mparam.h: New file.
3557 * sysdeps/sh/init-first.c: New file.
3558 * sysdeps/sh/machine-gmon.h: New file.
3559 * sysdeps/sh/memcpy.S: New file.
3560 * sysdeps/sh/memprof.h: New file.
3561 * sysdeps/sh/memset.S: New file.
3562 * sysdeps/sh/sh3/__longjmp.S: New file.
3563 * sysdeps/sh/sh3/bits/endian.h: New file.
3564 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3565 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3566 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3567 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3568 * sysdeps/sh/sh3/dl-machine.h: New file.
3569 * sysdeps/sh/sh3/setjmp.S: New file.
3570 * sysdeps/sh/sh4/__longjmp.S: New file.
3571 * sysdeps/sh/sh4/bits/endian.h: New file.
3572 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3573 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3574 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3575 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3576 * sysdeps/sh/sh4/dl-machine.h: New file.
3577 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3578 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3579 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3580 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3581 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3582 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3583 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3584 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3585 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3586 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3587 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3588 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3589 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3590 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3591 * sysdeps/sh/sh4/setjmp.S: New file.
3592 * sysdeps/sh/elf/start.S: New file.
3593 * sysdeps/sh/sys/ucontext.h: New file.
3594 * sysdeps/sh/strlen.S: New file.
3595 * sysdeps/sh/sysdep.h: New file.
3596 * sysdeps/unix/sh/sysdep.S: New file.
3597 * sysdeps/unix/sh/sysdep.h: New file.
3598 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3599 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3600 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3601 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3602 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3603 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3604 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3605 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3606 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3607 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3608 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3609 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3610 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3611 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3612 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3613 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3614 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3615 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3616 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3617 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3618 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3619 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3620 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3621 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3622 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3623 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3624 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3625 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3626 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3627 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3628 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3629 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3630 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3631 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3632 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3633 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3634 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3635 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3636 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3637 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3638 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3639 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3640 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3641 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3642 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3643 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3644 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3645 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3646 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3647 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3649 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3651 * Rules (%.out): Define GCONV_PATH in the environment.
3652 * assert/Depend: New file.
3653 * iconvdata/Depend: New file.
3654 * intl/Depend: New file.
3655 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3656 * intl/tst-gettext.sh: Likewise.
3657 * iconv/Makefile (routines): Add gconv_trans.
3658 * iconv/gconv_trans.c: New file.
3659 * iconv/gconv.h (struct __gconv_trans_data): New type.
3660 (__gconv_fct): New parameter with starting position in output buffer.
3661 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3662 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3663 (struct __gconv_step): Add new member __trans.
3664 * iconv/gconv_int.h: Pretty print prototypes.
3665 (gconv_transliterate): New prototype.
3666 (__BUILTIN_TRANS): Update for new conversion function interface.
3667 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3668 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3669 in names, find appropriate function, and install in the conversion
3670 steps it can be used.
3671 * iconv/skeleton.c: Add additional parameter for beginning of output
3672 buffer. Change calls of downstream functions.
3673 * iconv/loop.c: Change loop function interface completely. Pass in
3674 step and step_data structure. Remove optimization for BODY with
3675 NEED_LENGTH_TEST == 0.
3676 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3677 appropriate error handling code to use transliteration steps. Remove
3678 optimization for BODY with NEED_LENGTH_TEST == 0.
3679 * iconvdata/8bit-gap.c: Likewise.
3680 * iconvdata/8bit-generic.c: Likewise.
3681 * iconvdata/ansi_x3.110.c: Likewise.
3682 * iconvdata/big5.c: Likewise.
3683 * iconvdata/big5hkscs.c: Likewise.
3684 * iconvdata/euc-cn.c: Likewise.
3685 * iconvdata/euc-jp.c: Likewise.
3686 * iconvdata/euc-kr.c: Likewise.
3687 * iconvdata/euc-tw.c: Likewise.
3688 * iconvdata/gbgbk.c: Likewise.
3689 * iconvdata/gbk.c: Likewise.
3690 * iconvdata/iso-2022-cn.c: Likewise.
3691 * iconvdata/iso-2022-jp.c: Likewise.
3692 * iconvdata/iso-2022-kr.c: Likewise.
3693 * iconvdata/iso646.c: Likewise.
3694 * iconvdata/iso8859-1.c: Likewise.
3695 * iconvdata/iso_6937-2.c: Likewise.
3696 * iconvdata/iso_6937.c: Likewise.
3697 * iconvdata/johab.c: Likewise.
3698 * iconvdata/sjis.c: Likewise.
3699 * iconvdata/t.61.c: Likewise.
3700 * iconvdata/uhc.c: Likewise.
3701 * iconvdata/unicode.c: Likewise.
3702 * iconvdata/utf-16.c: Likewise.
3703 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3705 * wcsmbs/btowc.c: Likewise.
3706 * wcsmbs/mbrtowc.c: Likewise.
3707 * wcsmbs/mbsnrtowcs.c: Likewise.
3708 * wcsmbs/mbsrtowcs.c: Likewise.
3709 * wcsmbs/wcrtomb.c: Likewise.
3710 * wcsmbs/wcsnrtombs.c: Likewise.
3711 * wcsmbs/wcsrtombs.c: Likewise.
3712 * wcsmbs/wctob.c: Likewise.
3714 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3716 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3717 other header files. Mention about 128-byte cache line sizes.
3718 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3719 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3720 for current calling sequence.
3721 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3723 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3724 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3726 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3727 and setrlimit syscalls for backwards compatibility.
3729 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3731 * iconv/skeleton.c: Rename converted written to correcter name
3733 * iconv/gconv.c: Rename converted variable to correcter name
3735 * iconv/gconv_int.h: Likewise.
3736 * iconv/gconv_simple.c: Likewise.
3737 * iconv/iconv.c: Likewise.
3738 * iconv/loop.c: Likewise.
3739 * iconvdata/8bit-gap.c: Likewise.
3740 * iconvdata/8bit-generic.c: Likewise.
3741 * iconvdata/ansi_x3.110.c: Likewise.
3742 * iconvdata/big5.c: Likewise.
3743 * iconvdata/big5hkscs.c: Likewise.
3744 * iconvdata/euc-cn.c: Likewise.
3745 * iconvdata/euc-jp.c: Likewise.
3746 * iconvdata/euc-kr.c: Likewise.
3747 * iconvdata/gbgbk.c: Likewise.
3748 * iconvdata/gbk.c: Likewise.
3749 * iconvdata/iso-2022-cn.c: Likewise.
3750 * iconvdata/iso-2022-jp.c: Likewise.
3751 * iconvdata/iso-2022-kr.c: Likewise.
3752 * iconvdata/iso646.c: Likewise.
3753 * iconvdata/iso8859-1.c: Likewise.
3754 * iconvdata/iso_6937-2.c: Likewise.
3755 * iconvdata/iso_6937.c: Likewise.
3756 * iconvdata/johab.c: Likewise.
3757 * iconvdata/sjis.c: Likewise.
3758 * iconvdata/t.61.c: Likewise.
3759 * iconvdata/uhc.c: Likewise.
3760 * iconvdata/unicode.c: Likewise.
3761 * iconvdata/utf-16.c: Likewise.
3763 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3764 __cmsg_data field with __extension__.
3766 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3768 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3770 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3772 * iconv/gconv_simple.c: Fix various small bugs in several
3775 * iconv/loop.c: Fix comment.
3777 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3779 * elf/link.h: Remove libc internal declarations.
3780 * include/link.h: Move them here.
3782 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3784 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3785 Patch by Dan Pop <Dan.Pop@cern.ch>.
3787 Rewrite error message handling.
3788 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3790 * elf/dl-error (struct catch): Add objname member.
3791 (_dl_signal_error): Take new parameter with object name. When
3792 passing message on simply store object name and duplicate error
3794 (_dl_catch_error): Take new parameter. Store object name in the
3796 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3797 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3798 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3799 (dlerror): Add objname to asprintf() parameters.
3800 (_dl_error_run): Pass new parameter to _dl_catch_error.
3801 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3802 * elf/dl-open.c (_dl_open): Likewise.
3803 * elf/rtld.c (dl_main): Likewise.
3804 * elf/dl-close.c: Mark error messages with N_().
3805 * elf/dl-deps.c: Likewise.
3806 * elf/dl-error.c: Likewise.
3807 * elf/dl-load.c: Likewise.
3808 * elf/dl-open.c: Likewise.
3809 * elf/dl-reloc.c: Likewise.
3810 * elf/dl-support.c: Likewise.
3811 * elf/dl-sym.c: Likewise.
3812 * elf/dl-version.c: Likewise.
3813 * elf/dl-lookup.c: Add comments about problems with error message
3815 * elf/dl-reloc.c: Likewise.
3816 * elf/dl-version.c: Likewise.
3818 2000-06-09 H.J. Lu <hjl@gnu.org>
3820 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3823 * dlfcn/Makefile (distribute): Add failtestmod.c.
3824 (tests): Add failtest.
3825 Add rules to build and run failtest.
3826 * dlfcn/failtest.c: New file.
3827 * dlfcn/failtestmod.c: New file.
3829 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3831 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3832 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3833 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3834 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3835 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3837 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3839 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3840 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3842 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3843 Ulrich Drepper <drepper@redhat.com>
3845 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3846 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3847 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3848 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3849 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3850 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3852 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3854 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3855 to find correct mount point despite wrong information from the
3858 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3860 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3861 the address of a symbol so function pointers are handled properly.
3863 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3865 * sysdeps/i386/Dist: Add bp-asm.h.
3867 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3868 defaultdir variable instead of "/var/shm" everywhere.
3869 (defaultdir): Change to /dev/shm/.
3871 2000-06-08 Greg McGary <greg@mcgary.org>
3873 * sysdeps/i386/bp-asm.h: New file.
3874 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3875 offsets. Add ENTER/LEAVE macros for optionally maintaining
3876 frame-pointer chain when debugging.
3877 * sysdeps/i386/add_n.S: Likewise.
3878 * sysdeps/i386/addmul_1.S: Likewise.
3879 * sysdeps/i386/lshift.S: Likewise.
3880 * sysdeps/i386/memchr.S: Likewise.
3881 * sysdeps/i386/memcmp.S: Likewise.
3882 * sysdeps/i386/mul_1.S: Likewise.
3883 * sysdeps/i386/rawmemchr.S: Likewise.
3884 * sysdeps/i386/rshift.S: Likewise.
3885 * sysdeps/i386/stpcpy.S: Likewise.
3886 * sysdeps/i386/stpncpy.S: Likewise.
3887 * sysdeps/i386/strchr.S: Likewise.
3888 * sysdeps/i386/strchrnul.S: Likewise.
3889 * sysdeps/i386/strcspn.S: Likewise.
3890 * sysdeps/i386/strpbrk.S: Likewise.
3891 * sysdeps/i386/strrchr.S: Likewise.
3892 * sysdeps/i386/strspn.S: Likewise.
3893 * sysdeps/i386/strtok.S: Likewise.
3894 * sysdeps/i386/sub_n.S: Likewise.
3895 * sysdeps/i386/submul_1.S: Likewise.
3896 * sysdeps/i386/elf/setjmp.S: Likewise.
3897 * sysdeps/i386/i486/strcat.S: Likewise.
3898 * sysdeps/i386/i486/strlen.S: Likewise.
3899 * sysdeps/i386/i586/add_n.S: Likewise.
3900 * sysdeps/i386/i586/lshift.S: Likewise.
3901 * sysdeps/i386/i586/memcpy.S: Likewise.
3902 * sysdeps/i386/i586/memset.S: Likewise.
3903 * sysdeps/i386/i586/rshift.S: Likewise.
3904 * sysdeps/i386/i586/strchr.S: Likewise.
3905 * sysdeps/i386/i586/strcpy.S: Likewise.
3906 * sysdeps/i386/i586/strlen.S: Likewise.
3907 * sysdeps/i386/i586/sub_n.S: Likewise.
3908 * sysdeps/i386/i686/add_n.S: Likewise.
3909 * sysdeps/i386/i686/memcpy.S: Likewise.
3910 * sysdeps/i386/i686/mempcpy.S: Likewise.
3911 * sysdeps/i386/i686/memset.S: Likewise.
3912 * sysdeps/i386/i686/strcmp.S: Likewise.
3914 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3916 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3918 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3919 256 and don't use OPEN_MAX.
3921 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3922 use it instead of LINK_MAX.
3923 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3925 2000-06-08 Andreas Jaeger <aj@suse.de>
3927 * libio/genops.c (_IO_list_lock): Only compile body if we're
3929 (_IO_list_unlock): Likewise.
3930 (_IO_list_resetlock): Likewise.
3932 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3934 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3935 unless user defined it.
3937 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3938 if not defined by the user.
3940 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3941 * libio/iofwrite.c (_IO_fwrite): Likewise.
3943 * time/time.h: Add missing __THROW for clock_getcpuclockid
3946 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3947 * include/elf.h: Include also <dl-dtprocnum.h>.
3948 * elf/dl-deps.c: Likewise.
3949 * elf/dl-lookup.c: Likewise.
3950 * elf/dl-runtime.c: Likewise.
3951 * elf/dl-version.c: Likewise.
3952 * elf/do-rel.h: Likewise.
3953 * elf/dynamic-link.h: Likewise.
3954 * elf/link.h: Likewise.
3955 * elf/rtld.c: Likewise.
3956 * sysdeps/generic/dl-dtprocnum.h: New file.
3957 * sysdeps/ia64/dl-dtprocnum.h: New file.
3958 * sysdeps/mips/dl-dtprocnum.h: New file.
3959 * sysdeps/sparc/dl-dtprocnum.h: New file.
3961 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3963 * elf/do-lookup.h: Add some __builtin_expect.
3965 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3967 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3968 (_dl_dynamic_weak): New variable.
3969 * elf/dl-support.c: Likewise.
3970 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3971 * elf/do-lookup.h: If we find a weak definition treat it like a
3972 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3973 case treat it like before.
3975 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3977 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3979 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3980 using l_map_start and l_map_end.
3982 * elf/dl-version.c: Add __builtin_expect in many places.
3984 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3987 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3989 Lock for stdio stream list becomes global, for use in LinuxThreads.
3991 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3992 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3993 _IO_list_resetlock): New interface for iterating global list of
3994 streams without accessing the _IO_list_all global variable,
3995 and for manipulating the lock which protects this list.
3996 * libio/libioP.h: Likewise.
3997 * libio/Version: Add entries for the new functions.
3999 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
4000 pointer to _IO_FILE.
4002 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4004 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
4005 BIT() must actually be BITw().
4007 * locale/programs/ld-ctype.c: Handle SP and space consistently.
4009 * locale/programs/charmap.c: Allow string arguments for
4010 code_set_name and repertoiremap.
4012 2000-06-07 Andreas Jaeger <aj@suse.de>
4014 * elf/Makefile: Build ldconfig only when building shared libraries.
4016 2000-06-07 Jakub Jelinek <jakub@redhat.com>
4018 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
4020 (fdimf, __fdim, fdim): Likewise.
4022 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4024 * locale/findlocale.c: Add __builtin_expect in many places.
4025 * locale/loadlocale.c: Likewise.
4027 2000-06-06 Greg McGary <greg@mcgary.org>
4029 * sysdeps/mips/elf/start.S: Trim redundant code.
4031 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
4032 Use C comments throughout. Line up operands column with tabs.
4033 * sysdeps/powerpc/strchr.S: Likewise.
4034 * sysdeps/powerpc/strcmp.S: Likewise.
4035 * sysdeps/powerpc/strcpy.S: Likewise.
4036 * sysdeps/powerpc/strlen.S: Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
4039 Get low part of &__curbrk with @l.
4041 2000-06-06 Ulrich Drepper <drepper@redhat.com>
4043 * iconvdata/utf-16.c: Add __builtin_expect in many places.
4044 * iconvdata/unicode.c: Likewise.
4045 * iconvdata/uhc.c: Likewise.
4046 * iconvdata/t.61.c: Likewise.
4047 * iconvdata/sjis.c: Likewise.
4048 * iconvdata/johab.c: Likewise.
4049 * iconvdata/iso_6937.c: Likewise.
4050 * iconvdata/iso_6937-2.c: Likewise.
4051 * iconvdata/iso8859-1.c: Likewise.
4052 * iconvdata/iso646.c: Likewise.
4053 * iconvdata/iso-2022-kr.c: Likewise.
4054 * iconvdata/iso-2022-jp.c: Likewise.
4055 * iconvdata/iso-2022-cn.c: Likewise.
4056 * iconvdata/gbgbk.c: Likewise.
4057 * iconvdata/gbk.c: Likewise.
4058 * iconvdata/euc-kr.c: Likewise.
4059 * iconvdata/euc-jp.c: Likewise.
4060 * iconvdata/euc-cn.c: Likewise.
4062 2000-06-05 Ulrich Drepper <drepper@redhat.com>
4064 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
4065 * iconvdata/big5.c: Likewise.
4066 * iconvdata/ansi_x3.110.c: Likewise.
4067 * iconvdata/8bit-generic.c: Likewise.
4068 * iconvdata/8bit-gap.c: Likewise.
4069 * iconv/loop.c: Likewise.
4070 * iconv/gconv_db.c: Likewise.
4071 * iconv/gconv_dl.c: Likewise.
4072 * iconv/gconv_simple.c: Likewise.
4073 * iconv/skeleton.c: Likewise.
4075 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
4076 (struct __gconv_step_data): Rename __is_last to __flags.
4077 * iconv/gconv_close.c: Change all uses of __is_last.
4078 * iconv/skeleton.c: Likewise.
4079 * iconvdata/iso-2022-cn.c: Likewise.
4080 * iconvdata/iso-2022-jp.c: Likewise.
4081 * iconvdata/iso-2022-kr.c: Likewise.
4082 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
4083 Recognize IGNORE error handling, set flag, and remove from name.
4084 * iconv/loop.c (ignore_errors_p): Define.
4085 Add flags parameter to both functions.
4086 * iconv/skeleton.c: Pass flags to all conversion functions.
4087 * iconv/gconv_simple.c: Add flags parameter to all functions.
4088 Don't return error for invald error if ignore flag is set.
4089 (ucs4_internal_loop_single): Add missing pointer increment.
4090 (internal_ucs4le_loop_single): Likewise.
4091 * iconv/iconv_prog.c: Implement handling of -c parameter.
4092 * iconvdata/8bit-gap.c: Don't return error for invald error if
4094 * iconvdata/8bit-generic.c: Likewise.
4095 * iconvdata/ansi_x3.110.c: Likewise.
4096 * iconvdata/big5.c: Likewise.
4097 * iconvdata/big5hkscs.c: Likewise.
4098 * iconvdata/euc-cn.c: Likewise.
4099 * iconvdata/euc-jp.c: Likewise.
4100 * iconvdata/euc-kr.c: Likewise.
4101 * iconvdata/gbgbk.c: Likewise.
4102 * iconvdata/gbk.c: Likewise.
4103 * iconvdata/iso-2022-cn.c: Likewise.
4104 * iconvdata/iso-2022-jp.c: Likewise.
4105 * iconvdata/iso-2022-kr.c: Likewise.
4106 * iconvdata/iso646.c: Likewise.
4107 * iconvdata/iso8859-1.c: Likewise.
4108 * iconvdata/iso_6937-2.c: Likewise.
4109 * iconvdata/iso_6937.c: Likewise.
4110 * iconvdata/johab.c: Likewise.
4111 * iconvdata/sjis.c: Likewise.
4112 * iconvdata/t.61.c: Likewise.
4113 * iconvdata/uhc.c: Likewise.
4114 * iconvdata/unicode.c: Likewise.
4115 * iconvdata/utf-16.c: Likewise.
4116 * libio/fileops.c: Likewise.
4117 * libio/iofwide.c: Likewise.
4118 * wcsmbs/btowc.c: Likewise.
4119 * wcsmbs/mbrtowc.c: Likewise.
4120 * wcsmbs/mbsnrtowcs.c: Likewise.
4121 * wcsmbs/mbsrtowcs.c: Likewise.
4122 * wcsmbs/wcrtomb.c: Likewise.
4123 * wcsmbs/wcsnrtombs.c: Likewise.
4124 * wcsmbs/wcsrtombs.c: Likewise.
4125 * wcsmbs/wctob.c: Likewise.
4127 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
4130 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4132 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
4133 counter for the object we are releasing, just decrement it.
4134 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
4136 2000-06-04 Jakub Jelinek <jakub@redhat.com>
4138 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
4141 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4143 * iconvdata/big5hkscs.c: New file.
4144 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
4146 * iconvdata/gconv-modules: Add entry for new module.
4147 * iconvdata/Makefile (modules): Add BIG5HKSCS.
4148 (distribute): Add big5hkscs.c.
4150 2000-06-01 Jakub Jelinek <jakub@redhat.com>
4152 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
4153 inlines to match prototypes in mathcalls.h.
4154 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4155 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4156 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
4157 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4159 2000-06-03 Ulrich Drepper <drepper@redhat.com>
4161 * elf/elf.h (SHT_SUNW_move): Define.
4163 * elf/elf.h: Add more Solaris compatiblity definitions.
4165 2000-06-03 Andreas Jaeger <aj@suse.de>
4167 * sysdeps/powerpc/dl-start.S: Close open comment.
4169 2000-06-03 Jakub Jelinek <jakub@redhat.com>
4171 * inet/Versions: Fix typo in rresvport_af export.
4173 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4175 * math/tgmath.h: Pretty print.
4177 2000-06-02 Andreas Jaeger <aj@suse.de>
4179 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
4180 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4182 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4184 * elf/rtld.c (process_envvars): Test for = after variable name.
4186 2000-06-01 Ulrich Drepper <drepper@redhat.com>
4188 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
4189 have extra call to __gmon_start__, use the pointer we already have.
4191 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
4194 * sysdeps/i386/elf/setjmp.S: Work around change is recent
4195 binutils. gas now emits a jump through the PLT instead of a
4196 relative jump if the jump target is an exported symbol.
4198 2000-05-31 Ulrich Drepper <drepper@redhat.com>
4200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
4202 2000-05-31 Andreas Jaeger <aj@suse.de>
4204 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
4207 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
4208 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4210 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
4212 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4214 2000-05-30 Ulrich Drepper <drepper@redhat.com>
4216 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4218 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4219 * locale/localeconv.c: Make function versioned (with same definition).
4221 * elf/Makefile (modules-names): Strip before using it.
4223 2000-05-30 Andreas Jaeger <aj@suse.de>
4225 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4226 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4227 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4228 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4229 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4230 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4232 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4234 * Makefile: Add GNU make magic.
4236 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4238 * inet/rcmd.c: Remove __P. Remove unused variables.
4239 (iruserfopen): Make first parameter const.
4240 (ruserok_sa): Return result of ruserok2_sa.
4241 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4242 * inet/rexec.c: Remove unused variables. Other small cleanups.
4243 * inet/ruserpass.c: Remove __P. Remove unused variables.
4244 (ruserpass): Check results of memory allocation.
4245 * include/netdb.h: Add prototype for ruserpass.
4247 2000-05-29 Andreas Jaeger <aj@suse.de>
4249 * elf/readlib.c (interpreters): Use LD_SO since this is supported
4252 2000-05-29 Jakub Jelinek <jakub@redhat.com>
4254 * inet/rcmd.c (rresvport_af): Use correct port number.
4256 2000-05-26 Andreas Schwab <schwab@suse.de>
4258 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4259 entries in all-sonames.
4260 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4261 preserving the old name if different for compatibility.
4263 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4265 * posix/Makefile (tests): Add tst-spawn.
4266 (tst-spawn-ARGS): New variable.
4267 * posix/tst-spawn.c: New file.
4269 * posix/spawn_faction_addclose.c: Correctly account for new entry.
4270 * posix/spawn_faction_adddup2.c: Likewise.
4271 * posix/spawn_faction_addopen.c: Likewise.
4272 * posix/spawni.c: Correctly test for success of dup2 calls.
4274 * posix/tst-preadwrite.c: Check success of malloc call.
4276 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4278 * posix/Makefile (tests): Add tst-exec.
4279 (tst-exec-ARGS): New variable.
4280 * posix/tst-exec.c: New file.
4282 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4284 2000-05-04 Andreas Jaeger <aj@suse.de>
4286 * string/string.h: Remove __strdup prototype, it's not needed in
4289 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4291 * posix/Makefile (tests): Add tst-fork.
4292 * posix/tst-fork.c: New file.
4294 * resolv/inet_pton.c: Loose __P.
4296 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4298 * libio/libioP.h (_IO_CHECK_WIDE): Define.
4299 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4300 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4301 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4302 _IO_CHECK_WIDE fails.
4304 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4306 * po/da.po: New file.
4308 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4309 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4311 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4312 (Other iconv Implementations): Fix typo.
4313 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4315 2000-05-27 Andreas Jaeger <aj@suse.de>
4317 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
4319 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4320 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4321 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4322 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4323 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
4324 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
4326 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
4327 endianness to decide how to pass arguments.
4328 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4330 * elf/vismain.c: Use test-skeleton interface.
4331 (TEST_FUNCTION): New macro.
4332 (do_test): Renamed from main.
4334 2000-05-27 Ulrich Drepper <drepper@redhat.com>
4336 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
4337 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
4339 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
4340 handling of AI_V4MAPPED flag.
4342 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
4343 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
4344 perform lookup for T_A type and tell getanswer_r to convert the
4345 result with new argument.
4346 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
4347 Don't convert addresses from IPv4 to IPv6 here.
4348 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
4349 IPv6 is wanted. Allow qtype and type from reply to disagree if
4350 IPv4 mapping has to be done. Perform mappings if required by the
4351 caller and not if RES_USE_INET6 bit in _res.options is set.
4352 Add several __builtin_expect.
4354 2000-05-26 Ulrich Drepper <drepper@redhat.com>
4356 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
4358 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4361 * posix/tst-preadwrite.c: Allow parallel execution of
4362 tst-preadwrite and tst-preadwrite64.
4364 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
4365 * posix/tst-truncate.c: New file.
4366 * posix/tst-truncate64.c: New file.
4368 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
4371 * posix/Makefile (tests): Add tst-preadwrite64.
4372 * posix/tst-preadwrite.c: Alloc file being used also for testing
4373 pread64 and pwrite64.
4374 * posix/tst-preadwrite64.c: New file.
4376 2000-05-26 Andreas Jaeger <aj@suse.de>
4378 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
4379 of arguments dependend on endianness.
4380 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4382 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4384 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4386 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4387 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4389 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4390 endianness to check how to pass argument.
4391 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4393 * elf/ldconfig.h: Update parameter list for process_elf_file.
4395 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4396 Add parameter file_length and pass it ot process_elf*file.
4398 * sysdeps/generic/readelflib.c (check_ptr): New.
4399 (process_elf_file): Use check_ptr to check all accesses to the
4400 mmapped file. Add parameter file_length.
4402 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4405 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4406 Closes PR libc/1573, reported by Bradley White
4407 <bww@laurelnetworks.com>.
4409 2000-05-25 Ulrich Drepper <drepper@redhat.com>
4411 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4412 __FAST_MATH__ is defined.
4414 2000-05-22 Andreas Jaeger <aj@suse.de>
4416 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4417 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4419 * manual/math.texi (FP Function Optimizations): Document gcc
4420 -ffast-math behaviour with mathinlines.
4422 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4423 functions unless -ffast-math is given to gcc.
4425 2000-05-23 Jakub Jelinek <jakub@redhat.com>
4427 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4428 __sincosl): Guard with __USE_GNU.
4430 2000-05-24 Ulrich Drepper <drepper@redhat.com>
4432 * csu/Makefile (routines): Add check_fds.
4433 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4434 binaries. Add various __builtin_expect.
4435 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4436 * sysdeps/generic/check_fds.c: ...here. New file.
4438 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4439 binaries if file /etc/suid-debug is available.
4441 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4442 and wcseqorder members.
4443 (struct locale_collate_t): Likewise.
4444 (collate_finish): Assign collation sequence value to each character.
4445 Create tables for output.
4446 (collate_output): Write out tables with collation sequence information.
4447 * locale/C-collate.c: Provide C locale data for collation sequence
4449 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4450 _NL_COLLATE_COLLSEQWC.
4451 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4452 _NL_COLLATE_COLLSEQWC.
4453 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4454 include fnmatch_loop.c.
4455 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4456 character is matched by range expression. Use collation sequence
4457 table. Outside glibc fall back on simple character value comparison.
4459 2000-05-24 Andreas Jaeger <aj@suse.de>
4461 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4464 * intl/Makefile: Run gettext-test only if msgfmt is available.
4466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4467 Define it for newer kernels.
4469 2000-05-23 Ulrich Drepper <drepper@redhat.com>
4471 * elf/dl-sym.c: Minor cleanups.
4473 * configure.in: Add test for .protected.
4474 * config.make.in: Add have-protected variable.
4475 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4476 (tests-vis-yes): Add vismain.
4477 (modules-names): Add $(modules-vis-$(have-protected)).
4478 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4479 Add rules to generate and run vismain.
4480 * elf/vismain.c: New file.
4481 * elf/vismod1.c: New file.
4482 * elf/vismod2.c: New file.
4483 * elf/vismod3.c: New file.
4485 2000-05-23 Andreas Jaeger <aj@suse.de>
4487 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4489 * manual/search.texi (Array Sort Function): Document that qsort is
4490 not necessarily in-place.
4492 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4493 Closes PR libc/1731.
4495 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4496 * dirent/scandir64.c: Likewise.
4497 * pwd/getpw.c: Likewise.
4498 * stdlib/bsearch.c (bsearch): Likewise.
4499 * stdlib/tst-strtoll.c: Likewise.
4500 * localedata/collate-test.c: Likewise.
4501 * localedata/xfrm-test.c: Likewise.
4502 * posix/bsd-getpgrp.c: Likewise.
4503 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4504 * sysdeps/generic/bits/siginfo.h: Likewise.
4505 * sysdeps/generic/bits/sockaddr.h: Likewise.
4506 * sysdeps/generic/sys/swap.h: Likewise.
4507 * sysdeps/generic/sys/sysinfo.h: Likewise.
4508 * sysdeps/generic/vfork.c: Likewise.
4509 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4510 * sysdeps/mach/hurd/fdopen.c: Likewise.
4511 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4512 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4513 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4514 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4515 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4516 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4519 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4520 * shadow/lckpwdf.c: Likewise.
4521 * stdlib/tst-strtol.c: Likewise.
4522 * sysdeps/generic/tcsetattr.c: Likewise.
4523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4524 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4526 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4528 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4529 free it and set to (void *) -1.
4531 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4533 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4534 not the second character in the range.
4535 * stdio-common/tstscanf.c (main): Add testcase for the above.
4536 Reported by jik@kamens.brookline.ma.us.
4538 2000-05-21 H.J. Lu <hjl@gnu.org>
4540 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4541 with noexec and noplt parameter.
4542 (do_lookup): Likewise.
4544 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4545 do_lookup. Support STV_PROTECTED.
4546 (_dl_lookup_symbol_skip): Likewise.
4547 (_dl_lookup_versioned_symbol): Likewise.
4548 (_dl_lookup_versioned_symbol_skip): Likewise.
4550 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4552 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4554 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4556 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4557 * sysdeps/i386/bits/huge_val.h: Likewise.
4558 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4559 * sysdeps/m68k/bits/huge_val.h: Likewise.
4560 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4561 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4563 2000-05-22 Andreas Jaeger <aj@suse.de>
4565 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4568 2000-05-19 Andreas Jaeger <aj@suse.de>
4570 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4571 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4572 breaks compilation without linuxthreads.
4574 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4576 * sysdeps/ia64/memccpy.S: New file.
4577 * sysdeps/ia64/memchr.S: New file.
4578 * sysdeps/ia64/memcmp.S: New file.
4579 * sysdeps/ia64/memcpy.S: New file.
4580 * sysdeps/ia64/memmove.S: New file.
4581 * sysdeps/ia64/memset.S: New file.
4582 * sysdeps/ia64/strcat.S: New file.
4583 * sysdeps/ia64/strchr.S: New file.
4584 * sysdeps/ia64/strcmp.S: New file.
4585 * sysdeps/ia64/strcpy.S: New file.
4586 * sysdeps/ia64/strlen.S: New file.
4587 * sysdeps/ia64/strncmp.S: New file.
4588 * sysdeps/ia64/strncpy.S: New file.
4589 * sysdeps/ia64/softpipe.h: New file.
4590 Patches by Dan Pop <Dan.Pop@cern.ch>.
4592 * manual/memory.texi: Document memory handling functions (mlock,
4593 munlock, mlockall, munlockall, brk, and sbrk)
4594 * manual/time.texi: Document timespec and friends.
4595 * manual/conf.texi: Fix references.
4596 * manual/ctype.texi: Likewise.
4597 * manual/errno.texi: Likewise.
4598 * manual/intro.texi: Likewise.
4599 * manual/locale.texi: Likewise.
4600 * manual/sysinfo.texi: Likewise.
4601 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4603 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4605 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4606 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4608 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4610 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4613 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4615 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4616 * locale/localeconv.c: Initialize new elements from ISO C99.
4617 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4618 new standard elements.
4619 * locale/categories.def: Adjust accordingly.
4621 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4622 * iconv/iconv.c: Likewise.
4623 * conform/data/iconv.h-data: Likewise.
4624 * iconv/iconv_prog.c (process_block): Remove const from second
4626 (main): Remove const from addr definition.
4627 * manual/charset.texi (Generic Conversion Interface): Remove from
4628 inbuf parameter of iconv.
4630 * intl/dcigettext.c: Fix typo in comment.
4632 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4634 * resolv/res_libc.c (_res): Initialize _sock to -1.
4636 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4638 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4639 (fopencookie@@GLIBC_2.2): New.
4640 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4641 (fopencookie@GLIBC_2.0): New.
4642 * libio/Versions: Add fopencookie to GLIBC_2.2.
4644 2000-05-18 Andreas Jaeger <aj@suse.de>
4646 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4647 Closes PR libc/1731.
4649 * manual/arith.texi (Parsing of Integers): Fix typo.
4650 Closes PR libc/1744, reported by blp@gnu.org.
4652 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4654 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4655 __extension__ to hexadecimal floating constant notation.
4656 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4658 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4659 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4661 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4662 HUGE_VALL): Likewise.
4663 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4664 HUGE_VALL): Likewise.
4665 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4667 2000-05-17 Andreas Jaeger <aj@suse.de>
4669 * string/envz.h: Add pure attributes if possible.
4671 * string/argz.h: argz_count is a pure function.
4673 * string/strings.h: Add pure and const attributes if possible.
4675 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4676 possibly searching through the whole memory.
4677 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4679 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4681 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4683 (_dl_cache_check_flags): Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4687 2000-05-17 Andreas Jaeger <aj@suse.de>
4689 * manual/creature.texi (Feature Test Macros): Remove paragraph
4690 since the description is wrong.
4691 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4693 * scripts/config.sub: New version.
4694 * scripts/config.guess: Likewise.
4695 * manual/texinfo.tex: Likewise.
4697 * time/test_time.args: Removed.
4698 * time/Makefile (test_time-ARGS): Added contents here instead.
4700 * posix/tstgetopt.args: Removed.
4701 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4703 * Rules: Allow arguments for test files to be specified in
4704 Makefile with testname-ARGS; remove rules with .args in it.
4706 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4707 remove old bogus rule for opendir-tst1.args.
4709 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4711 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4712 into objdir. This allows a readonly sourcetree.
4713 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4715 2000-05-16 Andreas Jaeger <aj@suse.de>,
4716 David Huggins-Daines <dhd@linuxcare.com>
4718 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4719 cache_data in case of only new cache format correctly.
4721 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4724 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4725 struct cache_file_new.
4727 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4730 * elf/cache.c (save_cache): Align struct new_file_cache.
4731 (print_cache): Likewise.
4733 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4735 * elf/soinit.c (__libc_global_ctors): Move
4736 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4737 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4738 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4739 variable, don't define it to __res_state call.
4741 2000-05-13 Andreas Jaeger <aj@suse.de>
4743 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4745 (AF_PPPOX): Likewise.
4746 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4747 (AF_PPPOX): Likewise.
4749 2000-05-12 Andreas Jaeger <aj@suse.de>
4751 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4752 Reported by tmoestl@gmx.net, closes PR libc/1732.
4754 2000-05-11 Jan Hubicka <jh@suse.cz>
4756 * misc/sys/cdefs.h: Add support for pure attribute.
4758 * include/string.h: Add __attribute_pure__ to various functions.
4759 * string/string.h: Likewise.
4761 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4763 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4767 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4769 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4771 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4772 at proper place. Compute the high nibble correctly.
4774 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4776 * elf/ldconfig.c: Include elf.h.
4778 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4779 (_dl_vsym): Likewise.
4780 Reported by Owen Taylor <otaylor@redhat.com>.
4782 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4785 2000-05-08 Andreas Jaeger <aj@suse.de>
4787 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4789 * intl/bindtextdom.c (set_binding_values): Add prototype.
4791 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4793 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4794 call to elf_machine_fixup_plt.
4795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4798 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4800 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4801 they are not dlclose'd from underneath us.
4803 2000-05-08 Andreas Schwab <schwab@suse.de>
4805 * posix/execle.c: Fix size parameter of memcpy.
4807 2000-05-08 Andreas Schwab <schwab@suse.de>
4809 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4810 getpagesize syscall if available.
4812 2000-05-08 Andreas Jaeger <aj@suse.de>
4814 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4817 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4819 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4820 sizeof(struct link_map *) chunks, not in bytes.
4822 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4824 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4825 only needed for locale.
4826 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4827 It's only needed for catgets.
4828 Patches by Greg McGary <gkm@eng.ascend.com>.
4830 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4832 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4833 Remove duplicate <errno.h> include. Remove inclusion of
4834 <libintl.h> and "nsswitch.h".
4835 (set_cloexec_flag): New function, broken out of dbopen.
4836 (dbopen): Changed return type to `enum
4837 nss_status'. Mostly rewritten to make sure that we do not report
4838 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4839 (internal_setent): Change return type to nss_status.
4840 Document, and make sure that the function
4841 behaves accordingly. Make dynamically loading the database
4842 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4844 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4846 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4848 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4849 c_get function member.
4850 * nss/nss_db/nss_db.h: Add and tweak some comments.
4851 (DBT): Move typedef before NSS_DBC typedef.
4852 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4854 2000-05-07 H.J. Lu <hjl@gnu.org>
4856 * csu/initfini.c: Moved to ....
4857 * sysdeps/generic/initfini.c: ...here.
4859 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4861 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4863 * manual/resource.texi: Document POSIX scheduling functions.
4864 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4866 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4867 reading anything. Reported by Andries.Brouwer@cwi.nl.
4869 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4870 for x since promotion in comparison might leads to unexpected
4871 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4873 * iconv/Makefile (tests): Add tst-iconv1.
4874 * iconv/tst-iconv1.c: New file.
4875 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4876 empty input buffer over full output buffer.
4877 (ucs4_internal_loop): Likewise.
4878 (ucs4_internal_loop_unaligned): Likewise.
4879 (internal_ucs4le_loop): Likewise.
4880 (internal_ucs4le_loop_unaligned): Likewise.
4881 (ucs4le_internal_loop): Likewise.
4882 (ucs4le_internal_loop_unaligned): Likewise.
4883 Reported by yaoz@nih.gov.
4885 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4887 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4888 returned != __GCONV_OK, there is nothing to clean up.
4890 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4892 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4893 OUTPUT_CHARSET environment variables.
4895 2000-05-06 Andreas Jaeger <aj@suse.de>
4897 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4898 (struct cache_file_new): New.
4899 (struct file_entry): New (moved from cache.c).
4900 (struct cache_file): New (moved from cache.c).
4902 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4903 from _dl_load_cache_lookup.
4904 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4905 the different cache formats.
4906 New variable cache_new for new format.
4908 * elf/ldconfig.h: Change according to changes in cache.c and
4909 ldconfig.c; remove cache_libcmp; add opt_format.
4911 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4912 stuff that's defined in those headers.
4913 Add hwcap to struct lib_entry.
4914 (opt_format): New variable to select cache format.
4915 (options): Add format parameter.
4916 (is_hwcap): New function.
4917 (path_hwcap): New function.
4918 (parse_opt): Handle new format parameter.
4919 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4921 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4922 ldconfig is part of glibc.
4923 Include dl-cache.h and remove stuff that's defined there.
4924 (struct cache_entry): Add new member hwcap.
4925 (print_entry): Print hwcap, cleanup a bit.
4926 (print_cache): Print new and old formats.
4927 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4928 (save_cache): Save new and old formats.
4929 (add_to_cache): Handle hwcap.
4931 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4932 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4933 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4934 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4935 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4936 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4938 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4940 * intl/dcigettext.c (alignof): New macro.
4941 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4942 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4945 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4947 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4950 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4952 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4953 (mempcpy): Correct typo is parameter list.
4955 2000-05-06 Andreas Jaeger <aj@suse.de>
4957 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4958 functions unless -ffast-math is given to gcc.
4960 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4962 * po/ko.po: Update from translation team.
4964 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4966 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4967 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4968 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4969 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4970 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4971 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4973 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4974 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4975 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4977 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4979 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4980 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4982 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4983 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4985 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4987 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4988 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4990 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4991 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4993 * sysdeps/ia64/Implies: New file.
4994 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4995 * sysdeps/ia64/Makefile: New file.
4996 * sysdeps/ia64/gmp-mparam.h: New file,
4998 * sysdeps/ia64/elf/start.S: New file.
5000 * sysdeps/ia64/bits/fenv.h: New file.
5002 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
5004 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
5006 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
5008 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
5009 ia64 has 64 bit .hash entries just as the Alpha.
5011 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5013 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
5015 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
5017 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
5018 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
5019 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
5020 * sysdeps/ia64/fpu/fegetenv.c: New file.
5021 * sysdeps/ia64/fpu/fegetexcept.c: New file.
5022 * sysdeps/ia64/fpu/fegetround.c: New file.
5023 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
5024 * sysdeps/ia64/fpu/fesetenv.c: New file.
5025 * sysdeps/ia64/fpu/fesetround.c: New file.
5026 * sysdeps/ia64/fpu/feupdateenv.c: New file.
5027 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
5028 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
5029 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
5030 * sysdeps/ia64/fpu/ftestexcept.c: New file.
5032 2000-05-05 Andreas Jaeger <aj@suse.de>
5034 * misc/tst-tsearch.c (main): Correct type for initstate argument.
5036 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5037 (_dl_string_hwcap): New, does nothing.
5039 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5040 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5041 (_dl_string_hwcap): New function, converts from string to hwcap
5043 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5044 (_DL_HWCAP_COUNT): New.
5045 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5046 (_dl_string_hwcap): New function, converts from string to hwcap
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
5049 (_DL_HWCAP_COUNT): New.
5050 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5051 (_dl_string_hwcap): New function, converts from string to hwcap
5054 2000-05-05 Ulrich Drepper <drepper@redhat.com>
5056 * elf/Makefile (distribute): Add dl-lookupcfg.h.
5057 * sysdeps/ia64/Dist: New file.
5059 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
5060 parameter to mprotect and for variable assignments.
5062 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5064 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
5065 validity of map before dereferencing it.
5067 * elf/dl-reloc.c (RESOLVE_MAP): Define.
5069 2000-05-02 Jes Sorensen <jes@linuxcare.com>
5071 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
5072 lookup to the arguments to elf_machine_fixup_plt().
5074 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
5075 of the symbol being resolved to input argument list and make the
5076 function return the pointer to the reloc.
5078 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
5079 return valuie to lookup_t and return the value.
5080 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
5081 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
5082 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
5083 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
5084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
5085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
5087 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
5088 Make it an inline function returning value after calling
5089 __elf_machine_fixup_plt().
5091 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
5094 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
5095 obtain the symbol address.
5097 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
5098 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
5100 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
5101 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
5104 2000-04-28 Jes Sorensen <jes@linuxcare.com>
5106 * elf/dl-runtime.c (fixup): Use the portable macros to get the
5107 symbol address of an object.
5109 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
5110 the symbol address of an object.
5112 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
5113 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
5114 (_dl_lookup_symbol_skip): Likewise.
5115 (_dl_lookup_versioned_symbol): Likewise.
5116 (_dl_lookup_versioned_symbol_skip): Likewise.
5118 2000-04-27 Jes Sorensen <jes@linuxcare.com>
5120 * elf/rtld.c (_dl_start): Get the function pointer return address
5121 via _dl_start_address for architectures that need a function
5122 pointer descriptor rather than just a pointer (ia64).
5124 * sysdeps/generic/dl-lookupcfg.h: New file.
5125 * sysdeps/ia64/dl-lookupcfg.h: New file.
5126 * sysdeps/ia64/dl-machine.h: New file.
5127 * sysdeps/ia64/dl-symaddr.c: New file.
5128 * sysdeps/ia64/dl-fptr.c: New file.
5130 * elf/elf.h: Add IA-64 specific definitions.
5132 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5134 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
5137 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5139 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
5142 2000-04-11 Geoff Keating <geoffk@cygnus.com>
5144 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
5145 symbol. Call _dl_init rather than the old way.
5147 2000-05-04 Ulrich Drepper <drepper@redhat.com>
5149 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
5150 test for pointer in range of DSO address space.
5152 2000-05-04 Andreas Jaeger <aj@suse.de>
5154 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
5156 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5158 * locale/findlocale.c (_nl_find_locale): Add new parameter to
5159 calls of _nl_make_l10nflist.
5161 * libio/stdio.h: Make fseeko and ftello prototypes available is
5162 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
5164 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
5165 real unsetenv implementation from 1999-07-29 [PR libc/1714].
5167 2000-05-03 Bruno Haible <haible@clisp.cons.org>
5169 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
5170 before calling tfind.
5172 2000-03-05 Jakub Jelinek <jakub@redhat.com>
5174 * resolv/resolv.h (res_querydomain): Remove redefinition to
5175 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
5177 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5179 * po/gl.po: Update from translation team.
5181 * manual/intro.texi (Program Basics): Change section title.
5182 * manual/process.texi: Fix reference.
5183 (Executing a File): Add reference exec in other section.
5184 * manual/signal.texi: Fix reference.
5185 * manual/startup.texi: Document syscall function.
5186 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5188 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5190 * intl/libintl.h (bind_textdomain_codeset): New declaration.
5191 * intl/bindtextdom.c (set_binding_values): New function.
5192 (bindtextdomain): Call it.
5193 (bind_textdomain_codeset): New function.
5194 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
5195 (free_mem): Free each binding's codeset.
5196 * intl/gettextP.h (struct binding): Add codeset field.
5197 (_nl_find_domain): Add domainbinding argument.
5198 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
5199 Pass it to _nl_make_l10nflist.
5200 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
5201 (_nl_make_l10nflist): Add domainbinding argument.
5202 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
5203 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
5204 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
5206 * manual/message.texi: New node "Charset conversion in gettext".
5208 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5210 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
5211 appropriate. Handle possible __read error.
5213 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5215 * intl/gettextP.h (__builtin_expect): Define as empty if not a
5217 * intl/loadinfo.h (__builtin_expect): Likewise.
5218 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5219 __builtin_expect where appropriate.
5220 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5221 * intl/localealias.c (extend_alias_table): Return an error indicator.
5222 (read_alias_file): Bail out if extend_alias_table fails.
5224 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5226 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5227 * intl/localealias.c: Likewise.
5229 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5231 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5232 Initialize domain->plural and domain->nplurals even if there is no
5235 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5237 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5238 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5239 In case of failure, goto converted.
5241 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5243 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5244 * iconv/gconv_int.h (norm_add_slashes): Move to here.
5245 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5248 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5250 * intl/dcigettext.c (transcmp): Compare the domains as well.
5251 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5253 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5256 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5258 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5259 Reported by Bruno Haible.
5261 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5263 * manual/arith.texi: Remove @w from @itemize.
5265 2000-05-02 Andreas Jaeger <aj@suse.de>
5267 * conform/data/tar.h-data: Add some checks for specific values.
5269 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5272 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5275 * conform/data/netinet/in.h-data: Add exact checks for the values
5276 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5278 * conform/data/float.h-data: Add some minimal values.
5280 * conform/conformtest.pl: Test for macros with string constants,
5281 check for minimum and maximum values.
5282 Add limits.h to headers.
5284 * conform/data/cpio.h-data: Test for value of MAGIC.
5286 * conform/data/limits.h-data: New file.
5288 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5290 * math/Makefile (headers): Add bits/fenvinline.h.
5292 2000-05-01 Ulrich Drepper <drepper@redhat.com>
5294 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5295 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5297 * posix/Versions: Change posix_spawnattr_getdefault and
5298 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5299 and posix_spawnattr_setsigdefault respectively.
5300 * posix/spawn.h: Likewise.
5301 * posix/spawnattr_getdefault.h: Likewise.
5302 * posix/spawnattr_setdefault.h: Likewise.
5303 * conform/data/spawn.h-data: Likewise.
5305 2000-05-01 Andreas Jaeger <aj@suse.de>
5307 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5309 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5311 * manual/sysinfo.texi: Document getdomainname, setdomainname
5313 * manual/string.texi: Fix typo.
5314 * manual/terminal.texi: Document gtty and stty.
5315 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5317 2000-04-30 Andreas Jaeger <aj@suse.de>
5319 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
5320 accordance with Austin Draft.
5322 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5324 * catgets/gencat.c (read_input_file): Use isblank and not isspace
5325 to recognize second character in comment line.
5327 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
5328 ENOBUFS if we are out of memory.
5330 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
5331 available if __USE_XOPEN2K.
5332 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5333 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5334 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5336 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5338 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
5339 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5341 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5343 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
5344 Recognize option -s, -c, and -l.
5346 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
5348 * nscd/nscd.c: Start new session for nscd, drop privilegs
5349 to configured user if requested and no -S parameter are used.
5350 * nscd/nscd.conf: Add new option "server-user".
5351 * nscd/nscd_conf.c: Add support for new "server-user" option.
5352 * nscd/nscd.h: Add declaration for server_user variable.
5353 Based on patch by Chris Wing <wingc@engin.umich.edu>
5355 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5357 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
5358 that changing the __restore and __restore_rt signal return code
5361 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5363 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
5366 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5368 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
5370 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5372 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
5373 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
5375 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
5376 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
5377 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
5378 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
5379 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5380 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5381 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5382 posix_fallocate, and posix_madvise.
5383 * conform/data/netdb.h-data: New file.
5384 * conform/data/pthread.h-data: Add pthread_barrier_t,
5385 pthread_barrierattr_t, pthread_barrier_destroy,
5386 pthread_barrier_init, pthread_barrier_wait,
5387 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5388 pthread_barrierattr_init, pthread_barrierattr_setpshared,
5389 pthread_condattr_getclock, pthread_condattr_setclock,
5390 pthread_getcpuclockid, pthread_mutex_timedlock,
5391 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5392 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5393 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5394 * conform/data/sched.h-data: Add sched_ss_low_priority,
5395 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5397 * conform/data/semaphore.h-data: Add sem_timedwait.
5398 * conform/data/signal.h-data: Add SIGIO.
5399 * conform/data/spawn.h-data: New file.
5400 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5401 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5402 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5403 Fix typo in gmtime_r definition.
5404 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5405 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5406 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5407 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5408 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5409 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5410 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5411 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5412 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5413 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5414 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5415 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5416 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5417 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5418 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5419 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5420 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5421 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5422 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5423 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
5424 typo in off_t definition.
5425 * conform/data/net/if.h-data: New file.
5426 * conform/data/netinet/in.h-data: New file.
5427 * conform/data/netinet/tcp.h-data: New file.
5428 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5429 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5430 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5431 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5432 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5433 and posix_typed_mem_open.
5434 * conform/data/sys/socket.h-data: New file.
5435 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5436 * conform/data/sys/types.h-data: Add pthread_barrier_t,
5437 pthread_barrierattr_t, and pthread_spinlock_t.
5438 * conform/data/sys/un.h-data: New file.
5439 * conform/data/sys/utsname.h-data: New file.
5441 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5443 * inet/gethstbyad.c (gethostbyname): Likewise.
5444 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5445 * inet/getipnodebyad.c (getipnodebyad): Likewise.
5446 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5447 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5449 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5450 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5451 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5452 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5453 * resolv/gethnamaddr.c (gethostbyname): Likewise.
5454 * resolv/netdb.h (struct hostent): Fix type of h_length member.
5455 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5456 and second parameter.
5458 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5461 2000-04-29 Andreas Jaeger <aj@suse.de>
5463 * conform/data/arpa/inet.h-data: New file.
5465 2000-04-28 Geoff Clare <gwc@unisoft.com>
5467 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5468 path passed to ftw() or nftw() is an empty string.
5469 Closes PR libc/1710.
5471 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5473 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5474 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5475 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5476 * localedata/tst-mbswcs4.c: New file.
5477 * localedata/tst-mbswcs5.c: New file.
5479 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5480 == NULL. Little optimization.
5482 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5483 DT_PREINIT_ARRAYSZ).
5484 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5486 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5487 overflows in conversion from ASCII.
5489 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5491 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5492 * Makerules (full_config_sysdirs): Likewise.
5493 * MakeTAGS (full_config_sysdirs): Likewise.
5495 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5497 * .cvsignore: Remove linuxthreads.
5498 * po/.cvsignore: Remove *.pot.
5499 * posix/glob/.cvsignore: Removed.
5500 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5502 2000-04-25 Andreas Jaeger <aj@suse.de>
5504 * conform/Makefile (distribute): Also distribute contents of
5507 * Makerules (no_deps): Remove abi-versions.h.
5509 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5511 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5513 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5514 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5515 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5516 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5517 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5518 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5521 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5523 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5525 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5527 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5528 * intl/l10nflist.c: Likewise.
5530 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5532 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5533 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5534 * intl/textdomain.c [!_LIBC]: Likewise.
5535 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5536 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5537 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5540 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5542 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5543 character set conversion also in the case the translation was found
5544 after a hash collision or through binary search. Store the maximum
5545 index together with the converted message. Use iconv() when available.
5546 In case of out of memory during conversion, return the unconverted
5547 translated string, not NULL.
5549 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5551 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5552 to avoid name clashes with the ia32 linker.
5554 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5556 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5559 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5561 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5562 strtoumax, strfry, and memfrob.
5563 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5564 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5566 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5567 if this function is available.
5569 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5572 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5574 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5576 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5578 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5579 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5580 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5581 * localedata/tst-mbswcs3.c: New file.
5583 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5585 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5586 characters. Don't handle incomplete characters as errors.
5587 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5588 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5589 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5590 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5591 * localedata/tst-mbswcs2.c: New file.
5593 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5594 stored character in state in UNPACK_BYTES macro.
5595 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5596 test for available characters, handle result of BODY code correctly.
5597 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5598 (distribute): Add tst-mbswcs.sh.
5599 Add rule to run tst-mbswcs.sh.
5600 * localedata/tst-mbswcs.sh: New file.
5601 * localedata/tst-mbswcs1.c: New file.
5603 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5605 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5606 allocation fixups centrally, fix __builtin_expect call, return NULL
5607 on failure, not NIS_NOMEMORY.
5609 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5611 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5613 * intl/loadinfo.h (internal_function): Define if not already defined.
5615 2000-04-27 Andreas Jaeger <aj@suse.de>
5617 * intl/libintl.h: Fix typo, reported by Bruno Haible
5618 <haible@clisp.cons.org>.
5620 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5622 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5623 setting the state to GMON_PROF_BUSY.
5625 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5627 * elf/dl-profile.c (_dl_start_profile): define all variables which
5628 do not have to be global as local variables.
5630 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5631 patch. Keep needed tests for failed memory allocation.
5633 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5634 __builtin_expect saying that we don't normally expect to profile.
5636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5637 __builtin_expect where desirable.
5639 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5641 * manual/Makefile (chapters): Add syslog.
5642 * manual/syslog.texi: New file.
5643 * manual/math.texi: Fix references.
5644 * manual/terminal.texi: Likewise.
5645 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5647 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5649 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5650 stdlib.h was not included or __USE_XOPEN not defined.
5652 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5654 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5655 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5657 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5659 * manual/examples/subopt.c (mount_opts): Add missing terminating
5661 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5663 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5664 * libio/ftello.c: Likewise.
5665 * libio/ftello64.c: Likewise.
5666 * libio/ioftell.c: Likewise.
5667 * sysdeps/generic/memrchr.c: Likewise.
5668 * sysdeps/posix/libc_fatal.c: Likewise.
5669 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5670 * misc/fstab.c: Include <string.h> for strcmp prototype.
5671 * sysdeps/generic/ldsodefs.h: Likewise.
5672 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5673 Patch by Kurt Roeckx <Q@ping.be>.
5675 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5676 Remove db-open. Change all uses.
5677 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5679 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5681 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5682 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5683 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5684 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5685 with .set noat/at to shut up warnings.
5686 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5687 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5688 compilation if __NR_pciconfig_iobase is not defined.
5689 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5692 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5694 * manual/sysinfo.texi: Fix typo.
5695 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5696 Replace "high precision time" with "high accuracy clock".
5698 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5700 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5701 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5703 * nis/nis_subr.c: Use __builtin_expect.
5704 * nis/ypclnt.c: Likewise.
5705 * nis/nis_getservlist.c: Likewise.
5706 * nis/nis_creategroup.c: Likewise.
5708 * nis/nis_callback.c (__nis_create_callback): Check result of
5709 memory allocation. Fix memory leaks. Use __builtin_expect.
5710 (__nis_destroy_callback): Fix memory leaks.
5712 2000-04-21 Andreas Jaeger <aj@suse.de>
5714 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5715 * sysdeps/mips/mips64/add_n.S: Likewise.
5716 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5717 * sysdeps/mips/mips64/lshift.S: Likewise.
5718 * sysdeps/mips/mips64/mul_1.S: Likewise.
5719 * sysdeps/mips/mips64/rshift.S: Likewise.
5720 * sysdeps/mips/mips64/setjmp.S: Likewise.
5721 * sysdeps/mips/mips64/sub_n.S: Likewise.
5722 * sysdeps/mips/mips64/submul_1.S: Likewise
5723 * sysdeps/unix/mips/sysdep.S: Likewise.
5725 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5726 and update comment. The strtab from _dl_relocate_object can be
5729 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5731 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5732 * iconv/iconv_close.c (iconv_close): Likewise.
5733 * iconv/iconv_open.c (iconv_open): Likewise.
5735 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5736 __builtin_expect where useful.
5738 * grp/initgroups.c (initgroups): Test for result of memory
5739 allocation and punt if it fails.
5741 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5742 * grp/fgetgrent.c (fgetfrent): Likewise.
5743 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5745 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5747 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5749 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5751 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5752 don't search for NUL byte to decrement counter.
5753 Reported by Ulrich.Brink@sap.com.
5755 * iconv/gconv_simple.c: Define separate functions to convert from
5756 UCS4/UCS4-LE to the internal encoding.
5757 * iconv/gconv_builtin.h: Use separate functions to convert from
5758 UCS4/UCS4-LE to the internal encoding.
5759 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5760 __gconv_transform_ucs4le_internal.
5762 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5763 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5765 * iconv/skeleton.c: Add some more __builtin_expect.
5766 * iconv/loop.c: Likewise.
5768 2000-03-08 H.J. Lu <hjl@gnu.org>
5770 * posix/regex.c (regex_compile): Correctly handle "\{" when
5771 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5773 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5775 * manual/stdio.texi: Give advise about handling error when using
5777 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5779 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5781 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5782 field to nelems * sizeof (uint32_t).
5783 * locale/programs/ld-address.c (address_output): Align word fields
5785 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5786 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5788 Avoid giving arbitrary garbage in the crncystr field.
5789 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5790 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5792 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5793 Don't restart idx pointers to idx end at the decimal_point_wc field.
5794 * locale/programs/ld-time.c (time_output): week_1stday should be
5795 word, not byte. Align it properly.
5797 2000-04-19 H.J. Lu <hjl@gnu.org>
5799 * csu/gmon-start.c (_start): Declared as "extern void".
5802 2000-04-18 Andreas Jaeger <aj@suse.de>
5804 * manual/install.texi (Running make install): Don't mention utmpd
5807 2000-04-18 Andreas Jaeger <aj@suse.de>
5809 * linuxthreads/Versions: Use ld instead of ld.so.
5811 * elf/Makefile (ld-map): Use ld.map.
5813 * Versions.def: Use ld instead of ld.so.
5814 * elf/Versions: Likewise.
5815 * sysdeps/mach/hurd/Versions: Likewise.
5817 2000-04-20 Andreas Jaeger <aj@suse.de>
5819 * elf/rtld.c (print_statistics): Move ifndef further up.
5820 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5821 (dl_main): Likewise.
5823 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5825 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5826 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5828 * po/cs.po: Update from translation team.
5830 * sysdeps/generic/updwtmp.c: Remove daemon support.
5832 * login/Makefile (routines): Remove utmp_daemon.
5834 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5835 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5836 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5837 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5839 * elf/rtld.c: Display statitics option also if hp timing is not
5842 * login/programs/connection.c: Removed.
5843 * login/programs/database.c Removed.
5844 * login/programs/error.c: Removed.
5845 * login/programs/request.c: Removed.
5846 * login/programs/xtmp.c: Removed.
5847 * login/programs/xtmp.h: Removed.
5848 * login/Makefile: Remove rules for utmpd.
5849 * login/README.utmpd: Removed.
5850 * login/utmp_daemon.c: Removed.
5851 * login/getutent_r.c: Remove references to daemon functions.
5852 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5855 2000-04-18 Andreas Jaeger <aj@suse.de>
5857 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5858 2.2 for libnsl, libresolv, librt, libnss_*.
5860 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5862 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5864 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5866 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5867 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5868 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5869 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5870 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5871 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5872 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5873 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5874 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5875 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5876 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5877 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5878 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5880 * sysdeps/unix/sysv/aix/msync.c: New file.
5881 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5882 * sysdeps/unix/sysv/aix/net/if.h: New file.
5883 * sysdeps/unix/sysv/aix/pipe.c: New file.
5884 * sysdeps/unix/sysv/aix/poll.c: New file.
5885 * sysdeps/unix/sysv/aix/rename.c: New file.
5886 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5887 * sysdeps/unix/sysv/aix/select.c: New file.
5888 * sysdeps/unix/sysv/aix/semctl.c: New file.
5889 * sysdeps/unix/sysv/aix/semget.c: New file.
5890 * sysdeps/unix/sysv/aix/semop.c: New file.
5891 * sysdeps/unix/sysv/aix/sendto.c: New file.
5892 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5893 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5894 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5895 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5896 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5897 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5898 * sysdeps/unix/sysv/aix/setsid.c: New file.
5899 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5900 * sysdeps/unix/sysv/aix/shmat.c: New file.
5901 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5902 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5903 * sysdeps/unix/sysv/aix/shmget.c: New file.
5904 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5905 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5906 * sysdeps/unix/sysv/aix/socket.c: New file.
5907 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5908 * sysdeps/unix/sysv/aix/speed.c: New file.
5909 * sysdeps/unix/sysv/aix/symlink.c: New file.
5910 * sysdeps/unix/sysv/aix/sync.c: New file.
5911 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5912 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5913 * sysdeps/unix/sysv/aix/times.c: New file.
5914 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5915 * sysdeps/unix/sysv/aix/umask.c: New file.
5916 * sysdeps/unix/sysv/aix/unlink.c: New file.
5917 * sysdeps/unix/sysv/aix/ustat.c: New file.
5918 * sysdeps/unix/sysv/aix/utimes.c: New file.
5920 2000-04-18 Andreas Jaeger <aj@suse.de>
5922 * manual/startup.texi (Environment Access): Fix putenv prototype
5923 according to recent changes.
5924 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5927 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5930 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5932 * posix/Makefile (tests): Add tst-getaddrinfo.
5933 * posix/tst-getaddrinfo.c: New file.
5935 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5937 * manual/sysinfo.texi: Document that umount2 is not widely available.
5939 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5940 signal timing is not really implemented.
5942 2000-04-17 Andreas Jaeger <aj@suse.de>
5944 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5946 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5948 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5951 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5953 * manual/intro.texi: Change reference from System Information to
5955 * manual/users.texi: Likewise.
5956 * manual/conf.texi: Likewise.
5957 * manual/sysinfo.texi: Document mount, umount, and umount2.
5958 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5960 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5962 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5963 Create wnumstr as well as numstr to support wide character output
5966 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5968 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5969 modification and move it...
5970 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5971 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5972 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5973 switch to $(LD) on sparc-linux.
5975 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5977 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5978 and setresuid from sysdep_routines.
5980 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5982 * manual/Makefile (chapters): Add resource.
5984 * manual/time.texi: Move section on resources to...
5985 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5987 * manual/setjmp.texi: Adjust back reference.
5988 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5990 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5992 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5993 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5994 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5995 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5996 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5997 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5998 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5999 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
6000 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
6001 * sysdeps/unix/sysv/aix/access.c: Add copyright.
6002 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
6003 * sysdeps/unix/sysv/aix/Implies: New file.
6004 * sysdeps/unix/sysv/aix/Versions: New file.
6005 * sysdeps/unix/sysv/aix/bind.c: New file.
6006 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
6007 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
6008 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
6009 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
6010 * sysdeps/unix/sysv/aix/chdir.c: New file.
6011 * sysdeps/unix/sysv/aix/chmod.c: New file.
6012 * sysdeps/unix/sysv/aix/chroot.c: New file.
6013 * sysdeps/unix/sysv/aix/creat.c: New file.
6014 * sysdeps/unix/sysv/aix/dl-close.c: New file.
6015 * sysdeps/unix/sysv/aix/dl-open.c: New file.
6016 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
6017 * sysdeps/unix/sysv/aix/fchdir.c: New file.
6018 * sysdeps/unix/sysv/aix/fchmod.c: New file.
6019 * sysdeps/unix/sysv/aix/getgroups.c: New file.
6020 * sysdeps/unix/sysv/aix/gethostname.c: New file.
6021 * sysdeps/unix/sysv/aix/getpriority.c: New file.
6022 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
6023 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
6024 * sysdeps/unix/sysv/aix/getrusage.c: New file.
6025 * sysdeps/unix/sysv/aix/link.c: New file.
6026 * sysdeps/unix/sysv/aix/madvise.c: New file.
6027 * sysdeps/unix/sysv/aix/mkdir.c: New file.
6028 * sysdeps/unix/sysv/aix/mknod.c: New file.
6029 * sysdeps/unix/sysv/aix/mprotect.c: New file.
6030 * sysdeps/unix/sysv/aix/msgctl.c: New file.
6031 * sysdeps/unix/sysv/aix/msgget.c: New file.
6032 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
6034 2000-04-17 Andreas Jaeger <aj@suse.de>
6036 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
6037 as suggested by Ulrich Drepper.
6038 (__dl_runtime_resolve): Remove unused variable, initialize sym
6040 (RTLD_START): Document OFFSET_GP_GOT.
6041 (OFFSET_GP_GOT): New magic value.
6042 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
6043 (elf_machine_got_rel): Only declare strtab if needed.
6044 (elf_machine_relplt): Removed, it's not needed.
6045 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
6047 * sysdeps/mips/add_n.S: Add newline at EOF.
6048 * sysdeps/mips/rshift.S: Likewise.
6049 * sysdeps/mips/mul_1.S: Likewise.
6050 * sysdeps/mips/lshift.S: Likewise.
6051 * sysdeps/mips/addmul_1.S: Likewise.
6053 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6055 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
6057 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
6058 * elf/dl-lookup.c: Likewise.
6059 * elf/dl-init.c (_dl_init): Likewise.
6060 * elf/dl-fini.c (_dl_fini): Likewise.
6061 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6062 * elf/dl-close.c (_dl_close): Likewise.
6063 * elf/rtld.c (_dl_start_final): Likewise.
6065 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
6067 2000-04-15 Ulrich Drepper <drepper@redhat.com>
6069 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
6070 only fall back on using Linux.
6072 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
6073 Before testing versions check that we actually loaded the object
6074 and whether we are in trace mode. If not loaded during tracing don't
6075 test versions in this object.
6076 (_dl_check_all_versions): Take new parameter and pass to
6077 _dl_check_map_versions.
6078 * sysdeps/generic/ldsodefs.h: Update prototypes for
6079 _dl_check_all_versions and _dl_check_map_versions.
6080 * elf/rtld.c (struct version_check_args): Add dotrace.
6081 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
6082 (dl_main): Pass info about trace mode to version_check_doit.
6083 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
6084 _dl_check_all_versions.
6086 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
6088 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6090 * manual/argp.texi: Document index parameter of argp_parse.
6092 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
6094 2000-04-14 Andreas Jaeger <aj@suse.de>
6096 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
6097 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
6099 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
6101 2000-04-15 Ulrich Drepper <drepper@redhat.com>
6103 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
6104 compat_symbol call for old adjtime.
6106 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
6107 function interface. Patch by Richard Henderson <rth@cygnus.com>.
6109 * posix/Makefile (headers): Add spawn.h.
6110 (distribute): Add spawn_int.h.
6111 (routines): Add spawn_faction_init, spawn_faction_destroy,
6112 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
6113 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
6114 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
6115 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
6116 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
6117 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
6118 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
6119 posix_spawnattr_init, posix_spawnattr_destroy,
6120 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
6121 posix_spawnattr_getflags, posix_spawnattr_setflags,
6122 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
6124 * posix/spawn.c: New file.
6125 * posix/spawn.h: New file.
6126 * posix/spawn_faction_addclose.c: New file.
6127 * posix/spawn_faction_adddup2.c: New file.
6128 * posix/spawn_faction_addopen.c: New file.
6129 * posix/spawn_faction_destroy.c: New file.
6130 * posix/spawn_faction_init.c: New file.
6131 * posix/spawn_int.h: New file.
6132 * posix/spawnattr_destroy.c: New file.
6133 * posix/spawnattr_getdefault.c: New file.
6134 * posix/spawnattr_getflags.c: New file.
6135 * posix/spawnattr_getpgroup.c: New file.
6136 * posix/spawnattr_getschedparam.c: New file.
6137 * posix/spawnattr_getschedpolicy.c: New file.
6138 * posix/spawnattr_getsigmask.c: New file.
6139 * posix/spawnattr_init.c: New file.
6140 * posix/spawnattr_setdefault.c: New file.
6141 * posix/spawnattr_setflags.c: New file.
6142 * posix/spawnattr_setpgroup.c: New file.
6143 * posix/spawnattr_setschedparam.c: New file.
6144 * posix/spawnattr_setschedpolicy.c: New file.
6145 * posix/spawnattr_setsigmask.c: New file.
6146 * posix/spawni.c: New file.
6147 * posix/spawnp.c: New file.
6149 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
6150 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6152 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6154 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
6155 * malloc/malloc.c: Implement posix_memalign for glibc.
6156 * include/stdlib.h: Add prototype for __posix_memalign.
6157 * stdlib/stdlib.h: Add prototype for posix_memalign.
6159 2000-04-14 Andreas Jaeger <aj@suse.de>
6161 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
6163 (elf_machine_got_rel): Cast sym correctly.
6165 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
6166 * sysdeps/mips/addmul_1.S: Likewise.
6167 * sysdeps/mips/lshift.S: Likewise.
6168 * sysdeps/mips/mul_1.S: Likewise.
6169 * sysdeps/mips/rshift.S: Likewise.
6170 * sysdeps/mips/sub_n.S: Likewise.
6171 * sysdeps/mips/submul_1.S: Likewise.
6173 * stdlib/stdlib.h: Fix typo in comment.
6175 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6176 2.2 for libdl, ld and libm.
6178 * sysdeps/generic/madvise.c: Fix typos.
6180 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6182 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
6184 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
6187 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6189 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
6190 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
6191 Make old name weak alias.
6192 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6193 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
6194 Make old name weak alias.
6195 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6197 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
6198 posix_fallocate, and posix_fallocate64.
6199 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
6200 posix_fallocate, and posix_fallocate64.
6201 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
6202 posix_fallocate, and posix_fallocate64.
6203 * sysdeps/generic/fadvise.c: New file.
6204 * sysdeps/generic/fadvise64.c: New file.
6205 * sysdeps/generic/fallocate.c: New file.
6206 * sysdeps/generic/fallocate64.c: New file.
6207 * sysdeps/posix/fallocate.c: New file.
6208 * sysdeps/posix/fallocate64.c: New file.
6209 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
6210 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
6211 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
6212 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6213 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6214 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6216 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6219 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6220 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6222 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6224 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6225 * misc/sys/mman.h (posix_madvise): Add prototype.
6226 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
6227 old name and posix_madvise weak aliases.
6228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6229 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6230 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6231 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6232 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6236 2000-04-13 Andreas Jaeger <aj@suse.de>
6238 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6240 (elf_machine_got_rel): Only add runtime display if needed.
6241 (elf_machine_got_rel): Handle symbol versioning.
6243 2000-04-13 Andreas Jaeger <aj@suse.de>
6245 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6247 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6250 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6251 with some applications.
6252 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6254 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6255 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6256 * sysdeps/mips/setjmp.S: Likewise.
6258 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6260 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6262 * posix/globtest.sh: Work around inconsistency with expanding ~/
6263 in shell (PR libc/1690). Reported by patsmith@pobox.com.
6265 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6267 * posix/getconf.c: Add support for many more POSIX options.
6268 * sysdeps/posix/sysconf.c: Likewise.
6269 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6270 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6272 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6273 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6274 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
6275 CLOCK_THREAD_CPUTIME_ID.
6276 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6277 CLOCK_PROCESS_CPUTIME_ID.
6278 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6279 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
6280 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6281 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6283 * malloc/Makefile (tests): Add tst-calloc.
6284 * malloc/tst-calloc.c: New file.
6286 * sysdeps/arm/libm-test-ulps: New file.
6288 * malloc/malloc.c: Undo all of today's changes.
6290 * locale/programs/locale.c (show_info): Don't try to look into
6291 data for LC_ALL (there is none).
6293 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6294 avoid writing over boundary.
6295 Patch by Greg McGary <gkm@eng.ascend.com>.
6297 * sysdeps/arm/memprof.h: New file.
6299 2000-04-12 Andreas Jaeger <aj@suse.de>
6301 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6303 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6304 for memmem declaration.
6306 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6308 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6310 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6312 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6314 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6315 Patch by Bart Veer <bartv@redhat.com>.
6317 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
6320 2000-04-11 Andreas Jaeger <aj@suse.de>
6322 * sysdeps/mips/dl-machine.h: Update some comments.
6323 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
6325 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6327 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
6328 _POSIX_SHARED_MEMORY_OBJECTS.
6330 * rt/Makefile (tests): Add tst-shm.
6331 Add rules to generate tst-shm.
6332 * rt/tst-shm.c: New file.
6334 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
6337 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
6338 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
6339 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
6340 * sysdeps/generic/shm_open.c: New file.
6341 * sysdeps/generic/shm_unlink.c: New file.
6342 * sysdeps/unix/sysv/linux/shm_open.c: New file.
6343 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
6344 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
6345 __endmntent, __getmntent_r, __setmntent, and __statfs.
6347 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
6348 fragmentation by allocating new memory at the end instead of
6351 * posix/globtest.sh: Fix last change.
6353 2000-04-10 Philip Blundell <philb@gnu.org>
6355 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
6356 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
6357 IPV6_DROP_MEMBERSHIP.
6358 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
6361 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6363 * elf/readlib (process_file): Close streams in case of an error.
6365 2000-04-09 Andreas Jaeger <aj@suse.de>
6367 * elf/readlib.c (process_file): Check if file is big enough to
6368 contain aout and ELF headers.
6369 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
6371 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
6373 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
6375 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6377 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
6379 * rt/Makefile (tests): Add tst-clock.
6380 Add rules to build tst-clock.
6381 * rt/tst-clock.c: New file.
6382 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6383 about initialization of nsec.
6384 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6385 about initialization of freq. Set retval to zero if successful.
6386 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6388 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6390 * Versions.def (librt): Add GLIBC_2.2.
6391 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6392 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6393 timer_getoverr, timer_gettime, and timer_settime.
6394 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6395 clock_settime, timer_create, timer_delete, timer_getoverrun,
6396 timer_gettime, and timer_settime.
6397 * sysdeps/generic/clock_getcpuclockid.c: New file.
6398 * sysdeps/generic/get_clockfreq.c: New file.
6399 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6400 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6401 * sysdeps/mach/hurd/i386/bits/time.h: New file.
6402 * sysdeps/unix/i386/i586/clock_getres.c: New file.
6403 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6404 * sysdeps/unix/i386/i686/Implies: New file.
6405 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6406 * time/Makefile (routines): Move clock_getres, clock_gettime,
6407 clock_settime, timer_create, timer_delete, timer_getoverr,
6408 timer_gettime, and timer_settime to rt/Makefile.
6409 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6410 clock_settime, timer_create, timer_delete, timer_getoverrun,
6411 timer_gettime, and timer_settime.
6412 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6414 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
6415 and not const as attribute name.
6417 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
6419 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6421 2000-04-10 Andreas Schwab <schwab@suse.de>
6423 * posix/globtest.sh: Skip tests that depend on unreadable
6424 directories if run as root.
6426 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6428 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6429 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6431 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6433 * sysdeps/unix/clock_gettime.c: New file.
6434 * sysdeps/unix/clock_settime.c: New file.
6435 * sysdeps/posix/clock_getres.c: New file.
6437 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6439 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6440 lseek call be passing in a buffer which never allow a successful
6441 first getdents syscall if not at leas the initial entry can be
6442 stored in the user buffer.
6444 * localedata/Makefile: Add rules to clean up directories created by
6447 2000-04-09 Geoff Clare <gwc@unisoft.com>
6449 * localedata/tst-fmon.data: Added new tests for strfmon()
6450 using test locales with all combinations of cs_precedes,
6451 sign_posn and sep_by_space.
6452 * localedata/tst-fmon.sh: Updated to support the new tests.
6453 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6454 the localedef source for the new strfmon() test locale.
6455 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6456 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6457 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6458 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6459 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6460 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6461 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6462 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6463 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6464 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6465 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6466 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6467 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6468 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6470 * stdlib/strfmon.c: Correct problems with missing or extra
6471 spaces for unusual combinations of sign_posn and sep_by_space.
6472 Improved left-precision alignment code.
6474 2000-04-07 Andreas Jaeger <aj@suse.de>
6476 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6478 2000-04-10 Andreas Jaeger <aj@suse.de>
6480 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6482 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6484 Implement handling of restartable conversion functions according to
6486 * iconv/gconv.h (__gconv_fct): Add additional parameter.
6487 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6488 * iconv/gconv.c: Pass additional parameter to conversion function.
6489 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6490 (internal_ucs4le_loop_single): New function.
6491 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6492 (__gconv_transform_internal_ascii): Likewise.
6493 (__gconv_transform_internal_utf8): Likewise.
6494 (__gconv_transform_utf8_internal): Likewise.
6495 (__gconv_transform_ucs2_internal): Likewise.
6496 (__gconv_transform_internal_ucs2): Likewise.
6497 (__gconv_transform_ucs2reverse_internal): Likewise.
6498 (__gconv_transform_internal_ucs2reverse): Likewise.
6499 (internal_ucs4le_loop_unaligned): Before return
6500 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6501 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
6502 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6503 * iconv/loop.c: Fit in definition of function to convert one character
6504 for processing of left-over bytes from the state object.
6505 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6506 inend to match names in loop functions.
6507 (RESET_INPUT_BUFFER): Change apprpriately.
6508 (gconv): If needed, call function to process bytes from the state
6509 object. Similar at the end: store left over bytes if input is
6511 Take extra argument and add new argument to all calls of the
6512 conversion function.
6513 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6514 information in the state object to not conflict with length count.
6515 * iconvdata/iso-2022-jp.c: Likewise.
6516 * iconvdata/iso-2022-kr.c: Likewise.
6517 * iconvdata/unicode.c: Adjust for change change in parameters of
6519 * iconvdata/utf-16.c: Likewise.
6520 * libio/iofwide.c: Add new parameter to all calls of conversion
6522 * wcsmbs/btowc.c: Likewise.
6523 * wcsmbs/mbrtowc.c: Likewise.
6524 * wcsmbs/mbsnrtowcs.c: Likewise.
6525 * wcsmbs/mbsrtowcs.c: Likewise.
6526 * wcsmbs/wcrtomb.c: Likewise.
6527 * wcsmbs/wcsnrtombs.c: Likewise.
6528 * wcsmbs/wcsrtombs.c: Likewise.
6529 * wcsmbs/wctob.c: Likewise.
6531 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6534 2000-04-07 Andreas Jaeger <aj@suse.de>
6536 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6539 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6541 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6542 element a union to allow byte access.
6543 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6545 * iconvdata/iso-2022-jp.c: Likewise.
6546 * iconvdata/iso-2022-kr.c: Likewise.
6547 * wcsmbs/mbsinit.c: Likewise.
6548 * stdlib/mblen.c: Likewise.
6549 * stdio-common/printf-parse.h: Likewise.
6551 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6553 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6554 kernel does not allow relative seeks on descriptors associated
6555 with directories. Go back to get the position in the directory
6556 every time we enter the function. Return -1 and set errno if one
6557 entry could be read from the kernel but does not fit into the
6558 buffer passed in by the user.
6560 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6561 Support ..(2).. ellipsis.
6562 (parse_charmap): Recognize ..(2).. etc and pass step down.
6563 Correctly generate names for UCS4 characters.
6565 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6566 (ctype_finish): We know the wide character value for <SP>,
6568 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6569 (charclass_ucs4_ellipsis): Likewise.
6570 (read_translit_ignore_entry): Store ellipsis step.
6571 (ctype_read): Recognize ..(2).. etc and pass step down.
6573 * locale/programs/linereader.c (lr_token): When seeing comment
6574 character ignore only rest of line in sources but stop at escaped
6576 Recognize ..(2).. and ....(2).....
6578 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6579 and tok_ellipsis4_2.
6581 2000-04-06 Andreas Jaeger <aj@suse.de>
6583 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6584 removed, remove it here also.
6585 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6586 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6587 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6588 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6590 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6592 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6593 include bits/sigcontext.h.
6594 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6596 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6598 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6599 collation symbol definition. Value in quivalence definition must
6600 be defined, don't check that it is not.
6602 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6603 values as character names.
6605 * locale/programs/ld-ctype.c (get_character): Handle missing
6606 repertoire map correctly.
6608 2000-04-05 Cristian Gafton <gafton@redhat.com>
6610 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6611 because it is used in generic code.
6612 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6613 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6614 * intl/gettext.c: Include <locale.h>.
6615 * intl/ngettext.c: Likewise.
6617 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6619 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6620 socklen_t type for size.
6621 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6622 init function interface.
6623 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6624 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6626 (__jmp_buf): Declare the whole type structure here, don't use
6629 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6631 * iconv/skeleton.c (put16u): Fix typo.
6632 Reported by Bruno Haible <haible@ilog.fr>.
6634 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6635 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6636 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6637 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6638 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6641 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6642 * Makefile (distribute): Add abi-versions.awk and
6644 Patches by Torsten Duwe <duwe@caldera.de>.
6646 2000-04-05 Andreas Schwab <schwab@suse.de>
6648 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6650 2000-04-05 Andreas Schwab <schwab@suse.de>
6652 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6653 entry point, used on Hurd.
6655 2000-04-04 Andreas Jaeger <aj@suse.de>
6657 * intl/Makefile: Only run the gettext test with shared libraries.
6659 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6661 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6662 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6664 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6666 * Makeconfig: Undo last change.
6667 * configure.in: If --disable-shared was given, don't set VERSIONING,
6668 don't define DO_VERSIONING, and don't give scare warning for no
6670 * configure: Regenerated.
6672 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6674 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6676 2000-04-04 Andreas Jaeger <aj@suse.de>
6678 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6680 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6682 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6683 STV_HIDDEN and STV_INTERNAL during lookup.
6684 (profile_fixup): Likewise.
6685 * elf/dl-reloc.c (RESOLVE): Likewise.
6687 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6688 unaligned so that it compiles for system which need unaligned
6691 2000-04-04 Andreas Schwab <schwab@suse.de>
6693 * elf/cache.c (print_entry): Only look at the type field when
6696 2000-04-04 Andreas Schwab <schwab@suse.de>
6698 * iconvdata/big5.c (BODY): Fix typo.
6700 2000-04-04 Andreas Schwab <schwab@suse.de>
6702 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6703 function interface. Remove unused _dl_start_user entry point.
6705 2000-04-03 Andreas Jaeger <aj@suse.de>
6707 * include/arpa/inet.h (__inet_aton): Add protoype.
6709 2000-04-01 Andreas Jaeger <aj@suse.de>
6711 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6713 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6714 * sysdeps/mach/mips/thread_state.h: Likewise.
6716 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6717 * sysdeps/generic/fegetenv.c: Likewise.
6718 * sysdeps/generic/fesetenv.c: Likewise.
6719 * sysdeps/generic/feupdateenv.c: Likewise.
6720 * sysdeps/generic/fraiseexcpt.c: Likewise.
6721 * sysdeps/generic/fsetexcptflg.c: Likewise.
6722 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6723 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6724 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6725 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6727 2000-04-02 H.J. Lu <hjl@gnu.org>
6729 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6731 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6733 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6734 (add_name_to_object): Add cast in malloc call.
6735 (fillin_rpath): Optimize loop to initialize ->status a bit.
6737 * sysdeps/i386/dl-machine.h: Undo last change.
6738 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6739 Restore %edx register after call here.
6741 * sysdeps/arm/atomicity.h: New file.
6742 Contributed by Jesper Skov <jskov@redhat.com>.
6744 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6746 * Makeconfig (preprocess-versions): Undo last change.
6747 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6749 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6750 here, before we might move the stack.
6751 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6752 (init1): And not here.
6754 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6755 change, to restore argc value in call-clobbered register after
6756 RTLD_START_SPECIAL_INIT, which will contain a call.
6758 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6759 allocating and initializing L->l_initfini.
6761 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6763 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6765 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6766 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6767 (open_path): Change type of fourth parameter. Make pointer to array
6768 of pointers. Create variable dirs with original type.
6769 Track whether any directory for the object exists and if not,
6770 change *DIRSP to (void*) -1 to signal there is no such search path.
6771 (_dl_map_object): Change all calls of open_path.
6772 Rewrite decompose_rpath calls.
6774 2000-03-31 Andreas Schwab <schwab@suse.de>
6776 * string/strfry.c: Declare STATE as array of char instead of int
6777 and do not initialize it (done by initstate_r). Pass correct
6780 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6782 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6784 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6785 instruction out of the code.
6787 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6789 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6790 element at this position.
6792 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6793 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6795 * elf/dl-lookup.c (add_dependency): New function.
6796 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6797 dynamically loaded object.
6798 (_dl_lookup_symbol_skip): Likewise.
6799 (_dl_lookup_versioned_symbol): Likewise.
6800 (_dl_lookup_versioned_symbol_skip): Likewise.
6801 * elf/dl-open.c: Don't define _dl_load_lock here...
6802 * elf/rtld.c: ...but here...
6803 * elf/dl-support.c: ...and here.
6804 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6806 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6808 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6810 * dlfcn/glrefmain.c: Add one more debug message.
6812 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6814 * Makerules (sysd-versions): Use ( ) instead of { }.
6816 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6817 optimize for the non-debugging case.
6818 * elf/dl-lookup.c: Likewise.
6819 * sysdeps/generic/libc-start.c: Likewise.
6821 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6823 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6824 (init1): Don't initialize __environ here, since init already does it.
6825 (first_init): New function, broken out of _init.
6826 (_hurd_stack_setup): Use it.
6827 [SHARED] (_dl_init_first): New function, renamed from old _init.
6828 (init1) [SHARED]: Don't call posixland_init here.
6829 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6830 [SHARED] (_init): Define as alias for posixland_init.
6831 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6832 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6833 RTLD_START_SPECIAL_INIT before calling initializers.
6834 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6835 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6836 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6837 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6839 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6840 since we define the function with the name `tmpfile'.
6842 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6843 * hurd/Versions: Likewise.
6845 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6847 * elf/dl-runtime.c (fixup): Fix typo in comment.
6849 * resolv/netdb.h (getnameinfo): All length parameters are of type
6851 * inet/getnameinfo.c: Likewise.
6853 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6855 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6856 (gethostname): Change type of second parameter to socklen_t.
6857 * include/unistd.h (__gethostname): Change type of second
6858 parameter to socklen_t.
6859 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6860 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6861 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6862 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6864 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6865 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6866 Allow definition elsewhere.
6867 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6868 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6869 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6870 * sysdeps/generic/bits/types.h: Define __socklen_t.
6871 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6872 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6873 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6874 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6875 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6876 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6877 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6879 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6880 (inet_lnaof): Likewise.
6881 (inet_netof): Likewise.
6882 (inet_network): Likewise.
6883 (inet_aton): Likewise.
6884 (inet_makeaddr): Change parameter types to in_addr_t.
6885 (inet_neta): Likewise.
6886 (inet_ntop): Change type of last parameter to socklen_t.
6887 (inet_aton): Only make available if __USE_MISC.
6888 (inet_neta): Likewise.
6889 (inet_net_ntop): Likewise.
6890 (inet_net_pton): Likewise.
6891 (inet_nsap_ntoa): Likewise.
6893 * inet/in.h: Define in_port_t type.
6894 Define in_addr_t type.
6895 (struct in_addr): Use in_addr_t in definition.
6896 (IN_CLASSA): Use cast to in_addr_t.
6897 (IN_CLASSB): Likewise.
6898 (IN_CLASSC): Likewise.
6899 (IN_CLASSD): Likewise.
6900 (IN_EXPERIMENTAL): Likewise.
6901 (IN_BADCLASS): Likewise.
6902 (INADDR_ANY): Likewise.
6903 (INADDR_BROADCAST): Likewise.
6904 (INADDR_NONE): Likewise.
6905 (INADDR_LOOPBACK): Likewise.
6906 (INADDR_UNSPEC_GROUP): Likewise.
6907 (INADDR_ALLHOSTS_GROUP): Likewise.
6908 (INADDR_ALLRTRS_GROUP): Likewise.
6909 (INADDR_MAX_LOCAL_GROUP): Likewise.
6910 (struct sockaddr_in): Use in_port_t for sin_port element.
6911 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6912 Use uint8_t instead of u_int8_t.
6914 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6915 Call __inet_aton instead of inet_aton.
6916 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6918 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6919 (innetgr): Likewise.
6920 (struct addrinfo): Use socklen_t for ai_addrlen element.
6922 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6923 IPV6_RECVERR): New defines.
6925 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6926 * inet/getnetbyad.c: Likewise.
6927 * inet/getnetbyad_r.c: Likewise.
6928 * nis/nss_nis/nis-network.c: Likewise.
6929 * nis/nssplus_nis/nisplus-network.c: Likewise.
6930 * nss/nss_files/files-network.c: Likewise.
6931 * resolv/netdb.h: Define uint32_t if not already happened.
6932 Include bits/netdb.h. Remove definition of struct netent.
6933 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6934 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6935 * sysdeps/generic/bits/netdb.h: New file.
6936 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6938 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6939 (tests): Add glrefmain.
6940 Add rules to build modules and run tests. Ignore result of glrefmain
6941 for now since it fails.
6942 * dlfcn/glrefmain.c: New file.
6943 * dlfcn/glreflib1.c: New file.
6944 * dlfcn/glreflib2.c: New file.
6946 * test-skeleton.c: Include <string.h> for strsignal prototype.
6948 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6951 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6952 former init-first.h. Initialize __libc_multiple_libcs.
6954 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6956 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6957 #if expression for use of unaligned function to the one used in
6958 the definition of these functions.
6959 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6960 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6961 (internal_ucs4le_loop_unaligned): New function.
6963 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6965 (module-names): Add dep1, dep2, dep3, and dep4.
6966 Add dependencies for dep* modules and order.
6967 Define rule for order.out which checks the result.
6968 * elf/dep1.c: New file.
6969 * elf/dep2.c: New file.
6970 * elf/dep3.c: New file.
6971 * elf/dep4.c: New file.
6972 * elf/order.c: New file.
6974 * elf/dl-init.c: Fix typo in comment.
6976 2000-03-31 Andreas Jaeger <aj@suse.de>
6978 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6979 init function interface.
6980 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6982 2000-03-31 Andreas Jaeger <aj@suse.de>
6984 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6985 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6986 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6987 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6988 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6990 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6991 anymore, update comment.
6993 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6995 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6996 SHLIB_COMPAT - the struct is always needed.
6998 2000-03-31 Ulrich Drepper <drepper@redhat.com>
7000 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
7001 * elf/dl-support.c: Define _dl_starting_up.
7003 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7005 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7006 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
7008 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7010 * elf/Makefile (dl-routines): Remove preinit.
7011 * elf/Versions: Remove _dl_preinit.
7012 * elf/dl-preinit.c: Removed. Move content into...
7013 * elf/dl-init.c: ...here.
7014 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
7016 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
7019 2000-03-29 Geoff Clare <gwc@unisoft.com>
7021 * stdlib/strfmon.c: Corrected problems with the code that
7022 sets default values for [np]_sep_by_space and
7023 [np]_sign_posn; also the new positive/negative alignment
7024 code from the previous patch was not quite right for
7027 * localedata/tst-fmon.data: Changes corresponding to the
7028 two sets of fixes made to stdlib/strfmon.c.
7030 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
7032 * malloc/malloc.c: Declare bit flags UL so that they will not
7033 default to int size when being inverted.
7035 2000-03-29 Andreas Jaeger <aj@suse.de>
7037 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
7038 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7040 2000-03-29 Andreas Jaeger <aj@suse.de>,
7041 Ralf Baechle <ralf@uni-koblenz.de>
7043 * Makeconfig: Introduce new variable SHARED to mark code used in
7045 * elf/dl-close.c: Use it instead of PIC.
7046 * elf/dl-load.c: Likewise.
7047 * elf/dl-open.c: Likewise.
7048 * hurd/geteuids.c: Likewise.
7049 * include/libc-symbols.h: Likewise.
7050 * include/shlib-compat.h: Likewise.
7051 * libio/freopen.c: Likewise.
7052 * linuxthreads/cancel.c: Likewise.
7053 * linuxthreads/pthread.c: Likewise.
7054 * linuxthreads/wrapsyscall.c: Likewise.
7055 * nss/nsswitch.c: Likewise.
7056 * stdio-common/vfprintf.c: Likewise.
7057 * sysdeps/arm/init-first.c: Likewise.
7058 * sysdeps/i386/init-first.c: Likewise
7059 * sysdeps/generic/init-first.c: Likewise.
7060 * sysdeps/generic/libc-start.c: Likewise.
7061 * sysdeps/mips/init-first.c: Likewise.
7062 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7063 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7064 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7065 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7066 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7068 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
7070 2000-03-29 Andreas Jaeger <aj@suse.de>
7072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7073 Use D_PTR to access relocated entries in l_info.
7074 (elf_machine_rela): Likewise.
7076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7078 (elf_machine_rela): Likewise.
7080 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7082 (__elf_machine_fixup_plt): Likewise.
7083 (__process_machine_rela): Likewise.
7085 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7086 (elf_machine_rela): Likewise.
7088 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
7089 (elf_machine_rel): Likewise.
7091 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7092 (elf_machine_fixup_plt): Likewise.
7093 (elf_machine_rela): Likewise.
7095 2000-03-29 Andreas Jaeger <aj@suse.de>
7097 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
7098 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7099 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7100 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
7101 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7102 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
7103 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7104 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
7105 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7106 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
7107 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
7108 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
7109 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
7110 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7113 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
7114 macros, remove K&R prototypes.
7116 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7118 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
7119 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
7122 2000-03-30 Andreas Jaeger <aj@suse.de>
7124 * misc/sys/cdefs.h: Remove K&R support.
7126 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7128 * iconv/skeleton.c: Avoid compiling unaligned versions in some
7130 * iconv/loop.c: Likewise.
7132 2000-03-29 Bruno Haible <haible@clisp.cons.org>
7134 * iconv/loop.c (put16): Remove __const. Fix access index.
7135 (put32): Remove __const. Use uint32_t instead of uint16_t.
7136 * iconv/skeleton.c: Likewise.
7138 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
7140 * mach/Versions (libc: GLIBC_2.0)
7141 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
7142 __vm_allocate on this.
7143 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
7144 mutex- and spinlock-related symbols on this.
7145 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7146 New version set. Lock-related symbols go here instead in this case.
7147 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
7148 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
7149 cthread_getspecific, cthread_setspecific, __libc_getspecific.
7151 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
7152 Put them here instead.
7153 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7154 New version set. Those cthreads symbols go here instead in this case.
7155 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
7157 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7159 * elf/dl-init.c (_dl_init): We don't need to call constructors
7160 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
7162 Implement dynamic determination of constructor/destructor order in
7164 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
7165 (GLIBC_2.2): Add _dl_init.
7166 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
7167 r_duplist is not anymore allocated separately. l_initfini is and
7168 therefore free it if necessary.
7169 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
7170 malloc block. Otherwise allocate l_initfini list only.
7171 Put dependencies for the object in l_initfini list.
7172 Sort dependencies for the object to be loaded topologically.
7173 * elf/dl-fini.c: Before running the destructors sort the topologically.
7174 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
7175 call constructors instead of iterating over the pointers. Get list of
7176 objects for which to run constructors from l_initfini element. Accept
7177 argc, argv, and env as parameters and pass them to the constructors.
7178 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
7179 with size of dynamic section.
7180 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
7181 _dl_init_next and calling constructors ourself.
7182 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
7183 Take argc, argv, and env as parameters and pass them to the
7184 constructors. Rewrite to call all constructors and not iterate over
7186 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
7187 precompute l_initcount and l_preinitcount.
7188 * elf/link.h (struct link_map): Add l_ldnum member.
7189 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
7190 l_initcount, and l_preinitcount. Add l_initfini.
7191 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
7193 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
7195 * sysdeps/unix/sysv/linux/init-first.h: Removed.
7196 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
7197 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
7198 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
7199 conventions now match.
7201 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
7202 effect for shared objects. Don't emit message and call only for
7205 2000-03-29 Ulrich Drepper <drepper@redhat.com>
7207 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
7208 CSA_Z243.4-1985-1..UCS2.
7209 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
7212 2000-03-29 Andreas Jaeger <aj@suse.de>
7214 * include/unistd.h: Remove duplicate entry for __rmdir.
7215 Remove declaration of __mkdir since __mkdir is declared in
7218 * manual/creature.texi (Feature Test Macros): Fix typo, reported
7219 by Michael Deutschmann <michael@talamasca.ocis.net>.
7221 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7222 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7223 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7224 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7225 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7227 2000-03-28 Andreas Jaeger <aj@suse.de>
7229 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7230 declaration, the prototype is defined via bits/mathcalls.h.
7231 (__sincosf): Likewise.
7232 (__sincosl): Likewise.
7236 (__finite): Likewise.
7237 (__inline_mathcodeNP): New macro without prototype
7239 (__inline_mathcodeNP2): Likewise.
7240 (__inline_mathcodeNP3): Likewise.
7241 (__inline_mathcodeNP_): Likewise.
7242 (__inline_mathcodeNP2_): Likewise.
7243 (__inline_mathcodeNP3_): Likewise.
7244 (__inline_mathopNP): Likewise.
7245 (__inline_mathop_declNP): Likewise.
7246 (__inline_mathop_declNP_): Likewise.
7247 (__inline_mathcode_): Use __inline_mathcodeNP_.
7248 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7249 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7250 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7251 (__expm1l): Don't define prototype, the prototype is defined via
7257 (__atan2l): Likewise.
7262 (__fabsl): Likewise.
7280 (__sqrtl): Likewise.
7290 2000-03-28 Ulrich Drepper <drepper@redhat.com>
7292 * Makerules: If make variable md5 is defined to yes after
7293 generating dependencies generate MD5 sum for the object.
7295 * iconv/gconv_builtin.h: Fix length in transformation definition
7298 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7300 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7301 allow as well reading from/writing to unaligned addresses on machines
7302 which don't support this in hardware. Use FCTNAME macro to define
7303 function name. Include the file a second time for platforms which
7304 need special unaligned handling.
7305 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7306 to access potentially unaligned addresses. These macros are intended
7307 to be used only outside the loops.
7308 (unaligned): New definition. In case the machine can handle unaligned
7309 access define as zero. Otherwise as a variable which is initialized
7310 as nonzero in case the buffer passed in at runtime is unaligned with
7311 respect to the character set encoding involved.
7312 Call aligned or unaligned looop functions according to unaligned
7314 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7315 of direct casting pointer to potentially handle unaligned memory
7317 * iconvdata/8bit-generic.c: Likewise.
7318 * iconvdata/ansi_x3.110.c: Likewise.
7319 * iconvdata/big5.c: Likewise.
7320 * iconvdata/euc-cn.c: Likewise.
7321 * iconvdata/euc-jp.c: Likewise.
7322 * iconvdata/euc-kr.c: Likewise.
7323 * iconvdata/euc-tw.c: Likewise.
7324 * iconvdata/gbk.c: Likewise.
7325 * iconvdata/iso-2022-cn.c: Likewise.
7326 * iconvdata/iso-2022-jp.c: Likewise.
7327 * iconvdata/iso-2022-kr.c: Likewise.
7328 * iconvdata/iso646.c: Likewise.
7329 * iconvdata/iso_6937-2.c: Likewise.
7330 * iconvdata/iso_6937.c: Likewise.
7331 * iconvdata/johab.c: Likewise.
7332 * iconvdata/sjis.c: Likewise.
7333 * iconvdata/t.61.c: Likewise.
7334 * iconvdata/uhc.c: Likewise.
7335 * iconvdata/unicode.c: Likewise.
7336 * iconvdata/utf-16.c: Likewise.
7338 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
7341 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
7342 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
7344 * malloc/mcheck.h (mcheck_check_all): Declare.
7346 * stdio-common/Makefile (tests): Add tst-obprintf.
7348 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
7350 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
7351 Declare pthread_sigmask.
7353 * csu/version.c: Add 2000 to copyright years.
7354 Remove Emacs local variables section.
7356 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7358 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
7359 __gconv_transform_internal_ucs2little): Remove declarations.
7360 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
7361 __gconv_transform_internal_ucs2): Never need to bswap_16.
7362 (__gconv_transform_ucs2reverse_internal,
7363 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
7365 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7367 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
7368 obsoleting version not being defined at all, in which case the
7369 result is always true.
7371 * Makeconfig (preprocess-versions): New canned sequence for running
7372 cpp on shlib-versions and the like.
7373 (soversions.i): Use it.
7374 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
7375 Versions.def and Versions files.
7377 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7379 * stdio-common/tst-obprintf.c (main): Add another check to see
7380 obstack_printf handling all possible beginnings of the block
7381 inside an obstack chunk.
7383 * locale/programs/localedef.c: Use __malloc_initialize_hook to
7384 install mcheck handler.
7386 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7389 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7391 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7393 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7394 on [HAVE_ELF && DO_VERSIONING].
7396 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7398 * stdio-common/tst-obprintf.c: New file.
7400 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7402 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
7403 _IO_OVERFLOW directly instead through __overflow.
7405 * locale/programs/localedef.c (construct_output_path): If path
7406 contains a / compute the end of the directory name correctly.
7408 * include/features.h: Undef and document __USE_XOPEN2K.
7410 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7411 whenever a function is called. Initiated by calling mcheck_pedantic
7413 * malloc/mcheck.h: Declare mcheck_pedantic.
7414 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7415 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7418 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7420 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7421 * dlfcn/dlopenold.c: Likewise.
7422 * nss/getXXbyYY_r.c: Likewise.
7423 * nss/getXXent_r.c: Likewise.
7424 * hurd/hurdinit.c: Likewise.
7425 * hurd/compat-20.c: Likewise.
7426 * libio/oldiofopen.c: Likewise.
7427 * libio/oldiofclose.c: Likewise.
7428 * libio/oldiofdopen.c: Likewise.
7429 * libio/oldfileops.c: Likewise.
7430 * libio/oldstdfiles.c: Likewise.
7431 * libio/oldiofsetpos.c: Likewise.
7432 * libio/oldiofgetpos.c: Likewise.
7433 * libio/oldiofgetpos64.c: Likewise.
7434 * libio/oldiofsetpos64.c: Likewise.
7435 * libio/oldiopopen.c: Likewise.
7436 * libio/oldpclose.c: Likewise.
7437 * libio/oldtmpfile.c: Likewise.
7438 * libio/freopen.c (freopen): Likewise.
7439 * libio/iofclose.c (_IO_new_fclose): Likewise.
7441 * sysdeps/mach/sys/reboot.h: Include <features.h>.
7442 (reboot): Declare it.
7444 * libio/Makefile (headers): Add bits/stdio-lock.h here.
7446 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7448 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7450 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7451 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7452 We need this for the sbrk decl, which can be included without Unix98.
7454 2000-03-20 Richard Henderson <rth@cygnus.com>
7456 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7457 argument to yperr2nss is an int, not size_t.
7458 * posix/regex.c (print_partial_compiled_pattern): Cast all
7459 ptrdiff_t to long for printing.
7460 (print_compiled_pattern): Use Z for printing size_t.
7461 * posix/testfnm.c (tests): Avoid trigraphs.
7462 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7463 Use a C comment, not an assembly comment.
7465 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7466 of __ASSUME_32BITUIDS.
7468 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7470 * libio/iofopncook.c: Remove K&R prototypes.
7472 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7474 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7475 an initial value of 1024 instead of RLIM_INFINITY.
7477 * Versions.def (libmachuser, libhurduser): Remove these sections,
7478 since these libraries do not presently use symbol versions.
7480 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7481 is RLIM_INFINITY, return -1 instead.
7483 2000-03-24 Andreas Jaeger <aj@suse.de>
7485 * Makefile (postclean): Added soversions.i.
7487 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7489 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7490 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7491 and _FPU_IEEE. Change _FPU_RESERVED.
7493 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7495 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7497 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7499 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7500 (gaih_inet): Remove unused duplicate variable.
7502 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7503 Don't use __libc_sa_len, which only exists for Linux. Just handle
7504 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7505 only flavors supported by this function anyway.
7507 2000-03-24 Geoff Clare <gwc@unisoft.com>
7509 * stdlib/strfmon.c: Corrected problems with missing signs and
7510 missing or extra spaces; allow for sign strings longer than
7511 one character; add padding to ensure positive and negative
7512 formats are aligned when a left precision is used.
7514 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7516 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7517 Patch by John Mizel <John.Mizel@msdw.com>.
7519 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7521 * manual/install.texi: Remove references to crypt add-on.
7523 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7525 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7526 section while taking the _hurd_rlimit_lock.
7527 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7529 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7531 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7534 * sysdeps/mach/hurd/if_index.c: New file.
7536 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7537 * sysdeps/gnu/net/if.h: here.
7538 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7539 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7540 * sysdeps/generic/net/if.h: New file. Declares just the standard
7541 functions and `struct if_nameindex' type.
7542 * socket/Makefile (headers): Add net/if.h here.
7543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7544 * sysdeps/mach/hurd/Dist: Remove it here.
7545 * sysdeps/unix/sysv/linux/Dist: And here.
7546 * sysdeps/generic/if_index.c: Include <net/if.h>.
7548 2000-03-24 Andreas Jaeger <aj@suse.de>
7550 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7551 access relocated entries in l_info.
7552 (elf_machine_got_rel): Likewise.
7553 (elf_machine_runtime_setup): Likewise.
7554 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7555 (elf_machine_runtime_setup): Likewise.
7556 (__dl_runtime_resolve): Likewise.
7558 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7560 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7561 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7562 according to RFC 2553.
7563 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7564 * inet/getnameinfo.c: Likewise.
7565 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7567 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7569 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7570 Remove no-op pointer increment.
7572 2000-03-23 Andreas Jaeger <aj@suse.de>
7574 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7575 follow change for libio.h from 2000-03-10.
7577 2000-03-23 Andreas Jaeger <aj@suse.de>
7579 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7581 * elf/dl-debug.c: Likewise.
7582 * elf/dl-deps.c: Likewise.
7583 * elf/dl-error.c: Likewise.
7584 * elf/dl-fini.c: Likewise.
7585 * elf/dl-init.c: Likewise.
7586 * elf/dl-load.c: Likewise.
7587 * elf/dl-lookup.c: Likewise.
7588 * elf/dl-minimal.c: Likewise.
7589 * elf/dl-object.c: Likewise.
7590 * elf/dl-open.c: Likewise.
7591 * elf/dl-preinit.c: Likewise.
7592 * elf/dl-profile.c: Likewise.
7593 * elf/dl-profstub.c: Likewise.
7594 * elf/dl-reloc.c: Likewise.
7595 * elf/dl-runtime.c: Likewise.
7596 * elf/dl-support.c: Likewise.
7597 * elf/dl-symbol.c: Likewise.
7598 * elf/dl-version.c: Likewise.
7599 * elf/rtld.c: Likewise.
7600 * elf/sprof.c: Likewise.
7601 * sysdeps/generic/dl-cache.c: Likewise.
7602 * sysdeps/generic/dl-origin.c: Likewise.
7603 * sysdeps/generic/dl-sysdep.c: Likewise.
7604 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7605 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7606 * sysdeps/generic/libc-start.c: Likewise.
7607 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7608 * sysdeps/powerpc/dl-machine.c: Likewise.
7609 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7610 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7611 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7612 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7614 * elf/ldsodefs.h: Move file to ...
7615 * sysdeps/generic/ldsodefs.h: ... here.
7617 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7619 * sysdeps/mips/elf/ldsodefs.h: New file.
7621 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7623 (_dl_check_map_versions): Likewise.
7624 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7625 * elf/dl-load.c (_dl_init_paths): Likewise.
7626 (_dl_map_object): Likewise.
7627 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7628 (elf_get_dynamic_info): Likewise.
7629 * elf/do-lookup.h (FCT): Likewise.
7630 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7631 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7632 * elf/dl-addr.c (_dl_addr): Likewise.
7633 * elf/dl-runtime.c (profile_fixup): Likewise.
7635 * elf/dl-init.c (_dl_init_next): Likewise.
7636 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7637 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7638 (DISTINGUISH_LIB_VERSIONS): Likewise.
7639 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7640 (elf_machine_rel): Likewise.
7642 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7643 for writable dynamic section.
7645 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7647 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7648 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7650 2000-03-22 Andreas Jaeger <aj@suse.de>
7652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7653 from latest Linux kernel.
7655 2000-03-21 Andreas Jaeger <aj@suse.de>
7657 * Versions.def: Add version 2.1.4.
7659 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7661 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7662 * libio/oldiofopen.c: Likewise.
7663 * libio/oldiofclose.c: Likewise.
7664 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7666 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7668 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7669 indicating the first version set to obsolete the conditionalized code.
7670 (compat_symbol): New macro.
7671 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7672 rhs be the ABI_* macro for the subsuming version. Assign increasing
7673 integer values to the ABI_* macros for supported versions.
7674 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7675 compat_symbol macro.
7677 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7679 * nscd/connections.c (nscd_run): Pretty print.
7680 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7682 * manual/charset.texi: Fix typos. Rephrase.
7683 * manual/process.texi: Likewise.
7684 * manual/signal.texi: Likewise.
7685 Patches by Mike Coleman <mkc@kc.net>.
7687 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7689 * libio/iofdopen.c: Likewise.
7690 * libio/iofgetpos.c: Likewise.
7691 * libio/iofgetpos64.c: Likewise.
7692 * libio/iofopen.c: Likewise.
7693 * libio/iofsetpos.c: Likewise.
7694 * libio/iofsetpos64.c: Likewise.
7695 * libio/iopopen.c: Likewise.
7696 * libio/oldiofopen.c: Likewise.
7697 * libio/pclose.c: Likewise.
7698 * sysdeps/gnu/siglist.c: Likewise.
7699 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7701 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7702 chance to expand VERSION_##lib##_##version.
7704 * libio/fileops.c: Use new macros from shlib-compat.h to define
7706 * libio/iofclose.c: Likewise.
7707 * libio/oldiofclose.c: Likewise.
7708 Patch by Roland McGrath <roland@frob.com>.
7710 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7712 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7713 Lay out struct sigcontext according to what really gets passed on
7715 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7716 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7717 (prgregset_t, prfpregset_t): Define to elf_* types.
7718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7719 Define to correct value.
7720 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7724 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7726 * scripts/firstversions.awk: Allow multiple version sets in the
7727 "earliest version" specification, meaning that version sets in the
7728 gaps between listed versions should be folded into the earliest later
7729 version that is explicitly listed.
7730 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7731 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7733 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7735 * iconv/gconv_builtin.c: Include <endian.h>.
7736 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7737 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7738 according to current platform.
7739 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7740 __gconv_transform_internal_ucs2reverse, and
7741 __gconv_transform_internal_ucs4le.
7742 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7743 __gconv_transform_ucs2reverse_internal and
7744 __gconv_transform_internal_ucs2reverse.
7745 * iconvdata/Makefile (modules): Add UNICODE.
7746 (distribute): Add unicode.c.
7747 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7748 * iconvdata/unicode.c: New file.
7750 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7751 determine byte order of input and convert accordingly.
7753 * iconvdata/utf-16.c (gconv_init): Fix typo.
7755 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7757 * iconvdata/gconv-modules: Fix typo.
7759 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7762 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7764 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7766 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7768 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7770 * misc/Makefile (routines): Add mincore.
7772 2000-03-20 Andreas Jaeger <aj@suse.de>
7774 * sysdeps/generic/mincore.c: New stub file.
7776 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7777 from latest Linux kernel.
7779 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7781 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7782 _SC_GETPW_R_SIZE_MAX.
7784 2000-03-20 Richard Henderson <rth@cygnus.com>
7786 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7789 2000-03-20 Richard Henderson <rth@cygnus.com>
7791 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7792 of arithmetic instructions.
7794 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7795 with the fpcr. Protect from INV exception.
7796 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7797 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7798 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7800 * sysdeps/alpha/fpu/s_copysign.c: New.
7801 * sysdeps/alpha/fpu/s_copysignf.c: New.
7802 * sysdeps/alpha/fpu/s_fabs.c: New.
7803 * sysdeps/alpha/fpu/s_fabsf.c: New.
7804 * sysdeps/alpha/fpu/s_rint.c: New.
7805 * sysdeps/alpha/fpu/s_rintf.c: New.
7807 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7809 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7811 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7812 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7813 Use physical addresses not KSEG addresses.
7814 (io_system): Add PYXIS.
7815 (io): Remove hae.reg, sys, hae_shift.
7816 (stb_mb, stw_mb, stl_mb, __sethae): New.
7817 (inline_outb, inline_outw, inline_outl): Don't set hae.
7818 (inline_inb, inline_inw, inline_inl): Likewise.
7819 (dense_sethae): New null function.
7820 (struct cpuinfo_data): New.
7821 (process_cpuinfo): Use local and stack variables, not static.
7822 Move readlink check here from init_iosys.
7823 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7825 (_hae_shift): Calculate it here.
7826 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7827 add pciconfig_iobase.
7829 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7831 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7832 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7834 * scripts/versions.awk: Fixed version renaming code to distinguish
7837 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7839 * include/stdlib.h: Add prototype for __cxa_atexit.
7841 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7842 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7844 2000-03-17 Cristian Gafton <gafton@redhat.com>
7846 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7847 existing rtld-installed-name.
7848 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7849 replace existing rtld-installed-name using $(symbolic-link-prog).
7851 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7853 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7854 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7855 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7858 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7860 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7861 glob64. Since there is no glob64 in the LFS proposal applications
7862 can assume that glob handles LFS situations. glob64 is only needed
7863 if alternative filesystem functions are used.
7865 2000-03-19 Geoff Clare <gwc@unisoft.com>
7867 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7868 when GLOB_DOOFFS is set; correct handling of patterns
7869 containing escaped wildcards (and no unescaped ones);
7870 GLOB_ERR flag was being ignored in some situations.
7872 * posix/globtest.c, posix/globtest.sh: Updated to include
7873 tests for the problems fixed by the above changes to glob.c.
7875 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7877 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7879 * Makeconfig (soversion.i): Use only first match for each lib.
7881 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7883 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7884 rather than $(sysd-dirs-done) to protect these rules.
7886 * Makerules (version-renames.def): Target removed.
7887 (Versions.all): Depend on soversions.i directly and parse it.
7889 * Makeconfig (soversions.i): New target, input-reading parts of
7890 soversions.mk generation moved here; result is a canonicalized
7891 list "LIB VERSION [SET]" for this configuration.
7892 (soversions.mk): Use that as input. Don't emit map-firstversions.
7893 * Makerules (version-renames.def): New target, generated from
7894 soversions.i with contents that was in $(map-firstversions).
7895 (Versions.all): Don't depend on soversions.mk, depend on
7896 version-renames.def instead; just cat it into the input.
7898 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7899 for $(map-firstversions), which better handles it being empty.
7901 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7902 supported version for libc 0.2.90.libio to GLIBC_2.2.
7904 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7905 and use it to emit new variable `map-firstversions'.
7906 * scripts/firstversions.awk: New file.
7907 * Makerules (Versions.all): Use scripts/firstversions.awk and
7908 the $(map-firstversions) value to generate a modified versions list
7909 that includes renames in "A = B" syntax for each version set earlier
7910 than the "earliest symbol version" named in shlib-versions.
7911 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7912 rename version set A to B in the output to the intermediate file.
7913 * scripts/abi-versions.awk: New file.
7914 * Makerules (abi-versions.h): New target, generated by that script.
7915 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7916 * include/shlib-compat.h: New file, uses that generated header.
7918 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7920 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7921 after stripping # comments, and then run it through cpp.
7922 This allows things like "%ifdef FOO" based on config.h settings.
7923 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7925 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7926 and other errors that indicate a pseudo-receive happened, grok through
7927 the message buffer for port rights that need references fixed up.
7929 2000-03-16 Andreas Jaeger <aj@suse.de>
7931 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7933 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7935 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7936 from latest Linux kernel.
7937 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7939 * misc/sys/mman.h: Add prototype for mincore.
7941 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7944 entry for GLIBC_2.0 version of setrlimit.
7945 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7947 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7949 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7950 * nis/nss_compat/compat-initgroups.c: Likewise.
7951 * nis/nss_nis/nis-initgroups.c: Likewise.
7952 * nis/nss_nis/nis-netgrp.c: Likewise.
7953 * nis/nss_nis/nis-proto.c: Likewise.
7954 * nis/nss_nis/nis-rpc.c: Likewise.
7955 * nis/nss_nis/nis-service.c: Likewise.
7956 * nis/ypclnt.c: Likewise.
7958 2000-03-16 Andreas Jaeger <aj@suse.de>
7960 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7961 doesn't exist, correct checks. Fixes PR libc/1649.
7963 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7965 * nscd/hstcache.c: Restore correct UID.
7966 * nscd/pwdcache.c: Likewise.
7967 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7969 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7971 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7972 macros for register names, in line with 2000-03-14 linux change.
7974 * sysdeps/mach/sched_yield.c: New file.
7976 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7978 * sysdeps/generic/lockfile.c: Include <stdio.h>
7979 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7980 case <libio.h> defined them.
7981 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7983 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7984 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7986 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7987 for more pleasing parse error.
7989 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7991 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7993 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7995 * elf/Makefile: Add rules to compile and run constload1 test.
7996 * elf/constload1.c: New file.
7997 * elf/constload2.c: New file.
7998 * elf/constload3.c: New file.
8000 2000-03-15 Ulrich Drepper <drepper@redhat.com>
8002 * sysdeps/posix/open64.c: Make __open64 weak alias.
8003 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
8004 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8005 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
8006 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8007 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
8008 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
8009 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8010 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8011 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
8014 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8016 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8017 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
8019 2000-03-16 Mark Kettenis <kettenis@gnu.org>
8021 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8022 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8024 2000-03-08 Andreas Jaeger <aj@suse.de>
8026 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
8028 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8030 * timezone/africa: Update from tzdata2000d.
8031 * timezone/asia: Likewise.
8032 * timezone/australasia: Likewise.
8033 * timezone/europe: Likewise.
8034 * timezone/northamerica: Likewise.
8035 * timezone/southamerica: Likewise.
8037 * po/fr.po: Update from translation team.
8038 * po/de.po: Likewise.
8040 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
8041 last parameter. Move code to add map to global scope from here...
8042 * elf/dl-open.c (dl_open_worker): ...here.
8043 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
8044 * elf/rtld.c: Adjust call to _dl_map_object_deps.
8046 * locale/programs/ld-collate.c (collate_read): Fix warning.
8048 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
8049 values and macros for register names.
8051 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
8052 returned by seek cookie function is -1.
8054 2000-03-14 Andreas Jaeger <aj@suse.de>
8056 * locale/localeconv.c (localeconv): Fix typo.
8057 Reported by Andre Charbonneau <andrec@corel.com>.
8059 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8061 * iconv/skeleton.c: Increment __invocation_counter in inner loop
8062 since modules depend on it counting the number of times the conversion
8063 function got called.
8065 * iconv/gconv_open.c: Optimize loop to setup step data structure.
8067 * iconv/gconv.h: Pretty print.
8069 2000-03-04 Ulrich Drepper <drepper@redhat.com>
8071 * posix/wordexp-test.c: Correct one of the tests added in the last
8072 change. Really get the root passwd entry to check again ~root.
8074 2000-03-10 Andreas Jaeger <aj@suse.de>
8076 * manual/filesys.texi (Working Directory): Fix last patch.
8077 Patch by Martin Buchholz <martin@xemacs.org>.
8079 2000-03-10 Andreas Jaeger <aj@suse.de>
8081 * manual/creature.texi (Feature Test Macros): Fix language.
8083 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
8085 * mach/devstream.c (devstream_write, devstream_read): New functions.
8086 (input, output): Functions removed.
8087 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
8088 using only the vanilla fopencookie interface.
8090 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
8091 as macro for __io_functions.
8092 (funcsio): Use cookie_io_functions_t type name.
8093 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
8095 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
8097 (fopencookie): Use it.
8098 * libio/libio.h: Declare _IO_cookie_init.
8099 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
8102 * libio/libio.h (__io_seek_fn): Fix second argument type
8103 to be a pointer, in line with the manual and the old stdio.
8104 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
8106 * sysdeps/generic/bits/stdio-lock.h: New file.
8107 This is a stub with #error, but that's better than no file at all.
8109 2000-03-09 Martin Buchholz <martin@xemacs.org>
8111 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
8112 * manual/message.texi (Using gettextized software): Doc Fixes.
8113 * manual/message.texi (Message Translation): Doc Fixes.
8114 * manual/filesys.texi (File Size): Doc Fixes.
8115 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
8116 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
8117 * iconv/gconv_db.c (find_derivation): Doc Fixes.
8118 * manual/install.texi: Doc Fixes.
8119 * manual/search.texi (Hash Search Function): Doc Fixes.
8120 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
8121 * FAQ.in: Doc Fixes.
8122 * config.h.in: Doc Fixes.
8123 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
8124 Doc Fixes. `allows to' is not correct English.
8126 * elf/rtld.c: Doc fixes.
8127 * manual/creature.texi (Feature Test Macros): Doc fixes.
8128 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
8130 * manual/filesys.texi (Working Directory): Check for ERANGE to
8133 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8135 * string/argz-stringify.c (__argz_stringify): Fix loop termination
8136 conditions so as not to clobber the final '\0' when there is only one
8137 element in the vector.
8139 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8141 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
8142 broken by 2000-02-27 change.
8144 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
8146 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8148 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
8149 argument type, for 2000-02-22 change in signal/signal.h declaration.
8151 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8153 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
8154 to getdirentries64 (no __), since the Linux implementation
8155 has no __ name, and there is no declaration for the __ name.
8157 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
8159 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
8160 sed regexp so as not to break directory names including /../ within.
8162 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
8163 The sysdeps/generic file is right for BSD. This file was in fact the
8164 Hurd file, but the only difference was the WNOREAP flag that was never
8165 actually implemented or used anywhere.
8167 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
8168 since AC_PATH_PROG already does it for us.
8169 (PERL): Rewrite check added in 2000-02-29 change for syntactic
8170 correctness and sh portability. I replaced the broken check
8171 with a more sensible implementation of the apparently intended
8172 semantics, which might still be questionable. Using expr causes
8173 a non-numeric value for `perl -V:apiversion` to be accepted,
8174 refusing to use only a perl that reports a number less than 5;
8175 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
8176 * configure: Regenerated.
8178 2000-03-08 Andreas Jaeger <aj@suse.de>
8180 * manual/crypt.texi: Fix paths.
8182 2000-03-07 Andreas Jaeger <aj@suse.de>
8184 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
8186 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
8189 2000-03-06 Andreas Jaeger <aj@suse.de>
8191 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
8192 in __sgn1l, otherwise g++ fails to parse this.
8193 Reported by Sean Chen <sean.chen@turbolinux.com>.
8195 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8197 * configure.in: Compute sizeof-long-double.
8198 * configure: Regenerated.
8199 * config.make.in: Make sizeof-long-double available to sub-makes.
8201 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8203 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8206 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8208 * Makeconfig (rpath-dirs): Add crypt.
8209 (all-subdirs): Remove md5crypt.
8210 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
8211 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
8212 * sysdeps/generic/crypt-entry.c: Delete.
8213 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
8214 * sysdeps/generic/crypt.h: Delete.
8215 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8216 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8217 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8218 * sysdeps/generic/des_impl.c: Delete.
8219 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8220 * crypt/sysdeps: Delete.
8221 * crypt/crypt_util.c: Don't use `patchlevel.h'.
8222 * md5-crypt/Versions: Move to crypt/.
8223 * md5-crypt/md5-crypt.c: Move to crypt/.
8224 * md5-crypt/md5.c: Move to crypt/.
8225 * md5-crypt/md5c-test.c: Move to crypt/.
8226 * md5-crypt/md5test.c: Move to crypt/.
8227 * md5-crypt: Delete.
8228 * crypt/Makefile: Adjust for new structure.
8230 2000-03-03 Paul Eggert <eggert@twinsun.com>
8232 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8233 define to 1 if not defined.
8235 2000-03-03 Andreas Jaeger <aj@suse.de>
8237 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8239 2000-03-03 Andreas Jaeger <aj@suse.de>
8241 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8243 (xdr_int64_t): Correctly handle lower half.
8244 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8246 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8248 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8251 2000-03-02 Andreas Jaeger <aj@suse.de>
8253 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8256 2000-03-02 Andreas Jaeger <aj@suse.de>
8258 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8260 2000-03-01 Andreas Jaeger <aj@suse.de>
8262 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8263 (tests): Added tst-getdate.
8265 * time/tst-getdate.c: New file.
8267 * time/datemsk: New file, needed for tst-getdate.
8269 2000-02-29 Cristian Gafton <gafton@redhat.com>
8271 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8273 2000-02-17 H.J. Lu <hjl@gnu.org>
8275 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8277 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8279 (svcudp_recv): Set up message with the new "xp_pad" field for
8281 (svcudp_reply): Support IP_PKTINFO if available.
8283 2000-03-01 Andreas Jaeger <aj@suse.de>
8285 * time/getdate.c (check_mday): Fix check for february.
8286 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8287 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8289 2000-03-02 Andreas Jaeger <aj@suse.de>
8291 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8292 g++ fails to parse this.
8293 Reported by Sean Chen <sean.chen@turbolinux.com>.
8295 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8297 * io/creat.c: Moved to...
8298 * sysdeps/generic/creat.c: ...here.
8299 * io/creat64.c: Moved to...
8300 * sysdeps/generic/creat64.c: ...here.
8301 * io/lockf.c: Moved to...
8302 * sysdeps/generic/lockf.c: ...here.
8304 * crypt/crypt.texi: Moved to...
8305 * manual/crypt.texi: ...here.
8306 * crypt/examples/genpass.c: Moved to...
8307 * manual/examples/genpass.c: ...here.
8308 * crypt/examples/mygenpass.c: Moved to...
8309 * manual/examples/mygenpass.c: ...here.
8310 * crypt/examples/testpass.c: Moved to...
8311 * manual/examples/testpass.c: ...here.
8313 * manual/Makefile (chapters): Add crypt.
8314 * manual/conf.texi: Add usual header for not-last chapter.
8315 * manual/crypt.texi: Add special header for last chapter.
8317 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8319 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
8320 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
8321 complain if there is no crypt add-on.
8322 * crypt/configure: Removed.
8324 * crypt/crypt.texi: Update documentation of US export restrictions
8325 to match the 14 Jan 2000 regulations.
8327 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8329 * crypt: New subdirectory, merged in from the crypt add-on.
8331 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8333 * include/unistd.h: Add __rmdir and __mkdir prototypes.
8336 See ChangeLog.10 for earlier changes.