]> sourceware.org Git - glibc.git/blame - ChangeLog
2000-04-21 Andreas Jaeger <aj@suse.de>
[glibc.git] / ChangeLog
CommitLineData
4fcfc4c6
UD
12000-04-21 Ulrich Drepper <drepper@redhat.com>
2
3 * nis/nis_callback.c (__nis_create_callback): Check result of
4 memory allocation. Fix memory leaks. Use __builtin_expect.
5 (__nis_destroy_callback): Fix memory leaks.
6
4f263528
AJ
72000-04-21 Andreas Jaeger <aj@suse.de>
8
9 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
10 * sysdeps/mips/mips64/add_n.S: Likewise.
11 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
12 * sysdeps/mips/mips64/lshift.S: Likewise.
13 * sysdeps/mips/mips64/mul_1.S: Likewise.
14 * sysdeps/mips/mips64/rshift.S: Likewise.
15 * sysdeps/mips/mips64/setjmp.S: Likewise.
16 * sysdeps/mips/mips64/sub_n.S: Likewise.
17 * sysdeps/mips/mips64/submul_1.S: Likewise.
18
19 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
20 and update comment. The strtab from _dl_relocate_object can be
21 used.
22
a711dd4b
UD
232000-04-21 Ulrich Drepper <drepper@redhat.com>
24
25 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
26 * iconv/iconv_close.c (iconv_close): Likewise.
27 * iconv/iconv_open.c (iconv_open): Likewise.
28
29 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
30 __builtin_expect where useful.
31
32 * grp/initgroups.c (initgroups): Test for result of memory
33 allocation and punt if it fails.
34
35 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
36 * grp/fgetgrent.c (fgetfrent): Likewise.
37 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
38
761df3a7
UD
392000-04-21 Jakub Jelinek <jakub@redhat.com>
40
41 * libio/vasprintf.c: Include string.h to get memcpy prototype.
42
978ce92b
UD
432000-04-20 Ulrich Drepper <drepper@redhat.com>
44
376b8b3d
UD
45 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
46 don't search for NUL byte to decrement counter.
47 Reported by Ulrich.Brink@sap.com.
48
4a069c33
UD
49 * iconv/gconv_simple.c: Define separate functions to convert from
50 UCS4/UCS4-LE to the internal encoding.
51 * iconv/gconv_builtin.h: Use separate functions to convert from
52 UCS4/UCS4-LE to the internal encoding.
53 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
54 __gconv_transform_ucs4le_internal.
55
56 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
57 output buffer overflow. Reported by Ulrich.Brink@sap.com.
58
978ce92b
UD
59 * iconv/skeleton.c: Add some more __builtin_expect.
60 * iconv/loop.c: Likewise.
61
460e040a
UD
622000-03-08 H.J. Lu <hjl@gnu.org>
63
64 * posix/regex.c (regex_compile): Correctly handle "\{" when
65 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
66
d879eb85
UD
672000-04-20 Ulrich Drepper <drepper@redhat.com>
68
69 * manual/stdio.texi: Give advise about handling error when using
70 stream functions.
71 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
72
a0edd63e
UD
732000-04-19 Jakub Jelinek <jakub@redhat.com>
74
75 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
76 field to nelems * sizeof (uint32_t).
77 * locale/programs/ld-address.c (address_output): Align word fields
78 properly.
79 * locale/programs/ld-monetary.c (monetary_output): Likewise.
80 Don't restart idx pointers to idx end at the duo_int_curr_symbol
81 field.
82 Avoid giving arbitrary garbage in the crncystr field.
83 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
84 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
85 fields.
86 * locale/programs/ld-numeric.c (numeric_output): Likewise.
87 Don't restart idx pointers to idx end at the decimal_point_wc field.
88 * locale/programs/ld-time.c (time_output): week_1stday should be
89 word, not byte. Align it properly.
90
912000-04-19 H.J. Lu <hjl@gnu.org>
92
93 * csu/gmon-start.c (_start): Declared as "extern void".
94 (etext): Likewise.
95
962000-04-18 Andreas Jaeger <aj@suse.de>
97
98 * manual/install.texi (Running make install): Don't mention utmpd
99 anymore.
100
1012000-04-18 Andreas Jaeger <aj@suse.de>
102
103 * linuxthreads/Versions: Use ld instead of ld.so.
104
105 * elf/Makefile (ld-map): Use ld.map.
106
107 * Versions.def: Use ld instead of ld.so.
108 * elf/Versions: Likewise.
109 * sysdeps/mach/hurd/Versions: Likewise.
110
8b07d6a8
AJ
1112000-04-20 Andreas Jaeger <aj@suse.de>
112
113 * elf/rtld.c (print_statistics): Move ifndef further up.
114 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
115 (dl_main): Likewise.
116
74f99822
UD
1172000-04-18 Ulrich Drepper <drepper@redhat.com>
118
69173865
UD
119 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
120 * gmon/Versions: Move moncontrol to GLIBC_2.2.
121
17ef6f59
UD
122 * po/cs.po: Update from translation team.
123
22b0607b
UD
124 * sysdeps/generic/updwtmp.c: Remove daemon support.
125
92da46fc
UD
126 * login/Makefile (routines): Remove utmp_daemon.
127
bd4ebb90 128 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 129 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
130 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
131 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
132
dc911631
UD
133 * elf/rtld.c: Display statitics option also if hp timing is not
134 available.
135
74f99822
UD
136 * login/programs/connection.c: Removed.
137 * login/programs/database.c Removed.
138 * login/programs/error.c: Removed.
139 * login/programs/request.c: Removed.
140 * login/programs/xtmp.c: Removed.
141 * login/programs/xtmp.h: Removed.
142 * login/Makefile: Remove rules for utmpd.
143 * login/README.utmpd: Removed.
33c50f10
UD
144 * login/utmp_daemon.c: Removed.
145 * login/getutent_r.c: Remove references to daemon functions.
146 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
147 declaration.
74f99822 148
d1891b39
AJ
1492000-04-18 Andreas Jaeger <aj@suse.de>
150
69a79602
AJ
151 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
152 2.2 for libnsl, libresolv, librt, libnss_*.
153
b034c2b1
AJ
154 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
155
d1891b39
AJ
156 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
157
dc32d4fe
UD
1582000-04-18 Ulrich Drepper <drepper@redhat.com>
159
ed7abbd0
UD
160 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
161 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
162 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
163 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
164 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
165 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
166 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
167 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
168 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
169 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
170 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
171 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
172 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
173 it here.
174 * sysdeps/unix/sysv/aix/msync.c: New file.
175 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
176 * sysdeps/unix/sysv/aix/net/if.h: New file.
177 * sysdeps/unix/sysv/aix/pipe.c: New file.
178 * sysdeps/unix/sysv/aix/poll.c: New file.
179 * sysdeps/unix/sysv/aix/rename.c: New file.
180 * sysdeps/unix/sysv/aix/rmdir.c: New file.
181 * sysdeps/unix/sysv/aix/select.c: New file.
182 * sysdeps/unix/sysv/aix/semctl.c: New file.
183 * sysdeps/unix/sysv/aix/semget.c: New file.
184 * sysdeps/unix/sysv/aix/semop.c: New file.
185 * sysdeps/unix/sysv/aix/sendto.c: New file.
186 * sysdeps/unix/sysv/aix/setgroups.c: New file.
187 * sysdeps/unix/sysv/aix/setpgid.c: New file.
188 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
189 * sysdeps/unix/sysv/aix/setpriority.c: New file.
190 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
191 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
192 * sysdeps/unix/sysv/aix/setsid.c: New file.
193 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
194 * sysdeps/unix/sysv/aix/shmat.c: New file.
195 * sysdeps/unix/sysv/aix/shmctl.c: New file.
196 * sysdeps/unix/sysv/aix/shmdt.c: New file.
197 * sysdeps/unix/sysv/aix/shmget.c: New file.
198 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
199 * sysdeps/unix/sysv/aix/sigstack.c: New file.
200 * sysdeps/unix/sysv/aix/socket.c: New file.
201 * sysdeps/unix/sysv/aix/socketpair.c: New file.
202 * sysdeps/unix/sysv/aix/speed.c: New file.
203 * sysdeps/unix/sysv/aix/symlink.c: New file.
204 * sysdeps/unix/sysv/aix/sync.c: New file.
205 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
206 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
207 * sysdeps/unix/sysv/aix/times.c: New file.
208 * sysdeps/unix/sysv/aix/ulimit.c: New file.
209 * sysdeps/unix/sysv/aix/umask.c: New file.
210 * sysdeps/unix/sysv/aix/unlink.c: New file.
211 * sysdeps/unix/sysv/aix/ustat.c: New file.
212 * sysdeps/unix/sysv/aix/utimes.c: New file.
213
1531e094
AJ
2142000-04-18 Andreas Jaeger <aj@suse.de>
215
18be3f69
AJ
216 * manual/startup.texi (Environment Access): Fix putenv prototype
217 according to recent changes.
218 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
219 PR libc/1692.
220
1531e094
AJ
221 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
222 needed.
223
cd43f797
UD
2242000-04-18 Ulrich Drepper <drepper@redhat.com>
225
226 * posix/Makefile (tests): Add tst-getaddrinfo.
227 * posix/tst-getaddrinfo.c: New file.
228
5732c4df
UD
2292000-04-17 Ulrich Drepper <drepper@redhat.com>
230
dbacafe5
UD
231 * manual/sysinfo.texi: Document that umount2 is not widely available.
232
5732c4df
UD
233 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
234 signal timing is not really implemented.
235
2362000-04-17 Andreas Jaeger <aj@suse.de>
237
238 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
239
2402000-04-17 Jakub Jelinek <jakub@redhat.com>
241
242 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
243 and inst_libdir.
244
faf2289f
UD
2452000-04-17 Ulrich Drepper <drepper@redhat.com>
246
247 * manual/intro.texi: Change reference from System Information to
248 System Management.
249 * manual/users.texi: Likewise.
250 * manual/conf.texi: Likewise.
251 * manual/sysinfo.texi: Document mount, umount, and umount2.
252 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
253
2542000-04-17 Jakub Jelinek <jakub@redhat.com>
255
256 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
257 Create wnumstr as well as numstr to support wide character output
258 correctly.
259
2602000-04-15 Jakub Jelinek <jakub@redhat.com>
261
262 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
263 modification and move it...
264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
265 Add -melf64_sparc switch to $(LD) on sparc64-linux.
266 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
267 switch to $(LD) on sparc-linux.
268
2692000-04-17 Thorsten Kukuk <kukuk@suse.de>
270
271 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 272 and setresuid from sysdep_routines.
faf2289f 273
171b7cf1
UD
2742000-04-17 Ulrich Drepper <drepper@redhat.com>
275
5ce8f203
UD
276 * manual/Makefile (chapters): Add resource.
277
278 * manual/time.texi: Move section on resources to...
faf2289f
UD
279 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
280 and vtimes.
5ce8f203
UD
281 * manual/setjmp.texi: Adjust back reference.
282 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
283
171b7cf1
UD
284 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
285 definition.
286 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
287 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
288 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
289 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
290 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
291 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
292 * sysdeps/unix/sysv/aix/close.c: Add copyright.
293 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
294 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
295 * sysdeps/unix/sysv/aix/access.c: Add copyright.
296 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
297 * sysdeps/unix/sysv/aix/Implies: New file.
298 * sysdeps/unix/sysv/aix/Versions: New file.
299 * sysdeps/unix/sysv/aix/bind.c: New file.
300 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
301 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
302 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
303 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
304 * sysdeps/unix/sysv/aix/chdir.c: New file.
305 * sysdeps/unix/sysv/aix/chmod.c: New file.
306 * sysdeps/unix/sysv/aix/chroot.c: New file.
307 * sysdeps/unix/sysv/aix/creat.c: New file.
308 * sysdeps/unix/sysv/aix/dl-close.c: New file.
309 * sysdeps/unix/sysv/aix/dl-open.c: New file.
310 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
311 * sysdeps/unix/sysv/aix/fchdir.c: New file.
312 * sysdeps/unix/sysv/aix/fchmod.c: New file.
313 * sysdeps/unix/sysv/aix/getgroups.c: New file.
314 * sysdeps/unix/sysv/aix/gethostname.c: New file.
315 * sysdeps/unix/sysv/aix/getpriority.c: New file.
316 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
317 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
318 * sysdeps/unix/sysv/aix/getrusage.c: New file.
319 * sysdeps/unix/sysv/aix/link.c: New file.
320 * sysdeps/unix/sysv/aix/madvise.c: New file.
321 * sysdeps/unix/sysv/aix/mkdir.c: New file.
322 * sysdeps/unix/sysv/aix/mknod.c: New file.
323 * sysdeps/unix/sysv/aix/mprotect.c: New file.
324 * sysdeps/unix/sysv/aix/msgctl.c: New file.
325 * sysdeps/unix/sysv/aix/msgget.c: New file.
326 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
327
42eb5242
AJ
3282000-04-17 Andreas Jaeger <aj@suse.de>
329
b0a62805
AJ
330 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
331 as suggested by Ulrich Drepper.
332 (__dl_runtime_resolve): Remove unused variable, initialize sym
333 directly.
334 (RTLD_START): Document OFFSET_GP_GOT.
335 (OFFSET_GP_GOT): New magic value.
336 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
337 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
338 (elf_machine_relplt): Removed, it's not needed.
339 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 340
42eb5242
AJ
341 * sysdeps/mips/add_n.S: Add newline at EOF.
342 * sysdeps/mips/rshift.S: Likewise.
343 * sysdeps/mips/mul_1.S: Likewise.
344 * sysdeps/mips/lshift.S: Likewise.
345 * sysdeps/mips/addmul_1.S: Likewise.
346
e3265f5b
UD
3472000-04-17 Ulrich Drepper <drepper@redhat.com>
348
b99a3e9a
UD
349 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
350
dc051821
UD
351 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
352 * elf/dl-lookup.c: Likewise.
353 * elf/dl-init.c (_dl_init): Likewise.
354 * elf/dl-fini.c (_dl_fini): Likewise.
355 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
356 * elf/dl-close.c (_dl_close): Likewise.
357 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 358
e3265f5b
UD
359 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
360
29094e48
UD
3612000-04-15 Ulrich Drepper <drepper@redhat.com>
362
c269fdb4
UD
363 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
364 only fall back on using Linux.
365
145b8413
UD
366 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
367 Before testing versions check that we actually loaded the object
368 and whether we are in trace mode. If not loaded during tracing don't
369 test versions in this object.
370 (_dl_check_all_versions): Take new parameter and pass to
371 _dl_check_map_versions.
372 * sysdeps/generic/ldsodefs.h: Update prototypes for
373 _dl_check_all_versions and _dl_check_map_versions.
374 * elf/rtld.c (struct version_check_args): Add dotrace.
375 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
376 (dl_main): Pass info about trace mode to version_check_doit.
377 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
378 _dl_check_all_versions.
379
380 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
381 and getutmpx.
382 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
383
29094e48
UD
384 * manual/argp.texi: Document index parameter of argp_parse.
385 Fix typo.
386 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
387
afdda55a
UD
3882000-04-14 Andreas Jaeger <aj@suse.de>
389
390 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
391 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
392
393 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
394
a5a6f926
UD
3952000-04-15 Ulrich Drepper <drepper@redhat.com>
396
150f740a
UD
397 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
398 compat_symbol call for old adjtime.
399
400 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
401 function interface. Patch by Richard Henderson <rth@cygnus.com>.
402
a5a6f926
UD
403 * posix/Makefile (headers): Add spawn.h.
404 (distribute): Add spawn_int.h.
405 (routines): Add spawn_faction_init, spawn_faction_destroy,
406 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
407 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
408 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
409 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
410 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
411 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
412 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
413 posix_spawnattr_init, posix_spawnattr_destroy,
414 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
415 posix_spawnattr_getflags, posix_spawnattr_setflags,
416 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
417 and posix_spawnp.
418 * posix/spawn.c: New file.
419 * posix/spawn.h: New file.
420 * posix/spawn_faction_addclose.c: New file.
421 * posix/spawn_faction_adddup2.c: New file.
422 * posix/spawn_faction_addopen.c: New file.
423 * posix/spawn_faction_destroy.c: New file.
424 * posix/spawn_faction_init.c: New file.
425 * posix/spawn_int.h: New file.
426 * posix/spawnattr_destroy.c: New file.
427 * posix/spawnattr_getdefault.c: New file.
428 * posix/spawnattr_getflags.c: New file.
429 * posix/spawnattr_getpgroup.c: New file.
430 * posix/spawnattr_getschedparam.c: New file.
431 * posix/spawnattr_getschedpolicy.c: New file.
432 * posix/spawnattr_getsigmask.c: New file.
433 * posix/spawnattr_init.c: New file.
434 * posix/spawnattr_setdefault.c: New file.
435 * posix/spawnattr_setflags.c: New file.
436 * posix/spawnattr_setpgroup.c: New file.
437 * posix/spawnattr_setschedparam.c: New file.
438 * posix/spawnattr_setschedpolicy.c: New file.
439 * posix/spawnattr_setsigmask.c: New file.
440 * posix/spawni.c: New file.
441 * posix/spawnp.c: New file.
442
443 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
444 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
445
0758ea0c
UD
4462000-04-14 Ulrich Drepper <drepper@redhat.com>
447
448 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
449 * malloc/malloc.c: Implement posix_memalign for glibc.
450 * include/stdlib.h: Add prototype for __posix_memalign.
451 * stdlib/stdlib.h: Add prototype for posix_memalign.
452
12d3e579
AJ
4532000-04-14 Andreas Jaeger <aj@suse.de>
454
fe81e988
AJ
455 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
456 symidx correctly.
c84956c7 457 (elf_machine_got_rel): Cast sym correctly.
fe81e988 458
30c2f3c4 459 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
460 * sysdeps/mips/addmul_1.S: Likewise.
461 * sysdeps/mips/lshift.S: Likewise.
462 * sysdeps/mips/mul_1.S: Likewise.
463 * sysdeps/mips/rshift.S: Likewise.
464 * sysdeps/mips/sub_n.S: Likewise.
465 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 466
c8c73ac3
AJ
467 * stdlib/stdlib.h: Fix typo in comment.
468
d0a5dae4
AJ
469 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
470 2.2 for libdl, ld and libm.
471
12d3e579
AJ
472 * sysdeps/generic/madvise.c: Fix typos.
473
474 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
475
476 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
477
478 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
479 warnings.
480
bb8e0116
UD
4812000-04-14 Ulrich Drepper <drepper@redhat.com>
482
483 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
484 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
485 Make old name weak alias.
486 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
487 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
488 Make old name weak alias.
489 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
490
491 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
492 posix_fallocate, and posix_fallocate64.
493 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
494 posix_fallocate, and posix_fallocate64.
495 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
496 posix_fallocate, and posix_fallocate64.
497 * sysdeps/generic/fadvise.c: New file.
498 * sysdeps/generic/fadvise64.c: New file.
499 * sysdeps/generic/fallocate.c: New file.
500 * sysdeps/generic/fallocate64.c: New file.
501 * sysdeps/posix/fallocate.c: New file.
502 * sysdeps/posix/fallocate64.c: New file.
503 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
504 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
505 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
506 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
507 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
508 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
509 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
510 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
512
513 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
514 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
515
8f6f7a31
UD
5162000-04-13 Ulrich Drepper <drepper@redhat.com>
517
518 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
519 * misc/sys/mman.h (posix_madvise): Add prototype.
520 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
521 old name and posix_madvise weak aliases.
522 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
523 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
524 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
525 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
529
490a9ab7
AJ
5302000-04-13 Andreas Jaeger <aj@suse.de>
531
532 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
533 versioning.
0fc95464 534 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 535 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 536
382e7b29
AJ
5372000-04-13 Andreas Jaeger <aj@suse.de>
538
44a202c0 539 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 540
382e7b29
AJ
541 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
542 default.
543
544 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
545 with some applications.
546 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
547
548 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
549 * sysdeps/mips/bsd-_setjmp.S: Likewise.
550 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
551
552 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 553
3737ff12
UD
5542000-04-13 Ulrich Drepper <drepper@redhat.com>
555
556 * posix/globtest.sh: Work around inconsistency with expanding ~/
557 in shell (PR libc/1690). Reported by patsmith@pobox.com.
558
aee46704
UD
5592000-04-12 Ulrich Drepper <drepper@redhat.com>
560
b3ae0650
UD
561 * posix/getconf.c: Add support for many more POSIX options.
562 * sysdeps/posix/sysconf.c: Likewise.
563 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
564 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
565 _POSIX_SHELL.
566 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
567 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
568 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
569 CLOCK_THREAD_CPUTIME_ID.
570 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
571 CLOCK_PROCESS_CPUTIME_ID.
572 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
573 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
574 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
575 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
576
aa780bab
UD
577 * malloc/Makefile (tests): Add tst-calloc.
578 * malloc/tst-calloc.c: New file.
579
c49b2a4e
UD
580 * sysdeps/arm/libm-test-ulps: New file.
581
13f536d4
UD
582 * malloc/malloc.c: Undo all of today's changes.
583
92d2e18f
UD
584 * locale/programs/locale.c (show_info): Don't try to look into
585 data for LC_ALL (there is none).
586
3ea1b82e
UD
587 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
588 avoid writing over boundary.
589 Patch by Greg McGary <gkm@eng.ascend.com>.
590
aee46704
UD
591 * sysdeps/arm/memprof.h: New file.
592
4a199526
UD
5932000-04-12 Andreas Jaeger <aj@suse.de>
594
595 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
596
597 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
598 for memmem declaration.
599
da240c6b
UD
6002000-04-12 Ulrich Drepper <drepper@redhat.com>
601
4a199526
UD
602 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
603 to -1.
604 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
605
a4dec43d
UD
606 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
607 mode is invalid.
608 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
609 Patch by Bart Veer <bartv@redhat.com>.
610
da240c6b
UD
611 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
612 function interface.
613
bfe42f05
AJ
6142000-04-11 Andreas Jaeger <aj@suse.de>
615
616 * sysdeps/mips/dl-machine.h: Update some comments.
617 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
618
e7c036b3
UD
6192000-04-11 Ulrich Drepper <drepper@redhat.com>
620
8a31d742
UD
621 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
622 _POSIX_SHARED_MEMORY_OBJECTS.
623
ca99b8a0
UD
624 * rt/Makefile (tests): Add tst-shm.
625 Add rules to generate tst-shm.
626 * rt/tst-shm.c: New file.
627
fb125e0c
UD
628 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
629 for descriptor.
630
a63be9f7
UD
631 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
632 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
633 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
634 * sysdeps/generic/shm_open.c: New file.
635 * sysdeps/generic/shm_unlink.c: New file.
636 * sysdeps/unix/sysv/linux/shm_open.c: New file.
637 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
638 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
639 __endmntent, __getmntent_r, __setmntent, and __statfs.
640
25728f03
UD
641 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
642 fragmentation by allocating new memory at the end instead of
643 reallocating.
644
e7c036b3
UD
645 * posix/globtest.sh: Fix last change.
646
6472000-04-10 Philip Blundell <philb@gnu.org>
648
649 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
650 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
651 IPV6_DROP_MEMBERSHIP.
652 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
653 Likewise.
654
6552000-04-11 Ulrich Drepper <drepper@redhat.com>
656
657 * elf/readlib (process_file): Close streams in case of an error.
658
6592000-04-09 Andreas Jaeger <aj@suse.de>
660
661 * elf/readlib.c (process_file): Check if file is big enough to
662 contain aout and ELF headers.
663 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
664
6652000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
666
667 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
668
6692000-04-11 Ulrich Drepper <drepper@redhat.com>
670
671 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
672 stream unbuffered.
673 * rt/Makefile (tests): Add tst-clock.
674 Add rules to build tst-clock.
675 * rt/tst-clock.c: New file.
676 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
677 about initialization of nsec.
678 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
679 about initialization of freq. Set retval to zero if successful.
680 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
681
6689a188
UD
6822000-04-10 Ulrich Drepper <drepper@redhat.com>
683
684 * Versions.def (librt): Add GLIBC_2.2.
685 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
686 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
687 timer_getoverr, timer_gettime, and timer_settime.
688 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
689 clock_settime, timer_create, timer_delete, timer_getoverrun,
690 timer_gettime, and timer_settime.
691 * sysdeps/generic/clock_getcpuclockid.c: New file.
692 * sysdeps/generic/get_clockfreq.c: New file.
693 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
694 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
695 * sysdeps/mach/hurd/i386/bits/time.h: New file.
696 * sysdeps/unix/i386/i586/clock_getres.c: New file.
697 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
698 * sysdeps/unix/i386/i686/Implies: New file.
699 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
700 * time/Makefile (routines): Move clock_getres, clock_gettime,
701 clock_settime, timer_create, timer_delete, timer_getoverr,
702 timer_gettime, and timer_settime to rt/Makefile.
703 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
704 clock_settime, timer_create, timer_delete, timer_getoverrun,
705 timer_gettime, and timer_settime.
094f72c6 706 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
707
708 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
709 and not const as attribute name.
710
25ee87d6
UD
7112000-04-10 Thorsten Kukuk <kukuk@suse.de>
712
713 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
714
3b690639
UD
7152000-04-10 Andreas Schwab <schwab@suse.de>
716
717 * posix/globtest.sh: Skip tests that depend on unreadable
718 directories if run as root.
719
e79af11c
UD
7202000-04-10 Ulrich Drepper <drepper@redhat.com>
721
722 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
723 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
724
8956ac9e
UD
7252000-04-09 Ulrich Drepper <drepper@redhat.com>
726
13fa3676
UD
727 * sysdeps/unix/clock_gettime.c: New file.
728 * sysdeps/unix/clock_settime.c: New file.
729 * sysdeps/posix/clock_getres.c: New file.
730
1a8de3e4
UD
731 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
732
4186c9f4
UD
733 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
734 lseek call be passing in a buffer which never allow a successful
735 first getdents syscall if not at leas the initial entry can be
736 stored in the user buffer.
737
8956ac9e
UD
738 * localedata/Makefile: Add rules to clean up directories created by
739 new strfmon tests.
740
7412000-04-09 Geoff Clare <gwc@unisoft.com>
742
743 * localedata/tst-fmon.data: Added new tests for strfmon()
744 using test locales with all combinations of cs_precedes,
745 sign_posn and sep_by_space.
746 * localedata/tst-fmon.sh: Updated to support the new tests.
747 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
748 the localedef source for the new strfmon() test locale.
749 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
750 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
751 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
752 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
753 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
754 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
755 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
756 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
757 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
758 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
759 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
760 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
761 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
762 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
763
764 * stdlib/strfmon.c: Correct problems with missing or extra
765 spaces for unusual combinations of sign_posn and sep_by_space.
766 Improved left-precision alignment code.
767
fe9d16a5
UD
7682000-04-07 Andreas Jaeger <aj@suse.de>
769
770 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
771
ddf0c536
AJ
7722000-04-10 Andreas Jaeger <aj@suse.de>
773
774 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
775
fd1b5c0f
UD
7762000-04-09 Ulrich Drepper <drepper@redhat.com>
777
778 Implement handling of restartable conversion functions according to
779 ISO C.
780 * iconv/gconv.h (__gconv_fct): Add additional parameter.
781 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
782 * iconv/gconv.c: Pass additional parameter to conversion function.
783 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
784 (internal_ucs4le_loop_single): New function.
785 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
786 (__gconv_transform_internal_ascii): Likewise.
787 (__gconv_transform_internal_utf8): Likewise.
788 (__gconv_transform_utf8_internal): Likewise.
789 (__gconv_transform_ucs2_internal): Likewise.
790 (__gconv_transform_internal_ucs2): Likewise.
791 (__gconv_transform_ucs2reverse_internal): Likewise.
792 (__gconv_transform_internal_ucs2reverse): Likewise.
793 (internal_ucs4le_loop_unaligned): Before return
794 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
795 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
796 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
797 * iconv/loop.c: Fit in definition of function to convert one character
798 for processing of left-over bytes from the state object.
799 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
800 inend to match names in loop functions.
801 (RESET_INPUT_BUFFER): Change apprpriately.
802 (gconv): If needed, call function to process bytes from the state
803 object. Similar at the end: store left over bytes if input is
804 incomplete.
805 Take extra argument and add new argument to all calls of the
806 conversion function.
807 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
808 information in the state object to not conflict with length count.
809 * iconvdata/iso-2022-jp.c: Likewise.
810 * iconvdata/iso-2022-kr.c: Likewise.
811 * iconvdata/unicode.c: Adjust for change change in parameters of
812 skeleton function.
813 * iconvdata/utf-16.c: Likewise.
814 * libio/iofwide.c: Add new parameter to all calls of conversion
815 function.
816 * wcsmbs/btowc.c: Likewise.
817 * wcsmbs/mbrtowc.c: Likewise.
818 * wcsmbs/mbsnrtowcs.c: Likewise.
819 * wcsmbs/mbsrtowcs.c: Likewise.
820 * wcsmbs/wcrtomb.c: Likewise.
821 * wcsmbs/wcsnrtombs.c: Likewise.
822 * wcsmbs/wcsrtombs.c: Likewise.
823 * wcsmbs/wctob.c: Likewise.
824
825 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
826 MAX_NEEDED_INPUT.
827
22804455
AJ
8282000-04-07 Andreas Jaeger <aj@suse.de>
829
830 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
831 newer kernels.
832
aa831d6d
UD
8332000-04-07 Ulrich Drepper <drepper@redhat.com>
834
835 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
836 element a union to allow byte access.
837 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
838 mbstate_t.
839 * iconvdata/iso-2022-jp.c: Likewise.
840 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
841 * wcsmbs/mbsinit.c: Likewise.
842 * stdlib/mblen.c: Likewise.
b837918e 843 * stdio-common/printf-parse.h: Likewise.
aa831d6d 844
a0dc5206
UD
8452000-04-06 Ulrich Drepper <drepper@redhat.com>
846
f11b9da6
UD
847 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
848 kernel does not allow relative seeks on descriptors associated
849 with directories. Go back to get the position in the directory
850 every time we enter the function. Return -1 and set errno if one
851 entry could be read from the kernel but does not fit into the
852 buffer passed in by the user.
853
a0dc5206
UD
854 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
855 Support ..(2).. ellipsis.
856 (parse_charmap): Recognize ..(2).. etc and pass step down.
857 Correctly generate names for UCS4 characters.
858
859 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
860 (ctype_finish): We know the wide character value for <SP>,
861 don't search.
862 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
863 (charclass_ucs4_ellipsis): Likewise.
864 (read_translit_ignore_entry): Store ellipsis step.
865 (ctype_read): Recognize ..(2).. etc and pass step down.
866
867 * locale/programs/linereader.c (lr_token): When seeing comment
868 character ignore only rest of line in sources but stop at escaped
869 newline.
870 Recognize ..(2).. and ....(2).....
871
872 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
873 and tok_ellipsis4_2.
874
372f94ba
UD
8752000-04-06 Andreas Jaeger <aj@suse.de>
876
877 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
878 removed, remove it here also.
879 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
882 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
883
8842000-04-06 Jakub Jelinek <jakub@redhat.com>
885
886 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
887 include bits/sigcontext.h.
888 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
889
723faa38
UD
8902000-04-06 Ulrich Drepper <drepper@redhat.com>
891
5943f0bc
UD
892 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
893 collation symbol definition. Value in quivalence definition must
894 be defined, don't check that it is not.
895
723faa38
UD
896 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
897 values as character names.
898
899 * locale/programs/ld-ctype.c (get_character): Handle missing
900 repertoire map correctly.
901
a1303dc8
UD
9022000-04-05 Cristian Gafton <gafton@redhat.com>
903
904 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
905 because it is used in generic code.
906 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
907 * wcsmbs/wcwidth.h: Declare __ctype32_b.
908 * intl/gettext.c: Include <locale.h>.
909 * intl/ngettext.c: Likewise.
910
9112000-04-05 Jakub Jelinek <jakub@redhat.com>
912
913 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
914 socklen_t type for size.
915 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
916 init function interface.
917 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
918 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
919 sys/ucontext.h.
920 (__jmp_buf): Declare the whole type structure here, don't use
921 ucontext.
922
2a0ff6ff
UD
9232000-04-05 Ulrich Drepper <drepper@redhat.com>
924
a1303dc8
UD
925 * iconv/skeleton.c (put16u): Fix typo.
926 Reported by Bruno Haible <haible@ilog.fr>.
927
2a0ff6ff
UD
928 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
929 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
930 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
931 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
932 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
933 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
934
935 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
936 * Makefile (distribute): Add abi-versions.awk and
937 firstversions.awk.
938 Patches by Torsten Duwe <duwe@caldera.de>.
939
5560eac7
UD
9402000-04-05 Andreas Schwab <schwab@suse.de>
941
942 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
943
a6dd65cd
AS
9442000-04-05 Andreas Schwab <schwab@suse.de>
945
946 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
947 entry point, used on Hurd.
948
7d4de961
UD
9492000-04-04 Andreas Jaeger <aj@suse.de>
950
951 * intl/Makefile: Only run the gettext test with shared libraries.
952
f0d872e9
UD
9532000-03-16 Mark Kettenis <kettenis@gnu.org>
954
955 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
956 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
957
7499a22a
RM
9582000-04-05 Roland McGrath <roland@baalperazim.frob.com>
959
960 * Makeconfig: Undo last change.
961 * configure.in: If --disable-shared was given, don't set VERSIONING,
962 don't define DO_VERSIONING, and don't give scare warning for no
963 versioning.
964 * configure: Regenerated.
965
2c57ff21
RM
9662000-04-04 Roland McGrath <roland@baalperazim.frob.com>
967
968 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
969
09847c8d
UD
9702000-04-04 Andreas Jaeger <aj@suse.de>
971
972 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
973
3aaad0b6
UD
9742000-04-04 Ulrich Drepper <drepper@redhat.com>
975
736d0841
UD
976 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
977 STV_HIDDEN and STV_INTERNAL during lookup.
978 (profile_fixup): Likewise.
979 * elf/dl-reloc.c (RESOLVE): Likewise.
980
3aaad0b6
UD
981 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
982 unaligned so that it compiles for system which need unaligned
983 access handling.
984
0b7219cc
UD
9852000-04-04 Andreas Schwab <schwab@suse.de>
986
987 * elf/cache.c (print_entry): Only look at the type field when
988 printing the type.
989
9902000-04-04 Andreas Schwab <schwab@suse.de>
991
992 * iconvdata/big5.c (BODY): Fix typo.
993
658943b9
AS
9942000-04-04 Andreas Schwab <schwab@suse.de>
995
996 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
997 function interface. Remove unused _dl_start_user entry point.
998
bd457114
UD
9992000-04-03 Andreas Jaeger <aj@suse.de>
1000
1001 * include/arpa/inet.h (__inet_aton): Add protoype.
1002
41aefe41
UD
10032000-04-01 Andreas Jaeger <aj@suse.de>
1004
1005 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
1006
1007 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
1008 * sysdeps/mach/mips/thread_state.h: Likewise.
1009
1010 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
1011 * sysdeps/generic/fegetenv.c: Likewise.
1012 * sysdeps/generic/fesetenv.c: Likewise.
1013 * sysdeps/generic/feupdateenv.c: Likewise.
1014 * sysdeps/generic/fraiseexcpt.c: Likewise.
1015 * sysdeps/generic/fsetexcptflg.c: Likewise.
1016 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
1017 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
1018 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1020
10212000-04-02 H.J. Lu <hjl@gnu.org>
1022
1023 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
1024
ad085e8a
UD
10252000-04-03 Ulrich Drepper <drepper@redhat.com>
1026
839be784
UD
1027 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
1028 (add_name_to_object): Add cast in malloc call.
1029 (fillin_rpath): Optimize loop to initialize ->status a bit.
1030
f9b798ba
UD
1031 * sysdeps/i386/dl-machine.h: Undo last change.
1032 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
1033 Restore %edx register after call here.
1034
ad085e8a
UD
1035 * sysdeps/arm/atomicity.h: New file.
1036 Contributed by Jesper Skov <jskov@redhat.com>.
1037
c6d80202
RM
10382000-04-03 Roland McGrath <roland@baalperazim.frob.com>
1039
ca5becb0
RM
1040 * Makeconfig (preprocess-versions): Undo last change.
1041 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
1042
c6d80202
RM
1043 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
1044 here, before we might move the stack.
1045 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
1046 (init1): And not here.
1047
1048 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
1049 change, to restore argc value in call-clobbered register after
1050 RTLD_START_SPECIAL_INIT, which will contain a call.
1051
1052 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
1053 allocating and initializing L->l_initfini.
1054
1055 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
1056
152e7964
UD
10572000-04-03 Ulrich Drepper <drepper@redhat.com>
1058
1059 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
1060 RUNPATH, RPATH, and LD_LIBRARY_PATH.
1061 (open_path): Change type of fourth parameter. Make pointer to array
1062 of pointers. Create variable dirs with original type.
1063 Track whether any directory for the object exists and if not,
1064 change *DIRSP to (void*) -1 to signal there is no such search path.
1065 (_dl_map_object): Change all calls of open_path.
1066 Rewrite decompose_rpath calls.
1067
42ba2c11
UD
10682000-03-31 Andreas Schwab <schwab@suse.de>
1069
1070 * string/strfry.c: Declare STATE as array of char instead of int
1071 and do not initialize it (done by initstate_r). Pass correct
1072 size.
1073
0a63529d
UD
10742000-04-03 Ulrich Drepper <drepper@redhat.com>
1075
42ba2c11
UD
1076 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
1077
0a63529d
UD
1078 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
1079 instruction out of the code.
1080
cf197e41
UD
10812000-04-02 Ulrich Drepper <drepper@redhat.com>
1082
1083 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
1084 element at this position.
1085
1086 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
1087 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
1088 l_reldeps elements.
1089 * elf/dl-lookup.c (add_dependency): New function.
1090 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
1091 dynamically loaded object.
1092 (_dl_lookup_symbol_skip): Likewise.
1093 (_dl_lookup_versioned_symbol): Likewise.
1094 (_dl_lookup_versioned_symbol_skip): Likewise.
1095 * elf/dl-open.c: Don't define _dl_load_lock here...
1096 * elf/rtld.c: ...but here...
1097 * elf/dl-support.c: ...and here.
1098 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
1099 through relocation.
1100 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
1101 relocations.
1102 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
1103 anymore.
1104 * dlfcn/glrefmain.c: Add one more debug message.
1105
1106 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
1107 command line.
1108 * Makerules (sysd-versions): Use ( ) instead of { }.
1109
1110 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
1111 optimize for the non-debugging case.
1112 * elf/dl-lookup.c: Likewise.
1113 * sysdeps/generic/libc-start.c: Likewise.
1114
e1724cd7
RM
11152000-04-02 Roland McGrath <roland@baalperazim.frob.com>
1116
5879ee9f
RM
1117 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
1118 (init1): Don't initialize __environ here, since init already does it.
1119 (first_init): New function, broken out of _init.
1120 (_hurd_stack_setup): Use it.
1121 [SHARED] (_dl_init_first): New function, renamed from old _init.
1122 (init1) [SHARED]: Don't call posixland_init here.
1123 (posixland_init): Take ENVP arg, so signature is usual for initializer.
1124 [SHARED] (_init): Define as alias for posixland_init.
1125 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
1126 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
1127 RTLD_START_SPECIAL_INIT before calling initializers.
1128 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
1129 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
1130 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
1131 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
1132
e1724cd7
RM
1133 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
1134 since we define the function with the name `tmpfile'.
1135
1136 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
1137 * hurd/Versions: Likewise.
1138
e10b8512
UD
11392000-04-02 Ulrich Drepper <drepper@redhat.com>
1140
e1724cd7 1141 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 1142
e1724cd7 1143 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
1144 socklen_t.
1145 * inet/getnameinfo.c: Likewise.
1146
0adb8e47
UD
11472000-04-01 Ulrich Drepper <drepper@redhat.com>
1148
750f9af6
UD
1149 * posix/unistd.h (socklen_t): Define if it has not yet happened.
1150 (gethostname): Change type of second parameter to socklen_t.
1151 * include/unistd.h (__gethostname): Change type of second
1152 parameter to socklen_t.
1153 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
1154 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1155 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
1156 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
1157 Likewise.
1158 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
1159 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
1160 Allow definition elsewhere.
1161 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1162 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1163 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1164 * sysdeps/generic/bits/types.h: Define __socklen_t.
1165 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1166 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1167 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1168 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1169 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1171 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1172
ad483238
UD
1173 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
1174 (inet_lnaof): Likewise.
1175 (inet_netof): Likewise.
1176 (inet_network): Likewise.
1177 (inet_aton): Likewise.
1178 (inet_makeaddr): Change parameter types to in_addr_t.
1179 (inet_neta): Likewise.
1180 (inet_ntop): Change type of last parameter to socklen_t.
1181 (inet_aton): Only make available if __USE_MISC.
1182 (inet_neta): Likewise.
1183 (inet_net_ntop): Likewise.
1184 (inet_net_pton): Likewise.
1185 (inet_nsap_ntoa): Likewise.
1186
1187 * inet/in.h: Define in_port_t type.
1188 Define in_addr_t type.
1189 (struct in_addr): Use in_addr_t in definition.
1190 (IN_CLASSA): Use cast to in_addr_t.
1191 (IN_CLASSB): Likewise.
1192 (IN_CLASSC): Likewise.
1193 (IN_CLASSD): Likewise.
1194 (IN_EXPERIMENTAL): Likewise.
1195 (IN_BADCLASS): Likewise.
1196 (INADDR_ANY): Likewise.
1197 (INADDR_BROADCAST): Likewise.
1198 (INADDR_NONE): Likewise.
1199 (INADDR_LOOPBACK): Likewise.
1200 (INADDR_UNSPEC_GROUP): Likewise.
1201 (INADDR_ALLHOSTS_GROUP): Likewise.
1202 (INADDR_ALLRTRS_GROUP): Likewise.
1203 (INADDR_MAX_LOCAL_GROUP): Likewise.
1204 (struct sockaddr_in): Use in_port_t for sin_port element.
1205 (struct sockaddr_in6): Use in_port_t for sin6_port element.
1206 Use uint8_t instead of u_int8_t.
1207
1208 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
1209 Call __inet_aton instead of inet_aton.
1210 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
1211
1212 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
1213 (innetgr): Likewise.
1214 (struct addrinfo): Use socklen_t for ai_addrlen element.
1215
1216 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
1217 IPV6_RECVERR): New defines.
1218
9b48fa9b
UD
1219 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
1220 * inet/getnetbyad.c: Likewise.
1221 * inet/getnetbyad_r.c: Likewise.
1222 * nis/nss_nis/nis-network.c: Likewise.
1223 * nis/nssplus_nis/nisplus-network.c: Likewise.
1224 * nss/nss_files/files-network.c: Likewise.
1225 * resolv/netdb.h: Define uint32_t if not already happened.
1226 Include bits/netdb.h. Remove definition of struct netent.
1227 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
1228 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
1229 * sysdeps/generic/bits/netdb.h: New file.
1230 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
1231
4380ef5e
UD
1232 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
1233 (tests): Add glrefmain.
1234 Add rules to build modules and run tests. Ignore result of glrefmain
1235 for now since it fails.
1236 * dlfcn/glrefmain.c: New file.
1237 * dlfcn/glreflib1.c: New file.
1238 * dlfcn/glreflib2.c: New file.
1239
1240 * test-skeleton.c: Include <string.h> for strsignal prototype.
1241
289e8e7e
UD
1242 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
1243 to be missing.
1244
0adb8e47
UD
1245 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
1246 former init-first.h. Initialize __libc_multiple_libcs.
1247
c0c2af07
UD
12482000-03-31 Ulrich Drepper <drepper@redhat.com>
1249
c1db8b0d
UD
1250 * iconv/skeleton.c: Define access macros with u suffix. Adjust
1251 #if expression for use of unaligned function to the one used in
1252 the definition of these functions.
6674e127 1253 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
1254 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
1255 (internal_ucs4le_loop_unaligned): New function.
1256
c0c2af07
UD
1257 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
1258 (tests): Add order.
1259 (module-names): Add dep1, dep2, dep3, and dep4.
1260 Add dependencies for dep* modules and order.
1261 Define rule for order.out which checks the result.
1262 * elf/dep1.c: New file.
1263 * elf/dep2.c: New file.
1264 * elf/dep3.c: New file.
1265 * elf/dep4.c: New file.
1266 * elf/order.c: New file.
1267
e1724cd7 1268 * elf/dl-init.c: Fix typo in comment.
c0c2af07 1269
ad08a5b6
AJ
12702000-03-31 Andreas Jaeger <aj@suse.de>
1271
1272 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
1273 init function interface.
1274 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
1275
e7960df5
AJ
12762000-03-31 Andreas Jaeger <aj@suse.de>
1277
36d04330
AJ
1278 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
1279 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1280 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1281 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
1282 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1283
88fdf42f 1284 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 1285 anymore, update comment.
88fdf42f 1286
e7960df5
AJ
1287 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1288
1289 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
1290 SHLIB_COMPAT - the struct is always needed.
1291
9ad04ff7
UD
12922000-03-31 Ulrich Drepper <drepper@redhat.com>
1293
1294 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
1295 * elf/dl-support.c: Define _dl_starting_up.
1296
924c3f59
UD
12972000-03-30 Ulrich Drepper <drepper@redhat.com>
1298
9ad04ff7 1299 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
1300 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
1301
9ad04ff7 1302 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 1303
d7926ed9
UD
1304 * elf/Makefile (dl-routines): Remove preinit.
1305 * elf/Versions: Remove _dl_preinit.
1306 * elf/dl-preinit.c: Removed. Move content into...
1307 * elf/dl-init.c: ...here.
758cb061 1308 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 1309
924c3f59 1310 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 1311 elements.
924c3f59 1312
9e9e0532
UD
13132000-03-29 Geoff Clare <gwc@unisoft.com>
1314
1315 * stdlib/strfmon.c: Corrected problems with the code that
1316 sets default values for [np]_sep_by_space and
1317 [np]_sign_posn; also the new positive/negative alignment
1318 code from the previous patch was not quite right for
1319 [np]_sign_posn = 0.
1320
1321 * localedata/tst-fmon.data: Changes corresponding to the
1322 two sets of fixes made to stdlib/strfmon.c.
1323
b5567b2a
UD
13242000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
1325
1326 * malloc/malloc.c: Declare bit flags UL so that they will not
1327 default to int size when being inverted.
1328
13292000-03-29 Andreas Jaeger <aj@suse.de>
1330
1331 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
1332 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1333
13342000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 1335 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
1336
1337 * Makeconfig: Introduce new variable SHARED to mark code used in
1338 the shared library.
1339 * elf/dl-close.c: Use it instead of PIC.
1340 * elf/dl-load.c: Likewise.
1341 * elf/dl-open.c: Likewise.
1342 * hurd/geteuids.c: Likewise.
1343 * include/libc-symbols.h: Likewise.
1344 * include/shlib-compat.h: Likewise.
1345 * libio/freopen.c: Likewise.
1346 * linuxthreads/cancel.c: Likewise.
1347 * linuxthreads/pthread.c: Likewise.
1348 * linuxthreads/wrapsyscall.c: Likewise.
1349 * nss/nsswitch.c: Likewise.
1350 * stdio-common/vfprintf.c: Likewise.
1351 * sysdeps/arm/init-first.c: Likewise.
1352 * sysdeps/i386/init-first.c: Likewise
1353 * sysdeps/generic/init-first.c: Likewise.
1354 * sysdeps/generic/libc-start.c: Likewise.
1355 * sysdeps/mips/init-first.c: Likewise.
1356 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1357 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1358 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1359 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
1360 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1361
1362 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
1363
b86120ed
UD
13642000-03-29 Andreas Jaeger <aj@suse.de>
1365
1366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1367 Use D_PTR to access relocated entries in l_info.
1368 (elf_machine_rela): Likewise.
1369
1370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1371 Likewise.
1372 (elf_machine_rela): Likewise.
1373
1374 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1375 Likewise.
1376 (__elf_machine_fixup_plt): Likewise.
1377 (__process_machine_rela): Likewise.
1378
1379 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1380 (elf_machine_rela): Likewise.
1381
1382 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
1383 (elf_machine_rel): Likewise.
1384
1385 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1386 (elf_machine_fixup_plt): Likewise.
1387 (elf_machine_rela): Likewise.
1388
13892000-03-29 Andreas Jaeger <aj@suse.de>
1390
1391 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
1392 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1393 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1394 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1395 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1396 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1397 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1398 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1399 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1400 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1401 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1402 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1403 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1404 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1406
1407 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
1408 macros, remove K&R prototypes.
1409
05c54d4c
UD
14102000-03-30 Ulrich Drepper <drepper@redhat.com>
1411
1412 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
1413 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
1414 (PR libc/1677).
1415
7f4e0e58
UD
14162000-03-30 Andreas Jaeger <aj@suse.de>
1417
1418 * misc/sys/cdefs.h: Remove K&R support.
1419
fdf64555
UD
14202000-03-30 Ulrich Drepper <drepper@redhat.com>
1421
1422 * iconv/skeleton.c: Avoid compiling unaligned versions in some
1423 with size of dynamic sectionmore cases.
1424 * iconv/loop.c: Likewise.
1425
99a7e065
UD
14262000-03-29 Bruno Haible <haible@clisp.cons.org>
1427
1428 * iconv/loop.c (put16): Remove __const. Fix access index.
1429 (put32): Remove __const. Use uint32_t instead of uint16_t.
1430 * iconv/skeleton.c: Likewise.
1431
9a95cd1c
RM
14322000-03-30 Roland McGrath <roland@baalperazim.frob.com>
1433
1434 * mach/Versions (libc: GLIBC_2.0)
1435 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
1436 __vm_allocate on this.
1437 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
1438 mutex- and spinlock-related symbols on this.
1439 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
1440 New version set. Lock-related symbols go here instead in this case.
1441 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
1442 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
1443 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1444 * hurd/Versions
1445 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
1446 Put them here instead.
1447 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
1448 New version set. Those cthreads symbols go here instead in this case.
1449 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
1450
dacc8ffa
UD
14512000-03-30 Ulrich Drepper <drepper@redhat.com>
1452
841288ec
UD
1453 * elf/dl-init.c (_dl_init): We don't need to call constructors
1454 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
1455
dacc8ffa
UD
1456 Implement dynamic determination of constructor/destructor order in
1457 the dynamic linker.
1458 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
1459 (GLIBC_2.2): Add _dl_init.
1460 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
1461 r_duplist is not anymore allocated separately. l_initfini is and
1462 therefore free it if necessary.
1463 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
1464 malloc block. Otherwise allocate l_initfini list only.
1465 Put dependencies for the object in l_initfini list.
1466 Sort dependencies for the object to be loaded topologically.
1467 * elf/dl-fini.c: Before running the destructors sort the topologically.
1468 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
1469 call constructors instead of iterating over the pointers. Get list of
1470 objects for which to run constructors from l_initfini element. Accept
1471 argc, argv, and env as parameters and pass them to the constructors.
1472 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
1473 with size of dynamic section.
1474 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
1475 _dl_init_next and calling constructors ourself.
1476 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
1477 Take argc, argv, and env as parameters and pass them to the
1478 constructors. Rewrite to call all constructors and not iterate over
1479 the pointers.
1480 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
1481 precompute l_initcount and l_preinitcount.
1482 * elf/link.h (struct link_map): Add l_ldnum member.
1483 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
1484 l_initcount, and l_preinitcount. Add l_initfini.
1485 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
1486 one for _dl_init.
1487 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
1488 function interface.
1489 * sysdeps/unix/sysv/linux/init-first.h: Removed.
1490 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
1491 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
1492 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
1493 conventions now match.
1494
1495 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
1496 effect for shared objects. Don't emit message and call only for
1497 static library.
1498
38e986ec
UD
14992000-03-29 Ulrich Drepper <drepper@redhat.com>
1500
1501 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
1502 CSA_Z243.4-1985-1..UCS2.
1503 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
1504 ISO-8859-10..UCS2.
1505
689993b2
AJ
15062000-03-29 Andreas Jaeger <aj@suse.de>
1507
dab715b9
AJ
1508 * include/unistd.h: Remove duplicate entry for __rmdir.
1509 Remove declaration of __mkdir since __mkdir is declared in
1510 sys/stat.h.
1511
56fbd811
AJ
1512 * manual/creature.texi (Feature Test Macros): Fix typo, reported
1513 by Michael Deutschmann <michael@talamasca.ocis.net>.
1514
689993b2
AJ
1515 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
1516 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1517 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1518 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1519 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
1520
300583a7
UD
15212000-03-28 Andreas Jaeger <aj@suse.de>
1522
1523 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
1524 declaration, the prototype is defined via bits/mathcalls.h.
1525 (__sincosf): Likewise.
1526 (__sincosl): Likewise.
1527 (ldexp): Likewise.
1528 (ldexpf): Likewise.
1529 (ldexpl): Likewise.
1530 (__finite): Likewise.
10685cd0 1531 (__inline_mathcodeNP): New macro without prototype
300583a7 1532 declarations.
10685cd0
AJ
1533 (__inline_mathcodeNP2): Likewise.
1534 (__inline_mathcodeNP3): Likewise.
1535 (__inline_mathcodeNP_): Likewise.
1536 (__inline_mathcodeNP2_): Likewise.
1537 (__inline_mathcodeNP3_): Likewise.
1538 (__inline_mathopNP): Likewise.
1539 (__inline_mathop_declNP): Likewise.
1540 (__inline_mathop_declNP_): Likewise.
300583a7
UD
1541 (__inline_mathcode_): Use __inline_mathcodeNP_.
1542 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
1543 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
1544 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
1545 (__expm1l): Don't define prototype, the prototype is defined via
1546 bits/mathcalls.h.
1547 (exp): Likewise.
1548 (__expl): Likewise.
1549 (tan): Likewise.
1550 (atan2): Likewise.
1551 (__atan2l): Likewise.
1552 (fmod): Likewise.
1553 (pow): Likewise.
10685cd0
AJ
1554 (fabsf): Likewise.
1555 (fabsl): Likewise.
1556 (__fabsl): Likewise.
300583a7
UD
1557 (asin): Likewise.
1558 (acos): Likewise.
1559 (sinh): Likewise.
1560 (cosh): Likewise.
1561 (tanh): Likewise.
1562 (floor): Likewise.
1563 (ceil): Likewise.
1564 (expm1): Likewise.
1565 (log1p): Likewise.
1566 (asinh): Likewise.
1567 (acosh): Likewise.
1568 (atanh): Likewise.
1569 (hypot): Likewise.
1570 (logb): Likewise.
1571 (fma): Likewise.
1572 (drem): Likewise.
1573 (sqrt): Likewise.
1574 (__sqrtl): Likewise.
1575 (sin): Likewise.
1576 (cos): Likewise.
1577 (atan): Likewise.
1578 (log): Likewise.
1579 (log10): Likewise.
1580 (asinh): Likewise.
1581 (log2): Likewise.
1582 (rint): Likewise.
1583
77e1d15a
UD
15842000-03-28 Ulrich Drepper <drepper@redhat.com>
1585
d2b9a50e
UD
1586 * Makerules: If make variable md5 is defined to yes after
1587 generating dependencies generate MD5 sum for the object.
1588
9dfa9a5a
UD
1589 * iconv/gconv_builtin.h: Fix length in transformation definition
1590 for UNICODEBIG.
1591
77e1d15a
UD
1592 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
1593
1594 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
1595 allow as well reading from/writing to unaligned addresses on machines
1596 which don't support this in hardware. Use FCTNAME macro to define
1597 function name. Include the file a second time for platforms which
1598 need special unaligned handling.
1599 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
1600 to access potentially unaligned addresses. These macros are intended
1601 to be used only outside the loops.
1602 (unaligned): New definition. In case the machine can handle unaligned
1603 access define as zero. Otherwise as a variable which is initialized
1604 as nonzero in case the buffer passed in at runtime is unaligned with
1605 respect to the character set encoding involved.
1606 Call aligned or unaligned looop functions according to unaligned
1607 variable.
1608 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
1609 of direct casting pointer to potentially handle unaligned memory
1610 accesses.
1611 * iconvdata/8bit-generic.c: Likewise.
1612 * iconvdata/ansi_x3.110.c: Likewise.
1613 * iconvdata/big5.c: Likewise.
1614 * iconvdata/euc-cn.c: Likewise.
1615 * iconvdata/euc-jp.c: Likewise.
1616 * iconvdata/euc-kr.c: Likewise.
1617 * iconvdata/euc-tw.c: Likewise.
1618 * iconvdata/gbk.c: Likewise.
1619 * iconvdata/iso-2022-cn.c: Likewise.
1620 * iconvdata/iso-2022-jp.c: Likewise.
1621 * iconvdata/iso-2022-kr.c: Likewise.
1622 * iconvdata/iso646.c: Likewise.
1623 * iconvdata/iso_6937-2.c: Likewise.
1624 * iconvdata/iso_6937.c: Likewise.
1625 * iconvdata/johab.c: Likewise.
1626 * iconvdata/sjis.c: Likewise.
1627 * iconvdata/t.61.c: Likewise.
1628 * iconvdata/uhc.c: Likewise.
1629 * iconvdata/unicode.c: Likewise.
1630 * iconvdata/utf-16.c: Likewise.
1631
1632 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
1633 prototypes.
1634
1635 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
1636 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
1637 public.
1638 * malloc/mcheck.h (mcheck_check_all): Declare.
1639
1640 * stdio-common/Makefile (tests): Add tst-obprintf.
1641
26c400e6
RM
16422000-03-28 Roland McGrath <roland@baalperazim.frob.com>
1643
1644 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
1645 Declare pthread_sigmask.
1646
1647 * csu/version.c: Add 2000 to copyright years.
1648 Remove Emacs local variables section.
1649
428bcea4
UD
16502000-03-23 Bruno Haible <haible@clisp.cons.org>
1651
1652 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
1653 __gconv_transform_internal_ucs2little): Remove declarations.
1654 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
1655 __gconv_transform_internal_ucs2): Never need to bswap_16.
1656 (__gconv_transform_ucs2reverse_internal,
1657 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
1658
58dc1d49
RM
16592000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1660
65b4f10b
RM
1661 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
1662 obsoleting version not being defined at all, in which case the
1663 result is always true.
1664
58dc1d49
RM
1665 * Makeconfig (preprocess-versions): New canned sequence for running
1666 cpp on shlib-versions and the like.
1667 (soversions.i): Use it.
1668 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
1669 Versions.def and Versions files.
1670
670066c3
UD
16712000-03-27 Ulrich Drepper <drepper@redhat.com>
1672
22d5fbfe
UD
1673 * stdio-common/tst-obprintf.c (main): Add another check to see
1674 obstack_printf handling all possible beginnings of the block
1675 inside an obstack chunk.
1676
670066c3
UD
1677 * locale/programs/localedef.c: Use __malloc_initialize_hook to
1678 install mcheck handler.
1679
1680 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
1681 handling problem.
22d5fbfe 1682
3e5155f8
RM
16832000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1684
9010d7f8
RM
1685 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
1686
3e5155f8
RM
1687 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
1688 on [HAVE_ELF && DO_VERSIONING].
1689
0c04b91e
UD
16902000-03-27 Ulrich Drepper <drepper@redhat.com>
1691
1692 * stdio-common/tst-obprintf.c: New file.
1693
8e605e78
UD
16942000-03-26 Ulrich Drepper <drepper@redhat.com>
1695
9202ffe3
UD
1696 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
1697 _IO_OVERFLOW directly instead through __overflow.
1698
30e0f9c3
UD
1699 * locale/programs/localedef.c (construct_output_path): If path
1700 contains a / compute the end of the directory name correctly.
1701
8e605e78
UD
1702 * include/features.h: Undef and document __USE_XOPEN2K.
1703
1704 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
1705 whenever a function is called. Initiated by calling mcheck_pedantic
1706 instead of mcheck.
1707 * malloc/mcheck.h: Declare mcheck_pedantic.
1708 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
1709 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
1710 for now.
1711
4c63ebaa
UD
17122000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1713
16710d58
RM
1714 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
1715 * dlfcn/dlopenold.c: Likewise.
1716 * nss/getXXbyYY_r.c: Likewise.
1717 * nss/getXXent_r.c: Likewise.
1718 * hurd/hurdinit.c: Likewise.
1719 * hurd/compat-20.c: Likewise.
1720 * libio/oldiofopen.c: Likewise.
1721 * libio/oldiofclose.c: Likewise.
1722 * libio/oldiofdopen.c: Likewise.
1723 * libio/oldfileops.c: Likewise.
1724 * libio/oldstdfiles.c: Likewise.
1725 * libio/oldiofsetpos.c: Likewise.
1726 * libio/oldiofgetpos.c: Likewise.
1727 * libio/oldiofgetpos64.c: Likewise.
1728 * libio/oldiofsetpos64.c: Likewise.
1729 * libio/oldiopopen.c: Likewise.
1730 * libio/oldpclose.c: Likewise.
1731 * libio/oldtmpfile.c: Likewise.
1732 * libio/freopen.c (freopen): Likewise.
1733 * libio/iofclose.c (_IO_new_fclose): Likewise.
1734
54f6cbb3
RM
1735 * sysdeps/mach/sys/reboot.h: Include <features.h>.
1736 (reboot): Declare it.
1737
1c479f72
RM
1738 * libio/Makefile (headers): Add bits/stdio-lock.h here.
1739
1740 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
1741
a7ca88b8
RM
1742 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
1743
4c63ebaa
UD
1744 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
1745 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
1746 We need this for the sbrk decl, which can be included without Unix98.
1747
c7e41631
UD
17482000-03-20 Richard Henderson <rth@cygnus.com>
1749
1750 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
1751 argument to yperr2nss is an int, not size_t.
1752 * posix/regex.c (print_partial_compiled_pattern): Cast all
1753 ptrdiff_t to long for printing.
1754 (print_compiled_pattern): Use Z for printing size_t.
1755 * posix/testfnm.c (tests): Avoid trigraphs.
1756 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1757 Use a C comment, not an assembly comment.
1758
1759 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
1760 of __ASSUME_32BITUIDS.
1761
6d2e234a
UD
17622000-03-26 Ulrich Drepper <drepper@redhat.com>
1763
1764 * libio/iofopncook.c: Remove K&R prototypes.
1765
2e6f096f
RM
17662000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1767
1768 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
1769 an initial value of 1024 instead of RLIM_INFINITY.
1770
1771 * Versions.def (libmachuser, libhurduser): Remove these sections,
1772 since these libraries do not presently use symbol versions.
1773
1774 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
1775 is RLIM_INFINITY, return -1 instead.
1776
4fcddf8e
UD
17772000-03-24 Andreas Jaeger <aj@suse.de>
1778
1779 * Makefile (postclean): Added soversions.i.
1780
17812000-03-24 Scott Bambrough <scottb@netwinder.org>
1782
1783 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
1784 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
1785 and _FPU_IEEE. Change _FPU_RESERVED.
1786
17872000-03-24 Scott Bambrough <scottb@netwinder.org>
1788
1789 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
1790
17912000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1792
1793 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
1794 (gaih_inet): Remove unused duplicate variable.
1795
1796 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
1797 Don't use __libc_sa_len, which only exists for Linux. Just handle
1798 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
1799 only flavors supported by this function anyway.
1800
18012000-03-24 Geoff Clare <gwc@unisoft.com>
1802
1803 * stdlib/strfmon.c: corrected problems with missing signs and
1804 missing or extra spaces; allow for sign strings longer than
1805 one character; add padding to ensure positive and negative
1806 formats are aligned when a left precision is used.
1807
18082000-03-26 Ulrich Drepper <drepper@redhat.com>
1809
1810 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
1811 Patch by John Mizel <John.Mizel@msdw.com>.
1812
0efadcd9
UD
18132000-03-25 Ulrich Drepper <drepper@redhat.com>
1814
1815 * manual/install.texi: Remove references to crypt add-on.
1816
9e3438be
RM
18172000-03-25 Roland McGrath <roland@baalperazim.frob.com>
1818
1819 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
1820 section while taking the _hurd_rlimit_lock.
1821 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1822
4f173e2c
RM
18232000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1824
6a08db09
RM
1825 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
1826 using $(LN_S).
1827
4f173e2c
RM
1828 * sysdeps/mach/hurd/if_index.c: New file.
1829
1830 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
1831 * sysdeps/gnu/net/if.h: here.
1832 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
1833 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
1834 * sysdeps/generic/net/if.h: New file. Declares just the standard
1835 functions and `struct if_nameindex' type.
1836 * socket/Makefile (headers): Add net/if.h here.
1837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
1838 * sysdeps/mach/hurd/Dist: Remove it here.
1839 * sysdeps/unix/sysv/linux/Dist: And here.
1840 * sysdeps/generic/if_index.c: Include <net/if.h>.
1841
e63721a4
AJ
18422000-03-24 Andreas Jaeger <aj@suse.de>
1843
1844 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
1845 access relocated entries in l_info.
1846 (elf_machine_got_rel): Likewise.
1847 (elf_machine_runtime_setup): Likewise.
1848 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
1849 (elf_machine_runtime_setup): Likewise.
1850 (__dl_runtime_resolve): Likewise.
1851
383052e9
UD
18522000-03-23 Ulrich Drepper <drepper@redhat.com>
1853
1854 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
1855 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
1856 according to RFC 2553.
1857 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
1858 * inet/getnameinfo.c: Likewise.
1859 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1860
c0bc5f7b
UD
18612000-03-23 Bruno Haible <haible@clisp.cons.org>
1862
1863 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
1864 Remove no-op pointer increment.
1865
7392ce9b
UD
18662000-03-23 Andreas Jaeger <aj@suse.de>
1867
1868 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
1869 follow change for libio.h from 2000-03-10.
1870
a42195db
UD
18712000-03-23 Andreas Jaeger <aj@suse.de>
1872
1873 * elf/dl-addr.c: Adjust include paths for ldsodefs location
1874 change.
1875 * elf/dl-debug.c: Likewise.
1876 * elf/dl-deps.c: Likewise.
1877 * elf/dl-error.c: Likewise.
1878 * elf/dl-fini.c: Likewise.
1879 * elf/dl-init.c: Likewise.
1880 * elf/dl-load.c: Likewise.
1881 * elf/dl-lookup.c: Likewise.
1882 * elf/dl-minimal.c: Likewise.
1883 * elf/dl-object.c: Likewise.
1884 * elf/dl-open.c: Likewise.
1885 * elf/dl-preinit.c: Likewise.
1886 * elf/dl-profile.c: Likewise.
1887 * elf/dl-profstub.c: Likewise.
1888 * elf/dl-reloc.c: Likewise.
1889 * elf/dl-runtime.c: Likewise.
1890 * elf/dl-support.c: Likewise.
1891 * elf/dl-symbol.c: Likewise.
1892 * elf/dl-version.c: Likewise.
1893 * elf/rtld.c: Likewise.
1894 * elf/sprof.c: Likewise.
1895 * sysdeps/generic/dl-cache.c: Likewise.
1896 * sysdeps/generic/dl-origin.c: Likewise.
1897 * sysdeps/generic/dl-sysdep.c: Likewise.
1898 * sysdeps/generic/elf/backtracesyms.c: Likewise.
1899 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1900 * sysdeps/generic/libc-start.c: Likewise.
1901 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1902 * sysdeps/powerpc/dl-machine.c: Likewise.
1903 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1904 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1905 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1906 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1907
1908 * elf/ldsodefs.h: Move file to ...
1909 * sysdeps/generic/ldsodefs.h: ... here.
1910
1911 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 1912
a42195db
UD
1913 * sysdeps/mips/elf/ldsodefs.h: New file.
1914
1915 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
1916 entries in l_info.
1917 (_dl_check_map_versions): Likewise.
1918 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1919 * elf/dl-load.c (_dl_init_paths): Likewise.
1920 (_dl_map_object): Likewise.
1921 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
1922 (elf_get_dynamic_info): Likewise.
1923 * elf/do-lookup.h (FCT): Likewise.
1924 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1925 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1926 * elf/dl-addr.c (_dl_addr): Likewise.
1927 * elf/dl-runtime.c (profile_fixup): Likewise.
1928 (fixup): Likewise.
1929 * elf/dl-init.c (_dl_init_next): Likewise.
1930 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
1931 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1932 (DISTINGUISH_LIB_VERSIONS): Likewise.
1933 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
1934 (elf_machine_rel): Likewise.
1935
1936 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
1937 for writable dynamic section.
1938
922809a2
UD
19392000-03-22 Ulrich Drepper <drepper@redhat.com>
1940
1941 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
1942 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1943
19442000-03-22 Andreas Jaeger <aj@suse.de>
1945
1946 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
1947 from latest Linux kernel.
1948
0ddd06d1
AJ
19492000-03-21 Andreas Jaeger <aj@suse.de>
1950
1951 * Versions.def: Add version 2.1.4.
1952
1ab1ea76
UD
19532000-03-21 Ulrich Drepper <drepper@redhat.com>
1954
1955 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
1956 * libio/oldiofopen.c: Likewise.
1957 * libio/oldiofclose.c: Likewise.
ef7dddd0 1958 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 1959
42f76b6b
RM
19602000-03-22 Roland McGrath <roland@baalperazim.frob.com>
1961
1962 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
1963 indicating the first version set to obsolete the conditionalized code.
2ae13e20 1964 (compat_symbol): New macro.
42f76b6b
RM
1965 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
1966 rhs be the ABI_* macro for the subsuming version. Assign increasing
1967 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
1968 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
1969 compat_symbol macro.
42f76b6b 1970
cb162e13
UD
19712000-03-21 Ulrich Drepper <drepper@redhat.com>
1972
101edd3f
UD
1973 * nscd/connections.c (nscd_run): Pretty print.
1974 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
1975
bafb8ee9
UD
1976 * manual/charset.texi: Fix typos. Rephrase.
1977 * manual/process.texi: Likewise.
1978 * manual/signal.texi: Likewise.
1979 Patches by Mike Coleman <mkc@kc.net>.
1980
fd091d3f
UD
1981 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
1982 versions.
1983 * libio/iofdopen.c: Likewise.
1984 * libio/iofgetpos.c: Likewise.
1985 * libio/iofgetpos64.c: Likewise.
1986 * libio/iofopen.c: Likewise.
1987 * libio/iofsetpos.c: Likewise.
1988 * libio/iofsetpos64.c: Likewise.
1989 * libio/iopopen.c: Likewise.
1990 * libio/oldiofopen.c: Likewise.
1991 * libio/pclose.c: Likewise.
1992 * sysdeps/gnu/siglist.c: Likewise.
1993 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1994
cb162e13
UD
1995 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
1996 chance to expand VERSION_##lib##_##version.
1997
0bf98029
UD
1998 * libio/fileops.c: Use new macros from shlib-compat.h to define
1999 versions.
2000 * libio/iofclose.c: Likewise.
2001 * libio/oldiofclose.c: Likewise.
75836bc8 2002 Patch by Roland McGrath <roland@frob.com>.
0bf98029 2003
54021487
UD
20042000-03-21 Jakub Jelinek <jakub@redhat.com>
2005
2006 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
2007 Lay out struct sigcontext according to what really gets passed on
2008 the stack.
2009 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
2010 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
2011 (prgregset_t, prfpregset_t): Define to elf_* types.
2012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
2013 Define to correct value.
2014 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
2015 sigcontext.
2016 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2017
39c57122
RM
20182000-03-21 Roland McGrath <roland@baalperazim.frob.com>
2019
2020 * scripts/firstversions.awk: Allow multiple version sets in the
2021 "earliest version" specification, meaning that version sets in the
2022 gaps between listed versions should be folded into the earliest later
2023 version that is explicitly listed.
2024 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
2025 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
2026
bc4831b9
UD
20272000-03-21 Ulrich Drepper <drepper@redhat.com>
2028
8d617a71
UD
2029 * iconv/gconv_builtin.c: Include <endian.h>.
2030 * iconv/gconv_builtin.h: Add UCS-BE aliases.
2031 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
2032 according to current platform.
2033 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
2034 __gconv_transform_internal_ucs2reverse, and
2035 __gconv_transform_internal_ucs4le.
2036 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
2037 __gconv_transform_ucs2reverse_internal and
2038 __gconv_transform_internal_ucs2reverse.
2039 * iconvdata/Makefile (modules): Add UNICODE.
2040 (distribute): Add unicode.c.
2041 * iconvdata/gconv-modules: Add definitions for UNICODE module.
2042 * iconvdata/unicode.c: New file.
2043
2044 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
2045 determine byte order of input and convert accordingly.
2046
bc4831b9
UD
2047 * iconvdata/utf-16.c (gconv_init): Fix typo.
2048
7e836977
UD
20492000-03-20 Ulrich Drepper <drepper@redhat.com>
2050
6abcde8e
UD
2051 * iconvdata/gconv-modules: Fix typo.
2052
b0c766dd 2053 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
2054 more messages.
2055
7e836977
UD
2056 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
2057
db840914
UD
20582000-03-16 Thorsten Kukuk <kukuk@suse.de>
2059
2060 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
2061
4159e387
UD
20622000-03-20 Ulrich Drepper <drepper@redhat.com>
2063
2064 * misc/Makefile (routines): Add mincore.
2065
20662000-03-20 Andreas Jaeger <aj@suse.de>
2067
2068 * sysdeps/generic/mincore.c: New stub file.
2069
2070 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
2071 from latest Linux kernel.
2072
db766e12
UD
20732000-03-20 Ulrich Drepper <drepper@redhat.com>
2074
2075 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
2076 _SC_GETPW_R_SIZE_MAX.
2077
cf9e0cbc
RH
20782000-03-20 Richard Henderson <rth@cygnus.com>
2079
db766e12 2080 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
2081 in GLIBC_2.1.4.
2082
c069bb98
RH
20832000-03-20 Richard Henderson <rth@cygnus.com>
2084
b7434f82
RH
2085 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
2086 of arithmetic instructions.
2087
2088 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
2089 with the fpcr. Protect from INV exception.
2090 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
2091 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
2092 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
2093
2094 * sysdeps/alpha/fpu/s_copysign.c: New.
2095 * sysdeps/alpha/fpu/s_copysignf.c: New.
2096 * sysdeps/alpha/fpu/s_fabs.c: New.
2097 * sysdeps/alpha/fpu/s_fabsf.c: New.
2098 * sysdeps/alpha/fpu/s_rint.c: New.
2099 * sysdeps/alpha/fpu/s_rintf.c: New.
2100
45159f00
RH
2101 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
2102
c069bb98
RH
2103 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2104 Kill sethae.
2105 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
2106 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
2107 Use physical addresses not KSEG addresses.
2108 (io_system): Add PYXIS.
2109 (io): Remove hae.reg, sys, hae_shift.
2110 (stb_mb, stw_mb, stl_mb, __sethae): New.
2111 (inline_outb, inline_outw, inline_outl): Don't set hae.
2112 (inline_inb, inline_inw, inline_inl): Likewise.
2113 (dense_sethae): New null function.
2114 (struct cpuinfo_data): New.
2115 (process_cpuinfo): Use local and stack variables, not static.
2116 Move readlink check here from init_iosys.
2117 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
2118 (_iopl): Simplify.
2119 (_hae_shift): Calculate it here.
2120 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
2121 add pciconfig_iobase.
2122
d3564d01
RM
21232000-03-20 Roland McGrath <roland@baalperazim.frob.com>
2124
5d431a3e
RM
2125 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
2126 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
2127
d3564d01
RM
2128 * scripts/versions.awk: Fixed version renaming code to distinguish
2129 libraries properly.
2130
41a173e1
UD
21312000-03-19 Ulrich Drepper <drepper@redhat.com>
2132
a6a478e9
UD
2133 * include/stdlib.h: Add prototype for __cxa_atexit.
2134
41a173e1
UD
2135 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
2136 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
2137
21382000-03-17 Cristian Gafton <gafton@redhat.com>
2139
2140 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
2141 existing rtld-installed-name.
2142 ($(rtld-installed-name)): Request libc-$(version) be installed too.
2143 replace existing rtld-installed-name using $(symbolic-link-prog).
2144
21452000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2146
2147 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
2148 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
2149 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
2150 but not the former.
2151
21522000-03-19 Ulrich Drepper <drepper@redhat.com>
2153
2154 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
2155 glob64. Since there is no glob64 in the LFS proposal applications
2156 can assume that glob handles LFS situations. glob64 is only needed
2157 if alternative filesystem functions are used.
2158
21592000-03-19 Geoff Clare <gwc@unisoft.com>
2160
2161 * sysdeps/generic/glob.c: Correct gl_pathc value returned
2162 when GLOB_DOOFFS is set; correct handling of patterns
2163 containing escaped wildcards (and no unescaped ones);
2164 GLOB_ERR flag was being ignored in some situations.
2165
2166 * posix/globtest.c, posix/globtest.sh: Updated to include
2167 tests for the problems fixed by the above changes to glob.c.
2168
2169 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
2170
361742ed
RM
21712000-03-19 Roland McGrath <roland@baalperazim.frob.com>
2172
af260314
RM
2173 * Makeconfig (soversion.i): Use only first match for each lib.
2174
0ecdeb26
RM
2175 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
2176
c95527a1
RM
2177 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
2178 rather than $(sysd-dirs-done) to protect these rules.
2179
3c132532
RM
2180 * Makerules (version-renames.def): Target removed.
2181 (Versions.all): Depend on soversions.i directly and parse it.
2182
ba7e89ec
RM
2183 * Makeconfig (soversions.i): New target, input-reading parts of
2184 soversions.mk generation moved here; result is a canonicalized
2185 list "LIB VERSION [SET]" for this configuration.
2186 (soversions.mk): Use that as input. Don't emit map-firstversions.
2187 * Makerules (version-renames.def): New target, generated from
2188 soversions.i with contents that was in $(map-firstversions).
2189 (Versions.all): Don't depend on soversions.mk, depend on
2190 version-renames.def instead; just cat it into the input.
2191
6b3c3a35
RM
2192 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
2193 for $(map-firstversions), which better handles it being empty.
2194
361742ed
RM
2195 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
2196 supported version for libc 0.2.90.libio to GLIBC_2.2.
2197
2198 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
2199 and use it to emit new variable `map-firstversions'.
2200 * scripts/firstversions.awk: New file.
2201 * Makerules (Versions.all): Use scripts/firstversions.awk and
2202 the $(map-firstversions) value to generate a modified versions list
2203 that includes renames in "A = B" syntax for each version set earlier
2204 than the "earliest symbol version" named in shlib-versions.
2205 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
2206 rename version set A to B in the output to the intermediate file.
2207 * scripts/abi-versions.awk: New file.
2208 * Makerules (abi-versions.h): New target, generated by that script.
2209 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
2210 * include/shlib-compat.h: New file, uses that generated header.
2211
a5733c28
RM
22122000-03-18 Roland McGrath <roland@baalperazim.frob.com>
2213
88268852
RM
2214 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
2215 after stripping # comments, and then run it through cpp.
2216 This allows things like "%ifdef FOO" based on config.h settings.
2217 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
2218
a5733c28
RM
2219 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
2220 and other errors that indicate a pseudo-receive happened, grok through
2221 the message buffer for port rights that need references fixed up.
2222
f5ef7558
UD
22232000-03-16 Andreas Jaeger <aj@suse.de>
2224
2225 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
2226
2227 * sysdeps/unix/sysv/linux/madvise.c: Remove.
2228
2229 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
2230 from latest Linux kernel.
2231 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
2232
4ede8b06
UD
2233 * misc/sys/mman.h: Add prototype for mincore.
2234
b9b178ac
UD
22352000-03-17 Ulrich Drepper <drepper@redhat.com>
2236
2237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
2238 entry for GLIBC_2.0 version of setrlimit.
2239 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2240
3b965a7d
UD
22412000-03-16 Thorsten Kukuk <kukuk@suse.de>
2242
2243 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
2244 * nis/nss_compat/compat-initgroups.c: Likewise.
2245 * nis/nss_nis/nis-initgroups.c: Likewise.
2246 * nis/nss_nis/nis-netgrp.c: Likewise.
2247 * nis/nss_nis/nis-proto.c: Likewise.
2248 * nis/nss_nis/nis-rpc.c: Likewise.
2249 * nis/nss_nis/nis-service.c: Likewise.
2250 * nis/ypclnt.c: Likewise.
a5733c28 2251
96888079
UD
22522000-03-16 Andreas Jaeger <aj@suse.de>
2253
2254 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 2255 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 2256
5c7b0fb2
UD
22572000-03-16 Thorsten Kukuk <kukuk@suse.de>
2258
2259 * nscd/hstcache.c: Restore correct UID.
2260 * nscd/pwdcache.c: Likewise.
2261 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
2262
da28fa2a
RM
22632000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2264
4ae18693
RM
2265 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
2266 macros for register names, in line with 2000-03-14 linux change.
2267
da28fa2a
RM
2268 * sysdeps/mach/sched_yield.c: New file.
2269
22702000-03-13 Roland McGrath <roland@baalperazim.frob.com>
2271
2272 * sysdeps/generic/lockfile.c: Include <stdio.h>
2273 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
2274 case <libio.h> defined them.
2275 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
2276 from __internal_*.
2277 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
2278 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
2279
2280 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
2281 for more pleasing parse error.
2282
19cf43be
UD
22832000-03-16 Ulrich Drepper <drepper@redhat.com>
2284
0db0e149
UD
2285 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
2286 memory for eras.
2287 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2288
da28fa2a 2289 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
2290 * elf/constload1.c: New file.
2291 * elf/constload2.c: New file.
2292 * elf/constload3.c: New file.
2293
a96206f4
UD
22942000-03-15 Ulrich Drepper <drepper@redhat.com>
2295
2296 * sysdeps/posix/open64.c: Make __open64 weak alias.
2297 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
2298 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2299 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2300 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2301 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2302 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
2303 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2304 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2305 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2306 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2307
04366d5f
UD
23082000-03-14 Ulrich Drepper <drepper@redhat.com>
2309
2310 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
2311 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
2312
f0d872e9
UD
23132000-03-16 Mark Kettenis <kettenis@gnu.org>
2314
2315 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
2316 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2317
5d141597
UD
23182000-03-08 Andreas Jaeger <aj@suse.de>
2319
2320 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
2321
9658516a
UD
23222000-03-14 Ulrich Drepper <drepper@redhat.com>
2323
5d141597
UD
2324 * timezone/africa: Update from tzdata2000d.
2325 * timezone/asia: Likewise.
2326 * timezone/australasia: Likewise.
2327 * timezone/europe: Likewise.
2328 * timezone/northamerica: Likewise.
2329 * timezone/southamerica: Likewise.
2330
2331 * po/fr.po: Update from translation team.
2332 * po/de.po: Likewise.
2333
d9cb1a7d
UD
2334 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
2335 last parameter. Move code to add map to global scope from here...
2336 * elf/dl-open.c (dl_open_worker): ...here.
2337 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
2338 * elf/rtld.c: Adjust call to _dl_map_object_deps.
2339
36388ac4
UD
2340 * locale/programs/ld-collate.c (collate_read): Fix warning.
2341
6213a055
UD
2342 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
2343 values and macros for register names.
2344
9658516a
UD
2345 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
2346 returned by seek cookie function is -1.
2347
f1a53402
UD
23482000-03-14 Andreas Jaeger <aj@suse.de>
2349
2350 * locale/localeconv.c (localeconv): Fix typo.
2351 Reported by Andre Charbonneau <andrec@corel.com>.
2352
0aece08d
UD
23532000-03-14 Ulrich Drepper <drepper@redhat.com>
2354
2355 * iconv/skeleton.c: Increment __invocation_counter in inner loop
2356 since modules depend on it counting the number of times the conversion
2357 function got called.
2358
2359 * iconv/gconv_open.c: Optimize loop to setup step data structure.
2360
2361 * iconv/gconv.h: Pretty print.
2362
23632000-03-04 Ulrich Drepper <drepper@redhat.com>
2364
2365 * posix/wordexp-test.c: Correct one of the tests added in the last
2366 change. Really get the root passwd entry to check again ~root.
2367
d1d62b53
AJ
23682000-03-10 Andreas Jaeger <aj@suse.de>
2369
2370 * manual/filesys.texi (Working Directory): Fix last patch.
2371 Patch by Martin Buchholz <martin@xemacs.org>.
2372
0aa9fad6
AJ
23732000-03-10 Andreas Jaeger <aj@suse.de>
2374
2375 * manual/creature.texi (Feature Test Macros): Fix language.
2376
b4e54243
RM
23772000-03-10 Roland McGrath <roland@baalperazim.frob.com>
2378
2379 * mach/devstream.c (devstream_write, devstream_read): New functions.
2380 (input, output): Functions removed.
2381 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
2382 using only the vanilla fopencookie interface.
2383
2384 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
2385 as macro for __io_functions.
2386 (funcsio): Use cookie_io_functions_t type name.
2387 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
2388
2389 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
2390 fopencookie.
2391 (fopencookie): Use it.
2392 * libio/libio.h: Declare _IO_cookie_init.
2393 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
2394 _IO_cookie_init.
2395
2396 * libio/libio.h (__io_seek_fn): Fix second argument type
2397 to be a pointer, in line with the manual and the old stdio.
2398 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
2399
2400 * sysdeps/generic/bits/stdio-lock.h: New file.
2401 This is a stub with #error, but that's better than no file at all.
2402
d10c8b66
AJ
24032000-03-09 Martin Buchholz <martin@xemacs.org>
2404
b4e54243
RM
2405 * sysdeps/unix/sysv/linux/alpha/syscall.S:
2406 * manual/message.texi (Using gettextized software):
d10c8b66 2407 * manual/message.texi (Message Translation): Doc Fixes.
b4e54243
RM
2408 * manual/filesys.texi (File Size):
2409 * manual/charset.texi (glibc iconv Implementation):
2410 * locale/programs/ld-collate.c (collate_output):
d10c8b66
AJ
2411 * iconv/gconv_db.c (find_derivation):
2412 * manual/install.texi:
2413 * manual/search.texi (Hash Search Function):
b4e54243 2414 * manual/stdio.texi (Output Conversion Syntax):
d10c8b66
AJ
2415 * FAQ.in:
2416 * config.h.in:
2417 * sysdeps/generic/dl-sysdep.c:
2418 Doc Fixes. `allows to' is not correct English.
2419
2420 * elf/rtld.c: Doc fixes.
2421 * manual/creature.texi (Feature Test Macros): Doc fixes.
2422 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
2423
2424 * manual/filesys.texi (Working Directory): Check for ERANGE to
2425 avoid infloop.
2426
f25da8d0
RM
24272000-02-23 Roland McGrath <roland@baalperazim.frob.com>
2428
2429 * string/argz-stringify.c (__argz_stringify): Fix loop termination
2430 conditions so as not to clobber the final '\0' when there is only one
2431 element in the vector.
2432
07760b35
RM
24332000-03-09 Roland McGrath <roland@baalperazim.frob.com>
2434
2435 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
2436 broken by 2000-02-27 change.
2437
2438 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
2439
224a12bc
RM
24402000-02-23 Roland McGrath <roland@baalperazim.frob.com>
2441
2442 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
2443 argument type, for 2000-02-22 change in signal/signal.h declaration.
2444
9ab47461
RM
24452000-03-09 Roland McGrath <roland@baalperazim.frob.com>
2446
224a12bc
RM
2447 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
2448 to getdirentries64 (no __), since the Linux implementation
2449 has no __ name, and there is no declaration for the __ name.
2450
2451 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
2452
2453 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
2454 sed regexp so as not to break directory names including /../ within.
2455
2456 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
2457 The sysdeps/generic file is right for BSD. This file was in fact the
2458 Hurd file, but the only difference was the WNOREAP flag that was never
2459 actually implemented or used anywhere.
2460
9ab47461
RM
2461 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
2462 since AC_PATH_PROG already does it for us.
2463 (PERL): Rewrite check added in 2000-02-29 change for syntactic
2464 correctness and sh portability. I replaced the broken check
2465 with a more sensible implementation of the apparently intended
2466 semantics, which might still be questionable. Using expr causes
2467 a non-numeric value for `perl -V:apiversion` to be accepted,
2468 refusing to use only a perl that reports a number less than 5;
2469 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
2470 * configure: Regenerated.
2471
93773779
AJ
24722000-03-08 Andreas Jaeger <aj@suse.de>
2473
2474 * manual/crypt.texi: Fix paths.
2475
d92c02e8
AJ
24762000-03-07 Andreas Jaeger <aj@suse.de>
2477
2478 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
2479 were swapped.
2480 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
2481 libc/1636.
2482
8f95ad1c
AJ
24832000-03-06 Andreas Jaeger <aj@suse.de>
2484
5d141597
UD
2485 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
2486 in __sgn1l, otherwise g++ fails to parse this.
2487 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 2488
8ed1e7d5
GK
24892000-03-03 Geoff Keating <geoffk@cygnus.com>
2490
2491 * configure.in: Compute sizeof-long-double.
2492 * configure: Regenerated.
2493 * config.make.in: Make sizeof-long-double available to sub-makes.
2494
706546ff
UD
24952000-03-03 Ulrich Drepper <drepper@cygnus.com>
2496
2497 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2498 call.
2499
b11f5954
GK
25002000-03-03 Geoff Keating <geoffk@cygnus.com>
2501
2502 * Makeconfig (rpath-dirs): Add crypt.
2503 (all-subdirs): Remove md5crypt.
2504 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
2505 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
2506 * sysdeps/generic/crypt-entry.c: Delete.
2507 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
2508 * sysdeps/generic/crypt.h: Delete.
2509 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
2510 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
2511 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
2512 * sysdeps/generic/des_impl.c: Delete.
2513 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
2514 * crypt/sysdeps: Delete.
2515 * crypt/crypt_util.c: Don't use `patchlevel.h'.
2516 * md5-crypt/Versions: Move to crypt/.
2517 * md5-crypt/md5-crypt.c: Move to crypt/.
2518 * md5-crypt/md5.c: Move to crypt/.
2519 * md5-crypt/md5c-test.c: Move to crypt/.
2520 * md5-crypt/md5test.c: Move to crypt/.
2521 * md5-crypt: Delete.
2522 * crypt/Makefile: Adjust for new structure.
2523
e3d53b06
UD
25242000-03-03 Paul Eggert <eggert@twinsun.com>
2525
2526 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
2527 define to 1 if not defined.
2528
c88c8399
UD
25292000-03-03 Andreas Jaeger <aj@suse.de>
2530
2531 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
2532
25332000-03-03 Andreas Jaeger <aj@suse.de>
2534
2535 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
2536 cases.
2537 (xdr_int64_t): Correctly handle lower half.
2538 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2539
bdd5fccd
UD
25402000-03-03 Ulrich Drepper <drepper@cygnus.com>
2541
2542 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2543 call.
2544
2f1afc88
UD
25452000-03-02 Andreas Jaeger <aj@suse.de>
2546
2547 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
2548 2.3.43.
2549
6500dff6
UD
25502000-03-02 Andreas Jaeger <aj@suse.de>
2551
2552 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
2553
fc304e02
UD
25542000-03-01 Andreas Jaeger <aj@suse.de>
2555
2556 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
2557 (tests): Added tst-getdate.
2558
2559 * time/tst-getdate.c: New file.
2560
2561 * time/datemsk: New file, needed for tst-getdate.
2562
ecb06196
UD
25632000-02-29 Cristian Gafton <gafton@redhat.com>
2564
2565 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
2566
3fd759d1
UD
25672000-02-17 H.J. Lu <hjl@gnu.org>
2568
2569 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
2570
2571 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
2572 available.
2573 (svcudp_recv): Set up message with the new "xp_pad" field for
2574 IP_PKTINFO.
2575 (svcudp_reply): Support IP_PKTINFO if available.
2576
06b54322
AJ
25772000-03-01 Andreas Jaeger <aj@suse.de>
2578
2579 * time/getdate.c (check_mday): Fix check for february.
2580 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
2581 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
2582
901a5bd7
AJ
25832000-03-02 Andreas Jaeger <aj@suse.de>
2584
2585 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
2586 g++ fails to parse this.
2587 Reported by Sean Chen <sean.chen@turbolinux.com>.
2588
07e0f7ad
UD
25892000-02-28 Ulrich Drepper <drepper@redhat.com>
2590
6df9984c
UD
2591 * io/creat.c: Moved to...
2592 * sysdeps/generic/creat.c: ...here.
2593 * io/creat64.c: Moved to...
2594 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
2595 * io/lockf.c: Moved to...
2596 * sysdeps/generic/lockf.c: ...here.
6df9984c 2597
6d7496e8 2598 * crypt/crypt.texi: Moved to...
07e0f7ad 2599 * manual/crypt.texi: ...here.
6d7496e8
UD
2600 * crypt/examples/genpass.c: Moved to...
2601 * manual/examples/genpass.c: ...here.
2602 * crypt/examples/mygenpass.c: Moved to...
2603 * manual/examples/mygenpass.c: ...here.
2604 * crypt/examples/testpass.c: Moved to...
2605 * manual/examples/testpass.c: ...here.
2606
2607 * manual/Makefile (chapters): Add crypt.
2608 * manual/conf.texi: Add usual header for not-last chapter.
2609 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 2610
63f791d3
GK
26112000-02-28 Geoff Keating <geoffk@cygnus.com>
2612
2613 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
2614 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
2615 complain if there is no crypt add-on.
2616 * crypt/configure: Removed.
6d7496e8 2617
63f791d3
GK
2618 * crypt/crypt.texi: Update documentation of US export restrictions
2619 to match the 14 Jan 2000 regulations.
2620
26212000-02-28 Geoff Keating <geoffk@cygnus.com>
2622
2623 * crypt: New subdirectory, merged in from the crypt add-on.
2624
a808d541
UD
26252000-02-28 Ulrich Drepper <drepper@redhat.com>
2626
108c6efa 2627 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 2628
d59e49d8 2629
108c6efa 2630See ChangeLog.10 for earlier changes.
This page took 0.327448 seconds and 5 git commands to generate.