]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7afab53d
UD
11998-08-31 Ulrich Drepper <drepper@cygnus.com>
2
3 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
4 object on the list is removed. Don't use this code for PIC.
5 Reported by HJ Lu [PR libc/770].
6
bfce746a
UD
71998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
8
9 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
10
11 * include/stdio.h: Add __vsscanf.
12
13 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
14 __USE_ISOC9X.
15 Remove __vsscanf declaration.
16 Always declare fgetpos and fsetpos.
17
18 * math/math.h: Define isinf as macro.
19 * math/bits/mathcalls.h: Change to declare __isinf all the time.
20 Don't declare scalb for ISO C 9x.
21
22 * math/tgmath.h: Define fma. Rewrite the underlying macros.
23
24 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
25
26 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
27 sys/ucontext.h.
28
29 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
30 macros.
31
321998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
33
34 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
35 Reported by jreising@frequentis.com [PR libc/767].
36
371998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
38
39 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
40 fl.l_start at beginning of function.
41 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
42
ac72fbb1
UD
431998-08-31 Ulrich Drepper <drepper@cygnus.com>
44
45 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
46 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
47
48 * nscd/nscd.init: Make it work in RedHat systems.
49 Patch by Christian Gafton.
50
511998-08-29 Philip Blundell <philb@gnu.org>
52
53 * catgets/Makefile: Don't try to run test programs when
54 cross-compiling.
55
561998-08-31 Ulrich Drepper <drepper@cygnus.com>
57
58 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
59 Reported by Zack Weinberg.
60
611998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
62
63 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
64 * elf/Makefile (distribute): Remove ldd.sh.in.
65
661998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
67
68 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
69 variable.
70
e0d46614
UD
711998-08-29 Ulrich Drepper <drepper@cygnus.com>
72
73 * sysdeps/i386/register-dump.h: Move to ...
74 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
75
b0cf070b
UD
761998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
77
78 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
79 with load address, not map address.
80 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
81 parameter and use this value.
82 * sysdeps/arm/dl-machine.h: Likewise.
83 * sysdeps/i386/dl-machine.h: Likewise.
84 * sysdeps/m68k/dl-machine.h: Likewise.
85 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
86 parameter.
87 * sysdeps/powerpc/dl-machine.h: Likewise
88 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
89 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
90
997a4165
UD
911998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
92
93 * elf/rtld.c (process_envvars): Fix copy&paste error.
94
95 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
96 memalign hook.
97 (realloc_hook_ini): Don't overwrite memalign hook.
98 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
99 Reported by Philippe Troin <phil@fifi.org>.
100
101 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
102 Patch by Philippe Troin <phil@fifi.org>.
103
1041998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
105
106 * sysdeps/generic/segfault.c (install_handler): Protect the
107 non-POSIX signals with #ifdef.
108 (catch_segfault): Add missing mode parameter for open.
109 * debug/catchsegv.sh: Avoid termination message from shell. Allow
110 other termination signals.
111
1121998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
113
114 * debug/Makefile (distribute): Add register-dump.h.
115
1161998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
117
118 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
119
f787edde
UD
1201998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
121
122 * elf/Makefile (distribute): Add dl-origin.h.
123 * sysdeps/generic/dl-origin.h: New file.
124 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
125 * elf/link.h (struct link_map): Add l_origin field.
126 * elf/dl-load.c (expand_dynamic_string_token): New function.
127 (decompose_path): Remove WHERE argument, take link map pointer instead.
128 Call expand_dynamic_string_token instead of local_strdup to make copy
129 of rpath.
130 (_dl_init_paths): Call decompose_path with correct argument.
131 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
132 not defined.
133 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 134 Call _dl_new_object with extra argument.
f787edde
UD
135 (_dl_map_object): Call decompose_path with correct argument.
136 Call expand_dynamic_string_token instead of local_strdup to also
137 expand DST.
5f623941 138 Call _dl_new_object with extra argument.
f787edde 139 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
140 but the main one if new argument is nonzero.
141 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
142 * elf/dl-support.c: Define _dl_origin_path.
143 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 144 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
145
146 * elf/dl-close (_dl_close): Free l_name and l_origin.
147
148 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
149 modifier in asm, not c.
150
151 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
152 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
153
6075607b
UD
1541998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
155
156 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
157 variable so that map can be freed.
158 Reported by Philippe Troin <phil@fifi.org>.
159
160 * elf/dl-open.c (dl_open_worker): Correct test for extending global
161 scope array.
162 Patch by Philippe Troin <phil@fifi.org>.
163
1641998-08-26 Geoff Keating <geoffk@ozemail.com.au>
165
166 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
167 Don't call writev() with a 100-element vector.
168 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
169 return address.
170
171 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
172 In particular, set __libc_stack_end.
173 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
174 undefined. Fix copyright notice.
175
1761998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
177
178 * math/Makefile (gmp-objs): New variable.
179 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
180 Depend on it.
181 (tests): Add atest-exp atest-sincos atest-exp2.
182 (tests-static): Remove atest-exp atest-sincos atest-exp2.
183
08cac4ac
UD
1841998-08-25 Ulrich Drepper <drepper@cygnus.com>
185
186 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
187 to toplevel.
188 (_dl_unload_cache): New function.
189 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
190 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 191 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
192
193 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
194 Correct comment for O_LARGEFILE.
195 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
196 Change O_LARGEFILE to correct value.
197
1981998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
199
200 * libio/iogetline.c (_IO_getline_info): Don't read anything for
201 N == 0. Patch by HJ Lu.
202
6dbb7062
UD
2031998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
204
205 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
206
2071998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
208
209 * argp/argp.h: Use __inline__ not inline.
210
211 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
212 an input register as being clobbered.
213 * sysdeps/i386/memset.c (memset): Likewise.
214 * sysdeps/i386/bzero.c (__bzero): Likewise.
215 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
216
2171998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
218
219 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
220 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
221
ed1ac6a2
UD
2221998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
223
224 * debug/catchsegv.sh: Handle text preceding backtrace better.
225 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
226 to be installed for other signals than SIGSEGV.
227 * sysdeps/generic/register-dump.h: New file.
228 * sysdeps/i386/register-dump.h: New file.
229 * sysdeps/powerpc/register-dump.h: New file.
230
231 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
232 sigcontextinfo.h.
233 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
234
2351998-08-24 Geoff Keating <geoffk@ozemail.com.au>
236
237 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
238
2391998-08-09 Geoff Keating <geoffk@ozemail.com.au>
240
241 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
242 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
243 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
244 getresuid, getresgid.
245
2461998-08-16 Geoff Keating <geoffk@ozemail.com.au>
247
248 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
249 pointer in userland.
250
2511998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
252
253 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
254 and fix value.
255
2561998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
257
258 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
259 over arguments Bourne shell compatible. Don't exit unsuccessfully
260 if nonelf returns successfully. Avoid duplicating most of the
261 script.
262 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
263 around $file.
264
2651998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
266
267 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
268 sys/reg.h.
269 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
270 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
271
b259e746
UD
2721998-08-23 Ulrich Drepper <drepper@cygnus.com>
273
274 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
275 __modify_ldt and modify_ldt.
276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
277
278 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
279 Use orl $-1 instead of movl $-1 to save two bytes.
280 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
281 Likewise.
282
2831998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
284
285 * libio/Versions (_IO_do_write, _IO_file_attach,
286 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
287 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
288 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
289 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
290
291 * libio/fileops.c (_IO_do_write, _IO_file_attach,
292 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
293 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
294 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
295 _IO_file_write, _IO_file_xsputn): Change the prefix to
296 "_IO_new_". Added to GLIBC_2.1.
297
298 * libio/libioP.h (_IO_do_write, _IO_file_attach,
299 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
300 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
301 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
302 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
303 "_IO_new_".
304
305 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
306 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
307 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
308 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
309 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
310
b259e746
UD
3111998-08-23 Richard Henderson <rth@cygnus.com>
312
313 * Makeconfig (LDFLAGS): Remove.
314
ed1ac6a2 315 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 316
ed1ac6a2
UD
317 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
318 (STO_MIPS_*): Rename from STO_*.
319 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
320 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 321
ed1ac6a2
UD
322 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
323 (main): e3s is negative on zero.
324 * math/atest-exp2.c: Likewise.
b259e746
UD
325 * math/atest-sincos.c: Likewise.
326
ed1ac6a2
UD
3271998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
328
329 * Makerules (install): Add comment about absolute paths.
330
b259e746
UD
3311998-08-23 Ulrich Drepper <drepper@cygnus.com>
332
333 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
334 array to NUL to handle maxlen==1 case correctly.
335 Patch by HJ Lu.
336
3371998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
338
339 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
340 * sysdeps/alpha/elf/crtend.S: Likewise.
341 * sysdeps/alpha/elf/start.S: Likewise.
342
343 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
344 non-standard pv usage.
345
346 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
347 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
348 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
349 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
350 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
351 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
352 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
353 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
354 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
355 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
356 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
357
358 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
359 a finite non-denormal, deferring to the full IEEE version otherwise.
360
361 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
362 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
363 * sysdeps/alpha/fpu/s_floor.c: New.
364 * sysdeps/alpha/fpu/s_floorf.c: New.
365 * sysdeps/alpha/fpu/s_ceil.c: New.
366 * sysdeps/alpha/fpu/s_ceilf.c: New.
367
e86e2df1
UD
3681998-08-22 Philip Blundell <philb@gnu.org>
369
370 * sysdeps/arm/bits/string.h: New file.
371
14a44a69
UD
3721998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
373
374 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
375 document it.
376
377 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
378 test for recent Linux 2.1.100+ headers.
379
e36b0b57
UD
3801998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
381
382 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
383
5148d49f
UD
3841998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
385
386 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
387
3881998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
389
390 * Makefile (elf/ldso_install): Put back. The problem still persists.
391 * elf/Makefile (ldso_install): Likewise.
392
3931998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
394
395 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
396 create weak alias.
397 * include/db.h: Declare __nss_db_open.
398 * db2/Versions: Export it.
399
400 * db2/makedb.c: Convert to use db2 API.
401 * nss/nss_db/db-XXX.c: Likewise.
402 * nss/nss_db/db-netgrp.c: Likewise.
403 * nss/nss_db/db-alias.c: Likewise.
404 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
405
4061998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
407
408 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
409 sys_setresuid, already built automatically (or not).
410 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
411 instead of __syscall_setresuid and add back setresuid.
412 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
413 __syscall_setresuid.
414
4151998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
416
417 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
418
1ddf537f
UD
4191998-08-20 Ulrich Drepper <drepper@cygnus.com>
420
421 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
422 BASH-ONLY marked region.
423 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
424
4251998-02-20 17:54 H.J. Lu <hjl@gnu.org>
426
427 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
428 _IO_SYSSEEK fails.
429
430 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
431
4df28840 432 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
433 element.
434
8e48355c
RM
4351998-08-21 Roland McGrath <roland@baalperazim.frob.com>
436
437 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
438 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
439 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
440 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
441 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
442 those magic comments, and to use /bin/sh for @BASH@.
443 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
444 * elf/ldd.sh.in: File removed.
445
d762684b
UD
4461998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
447
448 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
449 cast them to unsigned long int.
450 * pwd/putpwent.c (putpwent): Likewise.
451 Patch by John Tobey <jtobey@banta-im.com>.
452
4531998-08-20 17:14 H.J. Lu <hjl@gnu.org>
454
455 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
456 _IO_pos_BAD.
457
4581998-02-20 17:54 H.J. Lu <hjl@gnu.org>
459
460 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
461 _IO_SYSSEEK fails.
462
7934cc16
UD
4631998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
464
465 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
466 Add umount and umount2.
467 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
468 * sysdeps/unix/sysv/linux/umount.S: New file.
469 * sysdeps/unix/sysv/linux/umount2.S: New file.
470 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
471 Define MNT_FORCE.
472
d762684b
UD
473 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
474 Add sys/sendfile.h.
475 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
476 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
477
478 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
479
480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
481 sendfile.
482
df777c40
UD
4831998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
484
485 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
486 * elf/ldd.bash.in: Likewise.
487
488 * elf/sln.c: Avoid warning for no main prototype.
489
490 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
491 O_WRITE.
492 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
494
495 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
496 F_GETSIG.
497 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
498 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
500
5011998-08-20 Philip Blundell <pb@nexus.co.uk>
502
503 * sysdeps/arm/fpu/ieee754.h: Move to...
504 * sysdeps/arm/ieee754.h: ... here.
505
506 * sysdeps/arm/__longjmp.S: Put return value in correct register.
507 Don't set the condition flags unnecessarily.
508 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
509 registers correctly.
510
511 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
512 (patch from Scott Bambrough).
513
514 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
515
516 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
517 NULL, just call it unconditionally.
518 (__gmon_start__): Provide stub version as a weak symbol.
519
5201998-07-30 Philip Blundell <philb@gnu.org>
521
522 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
523 by Scott Bambrough)
524
525 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
526 like `@' in .type directives.
527
528 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
529 * sysdeps/arm/bsd-_setjmp.S: Likewise.
530
531 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
532
5331998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
534
535 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
536 (F_GETOWN): Likewise.
537
538 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
539 Linux 2.1.117).
540
5411998-08-20 Ulrich Drepper <drepper@cygnus.com>
542
543 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
544 already defined.
545
0c6cee5d
UD
5461998-08-18 Ulrich Drepper <drepper@cygnus.com>
547
548 * include/features.h: Define __USE_EXTERN_INLINES for recent
549 enough gcc.
550 * argp/argp.h: Define extern inline functions only if
551 __USE_EXTERN_INLINES is defined.
552 * libio/stdio.h: Likewise.
553 * math/math.h: Likewise.
554 * stdlib/stdlib.h: Likewise.
555 * string/argz.h: Likewise.
556 * sysdeps/generic/bits/sigset.h: Likewise.
557 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
558 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
559 * sysdeps/wordsize-32/inttypes.h: Likewise.
560 * sysdeps/wordsize-64/inttypes.h: Likewise.
561 * wcsmbs/wchar.h: Likewise.
562
563 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
564 to allow compilation without optimization.
565
df777c40
UD
5661998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
567
568 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
569 more entries.
570 * nis/nss_compat/compat-initgroups.c: Likewise.
571 * nis/nss_compat/compat-pwd.c: Likewise.
572 * nis/nss_compat/compat-spwd.c: Likewise.
573 * nis/nss_nis/nis-alias.c: Likewise.
574 * nis/nss_nis/nis-ethers.c: Likewise.
575 * nis/nss_nis/nis-grp.c: Likewise.
576 * nis/nss_nis/nis-hosts.c: Likewise.
577 * nis/nss_nis/nis-initgroups.c: Likewise.
578 * nis/nss_nis/nis-network.c: Likewise.
579 * nis/nss_nis/nis-proto.c: Likewise.
580 * nis/nss_nis/nis-pwd.c: Likewise.
581 * nis/nss_nis/nis-rpc.c: Likewise.
582 * nis/nss_nis/nis-service.c: Likewise.
583 * nis/nss_nis/nis-spwd.c: Likewise.
584
585 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
586
587 * nis/ypclnt.c: Try binding dir only first time, could be to old.
588
589 * nis/yp_xdr.c: Remove 1024 byte limit.
590 * nis/ypupdate_xdr.c: Likewise.
591
592 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
593 wrong data.
594
c82e6116
RM
5951998-08-18 Roland McGrath <roland@baalperazim.frob.com>
596
597 * Rules (binaries-static, binaries-shared static pattern rules):
598 Depend on lib%, not just libc%, from $(link-libc{,-static}).
599
600 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
601 this here, overriding Makeconfig generic value so we link against
602 the RPC libs.
603
364ff81f
UD
6041998-08-17 Ulrich Drepper <drepper@cygnus.com>
605
606 * posix/tstgetopt.c (options): Add NULL entry at end
607 Patch by Adrian Miranda <ade@psg.com>.
608
5d7de7aa
UD
6091998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
610
611 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
612 to 9.
613
d610a544
UD
6141998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
615
616 * elf/elf.h: Add PPC Diab relocations.
617
618 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
619
409dfcea
UD
6201998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
621
622 * manual/texinfo.tex: Update.
623
6241998-08-07 Geoff Keating <geoffk@ozemail.com.au>
625
626 * sysdeps/powerpc/backtrace.c: New file.
627
6281998-08-14 Philip Blundell <pb@nexus.co.uk>
629
630 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
631 sigjmp_save.
632 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
633
6341998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
635
636 * Makefile (install-symbolic-link): Fix spelling.
637
6381998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
639
640 * elf/elf.h (SHT_HIOS): Fix value.
641
6421998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
643
644 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
645 part of the expansion, this is undefined by the standard.
646
9d141cae
UD
6471998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
648
649 * posix/getconf.c: Add support for systems with incomplete confname.h.
650
651 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
652
653 * sysdeps/posix/wait3.c: Make it work.
654
6551998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
656
657 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
658 (elf/ldso_install): Remove.
659
660 * elf/Makefile (distribute): Add sln.c.
661 (others): Add sln.
662 (others-static): Add sln.
663 (install-rootsbin): Add sln.
664 (others-static): Add sln.
665 (ldso_install): Remove.
666
6671998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
668
669 * Makerules (install-clean-symbolic-link-list): Make phony.
670 * Makefile (install-symbolic-link): Make phony. Depend on
671 subdir_install for parallel makes.
672
673
6741998-07-22 Ulrich Drepper <drepper@cygnus.com>
675
676 * elf/Makefile (distribute): Add sln.c
677
6781998-07-21 07:10 H.J. Lu <hjl@gnu.org>
679
680 * elf/sln.c: New file.
681
682 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
683 (install-clean-symbolic-link-list): New target.
684 (install): Depend on install-clean-symbolic-link-list.
685 (make-shlib-link): Changed for $(symbolic-link-list).
686
687 * Makefile (install-symbolic-link): New target.
688 (install): Depend on install-symbolic-link.
689
1f539fd1
UD
6901998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
691
692 * include/unistd.h: Protect against multiple inclusion.
693
694 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
695 is defined, not is glob is defined.
696 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
697
6981998-08-01 17:18 H.J. Lu <hjl@gnu.org>
699
700 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
701 xdr_string for ut_line, ut_name and ut_host.
702
7031998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
704
705 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
706 /var/mail in accordance with FHS 2.0.
707 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
708
7091998-08-12 Richard Henderson <rth@cygnus.com>
710
711 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
712 Update aliases for cancelation.
713
714 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
715 playing with symbol versions.
716
259d930a
RM
7171998-08-12 Roland McGrath <roland@baalperazim.frob.com>
718
719 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
720 multiple inclusion protection.
721 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
722 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
723 define all these to 1.
724 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
725
d6765f1d
RM
7261998-08-12 Roland McGrath <roland@baalperazim.frob.com>
727
728 * sysdeps/mach/usleep.c: Include <unistd.h>.
729 (usleep): Return void.
730
7311998-08-11 Roland McGrath <roland@baalperazim.frob.com>
732
733 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
734 decl to inhibit warning in if_freenameindex defn.
735
736 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
737
738 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
739
740 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
741 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
742 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
743 * sysdeps/mach/usleep.c: Likewise.
744
745 * sysdeps/mach/hurd/bind.c (bind): Add a const.
746
747 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
748 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
749 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
750 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
751 * sysdeps/mach/usleep.c (usleep): Likewise.
752 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
753 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
754 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
755 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
756
7571998-08-11 Roland McGrath <roland@baalperazim.frob.com>
758
759 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
760 (glob64): Fix typo.
761
762 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
763 %p arg to fprintf, since `void *' is the right type already.
764
b5876a19
RM
7651998-07-25 19:47 Jose M. Moya <josem@gnu.org>
766
767 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
768 (_hurd_canonicalize_directory_name_internal): Do not loop forever
769 for unknown root directories.
b5876a19 770 (__getcwd): Return NULL when the current root directory could not
1f539fd1 771 be reached.
b5876a19 772
f81d98d6 7731998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 774
f81d98d6 775 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 776
a5f4e34a 777
f81d98d6 778See ChangeLog.8 for earlier changes.