1 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
3 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
4 category in copy_posix.
5 (collate_finish): Don't warn about UNDEFINED not being defined.
6 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
7 category in copy_posix.
8 * locale/programs/ld-messages.c (messages_startup): Likewise.
9 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
10 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
11 * locale/programs/ld-time.c (time_startup): Likewise.
12 * locale/programs/localedef.c: Move copy_def_list_t definition into
13 locales.h. Define copy_posix variable.
14 (main): Before processing copy list add ©_posix to copy_list.
15 * locale/programs/locales.h: Add definition of copy_def_list_t.
16 * locale/programs/locfile.c: Clear bit for appropriate category in
17 case of an copy instruction.
19 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
21 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
22 non-existing file with generic implementation.
23 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
25 1998-10-19 Philip Blundell <pb@nexus.co.uk>
27 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
28 defined. Avoid using _CALL_DL_FCT if it is not defined.
29 * iconv/gconv.c: Likewise.
31 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
33 * nscd/connections.c (dbs): Define defualt values for timeouts and
34 set enabled to 0 by default.
35 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
38 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
40 (_nl_C_LC_CTYPE_class32): Likewise.
43 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
45 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
46 _HURD_THREADVAR_DL_ERROR.
48 * hurd/Makefile (user-interfaces): Add login, password.
50 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
52 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
54 [submitted 1998-08-06]
55 * mach/Machrules: Create target directory and force re-evaluation
56 of Makefile to prevent `make' from optimizing away most of the
57 implicit rules and `vpath' directives.
59 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
61 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
62 is null, short-circuit to __mach_msg.
64 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
66 (init1) [PIC]: Call it.
67 (__libc_init_first) [! PIC]: Call it.
69 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
70 __libc_init_secure. Instead set __libc_enable_secure here from
72 (__libc_enable_secure): New variable it.
73 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
75 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
77 * nscd/nscd-client.h: New file, broken out of "nscd.h".
78 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
80 * nscd/Makefile (distribute): Add nscd-client.h.
81 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
82 Include "nscd-client.h" instead of "nscd.h"
84 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
86 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
87 directory entries when a lstat call fails.
88 Patch by Colin Plumb <colin@nyx.net>.
90 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
92 * resolv/nss_dns/dns-network.c: Likewise.
94 * grp/Makefile: Don't search for linuxthreads in add-ons, use
95 have-thread-library to determine whether threads are available.
96 * pwd/Makefile: Remove wrong comment.
98 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
99 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
101 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
103 * nss/Versions: Add __nss_hosts_lookup.
105 * nss/getXXbyYY.c: Remove unneeded assignment.
107 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
109 Almost complete rewrite of the NSCD to make it smaller, faster,
110 add more functionnality and make it easier to extend.
111 * nscd/Makfile (routines): Add nscd_gethst_r.
112 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
113 * nscd/cache.c: New file.
114 * nscd/gethstbyad_r.c: New file.
115 * nscd/gethstbynm2_r.c: New file.
116 * nscd/hstcache.c: New file.
117 * nscd/nscd_gethst_r.c: New file.
118 * nscd/connections.c: Rewritten. Don't start new thread for every
119 new connection. Use a fixed set of threads which handle all
120 connections and also the cache cleanup.
121 * nscd/grpcache.c: Rewritten to use generic cache handling functions
123 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
124 for rewrite. Remove handle_requests function.
125 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
126 Define new data structure for the new unified cache and the host
128 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
129 databases easily. Recognize check-files and threads definitions.
130 * nscd/nscd.conf: Add definition of enable-cache and check-files to
131 passwd and group definitions. Add new set of definitions for hosts.
132 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
133 * nscd/nscd_getpw_r.c: Likewise.
134 * nscd/nscd_proto.h: Add prototype for host database functions.
135 * nscd/nscd_stat.c: Rewrite to simplify printing of information
137 * nscd/dbg_log.c: Remove unnecessary variable initializations.
138 Global variable debug_flag is renamed to dbg_level.
139 * nscd/dbg_log.h: Declare set_logfile.
141 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
143 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
146 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
148 * time/mktime.c: Some systems require <unistd.h> to be
149 included before <time.h> for localtime_r to be declared
151 * time/strftime.c: Likewise.
153 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
155 * db/Makefile: Add rule to generate shared object with the soname
158 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
159 available double check to verify it's a directory.
161 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
162 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
163 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
164 are not generally available.
165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
167 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
168 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
169 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
170 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
171 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
172 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
173 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
174 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
175 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
176 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
177 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
178 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
179 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
180 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
181 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
182 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
183 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
184 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
185 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
186 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
187 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
188 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
189 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
190 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
191 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
192 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
193 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
194 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
195 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
196 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
197 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
198 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
199 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
200 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
201 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
202 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
203 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
204 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
206 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
207 s_setresgid, and s_setuid.
208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
209 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
210 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
211 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
212 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
213 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
214 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
216 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
218 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
219 localtime_t declaration on some systems.
221 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
223 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
225 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
226 defined. Avoid using DL_CLL_FCT if it is not defined.
228 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
230 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
231 Include endian.h unconditionally. Remove portability goop
232 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
234 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
236 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
238 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
240 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
241 again. Use char[44] to define size of the struct.
243 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
245 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
247 * string/bits/string2.h (strcmp): Don't cache the result of
248 __builtin_constant_p in variables, otherwise constant folding
249 can fail in big functions.
251 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
253 * string/bits/string2.h: Add prototypes for the new inline
256 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
258 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
259 have all types defined.
260 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
262 1998-10-08 Paul Eggert <eggert@twinsun.com>
264 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
265 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
266 a body that merely expands localtime_r; this works around a
267 bug in Digital Unix 4.0A and 4.0D.
269 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
271 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
272 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
273 __ioctl to __syscall_ioctl and include Linux version of this file.
274 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
275 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
276 ioctl calls which handle struct termios.
277 Based on a patch by Dan Jacobowitz <drow@false.org>.
279 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
281 * version.h (VERSION): Bump to 2.0.98.
283 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
284 here instead of including kernel_termios.h.
286 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
288 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
289 unnecessary after the changes of 1998-10-12.
291 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
293 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
294 parameter format string.
295 (inline_outw): Likewise.
297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
298 string.h to get memcpy prototype and NULL definition.
300 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
302 * misc/sys/cdefs.h (__THROW): New macro.
303 * argp/argp.h: Use it to replace the kludgey __P in inline
304 function definitions.
305 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
306 * stdlib/stdlib.h: Likewise.
307 * wcsmbs/wchar.h: Likewise.
308 * libio/stdio.h: Likewise.
309 * stdio/stdio.h: Likewise.
310 * sysdeps/wordsize-64/inttypes.h: Likewise.
311 * sysdeps/wordsize-32/inttypes.h: Likewise.
312 * string/argz.h: Likewise.
313 * io/sys/stat.h: Likewise.
315 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
317 * Rules (stdio_lim): New variable.
318 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
319 on Rules and config.make, use $(move-if-change) to avoid unnessary
320 recompilations, and cleanup command.
321 (common-generated): Add bits/stdio_lim.st.
323 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
325 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
326 variable to prevent warnings from use of modern CPU instructions.
327 Patch by Richard Henderson <rth@cygnus.com>.
329 * sysdeps/unix/opendir.c: Test whether NAME is directory before
332 1998-10-12 Philip Blundell <pb@nexus.co.uk>
334 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
335 semicolon so that profiling works.
337 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
339 * sysdeps/generic/glob.c: #undef mempcpy before #define.
341 * sysdeps/unix/bsd/clock.c: Use prototype defns.
343 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
345 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
346 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
348 * string/bits/string2.h [!_STRING_ARCH_unaligned]
349 (__mempcpy_small): Add parameter for 1 byte copy and use it.
350 Reported by Geoff Keating <geoffk@ozemail.com.au>.
352 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
354 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
355 it is already defined in <bits/environments.h>.
357 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
359 * posix/ptestcases.h: Fix typo.
361 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
363 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
364 (regexec): Allocate regs.start and regs.end as one block.
366 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
368 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
371 1998-10-08 Philip Blundell <pb@nexus.co.uk>
373 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
374 sigcontext union to ...
375 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
377 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
380 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
382 * malloc/mtrace.c (tr_reallochook): Produce better output for real
385 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
386 * argp/argp-xinl.c: Likewise.
388 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
390 Patch by Christian Gafton.
392 1998-10-08 Paul Eggert <eggert@twinsun.com>
394 * time/mktime.c (__mktime_internal): When the requested time falls
395 in a spring-forward gap of size DT, return a time that is DT away
396 from the requested time, preferring a time whose tm_isdst differs
397 from the requested value. Bump the max number of probes from 4 to
398 6 to account for the extra probes needed to discover a
399 spring-forward gap in the worst case.
401 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
403 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
404 of the weird alpha architectures.
405 Patch by Cristian Gafton <gafton@redhat.com>.
407 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
409 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
410 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
412 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
414 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
415 (dl_open_worker): Use realloc, not malloc to resize array.
416 * elf/rtld.c (_dl_initial_searchlist): New variable.
417 (_dl_main): Copy content of _dl_main_searchlist to
418 _dl_initial_searchlist.
419 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
420 _dl_global_scope_alloc.
421 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
422 * elf/dl-close.c (_dl_close): When removing object with global
423 scope remove allocated searchlist if no dynamically loaded object
425 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
426 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
428 * malloc/mtrace.c (tr_where): Don't print space in location string,
429 print it afterwards. Print better symbol name information.
431 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
433 * manual/filesys.texi (Setting Permissions): Fix example for
436 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
438 * elf/sprof.c (load_profdata): Fix typo in error message.
440 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
442 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
445 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
447 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
449 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
451 * version.h (VERSION): Bump to 2.0.97.
453 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
455 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
456 in definitions of inline stat functions so that they match the
458 * stdlib/stdlib.h: Likewise.
459 * wcsmbs/wchar.h: Likewise.
460 * libio/stdio.h: Likewise.
461 * stdio/stdio.h: Likewise.
462 * sysdeps/wordsize-64/inttypes.h: Likewise.
463 * sysdeps/wordsize-32/inttypes.h: Likewise.
464 * string/argz.h: Likewise.
465 * argp/argp.h: Likewise.
467 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
469 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
472 1998-10-05 Philip Blundell <philb@gnu.org>
474 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
475 and constants. Tidy up formatting a little.
477 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
478 Move definitions to in.h.
480 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
482 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
483 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
484 Remove inclusion of <linux/swap.h>.
486 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
488 * io/sys/stat.h: Use __P in definitions of inline stat functions
489 so that they match the declaration.
491 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
493 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
495 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
497 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
500 1998-10-02 Philip Blundell <pb@nexus.co.uk>
502 * sysdeps/arm/dl-machine.h: Fix typo in last change.
504 * sysdeps/arm/bits/huge_val.h: New file.
506 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
508 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
510 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
513 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
515 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
516 store result of realloc instead of using BUF.
518 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
520 * misc/sgtty.h (_SGTTY_H): Correct spelling.
521 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
523 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
525 * manual/memory.texi (Obstacks): Document
526 obstack_alloc_failed_handler usage.
528 * malloc/obstack.h: Enhance comment about
529 obstack_alloc_failed_handler usage.
530 * malloc/obstack.c: Likewise.
532 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
534 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
535 gcc before 2.8 is used.
537 1998-10-01 Philip Blundell <pb@nexus.co.uk>
539 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
540 from Scott Bambrough.
542 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
544 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
545 include the lock member.
547 1998-09-03 Philip Blundell <pb@nexus.co.uk>
549 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
551 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
553 * timezone/zic.c: Update from tzcode1998h.
554 * timezone/europe: Update from tzdata1998i.
555 * timezone/southamerica: Likewise.
557 * sys/types.h: Protect use of long long by __extension__.
558 * stdlib/stdlib.h: Likewise.
559 * string/string.h: Likewise.
560 * sysdeps/i386/bits/byteswap.h: Likewise.
561 * sysdeps/geeric/bits/byteswap.h: Likewise.
562 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
563 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
564 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
565 * sysdeps/wordsize-32/inttypes.h: Likewise.
566 * sysdeps/wordsize-32/stdint.h: Likewise.
567 * wcsmbs/wchar.h: Likewise.
569 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
571 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
573 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
574 __strsep): Greatly reduce size of expansion by combining common
576 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
578 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
579 by the above definitions.
581 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
583 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
584 correct struct ipc_perm definition.
586 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
588 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
590 1998-09-29 Cristian Gafton <gafton@redhat.com>
592 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
593 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
594 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
595 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
598 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
600 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
602 * nis/ypclnt.c: Remove not needed close calls.
604 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
606 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
607 check a bit. Also close socket of domain client. Close socket
608 in IPPORT_RESERVED error case.
610 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
612 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
613 CMSG_ALIGN (fixes a bug) and correct test for availability of
615 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
617 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
618 availability of another entry.
621 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
624 * libio/libio.h [!__STDC__]: Define const only if not defined.
626 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
628 * posix/annexc.c (xsystem): New function. Use it instead of
631 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
633 * stdlib/longlong.h: Remove #endif for #if removed in last change.
635 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
637 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
638 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
639 allow using `ut' parameter.
640 [!emacs]: Define ut_argument, ut_argument_spec, and
641 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
642 argument_spec to prototypes and definitions.
643 (my_strftime): Don't call tzset of ut != 0.
644 Compute diff as 0 is ut != 0;
645 [emacs]: Define new emacs_strftime function.
646 Based on a patch by Paul Eggert.
648 1998-09-24 Paul Eggert <eggert@twinsun.com>
650 * time/strftime.c (my_strftime): When asking for the length of the
651 subformatted buffer, do not limit the length to look for;
652 otherwise, we have no reliable way to distinguish between the
653 empty buffer and an error.
655 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
657 * math/Makefile (gmp-objs): Add mp_clz_tab.
659 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
661 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
663 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
664 cpus lacking hardware multiply and divide.
666 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
668 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
671 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
673 * db/btree/bt_delete.c: Fix -Wparentheses warning.
675 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
677 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
680 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
682 * debug/catchsegv.sh: Also produce output if clone process died.
684 1998-09-24 Paul Eggert <eggert@twinsun.com>
686 * time/strftime.c (f_wkday): Remove duplicate definition.
687 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
688 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
689 1998-09-11 fix to this case.
690 (wkday_len, month_len): Remove these macros; they're no longer needed.
692 1998-09-24 Paul Eggert <eggert@twinsun.com>
694 * time/strftime.c (my_strftime): Don't store past the end of a
697 1998-09-24 Paul Eggert <eggert@twinsun.com>
699 * time/strftime.c (underlying_strftime):
700 Set the buffer to a nonzero value before calling
701 strftime, and check to see whether strftime has set the buffer to zero.
702 This lets us distinguish between an empty buffer and an error.
704 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
706 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
707 This fix is propagated from tzcode1998g.tar.gz.
709 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
711 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
712 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
713 sys_siglist. This is handled correctly by the weak_alias macro.
715 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
717 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
718 of mempcpy. Reported by Andreas Jaeger.
720 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
721 pollute the namespace since the compiler will resolve it inline.
722 Reported by Florian La Roche <florian@suse.de>.
724 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
726 * timezone/private.h: Update from tzcode1998g.
728 * timezone/africa: Update from tzdata1998h.
729 * timezone/asia: Likewise.
730 * timezone/australasia: Likewise.
731 * timezone/europe: Likewise.
732 * timezone/northamerica: Likewise.
733 * timezone/southamerica: Likewise.
734 * timezone/zone.tab: Likewise.
736 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
738 * misc/sys/mman.h: New file.
740 * sysdeps/generic/bits/mman.h: New file.
741 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
742 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
743 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
744 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
746 * sysdeps/generic/sys/mman.h: Removed.
747 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
748 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
749 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
750 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
751 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
753 * include/sys/mman.h: Look directly for misc/sys/mman.h.
754 * misc/Makefile (headers): Add bits/mman.h.
755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
758 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
759 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
760 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
761 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
762 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
763 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
767 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
769 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
770 * sysdeps/mach/alpha/thread_state.h: Likewise.
771 * sysdeps/mach/i386/sysdep.h: Likewise.
772 * sysdeps/mach/i386/thread_state.h: Likewise.
773 * sysdeps/mach/mips/sysdep.h: Likewise.
774 * sysdeps/mach/mips/thread_state.h: Likewise.
775 * sysdeps/posix/profil.c: Likewise.
776 * sysdeps/i386/i586/memcopy.h: Likewise.
777 * sysdeps/mach/pagecopy.h: Likewise.
779 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
781 * libio/stdio.h: Define __need_getopt and include getopt.h to define
783 * posix/unistd.h: Likewise.
784 * stdio/stdio.h: Likewise.
785 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
786 define only getopt and the variables.
788 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
790 * scripts/test-installation.pl (installation_problem): Don't link
791 the test program against libdb1.
793 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
795 * Makeconfig (all-subdirs): Add db.
796 * Versions.def: Add definition for libdb1.
797 * shlib-versions: Add definitions for libdb1.
798 * db/Makefile (extra-libs): Replace by libdb1.
799 (libdb-routines): Rename to libdb1-routines.
800 (headers): Rename to db1-headers.
801 (distribute): Add $(db1-headers).
802 (install-others): Define to install symlink libdb.so.NN and the
804 (CPPFLAGS): Add -DUSE_LIBDB1
805 Remove rules to build makedb.
806 * db/Versions: Rename libdb to libdb1.
807 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
808 * db/makedb.c: Removed.
810 * scripts/versions.awk: Recognize digits in library names.
812 * db/btree/bt_open.c: Fix compiler warnings.
813 * db/btree/bt_put.c: Likewise.
814 * db/btree/bt_split.c: Likewise.
815 * db/hash/hash.c: Likewise.
816 * db/hash/hash_bigkey.c: Likewise.
817 * db/recno/rec_close.c: Likewise.
819 * Makefile: Add localedata/% goal.
821 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
823 * posix/execvp.c: Don't give up searching the PATH if execve
826 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
828 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
829 if _dl_fpu_control_set is set.
830 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
831 * elf/rtld.c: Don't define _dl_fpu_control_set.
832 * elf/Versions: Remove _dl_fpu_control_set.
834 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
836 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
837 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
838 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
839 Correct values of other SA_* macros according to kernel headers.
841 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
843 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
845 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
848 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
850 * elf/ldsodefs.h: Fix typo in comment.
852 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
854 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
855 char when comparing buffer contents with putback character.
857 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
859 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
861 * elf/Versions: Undo last change. Export _dl_fpu_control and
863 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
864 variables. Include <fpu_control.h>.
865 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
866 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
867 to indicate that is was seen.
868 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
869 only if _dl_fpu_control was set and is equal to desired value.
870 * math/Makefile (aux): Undo last change.
871 * math/Versions: Export __fpu_control with version GLIBC_2.0.
873 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
875 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
878 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
880 * string/bits/string2.h: Add mempcpy optimization.
881 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
882 * intl/localealias.c: Define mempcpy only if not already defined.
884 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
887 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
889 * csu/abi-note.S: Emit the note directly instead of defining
890 a preprocessor macro that's only used once. Don't include sysdep.h.
891 * abi-tags: Generalize Solaris entry.
893 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
895 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
896 Change to array to avoid runtime relocation.
897 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
899 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
901 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
902 * math/Makefile ($(objpfx)libieee.a): Likewise.
904 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
906 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
907 Patch by John Tobey <jtobey@banta-im.com>.
909 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
911 * login/Makefile (distribute): Remove pty-internal.h, add
914 * stdlib/tst-strtol.c: Add more checks.
915 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
917 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
919 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
920 * elf/elf.h: Add AT_FPUCW.
921 * elf/Makefile (dl-routines): Add fpu_control.
922 (elide-routines.os): Add fpu_control.
923 (rtld-routines): Add fpu_control.
924 * math/Makefile (aux): Remove fpu_control.
925 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
926 (_dl_show_auxv): Likewise.
927 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
928 if different from OS default.
930 * stdio-common/tstscanf.c: Add test case for (nil).
932 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
934 * libio/fileops.c (_IO_new_file_underflow): Before allocating
935 buffer make sure the pushback buffer is destroyed.
936 (_IO_new_file_seekoff): Likewise.
937 If mode==0 quit early with the result.
938 Clear OEF flag after successful fseek.
939 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
940 * libio/ftello.c (ftello): Add offset from original buffer if
941 stream has pushed back characters.
942 * libio/ftello64.c (ftello64): Likewise.
943 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
944 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
945 * libio/ioftell.c (_IO_ftell): Likewise.
946 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
948 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
949 (_IO_default_pbackfail): Only stored push back character in original
950 buffer if it is the same as the one in the file at this position.
951 * libio/iofclose.c: Free backup buffer if one is available.
952 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
955 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
957 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
959 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
961 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
963 * login/programs/pt_chown.c (more_help): Correct message that
964 describes the purpose of the program.
966 * login/openpty.c: Do not include pty-private.h.
967 (pts_name): New function. Return name of slave pseudo terminal in
968 an allocated buffer if necessary.
969 (openpty): Use pts_name to get name of the slave end of the pseudo
972 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
973 pts_name before return.
975 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
977 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
979 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
981 * login/openpty.c: Include pty-private.h instead of
984 1998-09-09 Philip Blundell <pb@nexus.co.uk>
986 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
988 1998-09-07 Philip Blundell <pb@nexus.co.uk>
990 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
991 recent ld.so changes.
992 (elf_machine_runtime_setup): Correct behaviour when profiling.
994 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
996 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
997 Patch by John Tobey <jtobey@banta-im.com>.
999 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1001 * login/pty-internal.h: Removed. Moved constants related to the
1002 `grantpt' helper program protocol to ...
1003 * login/pty-private.h: ... here. New file.
1004 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1005 to make the function work with kernels >= 2.1.115.
1006 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1007 version if using the cloning device fails.
1008 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1009 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1010 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1011 use by Linux specific code.
1012 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1013 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1014 function. (grantpt): Use pts_name, check group and permission
1015 mode in addition to owner. Try to set the owner, group and
1016 permission mode first without invoking the helper program.
1017 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1018 internationalization support. Use symbolic constants instead of
1019 hardwired numbers for permission mode.
1020 * sysdeps/unix/bsd/ptsname.c: New file.
1022 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1024 * posix/wordexp-test.c: Undo last change.
1026 * posix/wordexp.c: Undo last change.
1028 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1030 * nscd/grpcache.c (save_grp): Partly undo last change.
1032 * nscd/pwdcache.c (save_pwd): Undo last change.
1034 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1036 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1037 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1039 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1042 Add profiling support.
1043 (TRAMPOLINE_TEMPLATE): New macro.
1044 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1045 (RTLD_START): Prettify, and set __libc_stack_end properly.
1046 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1047 and check for sym being NULL instead.
1048 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1050 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1051 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1052 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1053 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1054 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1055 MEDANY code model %g4 usage.
1056 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1057 MEDANY code model %g4 usage.
1058 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1059 code model address formation.
1060 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1061 include elf/ldsodefs.h
1063 (elf_machine_matches_host): It is now EM_SPARCV9.
1064 (elf_machine_dynamic): Clean up to remove ugly cast.
1065 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1067 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1068 Prettify rest of function.
1069 [R_SPARC_COPY]: Check for sym being NULL.
1070 [R_SPARC_32]: Handle it.
1071 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1073 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1075 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1076 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1077 Add profiling support.
1078 (TRAMPOLINE_TEMPLATE): New macro.
1079 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1080 (RTLD_START): Prettify and set __libc_stack_end.
1081 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1083 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1084 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1085 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1086 unused variable scratch.
1087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1088 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1090 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1091 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1092 old format kernel sigaction structures.
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1095 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1098 (_JMPBUF_UNWINDS): Define.
1099 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1100 statfs64 structure, which is exactly the same as the normal one.
1101 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1102 of stack. Use correct syscall trap number. Add branch prediction
1103 settings to branch instructions. Remove old MEDANY code model %g4
1104 referneces for non-PIC.
1105 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1111 __libc_longjmp and __libc_siglongjmp strong aliases.
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1113 Also define to __no__readdir64_decl around readdir.c inclusion.
1114 (__readdir64): Add strong alias.
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1117 Set strong and weak names properly.
1119 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1121 * manual/Makefile (AWK): Default to gawk if standalone.
1123 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1125 * Makefile (distribute): Undo last change.
1126 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1128 (+subdir-headers): Removed, unused.
1130 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1132 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1135 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1137 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1138 absolute name in $(config-sysdirs), can never happen.
1139 ($(+sysdir_pfx)sysd-rules): Likewise.
1140 * Makeconfig (full-config-sysdirs): Likewise.
1141 (all-Subdirs-files): Prepend $(..).
1143 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1144 not happen. Let --enable-add-ons=yes work if no add-ons actually
1147 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1149 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1150 continuations in command.
1152 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1154 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1156 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1158 * posix/wordexp-test.c: If expansion or substitution occurs
1159 anywhere in a word, the entire word is subject to field-splitting.
1161 * posix/wordexp.c (parse_glob): Look for end of word instead of
1162 end of field when deciding what to glob.
1163 (field_split_word): New function, now the only place where
1164 field-splitting is performed.
1165 (parse_dollars): New parameter - tell the caller if
1166 field-splitting should be performed on this word.
1168 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1169 succeeded (or failed with WRDE_NOSPACE).
1171 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1173 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1176 * posix/wordexp-test.c: Words not the result of expansion or
1177 substitution should remain unchanged.
1179 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1181 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1182 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1184 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1186 * stdio-common/Makefile: Include Makeconfig so that
1187 $(inst_includedir) is defined.
1189 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1191 * io/pwd.c: Include <mcheck.h>.
1193 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1195 * nscd/pwdcache.c (save_pwd): Correct copying.
1196 * nscd/grpcache.c (save_grp): Likewise.
1198 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1200 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1201 (free_pwd): Adjust for this change.
1202 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1203 (free_grp): Adjust for this change.
1205 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1207 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1209 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1211 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1212 (install-others): Add bits/stdio_lim.h.
1213 Add rule to install bits/stdio_lim.h.
1215 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1217 * Makefile (distribute): Add include/sys/mman.h.
1219 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1220 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1221 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1223 * grp/initgroups.c: Include stdlib.h.
1224 Patch by Zack Weinberg.
1226 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1228 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1229 for field-splitting :abc: is correct, and that two fields should
1230 result. Revert tests to reflect this.
1232 * posix/wordexp.c (w_emptyword): Remove function.
1233 (exec_comm): Don't use w_emptyword.
1234 (parse_param): Likewise.
1236 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1238 * sysdeps/arm/fpu/Dist: Moved to...
1239 * sysdeps/arm/Dist: ...here.
1240 * sysdeps/posix/Dist: Removed.
1241 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1242 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1244 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1246 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1248 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1250 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1252 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1254 * libc-work/nis/nss_nisplus/nisplus-service.c
1255 (_nss_nisplus_parse_servent): Convert port in network byte order.
1257 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1259 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1260 to provide only malloc and calloc.
1261 * include/stdlib.h: Support the above.
1262 * string/bits/string2.h: Use __need_malloc_and_calloc when
1264 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1266 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1267 * iconvdata/iso646.c: Include <stdlib.h>.
1269 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1271 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1272 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1273 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1274 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1276 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1278 * stdio-common/stdio_lim.h.in: New file. All parameters
1279 are adjustable at build time.
1280 * Rules: Add a rule to build bits/stdio_lim.h from
1281 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1282 all subdirectories know how to make the file. It can't be
1283 in Makerules because then it gets built at top level and the
1284 dependencies are wrong.)
1286 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1287 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1289 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1290 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1291 * sysdeps/posix/Makefile: Removed.
1292 * sysdeps/posix/mk-stdiolim.c: Removed.
1293 * sysdeps/generic/bits/stdio_lim.h: Removed.
1295 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1297 * argp/argp-help.c: Fixup indentation.
1298 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1299 * resolv/nss_dns/dns-network.c: Likewise.
1300 * resolv/res_send.c: Likewise.
1301 * rt/aio_cancel.c: Likewise.
1302 * rt/aio_misc.c: Likewise.
1304 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1306 * Makefile (install-symbolic-link): Remove the link list file at last.
1307 * Makerules (install-clean-symbolic-link-list): Removed.
1309 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1311 * timezone/tst-timezone.c: Print time in UTC to get consistent
1314 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1316 * elf/rtld.c (_dl_rpath): Removed.
1317 * elf/dl-support.c (_dl_path): Removed.
1318 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1319 (CFLAGS-dl-support.c): Removed.
1321 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1323 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1324 instead of appending it to the main map's rpath info.
1325 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1326 DT_RPATHs. This makes it effective again.
1327 (decompose_rpath): Remove second parameter, callers changed.
1328 (fillin_rpath): Allocate enough space in curwd.
1329 (expand_dynamic_string_token): Cope with get_origin returning -1.
1331 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1333 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1336 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1339 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1341 * locale/programs/locale.c: Update dates.
1343 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1345 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1346 size_t is defined. Some reordering of defenitions to make
1347 maintaining this file in parallel with the linux-specific file easier.
1349 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1351 * io/pwd.c (main): Add call to mtrace.
1353 * malloc/mtrace.pl: Quote @ in string.
1355 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1357 * posix/wordexp.c (parse_arith): Fix memory leaks.
1358 (exec_comm): Likewise.
1359 (parse_param): Likewise.
1360 (wordexp): Likewise.
1361 (exec_comm): Reduce number of function return points.
1362 (parse_param): Likewise.
1363 (wordexp): Likewise.
1365 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1367 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1368 yield three fields, not two. Test both parameter expansion and
1369 command substitution for correct field-splitting behaviour.
1371 * posix/wordexp.c (w_emptyword): New function.
1372 (parse_param): Use it.
1373 (exec_comm): Likewise, for consistency with the way parse_param
1375 (parse_param): Fix some memory leaks.
1377 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1379 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1380 Don't mark asm `volatile'.
1381 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1382 from the data cache too. Assume it isn't in the instruction cache yet.
1383 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1385 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1387 * sysdeps/generic/segfault.c (install_handler): Install signal
1388 handler with SA_ONSTACK instead of setting the stack flags to
1389 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1392 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1394 * signal/signal.h: Fix multiple inclusion guard to cover the
1396 * wcsmbs/wchar.h: Remove prototype of internal function
1398 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1399 arithmetic on `void *'.
1401 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1403 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1405 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1406 field-splitting here.
1407 (wordexp): If out of memory mid-word, free the word (but still
1408 leave pwordexp alone for caller to see).
1409 (parse_param): Allow for zero-length fields (smarter checking of
1410 memory allocation failure).
1411 (w_addword): Convert NULL words to "".
1412 (wordexp): Convert left-over IFS characters to blanks (like bash).
1414 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1416 * configure.in: Use test -f instead of test -e.
1417 Patch by John Tobey <jtobey@banta-im.com>.
1419 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1420 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1421 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1422 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1423 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1424 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1425 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1426 Patches by John Tobey <jtobey@banta-im.com>.
1428 * time/strftime.c (my_strftime): Delay use of *tp values until
1429 latest possible point to allow partly initialized structures
1430 (e.g., from strptime).
1432 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1434 Define *-routines variables for new modules.
1435 (distribute): Add .c files for new modules.
1436 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1438 Add rules for header generation.
1439 * iconvdata/gconv-modules: Add entries for new modules.
1440 * iconvdata/iso_10367-box.c: New file.
1441 * iconvdata/mac-is.c: New file.
1442 * iconvdata/nats-dano.c: New file.
1443 * iconvdata/nats-sefi.c: New file.
1445 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1447 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1448 loader if PIC is not defined.
1450 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1452 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1453 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1454 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1456 Define *-routines variables for new modules.
1457 (distribute): Add .c files for new modules.
1458 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1459 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1460 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1461 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1462 Add rules for header generation.
1463 * iconvdata/gconv-modules: Add entries for new modules.
1464 * iconvdata/csn_369103.c: New file.
1465 * iconvdata/cwi.c: New file.
1466 * iconvdata/dec-mcs.c: New file.
1467 * iconvdata/ecma-cyrillic.c: New file.
1468 * iconvdata/gost_19768-74.c: New file.
1469 * iconvdata/greek-ccitt.c: New file.
1470 * iconvdata/greek7-old.c: New file.
1471 * iconvdata/greek7.c: New file.
1472 * iconvdata/inis-8.c: New file.
1473 * iconvdata/inis-cyrillic.c: New file.
1474 * iconvdata/inis.c: New file.
1475 * iconvdata/iso6937-2.c: New file.
1476 * iconvdata/iso_2033.c: New file.
1477 * iconvdata/iso_5427-ext.c: New file.
1478 * iconvdata/iso_5427.c: New file.
1479 * iconvdata/iso_5428.c: New file.
1481 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1483 Convert U02dd correctly.
1485 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1487 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1488 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1489 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1490 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1492 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1494 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1495 one nameserver correctly. Patch by HJ Lu.
1497 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1499 Define *-routines variables for new modules.
1500 (distribute): Add .c files for new modules.
1501 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1502 Add rules for hedaer generation.
1503 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1504 * iconvdata/ansi_x3.110.c: New file.
1505 * iconvdata/asmo_449.c: New file.
1506 * iconvdata/baltic.c: New file.
1507 * iconvdata/iec_p27-1.c: New file.
1509 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1511 Convert U02dc correctly.
1513 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1514 * math/atest-exp2.c: Likewise.
1515 * math/atest-sincos.c: Likewise.
1517 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1520 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1522 * string/strcoll.c: Optimize a few expressions.
1523 * string/strxfrm.c: Likewise.
1525 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1527 * manual/locale.texi: Fix typos.
1529 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1531 * stdlib/random_r.c (__setstate_r): Allow call with same state
1532 array as currently used (PR libc/774).
1534 * include/limits.h: Include gcc's header even if this file is
1535 found more than once before it (PR libc/778)
1537 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1538 (sysdep_headers): Remove sys/debugreg.h.
1539 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1540 (sysdep_headers): Add sys/debugreg.h.
1541 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1542 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1544 * stdio-common/tmpnam.c: Move local static variable buf to
1545 toplevel and rename to tmpnam_buffer to ease debugging.
1546 Patch by Joe Keane <jgk@jgk.org>.
1547 Optimize s == NULL case a bit.
1549 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1552 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1554 * resolv/res_init.c (res_init): Initialize _res.nscount and
1555 _res.nsaddr.sin_port differently for the can when no loopback
1556 is available to allow immediate timeout in non-networking environments.
1557 Patch by Cristian Gafton <gafton@redhat.com>.
1559 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1561 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1562 BAR and not EM DASH.
1563 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1564 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1567 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1569 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1571 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1573 * time/tzfile.c (__tzfile_read): Handle case when there are no
1574 transitions. Set __timezone based on computed offset.
1575 * time/tzset.c (tzset_internal): Set __timezone before returning.
1577 * time/tzset.c (tzset_internal): Optimize handling of local string
1580 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1582 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1585 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1587 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1588 (csqrt_test): Likewise.
1589 * sysdeps/powerpc/bits/fenv.h: Add parens.
1591 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1593 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1594 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1595 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1597 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1599 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1600 the special `-1' pointer.
1602 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1604 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1607 1998-09-07 Paul Eggert <eggert@twinsun.com>
1609 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1610 (_REENTRANT): Remove. It has undesirable consequences in
1611 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1612 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1614 * time/strftime.c: Likewise.
1616 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1618 * elf/dl-error.c: Fix spelling.
1620 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1622 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1623 * stdio-common/_itoa.c: Likewise.
1624 * stdio-common/printf_fp.c: Likewise.
1625 * stdio-common/vfscanf.c: Likewise.
1626 * wcsmbs/wcstok.c: Likewise.
1627 * sysdeps/generic/glob.c: Likewise.
1628 * posix/getopt.c: Likewise.
1629 * sysdeps/posix/getaddrinfo.c: Likewise.
1630 * posix/wordexp.c: Likewise.
1631 * io/ftw.c: Likewise.
1632 * io/fts.c: Likewise.
1633 * misc/getpass.c: Likewise.
1634 * iconv/gconv_conf.c: Likewise.
1635 * argp/argp-fmtstream.c: Likewise.
1636 * argp/argp-help.c: Likewise.
1637 * elf/dl-load.c: Likewise.
1638 * locale/programs/stringtrans.c: Likewise.
1639 * catgets/gencat.c: Likewise.
1640 * posix/getconf.c: Likewise.
1641 * iconv/gconv_conf.c: Likewise.
1642 * iconv/iconv_prog.c: Likewise.
1644 * string/strcoll.c: Optimize a few expressions.
1645 * string/strxfrm.c: Likewise.
1647 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1649 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1650 level to avoid uninit variable warning.
1652 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1654 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1655 instead of _dl_default_scope[2] as argument to _dl_init_next.
1657 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1660 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1662 Fix compatibility problems introduced in last change.
1663 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1665 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1666 -DWEAK_GMON_START to CFLAGS-initfini.s.
1668 * elf/dl-object.c (_dl_new_object): Store map address in
1669 _dl_loaded if _dl_loaded is NULL.
1670 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1672 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1674 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1676 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1678 * db2/btree/bt_cursor.c: Likewise.
1679 * db2/common/db_region.db_c: Likewise.
1680 * db2/common/db_salloc.db_c: Likewise.
1681 * db2/db/db.c: Likewise.
1682 * db2/db/db_rec.c: Likewise.
1683 * db2/hash/hash.c: Likewise.
1684 * db2/hash/hash_page.c: Likewise.
1685 * db2/hash/hash_rec.c: Likewise.
1686 * db2/log/log_findckp.c: Likewise.
1687 * db2/log/log_get.c: Likewise.
1688 * db2/log/log_put.c: Likewise.
1689 * db2/mp/mp_fget.c: Likewise.
1690 * db2/mp/mp_fput.c: Likewise.
1691 * db2/mp/mp_region.c: Likewise.
1692 * stdlib/strtol.c: Likewise.
1693 * string/strcoll.c: Likewise.
1694 * string/strxfrm.c: Likewise.
1695 * argp/argp-help.c: Likewise.
1696 * argp/argp-parse.c: Likewise.
1697 * resolv/res_debug.c: Likewise.
1699 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1701 * math/tgmath.h (scalb): Only define for __USE_MISC or
1702 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1704 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1706 * libio/stdio.h: Fix comment.
1708 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1711 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1713 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1715 * elf/dl-open.c: Quiet -Wparentheses warnings.
1716 * iconvdata/johab.c: Likewise.
1717 * iconvdata/uhc.c: Likewise.
1718 * inet/inet_net.c: Likewise.
1719 * io/fts.c: Likewise.
1720 * locale/newlocale.c: Likewise.
1721 * misc/getttyent.c: Likewise.
1722 * misc/mntent_r.c: Likewise.
1723 * misc/ttyslot.c: Likewise.
1724 * nscd/nscd_conf.c: Likewise.
1725 * nss/nsswitch.c: Likewise.
1726 * resolv/gethnamaddr.c: Likewise.
1727 * resolv/nsap_addr.c: Likewise.
1728 * resolv/res_debug.c: Likewise.
1729 * stdio-common/_itoa.c: Likewise.
1730 * stdlib/strtod.c: Likewise.
1731 * string/strverscmp.c: Likewise.
1732 * sunrpc/svc.c: Likewise.
1733 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1734 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1735 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1736 * sysdeps/posix/getaddrinfo.c: Likewise.
1738 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1740 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1741 for use of global scope.
1742 * elf/dlvsym.c (dlvsym_doit): Likewise.
1744 1998-09-02 Paul Eggert <eggert@twinsun.com>
1746 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1747 copy the redundant bytes at the end of the format as-is; don't
1748 just copy their first byte and then rescan, as that might get
1749 us an encoding error.
1750 Account correctly for the length of multibyte sequences in the
1753 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1755 * posix/wordexp-test.c: Add tests for different IFS values.
1756 Change unquoted-newline test so that newline is not in IFS.
1758 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1759 determining IFS characters. Return WRDE_BADCHAR for unquoted
1760 special characters _except_ if they are separators.
1762 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1764 * include/tgmath.h: New file.
1766 * libio/stdio.h: Correct reversed #ifs.
1767 Patch by Zack Weinberg.
1769 * manual/creature.texi: Better explain reason for feature select
1771 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1773 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1775 * include/alloca.h: Add multiple-inclusion guard.
1776 * include/db.h: Likewise.
1777 * include/db_185.h: Likewise.
1778 * include/dlfcn.h: Likewise.
1779 * include/fcntl.h: Likewise.
1780 * include/grp.h: Likewise.
1781 * include/libintl.h: Likewise.
1782 * include/mntent.h: Likewise.
1783 * include/pwd.h: Likewise.
1784 * include/sched.h: Likewise.
1785 * include/search.h: Likewise.
1786 * include/setjmp.h: Likewise.
1787 * include/shadow.h: Likewise.
1788 * include/signal.h: Likewise.
1789 * include/stdio.h: Likewise.
1790 * include/stdlib.h: Likewise.
1791 * include/string.h: Likewise.
1792 * include/termios.h: Likewise.
1793 * include/time.h: Likewise.
1794 * include/ulimit.h: Likewise.
1795 * include/utmp.h: Likewise.
1796 * include/wchar.h: Likewise.
1797 * include/sys/file.h: Likewise.
1798 * include/sys/gmon.h: Likewise.
1799 * include/sys/ioctl.h: Likewise.
1800 * include/sys/mman.h: Likewise.
1801 * include/sys/resource.h: Likewise.
1802 * include/sys/select.h: Likewise.
1803 * include/sys/socket.h: Likewise.
1804 * include/sys/statfs.h: Likewise.
1805 * include/sys/time.h: Likewise.
1806 * include/sys/times.h: Likewise.
1807 * include/sys/wait.h: Likewise.
1809 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1811 * version.h (VERSION): Bump to 2.0.96.
1813 Rewrite runtime linker to be truly thread-safe. There is now no
1814 global variable specifying the scope. We create all needed
1815 scopes at the time the link maps are created.
1816 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1817 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1818 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1820 * elf/dl-close.c: Rewritten accordingly.
1821 * elf/dl-deps.c: Likewise.
1822 * elf/dl-error.c: Likewise.
1823 * elf/dl-init.c: Likewise.
1824 * elf/dl-load.c: Likewise.
1825 * elf/dl-lookup.c: Likewise.
1826 * elf/dl-object.c: Likewise.
1827 * elf/dl-open.c: Likewise.
1828 * elf/dl-reloc.c: Likewise.
1829 * elf/dl-runtime.c: Likewise.
1830 * elf/dl-support.c: Likewise.
1831 * elf/dl-symbol.c: Likewise.
1832 * elf/dl-version.c: Likewise.
1833 * elf/dlsym.c: Likewise.
1834 * elf/dlvsym.c: Likewise.
1835 * elf/ldsodefs.h: Likewise.
1836 * elf/rtld.c: Likewise.
1837 * iconv/gconv_dl.c: Likewise.
1838 * nss/nsswitch.c: Likewise.
1839 * sysdeps/i386/dl-machine.h: Likewise.
1840 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1842 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1843 Define RTLD_DEFAULT.
1845 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1847 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1848 __getopt_clean_environment with __environ instead of envp.
1850 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1852 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1854 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1857 * string/argz.h (argz_next): Add de-consting cast for return.
1858 * string/argz-next.c (__argz_next): Likewise.
1860 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1861 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1862 * sysdeps/gnu/Makefile: Do it here instead.
1863 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1864 * sysdeps/gnu/Dist: ... to here.
1866 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1867 sysdeps/unix/sysv/linux/netinet/tcp.h,
1868 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1870 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1872 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1873 * string/argz-next.c, string/argz-extract.c: Fix defns.
1875 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1877 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1879 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1880 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1881 * sysdeps/generic/sysd-stdio.c: Likewise.
1883 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1885 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1886 (_dl_map_object_from_fd): Make NAME argument const.
1887 Remove last parameter in _dl_new_object call.
1888 (print_search_path): Correct construction of composed path name.
1889 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1890 Remove last parameter in _dl_new_object call.
1891 * elf/dl-object.c: Remove last parameter. Determine whether create
1892 origin entry based on empty realname. Handle file in root directory
1894 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1895 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1896 Remove last parameter in _dl_new_object call.
1897 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1898 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1900 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1902 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1903 Free l_searchlist and l_dupsearchlist.
1905 * debug/catchsegv.sh: Add one more pair of quotes.
1907 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1909 * elf/dl-load.c (add_name_to_object): Change return type to void and
1910 make NAME parameter const. Allocate room for NAME in same memory
1911 block used for l_libname entry.
1912 (_dl_map_object_from_fd): Don't free NAME on failure.
1913 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1914 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1915 _dl_map_object_from_fd.
1916 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1917 memory block used for l_libname entry.
1918 * elf/dl-close.c: Adjust free()ing for this change.
1920 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1922 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1924 * malloc/mtrace.c: Add bug report address. Update email address.
1925 Add more @XXX@ to print correct address size.
1927 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1930 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1931 for munmap call instead of examining phdr again.
1932 Free all malloc()ed strings and arrays.
1934 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1936 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1938 * sysdeps/powerpc/dl-machine.c: New file.
1939 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1940 files. Revise ELF_PREFERRED_ADDRESS to take account of
1941 the new mapping information (fixes bug involving huge bloated
1942 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1943 * sysdeps/powerpc/dl-start.S: New file.
1945 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1947 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1948 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1949 others. Call elf_dynamic_do_##reloc only once (to save even more
1951 * elf/link.h: Add new members l_map_start and l_map_end to keep
1952 track of the memory map.
1953 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1956 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1958 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1959 Reported by Andreas Jaeger.
1961 * posix/glob.h: Use __size_t instead of size_t in definitions and
1962 make sure this is defined.
1964 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1966 * manual/locale.texi: Almost complete rewrite. Document more functions
1968 * manual/arith.texi: Correct reference.
1969 * manual/string.texi: Pretty printing.
1971 * manual/texinfo.tex: Update from last available version.
1973 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1975 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1977 (_nss_nis_getpwuid_r): Likewise.
1978 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1980 * inet/rcmd.c: Implement netgroup support.
1981 Patch by Dick Streefland <dick_streefland@tasking.com>.
1983 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1985 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1986 object on the list is removed. Don't use this code for PIC.
1987 Reported by HJ Lu [PR libc/770].
1989 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1991 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1993 * include/stdio.h: Add __vsscanf.
1995 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1997 Remove __vsscanf declaration.
1998 Always declare fgetpos and fsetpos.
2000 * math/math.h: Define isinf as macro.
2001 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2002 Don't declare scalb for ISO C 9x.
2004 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2006 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2008 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2011 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2014 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2016 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2017 Reported by jreising@frequentis.com [PR libc/767].
2019 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2021 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2022 fl.l_start at beginning of function.
2023 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2025 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2027 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2028 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2030 * nscd/nscd.init: Make it work in RedHat systems.
2031 Patch by Christian Gafton.
2033 1998-08-29 Philip Blundell <philb@gnu.org>
2035 * catgets/Makefile: Don't try to run test programs when
2038 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2040 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2041 Reported by Zack Weinberg.
2043 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2045 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2046 * elf/Makefile (distribute): Remove ldd.sh.in.
2048 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2050 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2053 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2055 * sysdeps/i386/register-dump.h: Move to ...
2056 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2058 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2060 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2061 with load address, not map address.
2062 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2063 parameter and use this value.
2064 * sysdeps/arm/dl-machine.h: Likewise.
2065 * sysdeps/i386/dl-machine.h: Likewise.
2066 * sysdeps/m68k/dl-machine.h: Likewise.
2067 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2069 * sysdeps/powerpc/dl-machine.h: Likewise
2070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2073 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2075 * elf/rtld.c (process_envvars): Fix copy&paste error.
2077 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2079 (realloc_hook_ini): Don't overwrite memalign hook.
2080 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2081 Reported by Philippe Troin <phil@fifi.org>.
2083 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2084 Patch by Philippe Troin <phil@fifi.org>.
2086 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2088 * sysdeps/generic/segfault.c (install_handler): Protect the
2089 non-POSIX signals with #ifdef.
2090 (catch_segfault): Add missing mode parameter for open.
2091 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2092 other termination signals.
2094 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2096 * debug/Makefile (distribute): Add register-dump.h.
2098 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2100 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2102 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2104 * elf/Makefile (distribute): Add dl-origin.h.
2105 * sysdeps/generic/dl-origin.h: New file.
2106 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2107 * elf/link.h (struct link_map): Add l_origin field.
2108 * elf/dl-load.c (expand_dynamic_string_token): New function.
2109 (decompose_path): Remove WHERE argument, take link map pointer instead.
2110 Call expand_dynamic_string_token instead of local_strdup to make copy
2112 (_dl_init_paths): Call decompose_path with correct argument.
2113 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2115 Check EI_OSABI and EI_ABIVERSION fields in header.
2116 Call _dl_new_object with extra argument.
2117 (_dl_map_object): Call decompose_path with correct argument.
2118 Call expand_dynamic_string_token instead of local_strdup to also
2120 Call _dl_new_object with extra argument.
2121 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2122 but the main one if new argument is nonzero.
2123 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2124 * elf/dl-support.c: Define _dl_origin_path.
2125 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2126 (dl_main): Call _dl_new_object with extra argument.
2128 * elf/dl-close (_dl_close): Free l_name and l_origin.
2130 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2131 modifier in asm, not c.
2133 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2134 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2136 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2138 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2139 variable so that map can be freed.
2140 Reported by Philippe Troin <phil@fifi.org>.
2142 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2144 Patch by Philippe Troin <phil@fifi.org>.
2146 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2148 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2149 Don't call writev() with a 100-element vector.
2150 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2153 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2154 In particular, set __libc_stack_end.
2155 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2156 undefined. Fix copyright notice.
2158 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2160 * math/Makefile (gmp-objs): New variable.
2161 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2163 (tests): Add atest-exp atest-sincos atest-exp2.
2164 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2166 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2168 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2170 (_dl_unload_cache): New function.
2171 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2172 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2173 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2175 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2176 Correct comment for O_LARGEFILE.
2177 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2178 Change O_LARGEFILE to correct value.
2180 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2182 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2183 N == 0. Patch by HJ Lu.
2185 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2187 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2189 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2191 * argp/argp.h: Use __inline__ not inline.
2193 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2194 an input register as being clobbered.
2195 * sysdeps/i386/memset.c (memset): Likewise.
2196 * sysdeps/i386/bzero.c (__bzero): Likewise.
2197 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2199 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2201 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2202 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2204 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2206 * debug/catchsegv.sh: Handle text preceding backtrace better.
2207 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2208 to be installed for other signals than SIGSEGV.
2209 * sysdeps/generic/register-dump.h: New file.
2210 * sysdeps/i386/register-dump.h: New file.
2211 * sysdeps/powerpc/register-dump.h: New file.
2213 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2215 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2217 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2219 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2221 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2223 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2224 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2225 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2226 getresuid, getresgid.
2228 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2230 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2231 pointer in userland.
2233 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2235 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2238 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2240 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2241 over arguments Bourne shell compatible. Don't exit unsuccessfully
2242 if nonelf returns successfully. Avoid duplicating most of the
2244 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2247 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2249 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2251 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2252 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2254 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2256 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2257 __modify_ldt and modify_ldt.
2258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2260 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2261 Use orl $-1 instead of movl $-1 to save two bytes.
2262 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2265 1998-08-17 H.J. Lu <hjl@gnu.org>
2267 * libio/Versions (_IO_do_write, _IO_file_attach,
2268 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2269 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2270 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2271 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2273 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2274 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2275 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2276 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2277 _IO_file_write, _IO_file_xsputn): Change the prefix to
2278 "_IO_new_". Added to GLIBC_2.1.
2280 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2281 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2282 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2283 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2284 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2287 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2288 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2289 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2290 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2291 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2293 1998-08-23 Richard Henderson <rth@cygnus.com>
2295 * Makeconfig (LDFLAGS): Remove.
2297 * csu/initfini.c: Return to .text before __gmon_start__.
2299 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2300 (STO_MIPS_*): Rename from STO_*.
2301 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2302 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2304 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2305 (main): e3s is negative on zero.
2306 * math/atest-exp2.c: Likewise.
2307 * math/atest-sincos.c: Likewise.
2309 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2311 * Makerules (install): Add comment about absolute paths.
2313 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2315 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2316 array to NUL to handle maxlen==1 case correctly.
2319 1998-08-23 Richard Henderson <rth@cygnus.com>
2321 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2322 * sysdeps/alpha/elf/crtend.S: Likewise.
2323 * sysdeps/alpha/elf/start.S: Likewise.
2325 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2326 non-standard pv usage.
2328 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2329 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2330 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2331 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2332 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2333 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2334 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2335 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2336 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2337 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2338 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2340 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2341 a finite non-denormal, deferring to the full IEEE version otherwise.
2343 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2344 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2345 * sysdeps/alpha/fpu/s_floor.c: New.
2346 * sysdeps/alpha/fpu/s_floorf.c: New.
2347 * sysdeps/alpha/fpu/s_ceil.c: New.
2348 * sysdeps/alpha/fpu/s_ceilf.c: New.
2350 1998-08-22 Philip Blundell <philb@gnu.org>
2352 * sysdeps/arm/bits/string.h: New file.
2354 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2356 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2359 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2360 test for recent Linux 2.1.100+ headers.
2362 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2364 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2366 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2368 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2370 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2372 * Makefile (elf/ldso_install): Put back. The problem still persists.
2373 * elf/Makefile (ldso_install): Likewise.
2375 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2377 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2379 * include/db.h: Declare __nss_db_open.
2380 * db2/Versions: Export it.
2382 * db2/makedb.c: Convert to use db2 API.
2383 * nss/nss_db/db-XXX.c: Likewise.
2384 * nss/nss_db/db-netgrp.c: Likewise.
2385 * nss/nss_db/db-alias.c: Likewise.
2386 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2388 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2390 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2391 sys_setresuid, already built automatically (or not).
2392 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2393 instead of __syscall_setresuid and add back setresuid.
2394 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2395 __syscall_setresuid.
2397 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2399 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2401 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2403 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2404 BASH-ONLY marked region.
2405 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2407 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2409 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2412 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2414 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2417 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2419 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2420 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2421 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2422 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2423 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2424 those magic comments, and to use /bin/sh for @BASH@.
2425 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2426 * elf/ldd.sh.in: File removed.
2428 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2430 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2431 cast them to unsigned long int.
2432 * pwd/putpwent.c (putpwent): Likewise.
2433 Patch by John Tobey <jtobey@banta-im.com>.
2435 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2437 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2440 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2442 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2445 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2447 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2448 Add umount and umount2.
2449 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2450 * sysdeps/unix/sysv/linux/umount.S: New file.
2451 * sysdeps/unix/sysv/linux/umount2.S: New file.
2452 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2455 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2457 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2458 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2460 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2465 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2467 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2468 * elf/ldd.bash.in: Likewise.
2470 * elf/sln.c: Avoid warning for no main prototype.
2472 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2474 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2477 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2479 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2480 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2483 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2485 * sysdeps/arm/fpu/ieee754.h: Move to...
2486 * sysdeps/arm/ieee754.h: ... here.
2488 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2489 Don't set the condition flags unnecessarily.
2490 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2491 registers correctly.
2493 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2494 (patch from Scott Bambrough).
2496 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2498 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2499 NULL, just call it unconditionally.
2500 (__gmon_start__): Provide stub version as a weak symbol.
2502 1998-07-30 Philip Blundell <philb@gnu.org>
2504 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2507 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2508 like `@' in .type directives.
2510 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2511 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2513 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2515 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2517 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2518 (F_GETOWN): Likewise.
2520 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2523 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2525 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2528 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2530 * include/features.h: Define __USE_EXTERN_INLINES for recent
2532 * argp/argp.h: Define extern inline functions only if
2533 __USE_EXTERN_INLINES is defined.
2534 * libio/stdio.h: Likewise.
2535 * math/math.h: Likewise.
2536 * stdlib/stdlib.h: Likewise.
2537 * string/argz.h: Likewise.
2538 * sysdeps/generic/bits/sigset.h: Likewise.
2539 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2540 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2541 * sysdeps/wordsize-32/inttypes.h: Likewise.
2542 * sysdeps/wordsize-64/inttypes.h: Likewise.
2543 * wcsmbs/wchar.h: Likewise.
2545 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2546 to allow compilation without optimization.
2548 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2550 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2552 * nis/nss_compat/compat-initgroups.c: Likewise.
2553 * nis/nss_compat/compat-pwd.c: Likewise.
2554 * nis/nss_compat/compat-spwd.c: Likewise.
2555 * nis/nss_nis/nis-alias.c: Likewise.
2556 * nis/nss_nis/nis-ethers.c: Likewise.
2557 * nis/nss_nis/nis-grp.c: Likewise.
2558 * nis/nss_nis/nis-hosts.c: Likewise.
2559 * nis/nss_nis/nis-initgroups.c: Likewise.
2560 * nis/nss_nis/nis-network.c: Likewise.
2561 * nis/nss_nis/nis-proto.c: Likewise.
2562 * nis/nss_nis/nis-pwd.c: Likewise.
2563 * nis/nss_nis/nis-rpc.c: Likewise.
2564 * nis/nss_nis/nis-service.c: Likewise.
2565 * nis/nss_nis/nis-spwd.c: Likewise.
2567 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2569 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2571 * nis/yp_xdr.c: Remove 1024 byte limit.
2572 * nis/ypupdate_xdr.c: Likewise.
2574 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2577 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2579 * Rules (binaries-static, binaries-shared static pattern rules):
2580 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2582 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2583 this here, overriding Makeconfig generic value so we link against
2586 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2588 * posix/tstgetopt.c (options): Add NULL entry at end
2589 Patch by Adrian Miranda <ade@psg.com>.
2591 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2593 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2596 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2598 * elf/elf.h: Add PPC Diab relocations.
2600 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2602 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2604 * manual/texinfo.tex: Update.
2606 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2608 * sysdeps/powerpc/backtrace.c: New file.
2610 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2612 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2614 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2616 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2618 * Makefile (install-symbolic-link): Fix spelling.
2620 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2622 * elf/elf.h (SHT_HIOS): Fix value.
2624 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2626 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2627 part of the expansion, this is undefined by the standard.
2629 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2631 * posix/getconf.c: Add support for systems with incomplete confname.h.
2633 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2635 * sysdeps/posix/wait3.c: Make it work.
2637 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2639 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2640 (elf/ldso_install): Remove.
2642 * elf/Makefile (distribute): Add sln.c.
2644 (others-static): Add sln.
2645 (install-rootsbin): Add sln.
2646 (others-static): Add sln.
2647 (ldso_install): Remove.
2649 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2651 * Makerules (install-clean-symbolic-link-list): Make phony.
2652 * Makefile (install-symbolic-link): Make phony. Depend on
2653 subdir_install for parallel makes.
2656 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2658 * elf/Makefile (distribute): Add sln.c
2660 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2662 * elf/sln.c: New file.
2664 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2665 (install-clean-symbolic-link-list): New target.
2666 (install): Depend on install-clean-symbolic-link-list.
2667 (make-shlib-link): Changed for $(symbolic-link-list).
2669 * Makefile (install-symbolic-link): New target.
2670 (install): Depend on install-symbolic-link.
2672 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2674 * include/unistd.h: Protect against multiple inclusion.
2676 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2677 is defined, not is glob is defined.
2678 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2680 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2682 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2683 xdr_string for ut_line, ut_name and ut_host.
2685 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2687 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2688 /var/mail in accordance with FHS 2.0.
2689 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2691 1998-08-12 Richard Henderson <rth@cygnus.com>
2693 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2694 Update aliases for cancelation.
2696 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2697 playing with symbol versions.
2699 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2701 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2702 multiple inclusion protection.
2703 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2704 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2705 define all these to 1.
2706 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2708 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2710 * sysdeps/mach/usleep.c: Include <unistd.h>.
2711 (usleep): Return void.
2713 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2715 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2716 decl to inhibit warning in if_freenameindex defn.
2718 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2720 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2722 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2723 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2724 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2725 * sysdeps/mach/usleep.c: Likewise.
2727 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2729 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2730 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2731 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2732 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2733 * sysdeps/mach/usleep.c (usleep): Likewise.
2734 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2735 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2736 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2737 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2739 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2741 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2744 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2745 %p arg to fprintf, since `void *' is the right type already.
2747 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2749 * sysdeps/mach/hurd/getcwd.c
2750 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2751 for unknown root directories.
2752 (__getcwd): Return NULL when the current root directory could not
2755 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2757 * string/strsignal.c (strsignal): Count real-time signals from zero.
2760 See ChangeLog.8 for earlier changes.