]> sourceware.org Git - glibc.git/blame - ChangeLog
Implement posix_memalign for glibc.
[glibc.git] / ChangeLog
CommitLineData
12d3e579
AJ
12000-04-14 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/generic/madvise.c: Fix typos.
4
5 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6
7 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8
9 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
10 warnings.
11
bb8e0116
UD
122000-04-14 Ulrich Drepper <drepper@redhat.com>
13
14 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
15 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
16 Make old name weak alias.
17 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
18 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
19 Make old name weak alias.
20 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
21
22 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
23 posix_fallocate, and posix_fallocate64.
24 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
25 posix_fallocate, and posix_fallocate64.
26 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
27 posix_fallocate, and posix_fallocate64.
28 * sysdeps/generic/fadvise.c: New file.
29 * sysdeps/generic/fadvise64.c: New file.
30 * sysdeps/generic/fallocate.c: New file.
31 * sysdeps/generic/fallocate64.c: New file.
32 * sysdeps/posix/fallocate.c: New file.
33 * sysdeps/posix/fallocate64.c: New file.
34 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
35 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
36 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
37 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
38 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
39 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
40 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
42 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43
44 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
45 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46
8f6f7a31
UD
472000-04-13 Ulrich Drepper <drepper@redhat.com>
48
49 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
50 * misc/sys/mman.h (posix_madvise): Add prototype.
51 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
52 old name and posix_madvise weak aliases.
53 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
55 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
56 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
57 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60
490a9ab7
AJ
612000-04-13 Andreas Jaeger <aj@suse.de>
62
63 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
64 versioning.
0fc95464 65 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 66 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 67
382e7b29
AJ
682000-04-13 Andreas Jaeger <aj@suse.de>
69
44a202c0 70 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 71
382e7b29
AJ
72 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
73 default.
74
75 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
76 with some applications.
77 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
78
79 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
80 * sysdeps/mips/bsd-_setjmp.S: Likewise.
81 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
82
83 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 84
3737ff12
UD
852000-04-13 Ulrich Drepper <drepper@redhat.com>
86
87 * posix/globtest.sh: Work around inconsistency with expanding ~/
88 in shell (PR libc/1690). Reported by patsmith@pobox.com.
89
aee46704
UD
902000-04-12 Ulrich Drepper <drepper@redhat.com>
91
b3ae0650
UD
92 * posix/getconf.c: Add support for many more POSIX options.
93 * sysdeps/posix/sysconf.c: Likewise.
94 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
95 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
96 _POSIX_SHELL.
97 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
98 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
99 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
100 CLOCK_THREAD_CPUTIME_ID.
101 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
102 CLOCK_PROCESS_CPUTIME_ID.
103 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
104 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
105 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
106 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
107
aa780bab
UD
108 * malloc/Makefile (tests): Add tst-calloc.
109 * malloc/tst-calloc.c: New file.
110
c49b2a4e
UD
111 * sysdeps/arm/libm-test-ulps: New file.
112
13f536d4
UD
113 * malloc/malloc.c: Undo all of today's changes.
114
92d2e18f
UD
115 * locale/programs/locale.c (show_info): Don't try to look into
116 data for LC_ALL (there is none).
117
3ea1b82e
UD
118 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
119 avoid writing over boundary.
120 Patch by Greg McGary <gkm@eng.ascend.com>.
121
aee46704
UD
122 * sysdeps/arm/memprof.h: New file.
123
4a199526
UD
1242000-04-12 Andreas Jaeger <aj@suse.de>
125
126 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
127
128 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
129 for memmem declaration.
130
da240c6b
UD
1312000-04-12 Ulrich Drepper <drepper@redhat.com>
132
4a199526
UD
133 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
134 to -1.
135 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
136
a4dec43d
UD
137 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
138 mode is invalid.
139 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
140 Patch by Bart Veer <bartv@redhat.com>.
141
da240c6b
UD
142 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
143 function interface.
144
bfe42f05
AJ
1452000-04-11 Andreas Jaeger <aj@suse.de>
146
147 * sysdeps/mips/dl-machine.h: Update some comments.
148 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
149
e7c036b3
UD
1502000-04-11 Ulrich Drepper <drepper@redhat.com>
151
8a31d742
UD
152 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
153 _POSIX_SHARED_MEMORY_OBJECTS.
154
ca99b8a0
UD
155 * rt/Makefile (tests): Add tst-shm.
156 Add rules to generate tst-shm.
157 * rt/tst-shm.c: New file.
158
fb125e0c
UD
159 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
160 for descriptor.
161
a63be9f7
UD
162 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
163 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
164 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
165 * sysdeps/generic/shm_open.c: New file.
166 * sysdeps/generic/shm_unlink.c: New file.
167 * sysdeps/unix/sysv/linux/shm_open.c: New file.
168 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
169 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
170 __endmntent, __getmntent_r, __setmntent, and __statfs.
171
25728f03
UD
172 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
173 fragmentation by allocating new memory at the end instead of
174 reallocating.
175
e7c036b3
UD
176 * posix/globtest.sh: Fix last change.
177
1782000-04-10 Philip Blundell <philb@gnu.org>
179
180 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
181 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
182 IPV6_DROP_MEMBERSHIP.
183 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
184 Likewise.
185
1862000-04-11 Ulrich Drepper <drepper@redhat.com>
187
188 * elf/readlib (process_file): Close streams in case of an error.
189
1902000-04-09 Andreas Jaeger <aj@suse.de>
191
192 * elf/readlib.c (process_file): Check if file is big enough to
193 contain aout and ELF headers.
194 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
195
1962000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
197
198 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
199
2002000-04-11 Ulrich Drepper <drepper@redhat.com>
201
202 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
203 stream unbuffered.
204 * rt/Makefile (tests): Add tst-clock.
205 Add rules to build tst-clock.
206 * rt/tst-clock.c: New file.
207 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
208 about initialization of nsec.
209 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
210 about initialization of freq. Set retval to zero if successful.
211 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
212
6689a188
UD
2132000-04-10 Ulrich Drepper <drepper@redhat.com>
214
215 * Versions.def (librt): Add GLIBC_2.2.
216 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
217 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
218 timer_getoverr, timer_gettime, and timer_settime.
219 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
220 clock_settime, timer_create, timer_delete, timer_getoverrun,
221 timer_gettime, and timer_settime.
222 * sysdeps/generic/clock_getcpuclockid.c: New file.
223 * sysdeps/generic/get_clockfreq.c: New file.
224 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
225 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
226 * sysdeps/mach/hurd/i386/bits/time.h: New file.
227 * sysdeps/unix/i386/i586/clock_getres.c: New file.
228 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
229 * sysdeps/unix/i386/i686/Implies: New file.
230 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
231 * time/Makefile (routines): Move clock_getres, clock_gettime,
232 clock_settime, timer_create, timer_delete, timer_getoverr,
233 timer_gettime, and timer_settime to rt/Makefile.
234 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
235 clock_settime, timer_create, timer_delete, timer_getoverrun,
236 timer_gettime, and timer_settime.
094f72c6 237 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
238
239 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
240 and not const as attribute name.
241
25ee87d6
UD
2422000-04-10 Thorsten Kukuk <kukuk@suse.de>
243
244 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
245
3b690639
UD
2462000-04-10 Andreas Schwab <schwab@suse.de>
247
248 * posix/globtest.sh: Skip tests that depend on unreadable
249 directories if run as root.
250
e79af11c
UD
2512000-04-10 Ulrich Drepper <drepper@redhat.com>
252
253 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
254 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
255
8956ac9e
UD
2562000-04-09 Ulrich Drepper <drepper@redhat.com>
257
13fa3676
UD
258 * sysdeps/unix/clock_gettime.c: New file.
259 * sysdeps/unix/clock_settime.c: New file.
260 * sysdeps/posix/clock_getres.c: New file.
261
1a8de3e4
UD
262 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
263
4186c9f4
UD
264 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
265 lseek call be passing in a buffer which never allow a successful
266 first getdents syscall if not at leas the initial entry can be
267 stored in the user buffer.
268
8956ac9e
UD
269 * localedata/Makefile: Add rules to clean up directories created by
270 new strfmon tests.
271
2722000-04-09 Geoff Clare <gwc@unisoft.com>
273
274 * localedata/tst-fmon.data: Added new tests for strfmon()
275 using test locales with all combinations of cs_precedes,
276 sign_posn and sep_by_space.
277 * localedata/tst-fmon.sh: Updated to support the new tests.
278 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
279 the localedef source for the new strfmon() test locale.
280 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
281 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
282 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
283 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
284 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
285 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
286 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
287 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
288 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
289 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
290 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
291 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
292 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
293 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
294
295 * stdlib/strfmon.c: Correct problems with missing or extra
296 spaces for unusual combinations of sign_posn and sep_by_space.
297 Improved left-precision alignment code.
298
fe9d16a5
UD
2992000-04-07 Andreas Jaeger <aj@suse.de>
300
301 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
302
ddf0c536
AJ
3032000-04-10 Andreas Jaeger <aj@suse.de>
304
305 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
306
fd1b5c0f
UD
3072000-04-09 Ulrich Drepper <drepper@redhat.com>
308
309 Implement handling of restartable conversion functions according to
310 ISO C.
311 * iconv/gconv.h (__gconv_fct): Add additional parameter.
312 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
313 * iconv/gconv.c: Pass additional parameter to conversion function.
314 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
315 (internal_ucs4le_loop_single): New function.
316 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
317 (__gconv_transform_internal_ascii): Likewise.
318 (__gconv_transform_internal_utf8): Likewise.
319 (__gconv_transform_utf8_internal): Likewise.
320 (__gconv_transform_ucs2_internal): Likewise.
321 (__gconv_transform_internal_ucs2): Likewise.
322 (__gconv_transform_ucs2reverse_internal): Likewise.
323 (__gconv_transform_internal_ucs2reverse): Likewise.
324 (internal_ucs4le_loop_unaligned): Before return
325 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
326 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
327 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
328 * iconv/loop.c: Fit in definition of function to convert one character
329 for processing of left-over bytes from the state object.
330 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
331 inend to match names in loop functions.
332 (RESET_INPUT_BUFFER): Change apprpriately.
333 (gconv): If needed, call function to process bytes from the state
334 object. Similar at the end: store left over bytes if input is
335 incomplete.
336 Take extra argument and add new argument to all calls of the
337 conversion function.
338 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
339 information in the state object to not conflict with length count.
340 * iconvdata/iso-2022-jp.c: Likewise.
341 * iconvdata/iso-2022-kr.c: Likewise.
342 * iconvdata/unicode.c: Adjust for change change in parameters of
343 skeleton function.
344 * iconvdata/utf-16.c: Likewise.
345 * libio/iofwide.c: Add new parameter to all calls of conversion
346 function.
347 * wcsmbs/btowc.c: Likewise.
348 * wcsmbs/mbrtowc.c: Likewise.
349 * wcsmbs/mbsnrtowcs.c: Likewise.
350 * wcsmbs/mbsrtowcs.c: Likewise.
351 * wcsmbs/wcrtomb.c: Likewise.
352 * wcsmbs/wcsnrtombs.c: Likewise.
353 * wcsmbs/wcsrtombs.c: Likewise.
354 * wcsmbs/wctob.c: Likewise.
355
356 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
357 MAX_NEEDED_INPUT.
358
22804455
AJ
3592000-04-07 Andreas Jaeger <aj@suse.de>
360
361 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
362 newer kernels.
363
aa831d6d
UD
3642000-04-07 Ulrich Drepper <drepper@redhat.com>
365
366 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
367 element a union to allow byte access.
368 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
369 mbstate_t.
370 * iconvdata/iso-2022-jp.c: Likewise.
371 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
372 * wcsmbs/mbsinit.c: Likewise.
373 * stdlib/mblen.c: Likewise.
b837918e 374 * stdio-common/printf-parse.h: Likewise.
aa831d6d 375
a0dc5206
UD
3762000-04-06 Ulrich Drepper <drepper@redhat.com>
377
f11b9da6
UD
378 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
379 kernel does not allow relative seeks on descriptors associated
380 with directories. Go back to get the position in the directory
381 every time we enter the function. Return -1 and set errno if one
382 entry could be read from the kernel but does not fit into the
383 buffer passed in by the user.
384
a0dc5206
UD
385 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
386 Support ..(2).. ellipsis.
387 (parse_charmap): Recognize ..(2).. etc and pass step down.
388 Correctly generate names for UCS4 characters.
389
390 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
391 (ctype_finish): We know the wide character value for <SP>,
392 don't search.
393 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
394 (charclass_ucs4_ellipsis): Likewise.
395 (read_translit_ignore_entry): Store ellipsis step.
396 (ctype_read): Recognize ..(2).. etc and pass step down.
397
398 * locale/programs/linereader.c (lr_token): When seeing comment
399 character ignore only rest of line in sources but stop at escaped
400 newline.
401 Recognize ..(2).. and ....(2).....
402
403 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
404 and tok_ellipsis4_2.
405
372f94ba
UD
4062000-04-06 Andreas Jaeger <aj@suse.de>
407
408 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
409 removed, remove it here also.
410 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
413 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
414
4152000-04-06 Jakub Jelinek <jakub@redhat.com>
416
417 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
418 include bits/sigcontext.h.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
420
723faa38
UD
4212000-04-06 Ulrich Drepper <drepper@redhat.com>
422
5943f0bc
UD
423 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
424 collation symbol definition. Value in quivalence definition must
425 be defined, don't check that it is not.
426
723faa38
UD
427 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
428 values as character names.
429
430 * locale/programs/ld-ctype.c (get_character): Handle missing
431 repertoire map correctly.
432
a1303dc8
UD
4332000-04-05 Cristian Gafton <gafton@redhat.com>
434
435 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
436 because it is used in generic code.
437 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
438 * wcsmbs/wcwidth.h: Declare __ctype32_b.
439 * intl/gettext.c: Include <locale.h>.
440 * intl/ngettext.c: Likewise.
441
4422000-04-05 Jakub Jelinek <jakub@redhat.com>
443
444 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
445 socklen_t type for size.
446 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
447 init function interface.
448 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
449 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
450 sys/ucontext.h.
451 (__jmp_buf): Declare the whole type structure here, don't use
452 ucontext.
453
2a0ff6ff
UD
4542000-04-05 Ulrich Drepper <drepper@redhat.com>
455
a1303dc8
UD
456 * iconv/skeleton.c (put16u): Fix typo.
457 Reported by Bruno Haible <haible@ilog.fr>.
458
2a0ff6ff
UD
459 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
460 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
461 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
463 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
464 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
465
466 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
467 * Makefile (distribute): Add abi-versions.awk and
468 firstversions.awk.
469 Patches by Torsten Duwe <duwe@caldera.de>.
470
5560eac7
UD
4712000-04-05 Andreas Schwab <schwab@suse.de>
472
473 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
474
a6dd65cd
AS
4752000-04-05 Andreas Schwab <schwab@suse.de>
476
477 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
478 entry point, used on Hurd.
479
7d4de961
UD
4802000-04-04 Andreas Jaeger <aj@suse.de>
481
482 * intl/Makefile: Only run the gettext test with shared libraries.
483
f0d872e9
UD
4842000-03-16 Mark Kettenis <kettenis@gnu.org>
485
486 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
487 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
488
7499a22a
RM
4892000-04-05 Roland McGrath <roland@baalperazim.frob.com>
490
491 * Makeconfig: Undo last change.
492 * configure.in: If --disable-shared was given, don't set VERSIONING,
493 don't define DO_VERSIONING, and don't give scare warning for no
494 versioning.
495 * configure: Regenerated.
496
2c57ff21
RM
4972000-04-04 Roland McGrath <roland@baalperazim.frob.com>
498
499 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
500
09847c8d
UD
5012000-04-04 Andreas Jaeger <aj@suse.de>
502
503 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
504
3aaad0b6
UD
5052000-04-04 Ulrich Drepper <drepper@redhat.com>
506
736d0841
UD
507 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
508 STV_HIDDEN and STV_INTERNAL during lookup.
509 (profile_fixup): Likewise.
510 * elf/dl-reloc.c (RESOLVE): Likewise.
511
3aaad0b6
UD
512 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
513 unaligned so that it compiles for system which need unaligned
514 access handling.
515
0b7219cc
UD
5162000-04-04 Andreas Schwab <schwab@suse.de>
517
518 * elf/cache.c (print_entry): Only look at the type field when
519 printing the type.
520
5212000-04-04 Andreas Schwab <schwab@suse.de>
522
523 * iconvdata/big5.c (BODY): Fix typo.
524
658943b9
AS
5252000-04-04 Andreas Schwab <schwab@suse.de>
526
527 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
528 function interface. Remove unused _dl_start_user entry point.
529
bd457114
UD
5302000-04-03 Andreas Jaeger <aj@suse.de>
531
532 * include/arpa/inet.h (__inet_aton): Add protoype.
533
41aefe41
UD
5342000-04-01 Andreas Jaeger <aj@suse.de>
535
536 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
537
538 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
539 * sysdeps/mach/mips/thread_state.h: Likewise.
540
541 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
542 * sysdeps/generic/fegetenv.c: Likewise.
543 * sysdeps/generic/fesetenv.c: Likewise.
544 * sysdeps/generic/feupdateenv.c: Likewise.
545 * sysdeps/generic/fraiseexcpt.c: Likewise.
546 * sysdeps/generic/fsetexcptflg.c: Likewise.
547 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
548 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
549 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
550 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
551
5522000-04-02 H.J. Lu <hjl@gnu.org>
553
554 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
555
ad085e8a
UD
5562000-04-03 Ulrich Drepper <drepper@redhat.com>
557
839be784
UD
558 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
559 (add_name_to_object): Add cast in malloc call.
560 (fillin_rpath): Optimize loop to initialize ->status a bit.
561
f9b798ba
UD
562 * sysdeps/i386/dl-machine.h: Undo last change.
563 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
564 Restore %edx register after call here.
565
ad085e8a
UD
566 * sysdeps/arm/atomicity.h: New file.
567 Contributed by Jesper Skov <jskov@redhat.com>.
568
c6d80202
RM
5692000-04-03 Roland McGrath <roland@baalperazim.frob.com>
570
ca5becb0
RM
571 * Makeconfig (preprocess-versions): Undo last change.
572 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
573
c6d80202
RM
574 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
575 here, before we might move the stack.
576 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
577 (init1): And not here.
578
579 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
580 change, to restore argc value in call-clobbered register after
581 RTLD_START_SPECIAL_INIT, which will contain a call.
582
583 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
584 allocating and initializing L->l_initfini.
585
586 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
587
152e7964
UD
5882000-04-03 Ulrich Drepper <drepper@redhat.com>
589
590 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
591 RUNPATH, RPATH, and LD_LIBRARY_PATH.
592 (open_path): Change type of fourth parameter. Make pointer to array
593 of pointers. Create variable dirs with original type.
594 Track whether any directory for the object exists and if not,
595 change *DIRSP to (void*) -1 to signal there is no such search path.
596 (_dl_map_object): Change all calls of open_path.
597 Rewrite decompose_rpath calls.
598
42ba2c11
UD
5992000-03-31 Andreas Schwab <schwab@suse.de>
600
601 * string/strfry.c: Declare STATE as array of char instead of int
602 and do not initialize it (done by initstate_r). Pass correct
603 size.
604
0a63529d
UD
6052000-04-03 Ulrich Drepper <drepper@redhat.com>
606
42ba2c11
UD
607 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
608
0a63529d
UD
609 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
610 instruction out of the code.
611
cf197e41
UD
6122000-04-02 Ulrich Drepper <drepper@redhat.com>
613
614 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
615 element at this position.
616
617 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
618 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
619 l_reldeps elements.
620 * elf/dl-lookup.c (add_dependency): New function.
621 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
622 dynamically loaded object.
623 (_dl_lookup_symbol_skip): Likewise.
624 (_dl_lookup_versioned_symbol): Likewise.
625 (_dl_lookup_versioned_symbol_skip): Likewise.
626 * elf/dl-open.c: Don't define _dl_load_lock here...
627 * elf/rtld.c: ...but here...
628 * elf/dl-support.c: ...and here.
629 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
630 through relocation.
631 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
632 relocations.
633 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
634 anymore.
635 * dlfcn/glrefmain.c: Add one more debug message.
636
637 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
638 command line.
639 * Makerules (sysd-versions): Use ( ) instead of { }.
640
641 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
642 optimize for the non-debugging case.
643 * elf/dl-lookup.c: Likewise.
644 * sysdeps/generic/libc-start.c: Likewise.
645
e1724cd7
RM
6462000-04-02 Roland McGrath <roland@baalperazim.frob.com>
647
5879ee9f
RM
648 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
649 (init1): Don't initialize __environ here, since init already does it.
650 (first_init): New function, broken out of _init.
651 (_hurd_stack_setup): Use it.
652 [SHARED] (_dl_init_first): New function, renamed from old _init.
653 (init1) [SHARED]: Don't call posixland_init here.
654 (posixland_init): Take ENVP arg, so signature is usual for initializer.
655 [SHARED] (_init): Define as alias for posixland_init.
656 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
657 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
658 RTLD_START_SPECIAL_INIT before calling initializers.
659 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
660 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
661 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
662 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
663
e1724cd7
RM
664 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
665 since we define the function with the name `tmpfile'.
666
667 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
668 * hurd/Versions: Likewise.
669
e10b8512
UD
6702000-04-02 Ulrich Drepper <drepper@redhat.com>
671
e1724cd7 672 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 673
e1724cd7 674 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
675 socklen_t.
676 * inet/getnameinfo.c: Likewise.
677
0adb8e47
UD
6782000-04-01 Ulrich Drepper <drepper@redhat.com>
679
750f9af6
UD
680 * posix/unistd.h (socklen_t): Define if it has not yet happened.
681 (gethostname): Change type of second parameter to socklen_t.
682 * include/unistd.h (__gethostname): Change type of second
683 parameter to socklen_t.
684 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
685 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
686 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
687 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
688 Likewise.
689 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
690 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
691 Allow definition elsewhere.
692 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
693 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
694 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
695 * sysdeps/generic/bits/types.h: Define __socklen_t.
696 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
697 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
698 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
699 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
700 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
701 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
702 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
703
ad483238
UD
704 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
705 (inet_lnaof): Likewise.
706 (inet_netof): Likewise.
707 (inet_network): Likewise.
708 (inet_aton): Likewise.
709 (inet_makeaddr): Change parameter types to in_addr_t.
710 (inet_neta): Likewise.
711 (inet_ntop): Change type of last parameter to socklen_t.
712 (inet_aton): Only make available if __USE_MISC.
713 (inet_neta): Likewise.
714 (inet_net_ntop): Likewise.
715 (inet_net_pton): Likewise.
716 (inet_nsap_ntoa): Likewise.
717
718 * inet/in.h: Define in_port_t type.
719 Define in_addr_t type.
720 (struct in_addr): Use in_addr_t in definition.
721 (IN_CLASSA): Use cast to in_addr_t.
722 (IN_CLASSB): Likewise.
723 (IN_CLASSC): Likewise.
724 (IN_CLASSD): Likewise.
725 (IN_EXPERIMENTAL): Likewise.
726 (IN_BADCLASS): Likewise.
727 (INADDR_ANY): Likewise.
728 (INADDR_BROADCAST): Likewise.
729 (INADDR_NONE): Likewise.
730 (INADDR_LOOPBACK): Likewise.
731 (INADDR_UNSPEC_GROUP): Likewise.
732 (INADDR_ALLHOSTS_GROUP): Likewise.
733 (INADDR_ALLRTRS_GROUP): Likewise.
734 (INADDR_MAX_LOCAL_GROUP): Likewise.
735 (struct sockaddr_in): Use in_port_t for sin_port element.
736 (struct sockaddr_in6): Use in_port_t for sin6_port element.
737 Use uint8_t instead of u_int8_t.
738
739 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
740 Call __inet_aton instead of inet_aton.
741 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
742
743 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
744 (innetgr): Likewise.
745 (struct addrinfo): Use socklen_t for ai_addrlen element.
746
747 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
748 IPV6_RECVERR): New defines.
749
9b48fa9b
UD
750 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
751 * inet/getnetbyad.c: Likewise.
752 * inet/getnetbyad_r.c: Likewise.
753 * nis/nss_nis/nis-network.c: Likewise.
754 * nis/nssplus_nis/nisplus-network.c: Likewise.
755 * nss/nss_files/files-network.c: Likewise.
756 * resolv/netdb.h: Define uint32_t if not already happened.
757 Include bits/netdb.h. Remove definition of struct netent.
758 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
759 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
760 * sysdeps/generic/bits/netdb.h: New file.
761 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
762
4380ef5e
UD
763 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
764 (tests): Add glrefmain.
765 Add rules to build modules and run tests. Ignore result of glrefmain
766 for now since it fails.
767 * dlfcn/glrefmain.c: New file.
768 * dlfcn/glreflib1.c: New file.
769 * dlfcn/glreflib2.c: New file.
770
771 * test-skeleton.c: Include <string.h> for strsignal prototype.
772
289e8e7e
UD
773 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
774 to be missing.
775
0adb8e47
UD
776 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
777 former init-first.h. Initialize __libc_multiple_libcs.
778
c0c2af07
UD
7792000-03-31 Ulrich Drepper <drepper@redhat.com>
780
c1db8b0d
UD
781 * iconv/skeleton.c: Define access macros with u suffix. Adjust
782 #if expression for use of unaligned function to the one used in
783 the definition of these functions.
6674e127 784 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
785 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
786 (internal_ucs4le_loop_unaligned): New function.
787
c0c2af07
UD
788 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
789 (tests): Add order.
790 (module-names): Add dep1, dep2, dep3, and dep4.
791 Add dependencies for dep* modules and order.
792 Define rule for order.out which checks the result.
793 * elf/dep1.c: New file.
794 * elf/dep2.c: New file.
795 * elf/dep3.c: New file.
796 * elf/dep4.c: New file.
797 * elf/order.c: New file.
798
e1724cd7 799 * elf/dl-init.c: Fix typo in comment.
c0c2af07 800
ad08a5b6
AJ
8012000-03-31 Andreas Jaeger <aj@suse.de>
802
803 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
804 init function interface.
805 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
806
e7960df5
AJ
8072000-03-31 Andreas Jaeger <aj@suse.de>
808
36d04330
AJ
809 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
810 * sysdeps/mips/fpu/fegetenv.c: Likewise.
811 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
812 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
813 * sysdeps/mips/fpu/fesetenv.c: Likewise.
814
88fdf42f 815 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 816 anymore, update comment.
88fdf42f 817
e7960df5
AJ
818 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
819
820 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
821 SHLIB_COMPAT - the struct is always needed.
822
9ad04ff7
UD
8232000-03-31 Ulrich Drepper <drepper@redhat.com>
824
825 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
826 * elf/dl-support.c: Define _dl_starting_up.
827
924c3f59
UD
8282000-03-30 Ulrich Drepper <drepper@redhat.com>
829
9ad04ff7 830 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
831 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
832
9ad04ff7 833 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 834
d7926ed9
UD
835 * elf/Makefile (dl-routines): Remove preinit.
836 * elf/Versions: Remove _dl_preinit.
837 * elf/dl-preinit.c: Removed. Move content into...
838 * elf/dl-init.c: ...here.
758cb061 839 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 840
924c3f59 841 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 842 elements.
924c3f59 843
9e9e0532
UD
8442000-03-29 Geoff Clare <gwc@unisoft.com>
845
846 * stdlib/strfmon.c: Corrected problems with the code that
847 sets default values for [np]_sep_by_space and
848 [np]_sign_posn; also the new positive/negative alignment
849 code from the previous patch was not quite right for
850 [np]_sign_posn = 0.
851
852 * localedata/tst-fmon.data: Changes corresponding to the
853 two sets of fixes made to stdlib/strfmon.c.
854
b5567b2a
UD
8552000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
856
857 * malloc/malloc.c: Declare bit flags UL so that they will not
858 default to int size when being inverted.
859
8602000-03-29 Andreas Jaeger <aj@suse.de>
861
862 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
863 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
864
8652000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 866 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
867
868 * Makeconfig: Introduce new variable SHARED to mark code used in
869 the shared library.
870 * elf/dl-close.c: Use it instead of PIC.
871 * elf/dl-load.c: Likewise.
872 * elf/dl-open.c: Likewise.
873 * hurd/geteuids.c: Likewise.
874 * include/libc-symbols.h: Likewise.
875 * include/shlib-compat.h: Likewise.
876 * libio/freopen.c: Likewise.
877 * linuxthreads/cancel.c: Likewise.
878 * linuxthreads/pthread.c: Likewise.
879 * linuxthreads/wrapsyscall.c: Likewise.
880 * nss/nsswitch.c: Likewise.
881 * stdio-common/vfprintf.c: Likewise.
882 * sysdeps/arm/init-first.c: Likewise.
883 * sysdeps/i386/init-first.c: Likewise
884 * sysdeps/generic/init-first.c: Likewise.
885 * sysdeps/generic/libc-start.c: Likewise.
886 * sysdeps/mips/init-first.c: Likewise.
887 * sysdeps/powerpc/elf/libc-start.c: Likewise.
888 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
889 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
890 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
891 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
892
893 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
894
b86120ed
UD
8952000-03-29 Andreas Jaeger <aj@suse.de>
896
897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
898 Use D_PTR to access relocated entries in l_info.
899 (elf_machine_rela): Likewise.
900
901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
902 Likewise.
903 (elf_machine_rela): Likewise.
904
905 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
906 Likewise.
907 (__elf_machine_fixup_plt): Likewise.
908 (__process_machine_rela): Likewise.
909
910 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
911 (elf_machine_rela): Likewise.
912
913 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
914 (elf_machine_rel): Likewise.
915
916 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
917 (elf_machine_fixup_plt): Likewise.
918 (elf_machine_rela): Likewise.
919
9202000-03-29 Andreas Jaeger <aj@suse.de>
921
922 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
923 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
924 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
925 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
926 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
927 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
928 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
929 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
930 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
931 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
932 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
933 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
934 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
935 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
937
938 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
939 macros, remove K&R prototypes.
940
05c54d4c
UD
9412000-03-30 Ulrich Drepper <drepper@redhat.com>
942
943 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
944 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
945 (PR libc/1677).
946
7f4e0e58
UD
9472000-03-30 Andreas Jaeger <aj@suse.de>
948
949 * misc/sys/cdefs.h: Remove K&R support.
950
fdf64555
UD
9512000-03-30 Ulrich Drepper <drepper@redhat.com>
952
953 * iconv/skeleton.c: Avoid compiling unaligned versions in some
954 with size of dynamic sectionmore cases.
955 * iconv/loop.c: Likewise.
956
99a7e065
UD
9572000-03-29 Bruno Haible <haible@clisp.cons.org>
958
959 * iconv/loop.c (put16): Remove __const. Fix access index.
960 (put32): Remove __const. Use uint32_t instead of uint16_t.
961 * iconv/skeleton.c: Likewise.
962
9a95cd1c
RM
9632000-03-30 Roland McGrath <roland@baalperazim.frob.com>
964
965 * mach/Versions (libc: GLIBC_2.0)
966 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
967 __vm_allocate on this.
968 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
969 mutex- and spinlock-related symbols on this.
970 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
971 New version set. Lock-related symbols go here instead in this case.
972 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
973 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
974 cthread_getspecific, cthread_setspecific, __libc_getspecific.
975 * hurd/Versions
976 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
977 Put them here instead.
978 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
979 New version set. Those cthreads symbols go here instead in this case.
980 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
981
dacc8ffa
UD
9822000-03-30 Ulrich Drepper <drepper@redhat.com>
983
841288ec
UD
984 * elf/dl-init.c (_dl_init): We don't need to call constructors
985 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
986
dacc8ffa
UD
987 Implement dynamic determination of constructor/destructor order in
988 the dynamic linker.
989 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
990 (GLIBC_2.2): Add _dl_init.
991 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
992 r_duplist is not anymore allocated separately. l_initfini is and
993 therefore free it if necessary.
994 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
995 malloc block. Otherwise allocate l_initfini list only.
996 Put dependencies for the object in l_initfini list.
997 Sort dependencies for the object to be loaded topologically.
998 * elf/dl-fini.c: Before running the destructors sort the topologically.
999 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
1000 call constructors instead of iterating over the pointers. Get list of
1001 objects for which to run constructors from l_initfini element. Accept
1002 argc, argv, and env as parameters and pass them to the constructors.
1003 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
1004 with size of dynamic section.
1005 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
1006 _dl_init_next and calling constructors ourself.
1007 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
1008 Take argc, argv, and env as parameters and pass them to the
1009 constructors. Rewrite to call all constructors and not iterate over
1010 the pointers.
1011 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
1012 precompute l_initcount and l_preinitcount.
1013 * elf/link.h (struct link_map): Add l_ldnum member.
1014 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
1015 l_initcount, and l_preinitcount. Add l_initfini.
1016 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
1017 one for _dl_init.
1018 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
1019 function interface.
1020 * sysdeps/unix/sysv/linux/init-first.h: Removed.
1021 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
1022 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
1023 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
1024 conventions now match.
1025
1026 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
1027 effect for shared objects. Don't emit message and call only for
1028 static library.
1029
38e986ec
UD
10302000-03-29 Ulrich Drepper <drepper@redhat.com>
1031
1032 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
1033 CSA_Z243.4-1985-1..UCS2.
1034 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
1035 ISO-8859-10..UCS2.
1036
689993b2
AJ
10372000-03-29 Andreas Jaeger <aj@suse.de>
1038
dab715b9
AJ
1039 * include/unistd.h: Remove duplicate entry for __rmdir.
1040 Remove declaration of __mkdir since __mkdir is declared in
1041 sys/stat.h.
1042
56fbd811
AJ
1043 * manual/creature.texi (Feature Test Macros): Fix typo, reported
1044 by Michael Deutschmann <michael@talamasca.ocis.net>.
1045
689993b2
AJ
1046 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
1047 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1048 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1049 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1050 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
1051
300583a7
UD
10522000-03-28 Andreas Jaeger <aj@suse.de>
1053
1054 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
1055 declaration, the prototype is defined via bits/mathcalls.h.
1056 (__sincosf): Likewise.
1057 (__sincosl): Likewise.
1058 (ldexp): Likewise.
1059 (ldexpf): Likewise.
1060 (ldexpl): Likewise.
1061 (__finite): Likewise.
10685cd0 1062 (__inline_mathcodeNP): New macro without prototype
300583a7 1063 declarations.
10685cd0
AJ
1064 (__inline_mathcodeNP2): Likewise.
1065 (__inline_mathcodeNP3): Likewise.
1066 (__inline_mathcodeNP_): Likewise.
1067 (__inline_mathcodeNP2_): Likewise.
1068 (__inline_mathcodeNP3_): Likewise.
1069 (__inline_mathopNP): Likewise.
1070 (__inline_mathop_declNP): Likewise.
1071 (__inline_mathop_declNP_): Likewise.
300583a7
UD
1072 (__inline_mathcode_): Use __inline_mathcodeNP_.
1073 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
1074 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
1075 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
1076 (__expm1l): Don't define prototype, the prototype is defined via
1077 bits/mathcalls.h.
1078 (exp): Likewise.
1079 (__expl): Likewise.
1080 (tan): Likewise.
1081 (atan2): Likewise.
1082 (__atan2l): Likewise.
1083 (fmod): Likewise.
1084 (pow): Likewise.
10685cd0
AJ
1085 (fabsf): Likewise.
1086 (fabsl): Likewise.
1087 (__fabsl): Likewise.
300583a7
UD
1088 (asin): Likewise.
1089 (acos): Likewise.
1090 (sinh): Likewise.
1091 (cosh): Likewise.
1092 (tanh): Likewise.
1093 (floor): Likewise.
1094 (ceil): Likewise.
1095 (expm1): Likewise.
1096 (log1p): Likewise.
1097 (asinh): Likewise.
1098 (acosh): Likewise.
1099 (atanh): Likewise.
1100 (hypot): Likewise.
1101 (logb): Likewise.
1102 (fma): Likewise.
1103 (drem): Likewise.
1104 (sqrt): Likewise.
1105 (__sqrtl): Likewise.
1106 (sin): Likewise.
1107 (cos): Likewise.
1108 (atan): Likewise.
1109 (log): Likewise.
1110 (log10): Likewise.
1111 (asinh): Likewise.
1112 (log2): Likewise.
1113 (rint): Likewise.
1114
77e1d15a
UD
11152000-03-28 Ulrich Drepper <drepper@redhat.com>
1116
d2b9a50e
UD
1117 * Makerules: If make variable md5 is defined to yes after
1118 generating dependencies generate MD5 sum for the object.
1119
9dfa9a5a
UD
1120 * iconv/gconv_builtin.h: Fix length in transformation definition
1121 for UNICODEBIG.
1122
77e1d15a
UD
1123 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
1124
1125 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
1126 allow as well reading from/writing to unaligned addresses on machines
1127 which don't support this in hardware. Use FCTNAME macro to define
1128 function name. Include the file a second time for platforms which
1129 need special unaligned handling.
1130 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
1131 to access potentially unaligned addresses. These macros are intended
1132 to be used only outside the loops.
1133 (unaligned): New definition. In case the machine can handle unaligned
1134 access define as zero. Otherwise as a variable which is initialized
1135 as nonzero in case the buffer passed in at runtime is unaligned with
1136 respect to the character set encoding involved.
1137 Call aligned or unaligned looop functions according to unaligned
1138 variable.
1139 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
1140 of direct casting pointer to potentially handle unaligned memory
1141 accesses.
1142 * iconvdata/8bit-generic.c: Likewise.
1143 * iconvdata/ansi_x3.110.c: Likewise.
1144 * iconvdata/big5.c: Likewise.
1145 * iconvdata/euc-cn.c: Likewise.
1146 * iconvdata/euc-jp.c: Likewise.
1147 * iconvdata/euc-kr.c: Likewise.
1148 * iconvdata/euc-tw.c: Likewise.
1149 * iconvdata/gbk.c: Likewise.
1150 * iconvdata/iso-2022-cn.c: Likewise.
1151 * iconvdata/iso-2022-jp.c: Likewise.
1152 * iconvdata/iso-2022-kr.c: Likewise.
1153 * iconvdata/iso646.c: Likewise.
1154 * iconvdata/iso_6937-2.c: Likewise.
1155 * iconvdata/iso_6937.c: Likewise.
1156 * iconvdata/johab.c: Likewise.
1157 * iconvdata/sjis.c: Likewise.
1158 * iconvdata/t.61.c: Likewise.
1159 * iconvdata/uhc.c: Likewise.
1160 * iconvdata/unicode.c: Likewise.
1161 * iconvdata/utf-16.c: Likewise.
1162
1163 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
1164 prototypes.
1165
1166 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
1167 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
1168 public.
1169 * malloc/mcheck.h (mcheck_check_all): Declare.
1170
1171 * stdio-common/Makefile (tests): Add tst-obprintf.
1172
26c400e6
RM
11732000-03-28 Roland McGrath <roland@baalperazim.frob.com>
1174
1175 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
1176 Declare pthread_sigmask.
1177
1178 * csu/version.c: Add 2000 to copyright years.
1179 Remove Emacs local variables section.
1180
428bcea4
UD
11812000-03-23 Bruno Haible <haible@clisp.cons.org>
1182
1183 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
1184 __gconv_transform_internal_ucs2little): Remove declarations.
1185 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
1186 __gconv_transform_internal_ucs2): Never need to bswap_16.
1187 (__gconv_transform_ucs2reverse_internal,
1188 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
1189
58dc1d49
RM
11902000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1191
65b4f10b
RM
1192 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
1193 obsoleting version not being defined at all, in which case the
1194 result is always true.
1195
58dc1d49
RM
1196 * Makeconfig (preprocess-versions): New canned sequence for running
1197 cpp on shlib-versions and the like.
1198 (soversions.i): Use it.
1199 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
1200 Versions.def and Versions files.
1201
670066c3
UD
12022000-03-27 Ulrich Drepper <drepper@redhat.com>
1203
22d5fbfe
UD
1204 * stdio-common/tst-obprintf.c (main): Add another check to see
1205 obstack_printf handling all possible beginnings of the block
1206 inside an obstack chunk.
1207
670066c3
UD
1208 * locale/programs/localedef.c: Use __malloc_initialize_hook to
1209 install mcheck handler.
1210
1211 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
1212 handling problem.
22d5fbfe 1213
3e5155f8
RM
12142000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1215
9010d7f8
RM
1216 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
1217
3e5155f8
RM
1218 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
1219 on [HAVE_ELF && DO_VERSIONING].
1220
0c04b91e
UD
12212000-03-27 Ulrich Drepper <drepper@redhat.com>
1222
1223 * stdio-common/tst-obprintf.c: New file.
1224
8e605e78
UD
12252000-03-26 Ulrich Drepper <drepper@redhat.com>
1226
9202ffe3
UD
1227 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
1228 _IO_OVERFLOW directly instead through __overflow.
1229
30e0f9c3
UD
1230 * locale/programs/localedef.c (construct_output_path): If path
1231 contains a / compute the end of the directory name correctly.
1232
8e605e78
UD
1233 * include/features.h: Undef and document __USE_XOPEN2K.
1234
1235 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
1236 whenever a function is called. Initiated by calling mcheck_pedantic
1237 instead of mcheck.
1238 * malloc/mcheck.h: Declare mcheck_pedantic.
1239 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
1240 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
1241 for now.
1242
4c63ebaa
UD
12432000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1244
16710d58
RM
1245 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
1246 * dlfcn/dlopenold.c: Likewise.
1247 * nss/getXXbyYY_r.c: Likewise.
1248 * nss/getXXent_r.c: Likewise.
1249 * hurd/hurdinit.c: Likewise.
1250 * hurd/compat-20.c: Likewise.
1251 * libio/oldiofopen.c: Likewise.
1252 * libio/oldiofclose.c: Likewise.
1253 * libio/oldiofdopen.c: Likewise.
1254 * libio/oldfileops.c: Likewise.
1255 * libio/oldstdfiles.c: Likewise.
1256 * libio/oldiofsetpos.c: Likewise.
1257 * libio/oldiofgetpos.c: Likewise.
1258 * libio/oldiofgetpos64.c: Likewise.
1259 * libio/oldiofsetpos64.c: Likewise.
1260 * libio/oldiopopen.c: Likewise.
1261 * libio/oldpclose.c: Likewise.
1262 * libio/oldtmpfile.c: Likewise.
1263 * libio/freopen.c (freopen): Likewise.
1264 * libio/iofclose.c (_IO_new_fclose): Likewise.
1265
54f6cbb3
RM
1266 * sysdeps/mach/sys/reboot.h: Include <features.h>.
1267 (reboot): Declare it.
1268
1c479f72
RM
1269 * libio/Makefile (headers): Add bits/stdio-lock.h here.
1270
1271 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
1272
a7ca88b8
RM
1273 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
1274
4c63ebaa
UD
1275 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
1276 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
1277 We need this for the sbrk decl, which can be included without Unix98.
1278
c7e41631
UD
12792000-03-20 Richard Henderson <rth@cygnus.com>
1280
1281 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
1282 argument to yperr2nss is an int, not size_t.
1283 * posix/regex.c (print_partial_compiled_pattern): Cast all
1284 ptrdiff_t to long for printing.
1285 (print_compiled_pattern): Use Z for printing size_t.
1286 * posix/testfnm.c (tests): Avoid trigraphs.
1287 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1288 Use a C comment, not an assembly comment.
1289
1290 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
1291 of __ASSUME_32BITUIDS.
1292
6d2e234a
UD
12932000-03-26 Ulrich Drepper <drepper@redhat.com>
1294
1295 * libio/iofopncook.c: Remove K&R prototypes.
1296
2e6f096f
RM
12972000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1298
1299 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
1300 an initial value of 1024 instead of RLIM_INFINITY.
1301
1302 * Versions.def (libmachuser, libhurduser): Remove these sections,
1303 since these libraries do not presently use symbol versions.
1304
1305 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
1306 is RLIM_INFINITY, return -1 instead.
1307
4fcddf8e
UD
13082000-03-24 Andreas Jaeger <aj@suse.de>
1309
1310 * Makefile (postclean): Added soversions.i.
1311
13122000-03-24 Scott Bambrough <scottb@netwinder.org>
1313
1314 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
1315 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
1316 and _FPU_IEEE. Change _FPU_RESERVED.
1317
13182000-03-24 Scott Bambrough <scottb@netwinder.org>
1319
1320 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
1321
13222000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1323
1324 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
1325 (gaih_inet): Remove unused duplicate variable.
1326
1327 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
1328 Don't use __libc_sa_len, which only exists for Linux. Just handle
1329 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
1330 only flavors supported by this function anyway.
1331
13322000-03-24 Geoff Clare <gwc@unisoft.com>
1333
1334 * stdlib/strfmon.c: corrected problems with missing signs and
1335 missing or extra spaces; allow for sign strings longer than
1336 one character; add padding to ensure positive and negative
1337 formats are aligned when a left precision is used.
1338
13392000-03-26 Ulrich Drepper <drepper@redhat.com>
1340
1341 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
1342 Patch by John Mizel <John.Mizel@msdw.com>.
1343
0efadcd9
UD
13442000-03-25 Ulrich Drepper <drepper@redhat.com>
1345
1346 * manual/install.texi: Remove references to crypt add-on.
1347
9e3438be
RM
13482000-03-25 Roland McGrath <roland@baalperazim.frob.com>
1349
1350 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
1351 section while taking the _hurd_rlimit_lock.
1352 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1353
4f173e2c
RM
13542000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1355
6a08db09
RM
1356 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
1357 using $(LN_S).
1358
4f173e2c
RM
1359 * sysdeps/mach/hurd/if_index.c: New file.
1360
1361 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
1362 * sysdeps/gnu/net/if.h: here.
1363 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
1364 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
1365 * sysdeps/generic/net/if.h: New file. Declares just the standard
1366 functions and `struct if_nameindex' type.
1367 * socket/Makefile (headers): Add net/if.h here.
1368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
1369 * sysdeps/mach/hurd/Dist: Remove it here.
1370 * sysdeps/unix/sysv/linux/Dist: And here.
1371 * sysdeps/generic/if_index.c: Include <net/if.h>.
1372
e63721a4
AJ
13732000-03-24 Andreas Jaeger <aj@suse.de>
1374
1375 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
1376 access relocated entries in l_info.
1377 (elf_machine_got_rel): Likewise.
1378 (elf_machine_runtime_setup): Likewise.
1379 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
1380 (elf_machine_runtime_setup): Likewise.
1381 (__dl_runtime_resolve): Likewise.
1382
383052e9
UD
13832000-03-23 Ulrich Drepper <drepper@redhat.com>
1384
1385 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
1386 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
1387 according to RFC 2553.
1388 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
1389 * inet/getnameinfo.c: Likewise.
1390 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1391
c0bc5f7b
UD
13922000-03-23 Bruno Haible <haible@clisp.cons.org>
1393
1394 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
1395 Remove no-op pointer increment.
1396
7392ce9b
UD
13972000-03-23 Andreas Jaeger <aj@suse.de>
1398
1399 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
1400 follow change for libio.h from 2000-03-10.
1401
a42195db
UD
14022000-03-23 Andreas Jaeger <aj@suse.de>
1403
1404 * elf/dl-addr.c: Adjust include paths for ldsodefs location
1405 change.
1406 * elf/dl-debug.c: Likewise.
1407 * elf/dl-deps.c: Likewise.
1408 * elf/dl-error.c: Likewise.
1409 * elf/dl-fini.c: Likewise.
1410 * elf/dl-init.c: Likewise.
1411 * elf/dl-load.c: Likewise.
1412 * elf/dl-lookup.c: Likewise.
1413 * elf/dl-minimal.c: Likewise.
1414 * elf/dl-object.c: Likewise.
1415 * elf/dl-open.c: Likewise.
1416 * elf/dl-preinit.c: Likewise.
1417 * elf/dl-profile.c: Likewise.
1418 * elf/dl-profstub.c: Likewise.
1419 * elf/dl-reloc.c: Likewise.
1420 * elf/dl-runtime.c: Likewise.
1421 * elf/dl-support.c: Likewise.
1422 * elf/dl-symbol.c: Likewise.
1423 * elf/dl-version.c: Likewise.
1424 * elf/rtld.c: Likewise.
1425 * elf/sprof.c: Likewise.
1426 * sysdeps/generic/dl-cache.c: Likewise.
1427 * sysdeps/generic/dl-origin.c: Likewise.
1428 * sysdeps/generic/dl-sysdep.c: Likewise.
1429 * sysdeps/generic/elf/backtracesyms.c: Likewise.
1430 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1431 * sysdeps/generic/libc-start.c: Likewise.
1432 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1433 * sysdeps/powerpc/dl-machine.c: Likewise.
1434 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1435 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1436 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1437 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1438
1439 * elf/ldsodefs.h: Move file to ...
1440 * sysdeps/generic/ldsodefs.h: ... here.
1441
1442 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 1443
a42195db
UD
1444 * sysdeps/mips/elf/ldsodefs.h: New file.
1445
1446 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
1447 entries in l_info.
1448 (_dl_check_map_versions): Likewise.
1449 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1450 * elf/dl-load.c (_dl_init_paths): Likewise.
1451 (_dl_map_object): Likewise.
1452 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
1453 (elf_get_dynamic_info): Likewise.
1454 * elf/do-lookup.h (FCT): Likewise.
1455 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1456 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1457 * elf/dl-addr.c (_dl_addr): Likewise.
1458 * elf/dl-runtime.c (profile_fixup): Likewise.
1459 (fixup): Likewise.
1460 * elf/dl-init.c (_dl_init_next): Likewise.
1461 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
1462 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1463 (DISTINGUISH_LIB_VERSIONS): Likewise.
1464 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
1465 (elf_machine_rel): Likewise.
1466
1467 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
1468 for writable dynamic section.
1469
922809a2
UD
14702000-03-22 Ulrich Drepper <drepper@redhat.com>
1471
1472 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
1473 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1474
14752000-03-22 Andreas Jaeger <aj@suse.de>
1476
1477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
1478 from latest Linux kernel.
1479
0ddd06d1
AJ
14802000-03-21 Andreas Jaeger <aj@suse.de>
1481
1482 * Versions.def: Add version 2.1.4.
1483
1ab1ea76
UD
14842000-03-21 Ulrich Drepper <drepper@redhat.com>
1485
1486 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
1487 * libio/oldiofopen.c: Likewise.
1488 * libio/oldiofclose.c: Likewise.
ef7dddd0 1489 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 1490
42f76b6b
RM
14912000-03-22 Roland McGrath <roland@baalperazim.frob.com>
1492
1493 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
1494 indicating the first version set to obsolete the conditionalized code.
2ae13e20 1495 (compat_symbol): New macro.
42f76b6b
RM
1496 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
1497 rhs be the ABI_* macro for the subsuming version. Assign increasing
1498 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
1499 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
1500 compat_symbol macro.
42f76b6b 1501
cb162e13
UD
15022000-03-21 Ulrich Drepper <drepper@redhat.com>
1503
101edd3f
UD
1504 * nscd/connections.c (nscd_run): Pretty print.
1505 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
1506
bafb8ee9
UD
1507 * manual/charset.texi: Fix typos. Rephrase.
1508 * manual/process.texi: Likewise.
1509 * manual/signal.texi: Likewise.
1510 Patches by Mike Coleman <mkc@kc.net>.
1511
fd091d3f
UD
1512 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
1513 versions.
1514 * libio/iofdopen.c: Likewise.
1515 * libio/iofgetpos.c: Likewise.
1516 * libio/iofgetpos64.c: Likewise.
1517 * libio/iofopen.c: Likewise.
1518 * libio/iofsetpos.c: Likewise.
1519 * libio/iofsetpos64.c: Likewise.
1520 * libio/iopopen.c: Likewise.
1521 * libio/oldiofopen.c: Likewise.
1522 * libio/pclose.c: Likewise.
1523 * sysdeps/gnu/siglist.c: Likewise.
1524 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1525
cb162e13
UD
1526 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
1527 chance to expand VERSION_##lib##_##version.
1528
0bf98029
UD
1529 * libio/fileops.c: Use new macros from shlib-compat.h to define
1530 versions.
1531 * libio/iofclose.c: Likewise.
1532 * libio/oldiofclose.c: Likewise.
75836bc8 1533 Patch by Roland McGrath <roland@frob.com>.
0bf98029 1534
54021487
UD
15352000-03-21 Jakub Jelinek <jakub@redhat.com>
1536
1537 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
1538 Lay out struct sigcontext according to what really gets passed on
1539 the stack.
1540 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
1541 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
1542 (prgregset_t, prfpregset_t): Define to elf_* types.
1543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
1544 Define to correct value.
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
1546 sigcontext.
1547 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1548
39c57122
RM
15492000-03-21 Roland McGrath <roland@baalperazim.frob.com>
1550
1551 * scripts/firstversions.awk: Allow multiple version sets in the
1552 "earliest version" specification, meaning that version sets in the
1553 gaps between listed versions should be folded into the earliest later
1554 version that is explicitly listed.
1555 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
1556 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
1557
bc4831b9
UD
15582000-03-21 Ulrich Drepper <drepper@redhat.com>
1559
8d617a71
UD
1560 * iconv/gconv_builtin.c: Include <endian.h>.
1561 * iconv/gconv_builtin.h: Add UCS-BE aliases.
1562 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
1563 according to current platform.
1564 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
1565 __gconv_transform_internal_ucs2reverse, and
1566 __gconv_transform_internal_ucs4le.
1567 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
1568 __gconv_transform_ucs2reverse_internal and
1569 __gconv_transform_internal_ucs2reverse.
1570 * iconvdata/Makefile (modules): Add UNICODE.
1571 (distribute): Add unicode.c.
1572 * iconvdata/gconv-modules: Add definitions for UNICODE module.
1573 * iconvdata/unicode.c: New file.
1574
1575 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
1576 determine byte order of input and convert accordingly.
1577
bc4831b9
UD
1578 * iconvdata/utf-16.c (gconv_init): Fix typo.
1579
7e836977
UD
15802000-03-20 Ulrich Drepper <drepper@redhat.com>
1581
6abcde8e
UD
1582 * iconvdata/gconv-modules: Fix typo.
1583
b0c766dd 1584 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
1585 more messages.
1586
7e836977
UD
1587 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
1588
db840914
UD
15892000-03-16 Thorsten Kukuk <kukuk@suse.de>
1590
1591 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
1592
4159e387
UD
15932000-03-20 Ulrich Drepper <drepper@redhat.com>
1594
1595 * misc/Makefile (routines): Add mincore.
1596
15972000-03-20 Andreas Jaeger <aj@suse.de>
1598
1599 * sysdeps/generic/mincore.c: New stub file.
1600
1601 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
1602 from latest Linux kernel.
1603
db766e12
UD
16042000-03-20 Ulrich Drepper <drepper@redhat.com>
1605
1606 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
1607 _SC_GETPW_R_SIZE_MAX.
1608
cf9e0cbc
RH
16092000-03-20 Richard Henderson <rth@cygnus.com>
1610
db766e12 1611 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
1612 in GLIBC_2.1.4.
1613
c069bb98
RH
16142000-03-20 Richard Henderson <rth@cygnus.com>
1615
b7434f82
RH
1616 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
1617 of arithmetic instructions.
1618
1619 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
1620 with the fpcr. Protect from INV exception.
1621 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1622 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
1623 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1624
1625 * sysdeps/alpha/fpu/s_copysign.c: New.
1626 * sysdeps/alpha/fpu/s_copysignf.c: New.
1627 * sysdeps/alpha/fpu/s_fabs.c: New.
1628 * sysdeps/alpha/fpu/s_fabsf.c: New.
1629 * sysdeps/alpha/fpu/s_rint.c: New.
1630 * sysdeps/alpha/fpu/s_rintf.c: New.
1631
45159f00
RH
1632 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
1633
c069bb98
RH
1634 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1635 Kill sethae.
1636 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
1637 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
1638 Use physical addresses not KSEG addresses.
1639 (io_system): Add PYXIS.
1640 (io): Remove hae.reg, sys, hae_shift.
1641 (stb_mb, stw_mb, stl_mb, __sethae): New.
1642 (inline_outb, inline_outw, inline_outl): Don't set hae.
1643 (inline_inb, inline_inw, inline_inl): Likewise.
1644 (dense_sethae): New null function.
1645 (struct cpuinfo_data): New.
1646 (process_cpuinfo): Use local and stack variables, not static.
1647 Move readlink check here from init_iosys.
1648 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
1649 (_iopl): Simplify.
1650 (_hae_shift): Calculate it here.
1651 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
1652 add pciconfig_iobase.
1653
d3564d01
RM
16542000-03-20 Roland McGrath <roland@baalperazim.frob.com>
1655
5d431a3e
RM
1656 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
1657 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
1658
d3564d01
RM
1659 * scripts/versions.awk: Fixed version renaming code to distinguish
1660 libraries properly.
1661
41a173e1
UD
16622000-03-19 Ulrich Drepper <drepper@redhat.com>
1663
a6a478e9
UD
1664 * include/stdlib.h: Add prototype for __cxa_atexit.
1665
41a173e1
UD
1666 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
1667 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
1668
16692000-03-17 Cristian Gafton <gafton@redhat.com>
1670
1671 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
1672 existing rtld-installed-name.
1673 ($(rtld-installed-name)): Request libc-$(version) be installed too.
1674 replace existing rtld-installed-name using $(symbolic-link-prog).
1675
16762000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1677
1678 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
1679 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
1680 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
1681 but not the former.
1682
16832000-03-19 Ulrich Drepper <drepper@redhat.com>
1684
1685 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
1686 glob64. Since there is no glob64 in the LFS proposal applications
1687 can assume that glob handles LFS situations. glob64 is only needed
1688 if alternative filesystem functions are used.
1689
16902000-03-19 Geoff Clare <gwc@unisoft.com>
1691
1692 * sysdeps/generic/glob.c: Correct gl_pathc value returned
1693 when GLOB_DOOFFS is set; correct handling of patterns
1694 containing escaped wildcards (and no unescaped ones);
1695 GLOB_ERR flag was being ignored in some situations.
1696
1697 * posix/globtest.c, posix/globtest.sh: Updated to include
1698 tests for the problems fixed by the above changes to glob.c.
1699
1700 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
1701
361742ed
RM
17022000-03-19 Roland McGrath <roland@baalperazim.frob.com>
1703
af260314
RM
1704 * Makeconfig (soversion.i): Use only first match for each lib.
1705
0ecdeb26
RM
1706 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
1707
c95527a1
RM
1708 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
1709 rather than $(sysd-dirs-done) to protect these rules.
1710
3c132532
RM
1711 * Makerules (version-renames.def): Target removed.
1712 (Versions.all): Depend on soversions.i directly and parse it.
1713
ba7e89ec
RM
1714 * Makeconfig (soversions.i): New target, input-reading parts of
1715 soversions.mk generation moved here; result is a canonicalized
1716 list "LIB VERSION [SET]" for this configuration.
1717 (soversions.mk): Use that as input. Don't emit map-firstversions.
1718 * Makerules (version-renames.def): New target, generated from
1719 soversions.i with contents that was in $(map-firstversions).
1720 (Versions.all): Don't depend on soversions.mk, depend on
1721 version-renames.def instead; just cat it into the input.
1722
6b3c3a35
RM
1723 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
1724 for $(map-firstversions), which better handles it being empty.
1725
361742ed
RM
1726 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
1727 supported version for libc 0.2.90.libio to GLIBC_2.2.
1728
1729 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
1730 and use it to emit new variable `map-firstversions'.
1731 * scripts/firstversions.awk: New file.
1732 * Makerules (Versions.all): Use scripts/firstversions.awk and
1733 the $(map-firstversions) value to generate a modified versions list
1734 that includes renames in "A = B" syntax for each version set earlier
1735 than the "earliest symbol version" named in shlib-versions.
1736 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
1737 rename version set A to B in the output to the intermediate file.
1738 * scripts/abi-versions.awk: New file.
1739 * Makerules (abi-versions.h): New target, generated by that script.
1740 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
1741 * include/shlib-compat.h: New file, uses that generated header.
1742
a5733c28
RM
17432000-03-18 Roland McGrath <roland@baalperazim.frob.com>
1744
88268852
RM
1745 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
1746 after stripping # comments, and then run it through cpp.
1747 This allows things like "%ifdef FOO" based on config.h settings.
1748 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
1749
a5733c28
RM
1750 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
1751 and other errors that indicate a pseudo-receive happened, grok through
1752 the message buffer for port rights that need references fixed up.
1753
f5ef7558
UD
17542000-03-16 Andreas Jaeger <aj@suse.de>
1755
1756 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
1757
1758 * sysdeps/unix/sysv/linux/madvise.c: Remove.
1759
1760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
1761 from latest Linux kernel.
1762 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
1763
4ede8b06
UD
1764 * misc/sys/mman.h: Add prototype for mincore.
1765
b9b178ac
UD
17662000-03-17 Ulrich Drepper <drepper@redhat.com>
1767
1768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
1769 entry for GLIBC_2.0 version of setrlimit.
1770 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1771
3b965a7d
UD
17722000-03-16 Thorsten Kukuk <kukuk@suse.de>
1773
1774 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
1775 * nis/nss_compat/compat-initgroups.c: Likewise.
1776 * nis/nss_nis/nis-initgroups.c: Likewise.
1777 * nis/nss_nis/nis-netgrp.c: Likewise.
1778 * nis/nss_nis/nis-proto.c: Likewise.
1779 * nis/nss_nis/nis-rpc.c: Likewise.
1780 * nis/nss_nis/nis-service.c: Likewise.
1781 * nis/ypclnt.c: Likewise.
a5733c28 1782
96888079
UD
17832000-03-16 Andreas Jaeger <aj@suse.de>
1784
1785 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 1786 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 1787
5c7b0fb2
UD
17882000-03-16 Thorsten Kukuk <kukuk@suse.de>
1789
1790 * nscd/hstcache.c: Restore correct UID.
1791 * nscd/pwdcache.c: Likewise.
1792 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
1793
da28fa2a
RM
17942000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1795
4ae18693
RM
1796 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
1797 macros for register names, in line with 2000-03-14 linux change.
1798
da28fa2a
RM
1799 * sysdeps/mach/sched_yield.c: New file.
1800
18012000-03-13 Roland McGrath <roland@baalperazim.frob.com>
1802
1803 * sysdeps/generic/lockfile.c: Include <stdio.h>
1804 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
1805 case <libio.h> defined them.
1806 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
1807 from __internal_*.
1808 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
1809 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
1810
1811 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
1812 for more pleasing parse error.
1813
19cf43be
UD
18142000-03-16 Ulrich Drepper <drepper@redhat.com>
1815
0db0e149
UD
1816 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
1817 memory for eras.
1818 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1819
da28fa2a 1820 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
1821 * elf/constload1.c: New file.
1822 * elf/constload2.c: New file.
1823 * elf/constload3.c: New file.
1824
a96206f4
UD
18252000-03-15 Ulrich Drepper <drepper@redhat.com>
1826
1827 * sysdeps/posix/open64.c: Make __open64 weak alias.
1828 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
1829 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1830 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1831 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1832 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1833 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
1834 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1835 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1836 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1838
04366d5f
UD
18392000-03-14 Ulrich Drepper <drepper@redhat.com>
1840
1841 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
1842 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
1843
f0d872e9
UD
18442000-03-16 Mark Kettenis <kettenis@gnu.org>
1845
1846 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
1847 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
1848
5d141597
UD
18492000-03-08 Andreas Jaeger <aj@suse.de>
1850
1851 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
1852
9658516a
UD
18532000-03-14 Ulrich Drepper <drepper@redhat.com>
1854
5d141597
UD
1855 * timezone/africa: Update from tzdata2000d.
1856 * timezone/asia: Likewise.
1857 * timezone/australasia: Likewise.
1858 * timezone/europe: Likewise.
1859 * timezone/northamerica: Likewise.
1860 * timezone/southamerica: Likewise.
1861
1862 * po/fr.po: Update from translation team.
1863 * po/de.po: Likewise.
1864
d9cb1a7d
UD
1865 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
1866 last parameter. Move code to add map to global scope from here...
1867 * elf/dl-open.c (dl_open_worker): ...here.
1868 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
1869 * elf/rtld.c: Adjust call to _dl_map_object_deps.
1870
36388ac4
UD
1871 * locale/programs/ld-collate.c (collate_read): Fix warning.
1872
6213a055
UD
1873 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
1874 values and macros for register names.
1875
9658516a
UD
1876 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
1877 returned by seek cookie function is -1.
1878
f1a53402
UD
18792000-03-14 Andreas Jaeger <aj@suse.de>
1880
1881 * locale/localeconv.c (localeconv): Fix typo.
1882 Reported by Andre Charbonneau <andrec@corel.com>.
1883
0aece08d
UD
18842000-03-14 Ulrich Drepper <drepper@redhat.com>
1885
1886 * iconv/skeleton.c: Increment __invocation_counter in inner loop
1887 since modules depend on it counting the number of times the conversion
1888 function got called.
1889
1890 * iconv/gconv_open.c: Optimize loop to setup step data structure.
1891
1892 * iconv/gconv.h: Pretty print.
1893
18942000-03-04 Ulrich Drepper <drepper@redhat.com>
1895
1896 * posix/wordexp-test.c: Correct one of the tests added in the last
1897 change. Really get the root passwd entry to check again ~root.
1898
d1d62b53
AJ
18992000-03-10 Andreas Jaeger <aj@suse.de>
1900
1901 * manual/filesys.texi (Working Directory): Fix last patch.
1902 Patch by Martin Buchholz <martin@xemacs.org>.
1903
0aa9fad6
AJ
19042000-03-10 Andreas Jaeger <aj@suse.de>
1905
1906 * manual/creature.texi (Feature Test Macros): Fix language.
1907
b4e54243
RM
19082000-03-10 Roland McGrath <roland@baalperazim.frob.com>
1909
1910 * mach/devstream.c (devstream_write, devstream_read): New functions.
1911 (input, output): Functions removed.
1912 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
1913 using only the vanilla fopencookie interface.
1914
1915 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
1916 as macro for __io_functions.
1917 (funcsio): Use cookie_io_functions_t type name.
1918 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
1919
1920 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
1921 fopencookie.
1922 (fopencookie): Use it.
1923 * libio/libio.h: Declare _IO_cookie_init.
1924 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
1925 _IO_cookie_init.
1926
1927 * libio/libio.h (__io_seek_fn): Fix second argument type
1928 to be a pointer, in line with the manual and the old stdio.
1929 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
1930
1931 * sysdeps/generic/bits/stdio-lock.h: New file.
1932 This is a stub with #error, but that's better than no file at all.
1933
d10c8b66
AJ
19342000-03-09 Martin Buchholz <martin@xemacs.org>
1935
b4e54243
RM
1936 * sysdeps/unix/sysv/linux/alpha/syscall.S:
1937 * manual/message.texi (Using gettextized software):
d10c8b66 1938 * manual/message.texi (Message Translation): Doc Fixes.
b4e54243
RM
1939 * manual/filesys.texi (File Size):
1940 * manual/charset.texi (glibc iconv Implementation):
1941 * locale/programs/ld-collate.c (collate_output):
d10c8b66
AJ
1942 * iconv/gconv_db.c (find_derivation):
1943 * manual/install.texi:
1944 * manual/search.texi (Hash Search Function):
b4e54243 1945 * manual/stdio.texi (Output Conversion Syntax):
d10c8b66
AJ
1946 * FAQ.in:
1947 * config.h.in:
1948 * sysdeps/generic/dl-sysdep.c:
1949 Doc Fixes. `allows to' is not correct English.
1950
1951 * elf/rtld.c: Doc fixes.
1952 * manual/creature.texi (Feature Test Macros): Doc fixes.
1953 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
1954
1955 * manual/filesys.texi (Working Directory): Check for ERANGE to
1956 avoid infloop.
1957
f25da8d0
RM
19582000-02-23 Roland McGrath <roland@baalperazim.frob.com>
1959
1960 * string/argz-stringify.c (__argz_stringify): Fix loop termination
1961 conditions so as not to clobber the final '\0' when there is only one
1962 element in the vector.
1963
07760b35
RM
19642000-03-09 Roland McGrath <roland@baalperazim.frob.com>
1965
1966 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
1967 broken by 2000-02-27 change.
1968
1969 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
1970
224a12bc
RM
19712000-02-23 Roland McGrath <roland@baalperazim.frob.com>
1972
1973 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
1974 argument type, for 2000-02-22 change in signal/signal.h declaration.
1975
9ab47461
RM
19762000-03-09 Roland McGrath <roland@baalperazim.frob.com>
1977
224a12bc
RM
1978 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
1979 to getdirentries64 (no __), since the Linux implementation
1980 has no __ name, and there is no declaration for the __ name.
1981
1982 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
1983
1984 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
1985 sed regexp so as not to break directory names including /../ within.
1986
1987 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
1988 The sysdeps/generic file is right for BSD. This file was in fact the
1989 Hurd file, but the only difference was the WNOREAP flag that was never
1990 actually implemented or used anywhere.
1991
9ab47461
RM
1992 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
1993 since AC_PATH_PROG already does it for us.
1994 (PERL): Rewrite check added in 2000-02-29 change for syntactic
1995 correctness and sh portability. I replaced the broken check
1996 with a more sensible implementation of the apparently intended
1997 semantics, which might still be questionable. Using expr causes
1998 a non-numeric value for `perl -V:apiversion` to be accepted,
1999 refusing to use only a perl that reports a number less than 5;
2000 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
2001 * configure: Regenerated.
2002
93773779
AJ
20032000-03-08 Andreas Jaeger <aj@suse.de>
2004
2005 * manual/crypt.texi: Fix paths.
2006
d92c02e8
AJ
20072000-03-07 Andreas Jaeger <aj@suse.de>
2008
2009 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
2010 were swapped.
2011 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
2012 libc/1636.
2013
8f95ad1c
AJ
20142000-03-06 Andreas Jaeger <aj@suse.de>
2015
5d141597
UD
2016 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
2017 in __sgn1l, otherwise g++ fails to parse this.
2018 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 2019
8ed1e7d5
GK
20202000-03-03 Geoff Keating <geoffk@cygnus.com>
2021
2022 * configure.in: Compute sizeof-long-double.
2023 * configure: Regenerated.
2024 * config.make.in: Make sizeof-long-double available to sub-makes.
2025
706546ff
UD
20262000-03-03 Ulrich Drepper <drepper@cygnus.com>
2027
2028 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2029 call.
2030
b11f5954
GK
20312000-03-03 Geoff Keating <geoffk@cygnus.com>
2032
2033 * Makeconfig (rpath-dirs): Add crypt.
2034 (all-subdirs): Remove md5crypt.
2035 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
2036 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
2037 * sysdeps/generic/crypt-entry.c: Delete.
2038 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
2039 * sysdeps/generic/crypt.h: Delete.
2040 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
2041 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
2042 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
2043 * sysdeps/generic/des_impl.c: Delete.
2044 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
2045 * crypt/sysdeps: Delete.
2046 * crypt/crypt_util.c: Don't use `patchlevel.h'.
2047 * md5-crypt/Versions: Move to crypt/.
2048 * md5-crypt/md5-crypt.c: Move to crypt/.
2049 * md5-crypt/md5.c: Move to crypt/.
2050 * md5-crypt/md5c-test.c: Move to crypt/.
2051 * md5-crypt/md5test.c: Move to crypt/.
2052 * md5-crypt: Delete.
2053 * crypt/Makefile: Adjust for new structure.
2054
e3d53b06
UD
20552000-03-03 Paul Eggert <eggert@twinsun.com>
2056
2057 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
2058 define to 1 if not defined.
2059
c88c8399
UD
20602000-03-03 Andreas Jaeger <aj@suse.de>
2061
2062 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
2063
20642000-03-03 Andreas Jaeger <aj@suse.de>
2065
2066 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
2067 cases.
2068 (xdr_int64_t): Correctly handle lower half.
2069 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2070
bdd5fccd
UD
20712000-03-03 Ulrich Drepper <drepper@cygnus.com>
2072
2073 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2074 call.
2075
2f1afc88
UD
20762000-03-02 Andreas Jaeger <aj@suse.de>
2077
2078 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
2079 2.3.43.
2080
6500dff6
UD
20812000-03-02 Andreas Jaeger <aj@suse.de>
2082
2083 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
2084
fc304e02
UD
20852000-03-01 Andreas Jaeger <aj@suse.de>
2086
2087 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
2088 (tests): Added tst-getdate.
2089
2090 * time/tst-getdate.c: New file.
2091
2092 * time/datemsk: New file, needed for tst-getdate.
2093
ecb06196
UD
20942000-02-29 Cristian Gafton <gafton@redhat.com>
2095
2096 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
2097
3fd759d1
UD
20982000-02-17 H.J. Lu <hjl@gnu.org>
2099
2100 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
2101
2102 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
2103 available.
2104 (svcudp_recv): Set up message with the new "xp_pad" field for
2105 IP_PKTINFO.
2106 (svcudp_reply): Support IP_PKTINFO if available.
2107
06b54322
AJ
21082000-03-01 Andreas Jaeger <aj@suse.de>
2109
2110 * time/getdate.c (check_mday): Fix check for february.
2111 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
2112 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
2113
901a5bd7
AJ
21142000-03-02 Andreas Jaeger <aj@suse.de>
2115
2116 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
2117 g++ fails to parse this.
2118 Reported by Sean Chen <sean.chen@turbolinux.com>.
2119
07e0f7ad
UD
21202000-02-28 Ulrich Drepper <drepper@redhat.com>
2121
6df9984c
UD
2122 * io/creat.c: Moved to...
2123 * sysdeps/generic/creat.c: ...here.
2124 * io/creat64.c: Moved to...
2125 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
2126 * io/lockf.c: Moved to...
2127 * sysdeps/generic/lockf.c: ...here.
6df9984c 2128
6d7496e8 2129 * crypt/crypt.texi: Moved to...
07e0f7ad 2130 * manual/crypt.texi: ...here.
6d7496e8
UD
2131 * crypt/examples/genpass.c: Moved to...
2132 * manual/examples/genpass.c: ...here.
2133 * crypt/examples/mygenpass.c: Moved to...
2134 * manual/examples/mygenpass.c: ...here.
2135 * crypt/examples/testpass.c: Moved to...
2136 * manual/examples/testpass.c: ...here.
2137
2138 * manual/Makefile (chapters): Add crypt.
2139 * manual/conf.texi: Add usual header for not-last chapter.
2140 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 2141
63f791d3
GK
21422000-02-28 Geoff Keating <geoffk@cygnus.com>
2143
2144 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
2145 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
2146 complain if there is no crypt add-on.
2147 * crypt/configure: Removed.
6d7496e8 2148
63f791d3
GK
2149 * crypt/crypt.texi: Update documentation of US export restrictions
2150 to match the 14 Jan 2000 regulations.
2151
21522000-02-28 Geoff Keating <geoffk@cygnus.com>
2153
2154 * crypt: New subdirectory, merged in from the crypt add-on.
2155
a808d541
UD
21562000-02-28 Ulrich Drepper <drepper@redhat.com>
2157
108c6efa 2158 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 2159
d59e49d8 2160
108c6efa 2161See ChangeLog.10 for earlier changes.
This page took 0.257799 seconds and 5 git commands to generate.