]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
c66dbe00
UD
11998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2
3 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
4 -DSTATIC_GCONV.
5 * iconv/skeleton.c: Include ELF header only of STATIC?GCONV is not
6 defined. Avoid using DL_CLL_FCT if it is not defined.
7
81998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
9
10 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
11 Include endian.h unconditionally. Remove portability goop
12 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
13
141998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
15
16 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
17
909927d2
UD
181998-10-15 Ulrich Drepper <drepper@cygnus.com>
19
20 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
21 again. Use char[44] to define size of the struct.
22
a9e73d40
UD
23 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
24
fcab9698 251998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 26
fcab9698
UD
27 * string/bits/string2.h (strcmp): Don't cache the result of
28 __builtin_constant_p in variables, otherwise constant folding
29 can fail in big functions.
c66dbe00 30
fcab9698 311998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 32
fcab9698
UD
33 * string/bits/string2.h: Add prototypes for the new inline
34 functions.
c66dbe00 35
7edb4c25
UD
361998-10-15 Ulrich Drepper <drepper@cygnus.com>
37
38 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
39 have all types defined.
40 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
41
fcab9698 421998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 43
fcab9698
UD
44 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
45 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
46 a body that merely expands localtime_r; this works around a
47 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
48
491998-10-14 Ulrich Drepper <drepper@cygnus.com>
50
51 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
52 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
53 __ioctl to __syscall_ioctl and include Linux version of this file.
54 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
56 ioctl calls which handle struct termios.
57 Based on a patch by Dan Jacobowitz <drow@false.org>.
58
8583916e
UD
591998-10-14 Ulrich Drepper <drepper@cygnus.com>
60
61 * version.h (VERSION): Bump to 2.0.98.
62
6f100d04
UD
63 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
64 here instead of including kernel_termios.h.
65
fcab9698 661998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 67
fcab9698
UD
68 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
69 unnecessary after the changes of 1998-10-12.
c66dbe00 70
99e46354
UD
711998-10-13 Ulrich Drepper <drepper@cygnus.com>
72
6c5a700e
UD
73 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
74 parameter format string.
75 (inline_outw): Likewise.
76
99e46354
UD
77 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
78 string.h to get memcpy prototype and NULL definition.
79
801998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
81
82 * misc/sys/cdefs.h (__THROW): New macro.
83 * argp/argp.h: Use it to replace the kludgey __P in inline
84 function definitions.
85 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86 * stdlib/stdlib.h: Likewise.
87 * wcsmbs/wchar.h: Likewise.
88 * libio/stdio.h: Likewise.
89 * stdio/stdio.h: Likewise.
90 * sysdeps/wordsize-64/inttypes.h: Likewise.
91 * sysdeps/wordsize-32/inttypes.h: Likewise.
92 * string/argz.h: Likewise.
93 * io/sys/stat.h: Likewise.
94
951998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
96
97 * Rules (stdio_lim): New variable.
98 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
99 on Rules and config.make, use $(move-if-change) to avoid unnessary
100 recompilations, and cleanup command.
101 (common-generated): Add bits/stdio_lim.st.
102
1622fda9
UD
1031998-10-12 Ulrich Drepper <drepper@cygnus.com>
104
105 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
106 variable to prevent warnings from use of modern CPU instructions.
107 Patch by Richard Henderson <rth@cygnus.com>.
108
109 * sysdeps/unix/opendir.c: Test whether NAME is directory before
110 opening it.
111
1121998-10-12 Philip Blundell <pb@nexus.co.uk>
113
114 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
115 semicolon so that profiling works.
116
4875f665
RM
1171998-10-12 Roland McGrath <roland@baalperazim.frob.com>
118
119 * sysdeps/generic/glob.c: #undef mempcpy before #define.
120
121 * sysdeps/unix/bsd/clock.c: Use prototype defns.
122
431f91ba
UD
1231998-10-11 Ulrich Drepper <drepper@cygnus.com>
124
125 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
126 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
127
128 * string/bits/string2.h [!_STRING_ARCH_unaligned]
129 (__mempcpy_small): Add parameter for 1 byte copy and use it.
130 Reported by Geoff Keating <geoffk@ozemail.com.au>.
131
027acb51
UD
1321998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
133
134 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
135 it is already defined in <bits/environments.h>.
136
9a29bc37
UD
1371998-10-09 Ulrich Drepper <drepper@cygnus.com>
138
139 * posix/ptestcases.h: Fix typo.
140
1411998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
142
143 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
144 (regexec): Allocate regs.start and regs.end as one block.
145
1461998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
147
148 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
149 enum decl.
150
1511998-10-08 Philip Blundell <pb@nexus.co.uk>
152
153 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
154 sigcontext union to ...
155 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
156 file.
157 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
158 version 2.0 kernels.
159
9ea350a4
UD
1601998-10-08 Ulrich Drepper <drepper@cygnus.com>
161
8261bc4b
UD
162 * malloc/mtrace.c (tr_reallochook): Produce better output for real
163 reallocation case.
164
16e866fa 165 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 166 * argp/argp-xinl.c: Likewise.
16e866fa 167
9ea350a4
UD
168 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
169 Ruffian entry back.
170 Patch by Christian Gafton.
171
25b3b17b
UD
1721998-10-08 Paul Eggert <eggert@twinsun.com>
173
174 * time/mktime.c (__mktime_internal): When the requested time falls
175 in a spring-forward gap of size DT, return a time that is DT away
176 from the requested time, preferring a time whose tm_isdst differs
177 from the requested value. Bump the max number of probes from 4 to
178 6 to account for the extra probes needed to discover a
179 spring-forward gap in the worst case.
180
1811998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
182
183 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
184 of the weird alpha architectures.
185 Patch by Cristian Gafton <gafton@redhat.com>.
186
1871998-02-18 23:31 Richard Henderson <rth@cygnus.com>
188
189 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
190 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
191
604510f7
UD
1921998-10-07 Ulrich Drepper <drepper@cygnus.com>
193
194 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
195 (dl_open_worker): Use realloc, not malloc to resize array.
196 * elf/rtld.c (_dl_initial_searchlist): New variable.
197 (_dl_main): Copy content of _dl_main_searchlist to
198 _dl_initial_searchlist.
199 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
200 _dl_global_scope_alloc.
201 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
202 * elf/dl-close.c (_dl_close): When removing object with global
203 scope remove allocated searchlist if no dynamically loaded object
204 is on it anymore.
205 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
206 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
207
208 * malloc/mtrace.c (tr_where): Don't print space in location string,
209 print it afterwards. Print better symbol name information.
210
0163d97b
UD
2111998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
212
213 * manual/filesys.texi (Setting Permissions): Fix example for
214 reading umask.
215
2161998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
217
218 * elf/sprof.c (load_profdata): Fix typo in error message.
219
c0de721b
AS
2201998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
221
222 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
223 flag.
224
442dc326
RM
2251998-10-04 Roland McGrath <roland@baalperazim.frob.com>
226
227 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
228
d53427c8
UD
2291998-10-06 Ulrich Drepper <drepper@cygnus.com>
230
231 * version.h (VERSION): Bump to 2.0.97.
232
acdf1251
UD
2331998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
234
235 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
236 in definitions of inline stat functions so that they match the
237 declaration.
238 * stdlib/stdlib.h: Likewise.
239 * wcsmbs/wchar.h: Likewise.
240 * libio/stdio.h: Likewise.
241 * stdio/stdio.h: Likewise.
242 * sysdeps/wordsize-64/inttypes.h: Likewise.
243 * sysdeps/wordsize-32/inttypes.h: Likewise.
244 * string/argz.h: Likewise.
245 * argp/argp.h: Likewise.
246
3cb07217
UD
2471998-10-06 Ulrich Drepper <drepper@cygnus.com>
248
249 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
250 netinet/in.h.
251
c10bb795
UD
2521998-10-05 Philip Blundell <philb@gnu.org>
253
254 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
255 and constants. Tidy up formatting a little.
256
257 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
258 Move definitions to in.h.
259
8325d82c
UD
2601998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
261
262 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
263 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
264 Remove inclusion of <linux/swap.h>.
265
2661998-10-05 Ulrich Drepper <drepper@cygnus.com>
267
268 * io/sys/stat.h: Use __P in definitions of inline stat functions
269 so that they match the declaration.
270
2711998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
272
273 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
274
2751998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
276
277 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
278 linux 2.1 version.
279
2801998-10-02 Philip Blundell <pb@nexus.co.uk>
281
282 * sysdeps/arm/dl-machine.h: Fix typo in last change.
283
284 * sysdeps/arm/bits/huge_val.h: New file.
285
2861998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
287
288 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
289
290 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
291 define.
292
2931998-10-05 Ulrich Drepper <drepper@cygnus.com>
294
295 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
296 store result of realloc instead of using BUF.
297
2981998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
299
300 * misc/sgtty.h (_SGTTY_H): Correct spelling.
301 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
302
3031998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
304
305 * manual/memory.texi (Obstacks): Document
306 obstack_alloc_failed_handler usage.
307
308 * malloc/obstack.h: Enhance comment about
309 obstack_alloc_failed_handler usage.
310 * malloc/obstack.c: Likewise.
311
3121998-10-05 Ulrich Drepper <drepper@cygnus.com>
313
314 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
315 gcc before 2.8 is used.
316
3171998-10-01 Philip Blundell <pb@nexus.co.uk>
318
319 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
320 from Scott Bambrough.
321
322 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
323
324 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
325 include the lock member.
326
3271998-09-03 Philip Blundell <pb@nexus.co.uk>
328
329 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
330
e3e4e463
UD
3311998-10-01 Ulrich Drepper <drepper@cygnus.com>
332
333 * timezone/zic.c: Update from tzcode1998h.
334 * timezone/europe: Update from tzdata1998i.
335 * timezone/southamerica: Likewise.
336
7782d0bf
UD
337 * sys/types.h: Protect use of long long by __extension__.
338 * stdlib/stdlib.h: Likewise.
339 * string/string.h: Likewise.
340 * sysdeps/i386/bits/byteswap.h: Likewise.
341 * sysdeps/geeric/bits/byteswap.h: Likewise.
342 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
343 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
344 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
345 * sysdeps/wordsize-32/inttypes.h: Likewise.
346 * sysdeps/wordsize-32/stdint.h: Likewise.
347 * wcsmbs/wchar.h: Likewise.
348
8325d82c
UD
3491998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
350
351 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
352 expression.
353 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
354 __strsep): Greatly reduce size of expansion by combining common
355 expressions.
356 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
357 inline function.
358 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
359 by the above definitions.
360
3611998-09-27 Geoff Keating <geoffk@ozemail.com.au>
362
363 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
364 correct struct ipc_perm definition.
365
3661998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
367
368 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
369
999b2f6b
UD
3701998-09-29 Cristian Gafton <gafton@redhat.com>
371
8325d82c
UD
372 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
373 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
374 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
375 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
376 Add net/if_shaper.h.
377
87052ab7
UD
3781998-09-29 Ulrich Drepper <drepper@cygnus.com>
379
cf26217d
UD
380 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
381
87052ab7
UD
382 * nis/ypclnt.c: Remove not needed close calls.
383
6ff5bc68
UD
3841998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
385
386 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
387 check a bit. Also close socket of domain client. Close socket
388 in IPPORT_RESERVED error case.
389
3901998-09-28 Ulrich Drepper <drepper@cygnus.com>
391
392 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
393 CMSG_ALIGN (fixes a bug) and correct test for availability of
394 another entry.
395 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
396 Linux version.
397 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
398 availability of another entry.
399 Patch by ak@muc.de.
400
401 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
402 Patch by ak@muc.de.
403
999b2f6b
UD
404 * libio/libio.h [!__STDC__]: Define const only if not defined.
405
6ff5bc68
UD
4061998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
407
408 * posix/annexc.c (xsystem): New function. Use it instead of
409 system.
410
4111998-09-28 Ulrich Drepper <drepper@cygnus.com>
412
413 * stdlib/longlong.h: Remove #endif for #if removed in last change.
414
e07a51b5
UD
4151998-09-25 Ulrich Drepper <drepper@cygnus.com>
416
417 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
418 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
419 allow using `ut' parameter.
420 [!emacs]: Define ut_argument, ut_argument_spec, and
421 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
422 argument_spec to prototypes and definitions.
423 (my_strftime): Don't call tzset of ut != 0.
424 Compute diff as 0 is ut != 0;
425 [emacs]: Define new emacs_strftime function.
426 Based on a patch by Paul Eggert.
427
4281998-09-24 Paul Eggert <eggert@twinsun.com>
429
430 * time/strftime.c (my_strftime): When asking for the length of the
431 subformatted buffer, do not limit the length to look for;
432 otherwise, we have no reliable way to distinguish between the
433 empty buffer and an error.
434
390a4882
UD
4351998-09-25 Ulrich Drepper <drepper@cygnus.com>
436
437 * math/Makefile (gmp-objs): Add mp_clz_tab.
438
4391998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
440
441 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
442 set them.
443 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
444 cpus lacking hardware multiply and divide.
445
4461998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
447
448 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
449 $(<F), not $(^F).
450
4511998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
452
453 * db/btree/bt_delete.c: Fix -Wparentheses warning.
454
4551998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
456
457 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
458 $(do-install).
459
e503270c
UD
4601998-09-24 Ulrich Drepper <drepper@cygnus.com>
461
e07a51b5 462 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
463
4641998-09-24 Paul Eggert <eggert@twinsun.com>
465
390a4882 466 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
467 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
468 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
469 1998-09-11 fix to this case.
470 (wkday_len, month_len): Remove these macros; they're no longer needed.
471
4721998-09-24 Paul Eggert <eggert@twinsun.com>
473
390a4882 474 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
475 zero-sized buffer.
476
3465c0ce
UD
4771998-09-24 Paul Eggert <eggert@twinsun.com>
478
e503270c 479 * time/strftime.c (underlying_strftime):
3465c0ce
UD
480 Set the buffer to a nonzero value before calling
481 strftime, and check to see whether strftime has set the buffer to zero.
482 This lets us distinguish between an empty buffer and an error.
483
4841998-09-24 Paul Eggert <eggert@shade.twinsun.com>
485
e503270c 486 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
487 This fix is propagated from tzcode1998g.tar.gz.
488
7a3bfc4e
UD
4891998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
490
491 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
492 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
493 sys_siglist. This is handled correctly by the weak_alias macro.
494
369b1933
UD
4951998-09-24 Ulrich Drepper <drepper@cygnus.com>
496
50a1b837
UD
497 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
498 of mempcpy. Reported by Andreas Jaeger.
499
369b1933
UD
500 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
501 pollute the namespace since the compiler will resolve it inline.
502 Reported by Florian La Roche <florian@suse.de>.
503
2b79b6d5
UD
5041998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
505
506 * timezone/private.h: Update from tzcode1998g.
507
508 * timezone/africa: Update from tzdata1998h.
509 * timezone/asia: Likewise.
510 * timezone/australasia: Likewise.
511 * timezone/europe: Likewise.
512 * timezone/northamerica: Likewise.
513 * timezone/southamerica: Likewise.
514 * timezone/zone.tab: Likewise.
515
3d42e04d
UD
5161998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
517
518 * misc/sys/mman.h: New file.
519
520 * sysdeps/generic/bits/mman.h: New file.
521 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
522 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
523 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
524 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
525
526 * sysdeps/generic/sys/mman.h: Removed.
527 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
528 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
529 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
530 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
531 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
532
533 * include/sys/mman.h: Look directly for misc/sys/mman.h.
534 * misc/Makefile (headers): Add bits/mman.h.
535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
536 bits/mman.h.
537
538 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
539 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
540 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
541 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
542 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
544 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
545 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
546
5471998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
548
549 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
550 * sysdeps/mach/alpha/thread_state.h: Likewise.
551 * sysdeps/mach/i386/sysdep.h: Likewise.
552 * sysdeps/mach/i386/thread_state.h: Likewise.
553 * sysdeps/mach/mips/sysdep.h: Likewise.
554 * sysdeps/mach/mips/thread_state.h: Likewise.
555 * sysdeps/posix/profil.c: Likewise.
556 * sysdeps/i386/i586/memcopy.h: Likewise.
557 * sysdeps/mach/pagecopy.h: Likewise.
558
a379e56a
UD
5591998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
560
561 * libio/stdio.h: Define __need_getopt and include getopt.h to define
562 getopt stuff.
563 * posix/unistd.h: Likewise.
564 * stdio/stdio.h: Likewise.
565 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
566 define only getopt and the variables.
567
34a4b66d
UD
5681998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
569
570 * scripts/test-installation.pl (installation_problem): Don't link
571 the test program against libdb1.
572
24fd4cc4
UD
5731998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
574
575 * Makeconfig (all-subdirs): Add db.
576 * Versions.def: Add definition for libdb1.
577 * shlib-versions: Add definitions for libdb1.
578 * db/Makefile (extra-libs): Replace by libdb1.
579 (libdb-routines): Rename to libdb1-routines.
580 (headers): Rename to db1-headers.
581 (distribute): Add $(db1-headers).
582 (install-others): Define to install symlink libdb.so.NN and the
583 $(db1-headers).
a379e56a 584 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
585 Remove rules to build makedb.
586 * db/Versions: Rename libdb to libdb1.
587 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 588 * db/makedb.c: Removed.
24fd4cc4
UD
589
590 * scripts/versions.awk: Recognize digits in library names.
591
592 * db/btree/bt_open.c: Fix compiler warnings.
593 * db/btree/bt_put.c: Likewise.
594 * db/btree/bt_split.c: Likewise.
595 * db/hash/hash.c: Likewise.
596 * db/hash/hash_bigkey.c: Likewise.
597 * db/recno/rec_close.c: Likewise.
598
af564203
UD
599 * Makefile: Add localedata/% goal.
600
c94a8080
UD
6011998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
602
603 * posix/execvp.c: Don't give up searching the PATH if execve
604 returns ENOTDIR.
605
6061998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
607
608 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
609 if _dl_fpu_control_set is set.
610 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
611 * elf/rtld.c: Don't define _dl_fpu_control_set.
612 * elf/Versions: Remove _dl_fpu_control_set.
613
6141998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
615
616 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
617 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
618 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
619 Correct values of other SA_* macros according to kernel headers.
620
6211998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
622
623 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
624 variable l.
625 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
626 old.
627
6281998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
629
630 * elf/ldsodefs.h: Fix typo in comment.
631
6321998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
633
634 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
635 char when comparing buffer contents with putback character.
636
6371998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
638
639 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
640 Undo last change.
641 * elf/Versions: Undo last change. Export _dl_fpu_control and
642 _dl_fpu_control_set.
643 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
644 variables. Include <fpu_control.h>.
645 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
646 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
647 to indicate that is was seen.
648 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
649 only if _dl_fpu_control was set and is equal to desired value.
650 * math/Makefile (aux): Undo last change.
651 * math/Versions: Export __fpu_control with version GLIBC_2.0.
652
f74e8ed1
AS
6531998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
654
655 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
656 optimized.
657
e7c5513d
UD
6581998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
659
660 * string/bits/string2.h: Add mempcpy optimization.
661 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
662 * intl/localealias.c: Define mempcpy only if not already defined.
663
664 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
665 defined.
666
6671998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
668
669 * csu/abi-note.S: Emit the note directly instead of defining
670 a preprocessor macro that's only used once. Don't include sysdep.h.
671 * abi-tags: Generalize Solaris entry.
672
6731998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
674
675 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
676 Change to array to avoid runtime relocation.
677 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
678
6791998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
680
681 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
682 * math/Makefile ($(objpfx)libieee.a): Likewise.
683
6841998-09-21 Ulrich Drepper <drepper@cygnus.com>
685
686 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
687 Patch by John Tobey <jtobey@banta-im.com>.
688
b0fd6165
UD
6891998-09-20 Ulrich Drepper <drepper@cygnus.com>
690
691 * login/Makefile (distribute): Remove pty-internal.h, add
692 pty-private.h.
1391f5d3
UD
693
694 * stdlib/tst-strtol.c: Add more checks.
695 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
696
a0780919
UD
6971998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
698
699 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
700 * elf/elf.h: Add AT_FPUCW.
701 * elf/Makefile (dl-routines): Add fpu_control.
702 (elide-routines.os): Add fpu_control.
703 (rtld-routines): Add fpu_control.
704 * math/Makefile (aux): Remove fpu_control.
705 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
706 (_dl_show_auxv): Likewise.
707 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
708 if different from OS default.
709
710 * stdio-common/tstscanf.c: Add test case for (nil).
711
00bc5db0
UD
7121998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
713
714 * libio/fileops.c (_IO_new_file_underflow): Before allocating
715 buffer make sure the pushback buffer is destroyed.
716 (_IO_new_file_seekoff): Likewise.
717 If mode==0 quit early with the result.
718 Clear OEF flag after successful fseek.
719 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
720 * libio/ftello.c (ftello): Add offset from original buffer if
721 stream has pushed back characters.
722 * libio/ftello64.c (ftello64): Likewise.
723 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
724 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
725 * libio/ioftell.c (_IO_ftell): Likewise.
726 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
727 and _IO_save_ptr.
728 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
729 (_IO_default_pbackfail): Only stored push back character in original
730 buffer if it is the same as the one in the file at this position.
731 * libio/iofclose.c: Free backup buffer if one is available.
732 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
733 mode!=0.
734
735 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
736
737 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
738
c53a89d4
UD
739 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
740
00bc5db0
UD
7411998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
742
743 * login/programs/pt_chown.c (more_help): Correct message that
744 describes the purpose of the program.
745
746 * login/openpty.c: Do not include pty-private.h.
747 (pts_name): New function. Return name of slave pseudo terminal in
748 an allocated buffer if necessary.
749 (openpty): Use pts_name to get name of the slave end of the pseudo
750 terminal pair.
751
752 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
753 pts_name before return.
754
7551998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
756
757 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
758
88263bc9
UD
7591998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
760
761 * login/openpty.c: Include pty-private.h instead of
762 pty-internal.h.
763
872ea854
UD
7641998-09-09 Philip Blundell <pb@nexus.co.uk>
765
766 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
767
7681998-09-07 Philip Blundell <pb@nexus.co.uk>
769
770 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
771 recent ld.so changes.
772 (elf_machine_runtime_setup): Correct behaviour when profiling.
773
9b3c7c3c
UD
7741998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
775
776 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
777 Patch by John Tobey <jtobey@banta-im.com>.
778
7791998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
780
781 * login/pty-internal.h: Removed. Moved constants related to the
782 `grantpt' helper program protocol to ...
783 * login/pty-private.h: ... here. New file.
784 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
785 to make the function work with kernels >= 2.1.115.
786 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
787 version if using the cloning device fails.
788 * sysdeps/unix/sysv/linux/grantpt.c: New file.
789 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
790 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
791 use by Linux specific code.
792 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
793 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
794 function. (grantpt): Use pts_name, check group and permission
795 mode in addition to owner. Try to set the owner, group and
796 permission mode first without invoking the helper program.
797 * login/programs/pt_chown.c: Largely rewritten. Add argp and
798 internationalization support. Use symbolic constants instead of
799 hardwired numbers for permission mode.
800 * sysdeps/unix/bsd/ptsname.c: New file.
801
8021998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
803
804 * posix/wordexp-test.c: Undo last change.
805
806 * posix/wordexp.c: Undo last change.
807
d8f2b9ea
UD
8081998-09-16 Ulrich Drepper <drepper@cygnus.com>
809
810 * nscd/grpcache.c (save_grp): Partly undo last change.
811
812 * nscd/pwdcache.c (save_pwd): Undo last change.
813
9c4c0024
UD
8141998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
815
816 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
817 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
818
8191998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
820
821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
822 Add profiling support.
823 (TRAMPOLINE_TEMPLATE): New macro.
824 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
825 (RTLD_START): Prettify, and set __libc_stack_end properly.
826 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
827 and check for sym being NULL instead.
828 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
829 of stack space.
830 * sysdeps/sparc/sparc64/lshift.S: Likewise.
831 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
832 * sysdeps/sparc/sparc64/rshift.S: Likewise.
833 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
834 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
835 MEDANY code model %g4 usage.
836 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
837 MEDANY code model %g4 usage.
838 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
839 code model address formation.
840 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
841 include elf/ldsodefs.h
842 (DT_SPARC): Remove.
843 (elf_machine_matches_host): It is now EM_SPARCV9.
844 (elf_machine_dynamic): Clean up to remove ugly cast.
845 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
846 new PLT formats.
847 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
848 Prettify rest of function.
849 [R_SPARC_COPY]: Check for sym being NULL.
850 [R_SPARC_32]: Handle it.
851 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
852 MEDMID code model.
853 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
854 MEDANY code model.
855 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
856 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
857 Add profiling support.
858 (TRAMPOLINE_TEMPLATE): New macro.
859 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
860 (RTLD_START): Prettify and set __libc_stack_end.
861 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
862 Define.
863 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
864 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
866 unused variable scratch.
867 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
868 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
869 Declare.
870 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
871 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
872 old format kernel sigaction structures.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
874 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
875 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
876 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
877 ucontext include.
878 (_JMPBUF_UNWINDS): Define.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
880 statfs64 structure, which is exactly the same as the normal one.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
882 of stack. Use correct syscall trap number. Add branch prediction
883 settings to branch instructions. Remove old MEDANY code model %g4
884 referneces for non-PIC.
885 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
886 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
887 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
888 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
890 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
891 __libc_longjmp and __libc_siglongjmp strong aliases.
892 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
893 Also define to __no__readdir64_decl around readdir.c inclusion.
894 (__readdir64): Add strong alias.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
896 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
897 Set strong and weak names properly.
898
8991998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
900
901 * manual/Makefile (AWK): Default to gawk if standalone.
902
9031998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
904
905 * Makefile (distribute): Undo last change.
906 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
907 for sysdep headers.
908 (+subdir-headers): Removed, unused.
909
9101998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
911
912 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
913 $(do-install).
914
9151998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
916
917 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
918 absolute name in $(config-sysdirs), can never happen.
919 ($(+sysdir_pfx)sysd-rules): Likewise.
920 * Makeconfig (full-config-sysdirs): Likewise.
921 (all-Subdirs-files): Prepend $(..).
922
923 * configure.in: Don't check for absolute name in $add_ons_pfx, can
924 not happen. Let --enable-add-ons=yes work if no add-ons actually
925 exist.
926
9271998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
928
929 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
930 continuations in command.
931
9321998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
933
934 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
935
a8125d85
UD
9361998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
937
938 * posix/wordexp-test.c: If expansion or substitution occurs
939 anywhere in a word, the entire word is subject to field-splitting.
940
941 * posix/wordexp.c (parse_glob): Look for end of word instead of
942 end of field when deciding what to glob.
943 (field_split_word): New function, now the only place where
944 field-splitting is performed.
945 (parse_dollars): New parameter - tell the caller if
946 field-splitting should be performed on this word.
947
948 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
949 succeeded (or failed with WRDE_NOSPACE).
950
9511998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
952
953 * posix/wordexp.c (wordexp): Don't convert IFS characters to
954 blanks.
955
956 * posix/wordexp-test.c: Words not the result of expansion or
957 substitution should remain unchanged.
958
aa2bc6a3
UD
9591998-09-15 Ulrich Drepper <drepper@cygnus.com>
960
961 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
962 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
963
3a60301a
UD
9641998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
965
966 * stdio-common/Makefile: Include Makeconfig so that
967 $(inst_includedir) is defined.
968
77f0d179
UD
9691998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
970
971 * io/pwd.c: Include <mcheck.h>.
972
6beaac4d
UD
9731998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
974
975 * nscd/pwdcache.c (save_pwd): Correct copying.
976 * nscd/grpcache.c (save_grp): Likewise.
977
0ff0d59e
UD
9781998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
979
980 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
981 (free_pwd): Adjust for this change.
982 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
983 (free_grp): Adjust for this change.
984
d3f8acb3
UD
9851998-09-14 Ulrich Drepper <drepper@cygnus.com>
986
987 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
988
14eb5d5d
UD
9891998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
990
991 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
992 (install-others): Add bits/stdio_lim.h.
993 Add rule to install bits/stdio_lim.h.
994
995 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
996
997 * Makefile (distribute): Add include/sys/mman.h.
998
999 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1000 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1001 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1002
0a1590ba
UD
1003 * grp/initgroups.c: Include stdlib.h.
1004 Patch by Zack Weinberg.
1005
1ffaaca2
UD
10061998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1007
1008 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1009 for field-splitting :abc: is correct, and that two fields should
1010 result. Revert tests to reflect this.
1011
1012 * posix/wordexp.c (w_emptyword): Remove function.
1013 (exec_comm): Don't use w_emptyword.
1014 (parse_param): Likewise.
1015
4ca020f5
UD
10161998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1017
1018 * sysdeps/arm/fpu/Dist: Moved to...
1019 * sysdeps/arm/Dist: ...here.
1020 * sysdeps/posix/Dist: Removed.
1021 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1022 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1023
f624c216
UD
10241998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1025
1026 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1027
7ef90c15
UD
10281998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1029
1030 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1031
10321998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1033
1034 * libc-work/nis/nss_nisplus/nisplus-service.c
1035 (_nss_nisplus_parse_servent): Convert port in network byte order.
1036
10371998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1038
1039 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1040 to provide only malloc and calloc.
1041 * include/stdlib.h: Support the above.
1042 * string/bits/string2.h: Use __need_malloc_and_calloc when
1043 including stdlib.h.
1044 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1045
1046 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1047 * iconvdata/iso646.c: Include <stdlib.h>.
1048
10491998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1050
1051 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1052 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1053 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1054 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1055
10561998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1057
1058 * stdio-common/stdio_lim.h.in: New file. All parameters
1059 are adjustable at build time.
1060 * Rules: Add a rule to build bits/stdio_lim.h from
1061 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1062 all subdirectories know how to make the file. It can't be
1063 in Makerules because then it gets built at top level and the
1064 dependencies are wrong.)
1065
1066 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1067 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1068 stdio_lim.h.
1069 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1070 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1071 * sysdeps/posix/Makefile: Removed.
1072 * sysdeps/posix/mk-stdiolim.c: Removed.
1073 * sysdeps/generic/bits/stdio_lim.h: Removed.
1074
10751998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1076
1077 * argp/argp-help.c: Fixup indentation.
1078 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1079 * resolv/nss_dns/dns-network.c: Likewise.
1080 * resolv/res_send.c: Likewise.
1081 * rt/aio_cancel.c: Likewise.
1082 * rt/aio_misc.c: Likewise.
1083
10841998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1085
1086 * Makefile (install-symbolic-link): Remove the link list file at last.
1087 * Makerules (install-clean-symbolic-link-list): Removed.
1088
10891998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1090
1091 * timezone/tst-timezone.c: Print time in UTC to get consistent
1092 output.
1093
10941998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1095
1096 * elf/rtld.c (_dl_rpath): Removed.
1097 * elf/dl-support.c (_dl_path): Removed.
1098 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1099 (CFLAGS-dl-support.c): Removed.
1100
1101 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1102 uses changed.
1103 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1104 instead of appending it to the main map's rpath info.
1105 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1106 DT_RPATHs. This makes it effective again.
1107 (decompose_rpath): Remove second parameter, callers changed.
1108 (fillin_rpath): Allocate enough space in curwd.
1109 (expand_dynamic_string_token): Cope with get_origin returning -1.
1110
11111998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1112
1113 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1114 passwd.adjunct.
1115
1116 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1117 invalid password.
1118
11191998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1120
1121 * locale/programs/locale.c: Update dates.
1122
5d47ceca
UD
11231998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1124
1125 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1126 size_t is defined. Some reordering of defenitions to make
1127 maintaining this file in parallel with the linux-specific file easier.
1128
bd31edf2
UD
11291998-09-13 Ulrich Drepper <drepper@cygnus.com>
1130
1131 * io/pwd.c (main): Add call to mtrace.
1132
1133 * malloc/mtrace.pl: Quote @ in string.
1134
33c3e20e
UD
11351998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1136
1137 * posix/wordexp.c (parse_arith): Fix memory leaks.
1138 (exec_comm): Likewise.
1139 (parse_param): Likewise.
1140 (wordexp): Likewise.
1141 (exec_comm): Reduce number of function return points.
1142 (parse_param): Likewise.
1143 (wordexp): Likewise.
1144
1720f4d0
UD
11451998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1146
1147 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1148 yield three fields, not two. Test both parameter expansion and
1149 command substitution for correct field-splitting behaviour.
1150
1151 * posix/wordexp.c (w_emptyword): New function.
1152 (parse_param): Use it.
1153 (exec_comm): Likewise, for consistency with the way parse_param
1154 splits fields.
1155 (parse_param): Fix some memory leaks.
1156
2d09b95d
UD
11571998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1158
1159 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1160 Don't mark asm `volatile'.
1161 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1162 from the data cache too. Assume it isn't in the instruction cache yet.
1163 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1164
b39c6f8b
UD
11651998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1166
1167 * sysdeps/generic/segfault.c (install_handler): Install signal
1168 handler with SA_ONSTACK instead of setting the stack flags to
1169 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1170 defined.
1171
11721998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1173
1174 * signal/signal.h: Fix multiple inclusion guard to cover the
1175 entire file.
1176 * wcsmbs/wchar.h: Remove prototype of internal function
1177 __mbsrtowcs.
1178 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1179 arithmetic on `void *'.
1180
c06cc21c
UD
11811998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1182
1183 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1184
1185 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1186 field-splitting here.
1187 (wordexp): If out of memory mid-word, free the word (but still
1188 leave pwordexp alone for caller to see).
1189 (parse_param): Allow for zero-length fields (smarter checking of
1190 memory allocation failure).
1191 (w_addword): Convert NULL words to "".
1192 (wordexp): Convert left-over IFS characters to blanks (like bash).
1193
81e0cb2d
UD
11941998-09-11 Ulrich Drepper <drepper@cygnus.com>
1195
350eb336
UD
1196 * configure.in: Use test -f instead of test -e.
1197 Patch by John Tobey <jtobey@banta-im.com>.
1198
1199 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1200 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1201 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1202 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1203 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1204 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1205 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1206 Patches by John Tobey <jtobey@banta-im.com>.
1207
81e0cb2d
UD
1208 * time/strftime.c (my_strftime): Delay use of *tp values until
1209 latest possible point to allow partly initialized structures
1210 (e.g., from strptime).
1211
514d9bca
UD
1212 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1213 and NATS-SEFI.
1214 Define *-routines variables for new modules.
1215 (distribute): Add .c files for new modules.
1216 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1217 and nats-sefi.h.
1218 Add rules for header generation.
1219 * iconvdata/gconv-modules: Add entries for new modules.
1220 * iconvdata/iso_10367-box.c: New file.
1221 * iconvdata/mac-is.c: New file.
1222 * iconvdata/nats-dano.c: New file.
1223 * iconvdata/nats-sefi.c: New file.
1224
81e0cb2d
UD
12251998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1226
1227 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1228 loader if PIC is not defined.
1229
ec04e9ba
UD
12301998-09-11 Ulrich Drepper <drepper@cygnus.com>
1231
1232 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1233 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1234 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1235 and ISO_5428.
1236 Define *-routines variables for new modules.
1237 (distribute): Add .c files for new modules.
1238 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1239 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1240 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1241 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 1242 Add rules for header generation.
ec04e9ba
UD
1243 * iconvdata/gconv-modules: Add entries for new modules.
1244 * iconvdata/csn_369103.c: New file.
1245 * iconvdata/cwi.c: New file.
1246 * iconvdata/dec-mcs.c: New file.
1247 * iconvdata/ecma-cyrillic.c: New file.
1248 * iconvdata/gost_19768-74.c: New file.
1249 * iconvdata/greek-ccitt.c: New file.
1250 * iconvdata/greek7-old.c: New file.
1251 * iconvdata/greek7.c: New file.
1252 * iconvdata/inis-8.c: New file.
1253 * iconvdata/inis-cyrillic.c: New file.
1254 * iconvdata/inis.c: New file.
1255 * iconvdata/iso6937-2.c: New file.
1256 * iconvdata/iso_2033.c: New file.
1257 * iconvdata/iso_5427-ext.c: New file.
1258 * iconvdata/iso_5427.c: New file.
1259 * iconvdata/iso_5428.c: New file.
1260
1261 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1262 entries.
1263 Convert U02dd correctly.
1264
25c849b1
RH
12651998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1266
1267 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1268 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1269 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1270 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1271
04795ad9
UD
12721998-09-11 Ulrich Drepper <drepper@cygnus.com>
1273
1274 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1275 one nameserver correctly. Patch by HJ Lu.
1276
1277 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1278 and ANSI_X3.110.
1279 Define *-routines variables for new modules.
1280 (distribute): Add .c files for new modules.
1281 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1282 Add rules for hedaer generation.
1283 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1284 * iconvdata/ansi_x3.110.c: New file.
1285 * iconvdata/asmo_449.c: New file.
1286 * iconvdata/baltic.c: New file.
1287 * iconvdata/iec_p27-1.c: New file.
1288
1289 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1290 entries.
1291 Convert U02dc correctly.
1292
1293 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1294 * math/atest-exp2.c: Likewise.
1295 * math/atest-sincos.c: Likewise.
1296
1297 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1298 is defined.
1299
13001998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1301
1302 * string/strcoll.c: Optimize a few expressions.
1303 * string/strxfrm.c: Likewise.
1304
5e0889da
UD
13051998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1306
1307 * manual/locale.texi: Fix typos.
1308
2c86b2bc
UD
13091998-09-10 Ulrich Drepper <drepper@cygnus.com>
1310
26afaa63
UD
1311 * stdlib/random_r.c (__setstate_r): Allow call with same state
1312 array as currently used (PR libc/774).
1313
6c79e60c
UD
1314 * include/limits.h: Include gcc's header even if this file is
1315 found more than once before it (PR libc/778)
1316
ec04e9ba
UD
1317 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1318 (sysdep_headers): Remove sys/debugreg.h.
1319 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1320 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
1321 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1322 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1323
2c86b2bc
UD
1324 * stdio-common/tmpnam.c: Move local static variable buf to
1325 toplevel and rename to tmpnam_buffer to ease debugging.
1326 Patch by Joe Keane <jgk@jgk.org>.
1327 Optimize s == NULL case a bit.
1328
8e9f53fc
UD
1329 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1330 correction.
1331
482a3be2
UD
13321998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1333
1334 * resolv/res_init.c (res_init): Initialize _res.nscount and
1335 _res.nsaddr.sin_port differently for the can when no loopback
1336 is available to allow immediate timeout in non-networking environments.
1337 Patch by Cristian Gafton <gafton@redhat.com>.
1338
e8238963
UD
13391998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1340
1341 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1342 BAR and not EM DASH.
1343 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1344 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1345 Fixes PR libc/717.
1346
90865aa8
UD
13471998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1348
1349 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1350 for test.
1351 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1352
1353 * time/tzfile.c (__tzfile_read): Handle case when there are no
1354 transitions. Set __timezone based on computed offset.
1355 * time/tzset.c (tzset_internal): Set __timezone before returning.
1356
1357 * time/tzset.c (tzset_internal): Optimize handling of local string
1358 copy.
1359
13601998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1361
1362 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1363 libc/776).
1364
adac8450
UD
13651998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1366
1367 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1368 (csqrt_test): Likewise.
90865aa8 1369 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 1370
8e140239
UD
13711998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1372
1373 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1374 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1375 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1376
78acf671
UD
13771998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1378
1379 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1380 the special `-1' pointer.
1381
6e4c40ba
UD
13821998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1383
1384 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1385 inline.
1386
13871998-09-07 Paul Eggert <eggert@twinsun.com>
1388
1389 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1390 (_REENTRANT): Remove. It has undesirable consequences in
1391 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1392 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1393 is what we want.
1394 * time/strftime.c: Likewise.
1395
13961998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1397
1398 * elf/dl-error.c: Fix spelling.
1399
14001998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1401
1402 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1403 * stdio-common/_itoa.c: Likewise.
1404 * stdio-common/printf_fp.c: Likewise.
1405 * stdio-common/vfscanf.c: Likewise.
1406 * wcsmbs/wcstok.c: Likewise.
1407 * sysdeps/generic/glob.c: Likewise.
1408 * posix/getopt.c: Likewise.
1409 * sysdeps/posix/getaddrinfo.c: Likewise.
1410 * posix/wordexp.c: Likewise.
1411 * io/ftw.c: Likewise.
1412 * io/fts.c: Likewise.
1413 * misc/getpass.c: Likewise.
1414 * iconv/gconv_conf.c: Likewise.
1415 * argp/argp-fmtstream.c: Likewise.
1416 * argp/argp-help.c: Likewise.
1417 * elf/dl-load.c: Likewise.
1418 * locale/programs/stringtrans.c: Likewise.
1419 * catgets/gencat.c: Likewise.
1420 * posix/getconf.c: Likewise.
1421 * iconv/gconv_conf.c: Likewise.
1422 * iconv/iconv_prog.c: Likewise.
1423
1424 * string/strcoll.c: Optimize a few expressions.
1425 * string/strxfrm.c: Likewise.
1426
14271998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1428
1429 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1430 level to avoid uninit variable warning.
1431
14321998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 1433
769ca810 1434 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 1435 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 1436
2aa236b1
AS
1437 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1438 C9x macro.
1439
8ea4a95a
UD
14401998-09-08 Ulrich Drepper <drepper@cygnus.com>
1441
6e4c40ba 1442 Fix compatibility problems introduced in last change.
dc27836e
UD
1443 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1444 defined.
1445 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1446 -DWEAK_GMON_START to CFLAGS-initfini.s.
1447
e4d50917
UD
1448 * elf/dl-object.c (_dl_new_object): Store map address in
1449 _dl_loaded if _dl_loaded is NULL.
87c812c2 1450 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 1451
8ea4a95a
UD
1452 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1453
88c91118
UD
14541998-09-07 Ulrich Drepper <drepper@cygnus.com>
1455
1456 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1457 quiet.
2c874db2
UD
1458 * db2/btree/bt_cursor.c: Likewise.
1459 * db2/common/db_region.db_c: Likewise.
1460 * db2/common/db_salloc.db_c: Likewise.
1461 * db2/db/db.c: Likewise.
1462 * db2/db/db_rec.c: Likewise.
1463 * db2/hash/hash.c: Likewise.
1464 * db2/hash/hash_page.c: Likewise.
1465 * db2/hash/hash_rec.c: Likewise.
1466 * db2/log/log_findckp.c: Likewise.
1467 * db2/log/log_get.c: Likewise.
1468 * db2/log/log_put.c: Likewise.
1469 * db2/mp/mp_fget.c: Likewise.
1470 * db2/mp/mp_fput.c: Likewise.
1471 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
1472 * stdlib/strtol.c: Likewise.
1473 * string/strcoll.c: Likewise.
1474 * string/strxfrm.c: Likewise.
94b78bb2
UD
1475 * argp/argp-help.c: Likewise.
1476 * argp/argp-parse.c: Likewise.
3121cc04 1477 * resolv/res_debug.c: Likewise.
88c91118 1478
26644e87
UD
14791998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1480
1481 * math/tgmath.h (scalb): Only define for __USE_MISC or
1482 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1483
2b33e5b0
UD
14841998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1485
1486 * libio/stdio.h: Fix comment.
1487
1488 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1489 __USE_ISOC9X.
1490
6796bc80
UD
14911998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1492
1493 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1494
1495 * elf/dl-open.c: Quiet -Wparentheses warnings.
1496 * iconvdata/johab.c: Likewise.
1497 * iconvdata/uhc.c: Likewise.
1498 * inet/inet_net.c: Likewise.
1499 * io/fts.c: Likewise.
1500 * locale/newlocale.c: Likewise.
1501 * misc/getttyent.c: Likewise.
1502 * misc/mntent_r.c: Likewise.
1503 * misc/ttyslot.c: Likewise.
1504 * nscd/nscd_conf.c: Likewise.
1505 * nss/nsswitch.c: Likewise.
1506 * resolv/gethnamaddr.c: Likewise.
1507 * resolv/nsap_addr.c: Likewise.
1508 * resolv/res_debug.c: Likewise.
1509 * stdio-common/_itoa.c: Likewise.
1510 * stdlib/strtod.c: Likewise.
1511 * string/strverscmp.c: Likewise.
1512 * sunrpc/svc.c: Likewise.
1513 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1514 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1515 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1516 * sysdeps/posix/getaddrinfo.c: Likewise.
1517
baa3334a
UD
15181998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1519
1520 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1521 for use of global scope.
1522 * elf/dlvsym.c (dlvsym_doit): Likewise.
1523
15241998-09-02 Paul Eggert <eggert@twinsun.com>
1525
1526 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1527 copy the redundant bytes at the end of the format as-is; don't
1528 just copy their first byte and then rescan, as that might get
1529 us an encoding error.
1530 Account correctly for the length of multibyte sequences in the
1531 format.
1532
15331998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1534
1535 * posix/wordexp-test.c: Add tests for different IFS values.
1536 Change unquoted-newline test so that newline is not in IFS.
1537
1538 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1539 determining IFS characters. Return WRDE_BADCHAR for unquoted
1540 special characters _except_ if they are separators.
1541
15421998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1543
1544 * include/tgmath.h: New file.
1545
1546 * libio/stdio.h: Correct reversed #ifs.
1547 Patch by Zack Weinberg.
1548
1549 * manual/creature.texi: Better explain reason for feature select
1550 macros.
1551 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1552
15531998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1554
1555 * include/alloca.h: Add multiple-inclusion guard.
1556 * include/db.h: Likewise.
1557 * include/db_185.h: Likewise.
6796bc80 1558 * include/dlfcn.h: Likewise.
baa3334a
UD
1559 * include/fcntl.h: Likewise.
1560 * include/grp.h: Likewise.
1561 * include/libintl.h: Likewise.
1562 * include/mntent.h: Likewise.
1563 * include/pwd.h: Likewise.
1564 * include/sched.h: Likewise.
1565 * include/search.h: Likewise.
1566 * include/setjmp.h: Likewise.
1567 * include/shadow.h: Likewise.
1568 * include/signal.h: Likewise.
1569 * include/stdio.h: Likewise.
1570 * include/stdlib.h: Likewise.
1571 * include/string.h: Likewise.
1572 * include/termios.h: Likewise.
1573 * include/time.h: Likewise.
1574 * include/ulimit.h: Likewise.
1575 * include/utmp.h: Likewise.
1576 * include/wchar.h: Likewise.
1577 * include/sys/file.h: Likewise.
1578 * include/sys/gmon.h: Likewise.
1579 * include/sys/ioctl.h: Likewise.
1580 * include/sys/mman.h: Likewise.
1581 * include/sys/resource.h: Likewise.
1582 * include/sys/select.h: Likewise.
1583 * include/sys/socket.h: Likewise.
1584 * include/sys/statfs.h: Likewise.
1585 * include/sys/time.h: Likewise.
1586 * include/sys/times.h: Likewise.
1587 * include/sys/wait.h: Likewise.
1588
be935610
UD
15891998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1590
1591 * version.h (VERSION): Bump to 2.0.96.
1592
1593 Rewrite runtime linker to be truly thread-safe. There is now no
1594 global variable specifying the scope. We create all needed
1595 scopes at the time the link maps are created.
1596 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1597 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1598 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1599 struct link_map.
1600 * elf/dl-close.c: Rewritten accordingly.
1601 * elf/dl-deps.c: Likewise.
1602 * elf/dl-error.c: Likewise.
1603 * elf/dl-init.c: Likewise.
1604 * elf/dl-load.c: Likewise.
1605 * elf/dl-lookup.c: Likewise.
1606 * elf/dl-object.c: Likewise.
1607 * elf/dl-open.c: Likewise.
1608 * elf/dl-reloc.c: Likewise.
1609 * elf/dl-runtime.c: Likewise.
1610 * elf/dl-support.c: Likewise.
1611 * elf/dl-symbol.c: Likewise.
1612 * elf/dl-version.c: Likewise.
be935610
UD
1613 * elf/dlsym.c: Likewise.
1614 * elf/dlvsym.c: Likewise.
1615 * elf/ldsodefs.h: Likewise.
1616 * elf/rtld.c: Likewise.
1617 * iconv/gconv_dl.c: Likewise.
1618 * nss/nsswitch.c: Likewise.
1619 * sysdeps/i386/dl-machine.h: Likewise.
1620 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1621
6796bc80
UD
1622 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1623 Define RTLD_DEFAULT.
1624
2b4083dd
RM
16251998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1626
1627 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1628 __getopt_clean_environment with __environ instead of envp.
1629
a361203e
RM
16301998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1631
2b4083dd
RM
1632 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1633
531e4bca
RM
1634 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1635 setting results.
1636
62ee0979 1637 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 1638 * string/argz-next.c (__argz_next): Likewise.
62ee0979 1639
59cacc81
RM
1640 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1641 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1642 * sysdeps/gnu/Makefile: Do it here instead.
1643 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1644 * sysdeps/gnu/Dist: ... to here.
1645
a361203e
RM
1646 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1647 sysdeps/unix/sysv/linux/netinet/tcp.h,
1648 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1649
29659dd2
RM
16501998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1651
1652 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1653 * string/argz-next.c, string/argz-extract.c: Fix defns.
1654
1097c603
RM
16551998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1656
1657 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1658
1659 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1660 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1661 * sysdeps/generic/sysd-stdio.c: Likewise.
1662
143e2b96
UD
16631998-09-02 Ulrich Drepper <drepper@cygnus.com>
1664
1665 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1666 (_dl_map_object_from_fd): Make NAME argument const.
1667 Remove last parameter in _dl_new_object call.
1668 (print_search_path): Correct construction of composed path name.
1669 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1670 Remove last parameter in _dl_new_object call.
1671 * elf/dl-object.c: Remove last parameter. Determine whether create
1672 origin entry based on empty realname. Handle file in root directory
1673 correctly.
1674 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1675 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1676 Remove last parameter in _dl_new_object call.
1677 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1678 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1679
fc3597c0
UD
16801998-09-01 Ulrich Drepper <drepper@cygnus.com>
1681
4ce636da
UD
1682 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1683 Free l_searchlist and l_dupsearchlist.
1684
fc3597c0
UD
1685 * debug/catchsegv.sh: Add one more pair of quotes.
1686
76156ea1
UD
16871998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1688
1689 * elf/dl-load.c (add_name_to_object): Change return type to void and
1690 make NAME parameter const. Allocate room for NAME in same memory
1691 block used for l_libname entry.
1692 (_dl_map_object_from_fd): Don't free NAME on failure.
1693 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1694 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1695 _dl_map_object_from_fd.
1696 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1697 memory block used for l_libname entry.
1698 * elf/dl-close.c: Adjust free()ing for this change.
1699
a8a1269d
UD
17001998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1701
1702 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1703
1704 * malloc/mtrace.c: Add bug report address. Update email address.
1705 Add more @XXX@ to print correct address size.
1706
1707 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1708 really initialized.
1709
1710 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1711 for munmap call instead of examining phdr again.
1712 Free all malloc()ed strings and arrays.
1713
052b6a6c
UD
17141998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1715
1716 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1717 dl-machine.h.
1718 * sysdeps/powerpc/dl-machine.c: New file.
1719 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1720 files. Revise ELF_PREFERRED_ADDRESS to take account of
1721 the new mapping information (fixes bug involving huge bloated
1722 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1723 * sysdeps/powerpc/dl-start.S: New file.
1724
1725 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1726 l_map_end.
1727 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1728 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1729 others. Call elf_dynamic_do_##reloc only once (to save even more
1730 space).
1731 * elf/link.h: Add new members l_map_start and l_map_end to keep
1732 track of the memory map.
1733 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1734 the executable.
1735
17361998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1737
1738 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1739 Reported by Andreas Jaeger.
1740
1741 * posix/glob.h: Use __size_t instead of size_t in definitions and
1742 make sure this is defined.
1743
85c165be
UD
17441998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1745
052b6a6c 1746 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
1747 and functionality.
1748 * manual/arith.texi: Correct reference.
1749 * manual/string.texi: Pretty printing.
1750
1751 * manual/texinfo.tex: Update from last available version.
1752
17531998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1754
1755 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1756 invalid password.
1757 (_nss_nis_getpwuid_r): Likewise.
1758 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1759
1760 * inet/rcmd.c: Implement netgroup support.
1761 Patch by Dick Streefland <dick_streefland@tasking.com>.
1762
7afab53d
UD
17631998-08-31 Ulrich Drepper <drepper@cygnus.com>
1764
1765 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1766 object on the list is removed. Don't use this code for PIC.
1767 Reported by HJ Lu [PR libc/770].
1768
bfce746a
UD
17691998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1770
1771 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1772
1773 * include/stdio.h: Add __vsscanf.
1774
1775 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1776 __USE_ISOC9X.
1777 Remove __vsscanf declaration.
1778 Always declare fgetpos and fsetpos.
1779
1780 * math/math.h: Define isinf as macro.
1781 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1782 Don't declare scalb for ISO C 9x.
1783
1784 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1785
1786 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1787
1788 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1789 sys/ucontext.h.
1790
1791 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1792 macros.
1793
17941998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1795
1796 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1797 Reported by jreising@frequentis.com [PR libc/767].
1798
17991998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1800
1801 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1802 fl.l_start at beginning of function.
1803 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1804
ac72fbb1
UD
18051998-08-31 Ulrich Drepper <drepper@cygnus.com>
1806
1807 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1808 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1809
1810 * nscd/nscd.init: Make it work in RedHat systems.
1811 Patch by Christian Gafton.
1812
18131998-08-29 Philip Blundell <philb@gnu.org>
1814
1815 * catgets/Makefile: Don't try to run test programs when
1816 cross-compiling.
1817
18181998-08-31 Ulrich Drepper <drepper@cygnus.com>
1819
1820 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1821 Reported by Zack Weinberg.
1822
18231998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1824
1825 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1826 * elf/Makefile (distribute): Remove ldd.sh.in.
1827
18281998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1829
1830 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1831 variable.
1832
e0d46614
UD
18331998-08-29 Ulrich Drepper <drepper@cygnus.com>
1834
1835 * sysdeps/i386/register-dump.h: Move to ...
1836 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1837
b0cf070b
UD
18381998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1839
1840 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1841 with load address, not map address.
1842 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1843 parameter and use this value.
1844 * sysdeps/arm/dl-machine.h: Likewise.
1845 * sysdeps/i386/dl-machine.h: Likewise.
1846 * sysdeps/m68k/dl-machine.h: Likewise.
1847 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1848 parameter.
1849 * sysdeps/powerpc/dl-machine.h: Likewise
1850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1851 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1852
997a4165
UD
18531998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1854
1855 * elf/rtld.c (process_envvars): Fix copy&paste error.
1856
1857 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1858 memalign hook.
1859 (realloc_hook_ini): Don't overwrite memalign hook.
1860 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1861 Reported by Philippe Troin <phil@fifi.org>.
1862
1863 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1864 Patch by Philippe Troin <phil@fifi.org>.
1865
18661998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1867
1868 * sysdeps/generic/segfault.c (install_handler): Protect the
1869 non-POSIX signals with #ifdef.
1870 (catch_segfault): Add missing mode parameter for open.
1871 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1872 other termination signals.
1873
18741998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1875
1876 * debug/Makefile (distribute): Add register-dump.h.
1877
18781998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
1879
1880 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1881
f787edde
UD
18821998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1883
1884 * elf/Makefile (distribute): Add dl-origin.h.
1885 * sysdeps/generic/dl-origin.h: New file.
1886 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1887 * elf/link.h (struct link_map): Add l_origin field.
1888 * elf/dl-load.c (expand_dynamic_string_token): New function.
1889 (decompose_path): Remove WHERE argument, take link map pointer instead.
1890 Call expand_dynamic_string_token instead of local_strdup to make copy
1891 of rpath.
1892 (_dl_init_paths): Call decompose_path with correct argument.
1893 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1894 not defined.
1895 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 1896 Call _dl_new_object with extra argument.
f787edde
UD
1897 (_dl_map_object): Call decompose_path with correct argument.
1898 Call expand_dynamic_string_token instead of local_strdup to also
1899 expand DST.
5f623941 1900 Call _dl_new_object with extra argument.
f787edde 1901 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
1902 but the main one if new argument is nonzero.
1903 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
1904 * elf/dl-support.c: Define _dl_origin_path.
1905 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 1906 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
1907
1908 * elf/dl-close (_dl_close): Free l_name and l_origin.
1909
1910 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1911 modifier in asm, not c.
1912
1913 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1914 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1915
6075607b
UD
19161998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1917
1918 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1919 variable so that map can be freed.
1920 Reported by Philippe Troin <phil@fifi.org>.
1921
1922 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1923 scope array.
1924 Patch by Philippe Troin <phil@fifi.org>.
1925
19261998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1927
1928 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1929 Don't call writev() with a 100-element vector.
1930 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1931 return address.
1932
1933 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1934 In particular, set __libc_stack_end.
1935 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1936 undefined. Fix copyright notice.
1937
19381998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1939
1940 * math/Makefile (gmp-objs): New variable.
1941 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1942 Depend on it.
1943 (tests): Add atest-exp atest-sincos atest-exp2.
1944 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1945
08cac4ac
UD
19461998-08-25 Ulrich Drepper <drepper@cygnus.com>
1947
1948 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1949 to toplevel.
1950 (_dl_unload_cache): New function.
1951 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1952 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 1953 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
1954
1955 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1956 Correct comment for O_LARGEFILE.
1957 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1958 Change O_LARGEFILE to correct value.
1959
19601998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1961
1962 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1963 N == 0. Patch by HJ Lu.
1964
6dbb7062
UD
19651998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1966
1967 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1968
19691998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1970
1971 * argp/argp.h: Use __inline__ not inline.
1972
1973 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1974 an input register as being clobbered.
1975 * sysdeps/i386/memset.c (memset): Likewise.
1976 * sysdeps/i386/bzero.c (__bzero): Likewise.
1977 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1978
19791998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1980
1981 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1982 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1983
ed1ac6a2
UD
19841998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1985
1986 * debug/catchsegv.sh: Handle text preceding backtrace better.
1987 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1988 to be installed for other signals than SIGSEGV.
1989 * sysdeps/generic/register-dump.h: New file.
1990 * sysdeps/i386/register-dump.h: New file.
1991 * sysdeps/powerpc/register-dump.h: New file.
1992
1993 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1994 sigcontextinfo.h.
1995 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1996
19971998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1998
1999 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2000
20011998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2002
2003 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2004 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2005 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2006 getresuid, getresgid.
2007
20081998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2009
2010 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2011 pointer in userland.
2012
20131998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2014
2015 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2016 and fix value.
2017
20181998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2019
2020 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2021 over arguments Bourne shell compatible. Don't exit unsuccessfully
2022 if nonelf returns successfully. Avoid duplicating most of the
2023 script.
2024 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2025 around $file.
2026
20271998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
2028
2029 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2030 sys/reg.h.
2031 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2032 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2033
b259e746
UD
20341998-08-23 Ulrich Drepper <drepper@cygnus.com>
2035
2036 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2037 __modify_ldt and modify_ldt.
2038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2039
2040 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2041 Use orl $-1 instead of movl $-1 to save two bytes.
2042 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2043 Likewise.
2044
20451998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
2046
2047 * libio/Versions (_IO_do_write, _IO_file_attach,
2048 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2049 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2050 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2051 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2052
2053 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2054 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2055 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2056 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2057 _IO_file_write, _IO_file_xsputn): Change the prefix to
2058 "_IO_new_". Added to GLIBC_2.1.
2059
2060 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2061 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2062 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2063 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2064 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2065 "_IO_new_".
2066
2067 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2068 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2069 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2070 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2071 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2072
b259e746
UD
20731998-08-23 Richard Henderson <rth@cygnus.com>
2074
2075 * Makeconfig (LDFLAGS): Remove.
2076
ed1ac6a2 2077 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 2078
ed1ac6a2
UD
2079 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2080 (STO_MIPS_*): Rename from STO_*.
2081 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2082 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 2083
ed1ac6a2
UD
2084 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2085 (main): e3s is negative on zero.
2086 * math/atest-exp2.c: Likewise.
b259e746
UD
2087 * math/atest-sincos.c: Likewise.
2088
ed1ac6a2
UD
20891998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2090
2091 * Makerules (install): Add comment about absolute paths.
2092
b259e746
UD
20931998-08-23 Ulrich Drepper <drepper@cygnus.com>
2094
2095 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2096 array to NUL to handle maxlen==1 case correctly.
2097 Patch by HJ Lu.
2098
20991998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
2100
2101 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2102 * sysdeps/alpha/elf/crtend.S: Likewise.
2103 * sysdeps/alpha/elf/start.S: Likewise.
2104
2105 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2106 non-standard pv usage.
2107
2108 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2109 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2110 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2111 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2112 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2113 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2114 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2115 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2116 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2117 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2118 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2119
2120 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2121 a finite non-denormal, deferring to the full IEEE version otherwise.
2122
2123 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2124 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2125 * sysdeps/alpha/fpu/s_floor.c: New.
2126 * sysdeps/alpha/fpu/s_floorf.c: New.
2127 * sysdeps/alpha/fpu/s_ceil.c: New.
2128 * sysdeps/alpha/fpu/s_ceilf.c: New.
2129
e86e2df1
UD
21301998-08-22 Philip Blundell <philb@gnu.org>
2131
2132 * sysdeps/arm/bits/string.h: New file.
2133
14a44a69
UD
21341998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2135
2136 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2137 document it.
2138
2139 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2140 test for recent Linux 2.1.100+ headers.
2141
e36b0b57
UD
21421998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2143
2144 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2145
5148d49f
UD
21461998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2147
2148 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2149
21501998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2151
2152 * Makefile (elf/ldso_install): Put back. The problem still persists.
2153 * elf/Makefile (ldso_install): Likewise.
2154
21551998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2156
2157 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2158 create weak alias.
2159 * include/db.h: Declare __nss_db_open.
2160 * db2/Versions: Export it.
2161
2162 * db2/makedb.c: Convert to use db2 API.
2163 * nss/nss_db/db-XXX.c: Likewise.
2164 * nss/nss_db/db-netgrp.c: Likewise.
2165 * nss/nss_db/db-alias.c: Likewise.
2166 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2167
21681998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2169
2170 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2171 sys_setresuid, already built automatically (or not).
2172 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2173 instead of __syscall_setresuid and add back setresuid.
2174 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2175 __syscall_setresuid.
2176
21771998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2178
2179 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2180
1ddf537f
UD
21811998-08-20 Ulrich Drepper <drepper@cygnus.com>
2182
2183 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2184 BASH-ONLY marked region.
2185 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2186
21871998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2188
2189 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2190 _IO_SYSSEEK fails.
2191
2192 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2193
4df28840 2194 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
2195 element.
2196
8e48355c
RM
21971998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2198
2199 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2200 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2201 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2202 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2203 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2204 those magic comments, and to use /bin/sh for @BASH@.
2205 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2206 * elf/ldd.sh.in: File removed.
2207
d762684b
UD
22081998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2209
2210 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2211 cast them to unsigned long int.
2212 * pwd/putpwent.c (putpwent): Likewise.
2213 Patch by John Tobey <jtobey@banta-im.com>.
2214
22151998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2216
2217 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2218 _IO_pos_BAD.
2219
22201998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2221
2222 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2223 _IO_SYSSEEK fails.
2224
7934cc16
UD
22251998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2226
2227 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2228 Add umount and umount2.
2229 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2230 * sysdeps/unix/sysv/linux/umount.S: New file.
2231 * sysdeps/unix/sysv/linux/umount2.S: New file.
2232 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2233 Define MNT_FORCE.
2234
d762684b
UD
2235 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2236 Add sys/sendfile.h.
2237 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2238 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2239
2240 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2241
2242 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2243 sendfile.
2244
df777c40
UD
22451998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2246
2247 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2248 * elf/ldd.bash.in: Likewise.
2249
2250 * elf/sln.c: Avoid warning for no main prototype.
2251
2252 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2253 O_WRITE.
2254 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2256
2257 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2258 F_GETSIG.
2259 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2260 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2262
22631998-08-20 Philip Blundell <pb@nexus.co.uk>
2264
2265 * sysdeps/arm/fpu/ieee754.h: Move to...
2266 * sysdeps/arm/ieee754.h: ... here.
2267
2268 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2269 Don't set the condition flags unnecessarily.
2270 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2271 registers correctly.
2272
2273 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2274 (patch from Scott Bambrough).
2275
2276 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2277
2278 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2279 NULL, just call it unconditionally.
2280 (__gmon_start__): Provide stub version as a weak symbol.
2281
22821998-07-30 Philip Blundell <philb@gnu.org>
2283
2284 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2285 by Scott Bambrough)
2286
2287 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2288 like `@' in .type directives.
2289
2290 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2291 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2292
2293 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2294
22951998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2296
2297 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2298 (F_GETOWN): Likewise.
2299
2300 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2301 Linux 2.1.117).
2302
23031998-08-20 Ulrich Drepper <drepper@cygnus.com>
2304
2305 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2306 already defined.
2307
0c6cee5d
UD
23081998-08-18 Ulrich Drepper <drepper@cygnus.com>
2309
2310 * include/features.h: Define __USE_EXTERN_INLINES for recent
2311 enough gcc.
2312 * argp/argp.h: Define extern inline functions only if
2313 __USE_EXTERN_INLINES is defined.
2314 * libio/stdio.h: Likewise.
2315 * math/math.h: Likewise.
2316 * stdlib/stdlib.h: Likewise.
2317 * string/argz.h: Likewise.
2318 * sysdeps/generic/bits/sigset.h: Likewise.
2319 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2320 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2321 * sysdeps/wordsize-32/inttypes.h: Likewise.
2322 * sysdeps/wordsize-64/inttypes.h: Likewise.
2323 * wcsmbs/wchar.h: Likewise.
2324
2325 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2326 to allow compilation without optimization.
2327
df777c40
UD
23281998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2329
2330 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2331 more entries.
2332 * nis/nss_compat/compat-initgroups.c: Likewise.
2333 * nis/nss_compat/compat-pwd.c: Likewise.
2334 * nis/nss_compat/compat-spwd.c: Likewise.
2335 * nis/nss_nis/nis-alias.c: Likewise.
2336 * nis/nss_nis/nis-ethers.c: Likewise.
2337 * nis/nss_nis/nis-grp.c: Likewise.
2338 * nis/nss_nis/nis-hosts.c: Likewise.
2339 * nis/nss_nis/nis-initgroups.c: Likewise.
2340 * nis/nss_nis/nis-network.c: Likewise.
2341 * nis/nss_nis/nis-proto.c: Likewise.
2342 * nis/nss_nis/nis-pwd.c: Likewise.
2343 * nis/nss_nis/nis-rpc.c: Likewise.
2344 * nis/nss_nis/nis-service.c: Likewise.
2345 * nis/nss_nis/nis-spwd.c: Likewise.
2346
2347 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2348
2349 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2350
2351 * nis/yp_xdr.c: Remove 1024 byte limit.
2352 * nis/ypupdate_xdr.c: Likewise.
2353
2354 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2355 wrong data.
2356
c82e6116
RM
23571998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2358
2359 * Rules (binaries-static, binaries-shared static pattern rules):
2360 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2361
2362 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2363 this here, overriding Makeconfig generic value so we link against
2364 the RPC libs.
2365
364ff81f
UD
23661998-08-17 Ulrich Drepper <drepper@cygnus.com>
2367
2368 * posix/tstgetopt.c (options): Add NULL entry at end
2369 Patch by Adrian Miranda <ade@psg.com>.
2370
5d7de7aa
UD
23711998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2372
2373 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2374 to 9.
2375
d610a544
UD
23761998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2377
2378 * elf/elf.h: Add PPC Diab relocations.
2379
2380 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2381
409dfcea
UD
23821998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2383
2384 * manual/texinfo.tex: Update.
2385
23861998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2387
2388 * sysdeps/powerpc/backtrace.c: New file.
2389
23901998-08-14 Philip Blundell <pb@nexus.co.uk>
2391
2392 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2393 sigjmp_save.
2394 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2395
23961998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2397
2398 * Makefile (install-symbolic-link): Fix spelling.
2399
24001998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2401
2402 * elf/elf.h (SHT_HIOS): Fix value.
2403
24041998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2405
2406 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2407 part of the expansion, this is undefined by the standard.
2408
9d141cae
UD
24091998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2410
2411 * posix/getconf.c: Add support for systems with incomplete confname.h.
2412
2413 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2414
2415 * sysdeps/posix/wait3.c: Make it work.
2416
24171998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2418
2419 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2420 (elf/ldso_install): Remove.
2421
2422 * elf/Makefile (distribute): Add sln.c.
2423 (others): Add sln.
2424 (others-static): Add sln.
2425 (install-rootsbin): Add sln.
2426 (others-static): Add sln.
2427 (ldso_install): Remove.
2428
24291998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2430
2431 * Makerules (install-clean-symbolic-link-list): Make phony.
2432 * Makefile (install-symbolic-link): Make phony. Depend on
2433 subdir_install for parallel makes.
2434
2435
24361998-07-22 Ulrich Drepper <drepper@cygnus.com>
2437
2438 * elf/Makefile (distribute): Add sln.c
2439
24401998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2441
2442 * elf/sln.c: New file.
2443
2444 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2445 (install-clean-symbolic-link-list): New target.
2446 (install): Depend on install-clean-symbolic-link-list.
2447 (make-shlib-link): Changed for $(symbolic-link-list).
2448
2449 * Makefile (install-symbolic-link): New target.
2450 (install): Depend on install-symbolic-link.
2451
1f539fd1
UD
24521998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2453
2454 * include/unistd.h: Protect against multiple inclusion.
2455
2456 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2457 is defined, not is glob is defined.
2458 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2459
24601998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2461
2462 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2463 xdr_string for ut_line, ut_name and ut_host.
2464
24651998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2466
2467 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2468 /var/mail in accordance with FHS 2.0.
2469 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2470
24711998-08-12 Richard Henderson <rth@cygnus.com>
2472
2473 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2474 Update aliases for cancelation.
2475
2476 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2477 playing with symbol versions.
2478
259d930a
RM
24791998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2480
2481 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2482 multiple inclusion protection.
2483 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2484 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2485 define all these to 1.
2486 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2487
d6765f1d
RM
24881998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2489
2490 * sysdeps/mach/usleep.c: Include <unistd.h>.
2491 (usleep): Return void.
2492
24931998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2494
2495 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2496 decl to inhibit warning in if_freenameindex defn.
2497
2498 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2499
2500 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2501
2502 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2503 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2504 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2505 * sysdeps/mach/usleep.c: Likewise.
2506
2507 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2508
2509 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2510 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2511 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2512 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2513 * sysdeps/mach/usleep.c (usleep): Likewise.
2514 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2515 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2516 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2517 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2518
25191998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2520
2521 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2522 (glob64): Fix typo.
2523
2524 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2525 %p arg to fprintf, since `void *' is the right type already.
2526
b5876a19
RM
25271998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2528
2529 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
2530 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2531 for unknown root directories.
b5876a19 2532 (__getcwd): Return NULL when the current root directory could not
1f539fd1 2533 be reached.
b5876a19 2534
f81d98d6 25351998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 2536
f81d98d6 2537 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 2538
a5f4e34a 2539
f81d98d6 2540See ChangeLog.8 for earlier changes.
This page took 0.339286 seconds and 5 git commands to generate.