]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.12
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog.12
CommitLineData
edf66db1 12001-08-15 Ulrich Drepper <drepper@redhat.com>
8e294940 2
edf66db1
SP
3 * libio/iofwide.c (_IO_fwide): Don't reset file position to
4 beginning of file, really get current position.
8e294940 5
edf66db1 62001-08-15 Andreas Schwab <schwab@suse.de>
8e294940 7
edf66db1
SP
8 * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
9 address register for operand 0.
8e294940 10
edf66db1 112001-08-14 Ulrich Drepper <drepper@redhat.com>
8e294940 12
edf66db1 13 * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.
8e294940 14
edf66db1
SP
15 * libio/libio.h (_IO_fwide): Handle zero as second parameter more
16 efficiently in macro.
8e294940 17
edf66db1 182001-08-14 Jakub Jelinek <jakub@redhat.com>
8e294940 19
edf66db1
SP
20 * resolv/nss_dns/dns-host.c (RESOLVSORT): Define.
21 (addrsort): New function.
22 * resolv/gethnamaddr.c (RESOLVSORT): Define.
8e294940 23
edf66db1 242001-08-14 Jakub Jelinek <jakub@redhat.com>
8e294940 25
edf66db1 26 * string/strsignal.c (free_mem): Remove.
8e294940 27
edf66db1 282001-08-14 Andreas Jaeger <aj@suse.de>
8e294940 29
edf66db1
SP
30 * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore.
31 Closes PR libc/2477, reported by Dylan Alex Simon
32 <dylan@dylex.caltech.edu>.
8e294940 33
edf66db1 342001-08-14 Ulrich Drepper <drepper@redhat.com>
8e294940 35
edf66db1
SP
36 * locale/Makefile (aux): Add xlocale.
37 * locale/xlocale.c: New file.
38 * include/locale.c (_nl_C_locobj): Declare.
39 * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l
40 with _nl_C_locobj instead of tolower, isdigit, isspace.
41 * iconv/gconv_conf.c: Likewise.
42 * iconv/gconv_int.h: Likewise.
43 * iconv/gconv_open.c: Likewise.
8e294940 44
edf66db1 45 * locale/newlocale.c: Minor cleanups.
8e294940 46
edf66db1 472001-08-14 Andreas Jaeger <aj@suse.de>
8e294940 48
edf66db1
SP
49 * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from
50 ldbl-96/w_expl.c with tweaked constants. Patch by Stephen L
51 Moshier.
8e294940 52
edf66db1 532001-08-13 Ulrich Drepper <drepper@redhat.com>
8e294940 54
edf66db1 55 * malloc/memusage.c (me): Allow creating the output file.
8e294940 56
edf66db1
SP
57 * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
58 flag for init-first.
8e294940 59
edf66db1 60 * po/fr.po: Update from translation team.
8e294940 61
edf66db1 622001-08-13 Andreas Jaeger <aj@suse.de>
8e294940 63
edf66db1
SP
64 * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for
65 jal since it's a macro.
66 Patch by Simon Gee <simong@oz.agile.tv>.
8e294940 67
edf66db1 682001-08-12 Ulrich Drepper <drepper@redhat.com>
8e294940 69
edf66db1
SP
70 * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
71 * iconvdata/iso-ir-209.c: New file.
72 * iconvdata/mac-sami.c: New file.
73 * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
74 * iconvdata/tst-tables.sh: Likewise.
8e294940 75
edf66db1
SP
76 * posix/getopt.c: Remove store_args_and_env which is not needed since
77 USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and
78 __libc_argv variables.
8e294940 79
edf66db1 802001-08-12 Roland McGrath <roland@frob.com>
8e294940 81
edf66db1
SP
82 * sysdeps/mach/hurd/clock.c: New file.
83 * sysdeps/mach/hurd/times.c: New file.
84 * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
85 * sysdeps/mach/hurd/init-posix.c: New file.
8e294940 86
edf66db1 87 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
8e294940 88
edf66db1 892001-08-11 Roland McGrath <roland@frob.com>
8e294940 90
edf66db1
SP
91 * sysdeps/mach/hurd/bits/time.h
92 (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
93 * sysdeps/mach/hurd/i386/bits/time.h: File removed.
8e294940 94
edf66db1
SP
95 * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
96 Make these defns conditional on [USE_NONOPTION_FLAGS].
8e294940 97
edf66db1 982001-08-11 Ulrich Drepper <drepper@redhat.com>
8e294940 99
edf66db1
SP
100 * config.h.in: Add #undef line for USE_NONOPTION_FLAGS.
101 * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is
102 defined.
103 * posix/getopt.c: Use __getopt_nonoption_flags only if
104 USE_NONOPTION_FLAGS is defined.
105 * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment
106 only if USE_NONOPTION_FLAGS is defined.
107 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
108 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
109 * sysdeps/arm/init-first.c: Likewise.
110 * sysdeps/generic/init-first.c: Likewise.
111 * sysdeps/i386/init-first.c: Likewise.
112 * sysdeps/sh/init-first.c: Likewise.
8e294940 113
edf66db1 1142001-08-11 Andreas Jaeger <aj@suse.de>
8e294940 115
edf66db1
SP
116 * sysdeps/ieee754/ldbl-128/e_j0l.c: New file.
117 Contributed by Stephen L Moshier <moshier@mediaone.net>.
8e294940 118
edf66db1 1192001-08-11 Ulrich Drepper <drepper@redhat.com>
8e294940 120
edf66db1
SP
121 * assert/assert.c (set_progname): Removed.
122 (__assert_fail): Use __progname instead of __assert_program_name.
123 * assert/assert-perr.c (__assert_perror_fail): Likewise.
8e294940 124
edf66db1
SP
125 * malloc/malloc.c (ptmalloc_init): Don't call getenv five times.
126 Instead use new function next_env_entry which iterates over the
127 environment once.
8e294940 128
edf66db1
SP
129 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set
130 _dl_profile_map for the right object.
8e294940 131
edf66db1
SP
132 * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result
133 only if consider_profiling is != 0, not if _dl_profile != NULL.
8e294940 134
edf66db1
SP
135 * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit.
136 Now returns pointer to first character after "LD_".
137 * elf/rtld.c (process_envvars): Adjust for change above.
138 * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise.
139 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
140 Likewise.
8e294940 141
edf66db1 1422001-08-10 Wolfram Gloger <wg@malloc.de>
8e294940 143
edf66db1
SP
144 * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect()
145 to allocate new memory, for better performance with Linux-2.4.x.
8e294940 146
edf66db1 1472001-08-10 Ulrich Drepper <drepper@redhat.com>
8e294940 148
edf66db1
SP
149 * posix/getopt_init.c (__getopt_clean_environment): Avoid making
150 the strncmp calls most of the time by testing for '_' as the first
151 character of the name.
8e294940 152
edf66db1 153 * elf/dl-open.c (add_to_global): Remove stale comment.
8e294940 154
edf66db1
SP
155 * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark
156 non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them.
8e294940 157
edf66db1
SP
158 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for
159 temporary stream. Don't define lock.
160 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
161 * libio/strops.c (_IO_str_init_static): Likewise.
162 * libio/vasprintf.c (_IO_vasprintf): Likewise.
163 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
164 * libio/iovsprintf.c: Likewise.
165 * libio/iovsnprintf.c: Likewise.
166 * libio/iovswprintf.c: Likewise.
167 * libio/iovsscanf.c: Likewise.
168 * libio/iovswscanf.c: Likewise.
169 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise.
170 * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock
171 is NULL.
172 (_IO_default_finish): Likewise.
173 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
8e294940 174
edf66db1 1752001-08-10 Andreas Jaeger <aj@suse.de>
8e294940 176
edf66db1 177 * stdio-common/stdio_ext.h: Fix typo.
8e294940 178
edf66db1 1792001-08-09 Ulrich Drepper <drepper@redhat.com>
8e294940 180
edf66db1 181 * posix/fnmatch_loop.c: Fix computation of alignment.
8e294940 182
edf66db1 1832001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com>
8e294940 184
edf66db1
SP
185 * posix/regex.c (wcs_regex_compile): Use appropriate string
186 to compare with collating element.
187 Fix the padding for the alignment.
8e294940 188
edf66db1 1892001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com>
8e294940 190
edf66db1
SP
191 * locale/programs/ld-collate.c (collate_output): Exclude
192 characters from elem_table.
193 Reduce if clause to write collating elements correctly.
194 * posix/Makefile (tests): Add bug-regex5.
195 * posix/bug-regex5.c: New file.
8e294940 196
edf66db1 1972001-08-09 Ulrich Drepper <drepper@redhat.com>
8e294940 198
edf66db1
SP
199 * locale/lc-time.c (_nl_parse_alt_digit): New function.
200 * locale/localeinfo.h: Add prototype for it.
201 * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get
202 the value. Correct computation of hour for %OI. If no %EC given
203 but %Ey use numeric formular.
8e294940 204
edf66db1
SP
205 * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for
206 ld.so.
8e294940 207
edf66db1
SP
208 * time/tst-strptime.c: Add tests in different locales.
209 * time/Makefile (tst-strptime-ENV): Define.
8e294940 210
edf66db1 2112001-08-09 Jakub Jelinek <jakub@redhat.com>
8e294940 212
edf66db1
SP
213 * catgets/catgets.c (catclose): Be liberal about catalog_desc in
214 catclose too.
8e294940 215
edf66db1 2162001-08-09 Ulrich Drepper <drepper@redhat.com>
8e294940 217
edf66db1
SP
218 * time/strptime.c (strptime_internal): Add handling of year +
219 %U/%W week + week day.
220 * time/tst-strptime.c: Add test case for %U and %W handling.
8e294940 221
edf66db1
SP
222 * stdio-common/vfscanf.c: Fix reading of wide chars and strings if
223 not COMPILE_WSCANF.
8e294940 224
edf66db1
SP
225 * libio/vswprintf.c (_IO_vswprintf): Fix return value handling
226 which is different from snprintf.
227 * libio/tst_swprintf.c: Add tests for too small output buffer.
8e294940 228
edf66db1
SP
229 * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
230 * libio/Makefile (tests): Add tst-swscanf.
231 * libio/tst-swscanf.c: New file.
8e294940 232
edf66db1 2332001-08-09 Jakub Jelinek <jakub@redhat.com>
8e294940 234
edf66db1 235 * posix/globtest.sh: Robustify tilde tests.
8e294940 236
edf66db1 2372001-08-09 Andreas Jaeger <aj@suse.de>
8e294940 238
edf66db1
SP
239 * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
240 (EMPTY): New.
241 (wctype_table_finalize): Use it.
242 (find_idx): Likewise.
243 (wctype_table_get): Likewise.
8e294940 244
edf66db1 245 * configure.in: Add check for GCC 3.x.
8e294940 246
edf66db1 2472001-08-09 Ulrich Drepper <drepper@redhat.com>
8e294940 248
edf66db1
SP
249 * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
250 seeking with backup buffer present.
251 Correct determining of internal buffer position.
252 Reset also wide buffers if we reset the internal buffers.
253 * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
254 streams.
255 * libio/ioseekoff.c: Catch one unimplemented case.
256 * libio/ftello.c: Don't abort if the wide stream has backup buffer.
257 * libio/ftello64.c: Likewise.
258 * libio/iofgetpos.c: Likewise.
259 * libio/iofgetpos64.c: Likewise.
260 * libio/ftell.c: Likewise.
261 * libio/Makefile (tests): Add tst-ungetwc2.
262 * libio/tst-ungetwc2.c: New file.
8e294940 263
edf66db1 2642001-08-08 Ulrich Drepper <drepper@redhat.com>
8e294940 265
edf66db1
SP
266 * locale/elem-hash.h (elem_hash): Correct stupid mistake and
267 create real hash values now.
268 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
8e294940 269
edf66db1
SP
270 * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
271 the handling of wide streams.
8e294940 272
edf66db1
SP
273 * libio/ioungetwc.c (ungetwc): Orient stream first.
274 * libio/Makefile (tests): Add tst-ungetwc1.
275 * libio/tst-ungetwc1.c: New file.
8e294940 276
edf66db1
SP
277 * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
278 for possible conversion using __codecvt_do_in.
279 * libio/Makefile (tests): Add tst-fgetws.
280 * libio/tst-fgetws.c: New file.
8e294940 281
edf66db1
SP
282 * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
283 coding the test here.
8e294940 284
edf66db1
SP
285 * catgets/open_catalog.c: Rewrite code to assume that the function
286 is called at catopen time and not delayed in catgets.
287 * catgets/catgets.c (catopen): Call __open_catalog and fail if that
288 function failed.
289 (catgets): Remove code for delayed opening of catalog.
290 * catgets/catgetsinfo.h: Remove now unnecessary information from
291 struct catalog_info. Change __open_catalog prototype.
292 * catgets/gencat.c: Adjust __open_catalog call.
293 * catgets/test-gencat.c: Stop program if catopen failed.
8e294940 294
edf66db1
SP
295 * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
296 for CRNCYSTR.
8e294940 297
edf66db1
SP
298 * locale/programs/ld-messages.c (messages_finish): Provide POSIX
299 locale compliant default values for fields without definition.
300 * locale/programs/ld-time.c (time_finish): Likewise.
301 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8e294940 302
edf66db1 3032001-08-08 Andreas Jaeger <aj@suse.de>
8e294940 304
edf66db1
SP
305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
306 infinity.
8e294940 307
edf66db1 3082001-08-07 Ulrich Drepper <drepper@redhat.com>
8e294940 309
edf66db1
SP
310 * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
311 functionality.
8e294940 312
edf66db1 313 * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
8e294940 314
edf66db1 3152001-08-07 Jakub Jelinek <jakub@redhat.com>
8e294940 316
edf66db1
SP
317 * malloc/memusage.c (initialized): New variable.
318 (init): If not yet initialized, call me().
319 (me): Do all dlsym calls here.
320 (malloc, realloc, calloc, free): If not yet initialized,
321 call me(). If in the middle of initializing, return NULL or
322 do nothing.
8e294940 323
edf66db1 3242001-08-07 Jakub Jelinek <jakub@redhat.com>
8e294940 325
edf66db1 326 * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
8e294940 327
edf66db1
SP
328 * dirent/tst-seekdir.c (main): Check whether telldir right after
329 seekdir returns 2nd argument given to seekdir.
8e294940 330
edf66db1 3312001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 332
edf66db1
SP
333 * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
334 LD_LIBRARY_PATH.
8e294940 335
edf66db1
SP
3362001-08-07 Andreas Jaeger <aj@suse.de>
337 Andreas Schwab <schwab@suse.de>
338 Bruno Haible <haible@clisp.cons.org>
8e294940 339
edf66db1
SP
340 * locale/programs/3level.h (EMPTY): New macro.
341 (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
8e294940 342
edf66db1 3432001-08-08 GOTO Masanori <gotom@debian.or.jp>
8e294940 344
edf66db1 345 * locale/iso-3166.def: Updates from latest official list.
8e294940 346
edf66db1 3472001-08-07 Andreas Jaeger <aj@suse.de>
8e294940 348
edf66db1 349 * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
8e294940 350
edf66db1 351 * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
8e294940 352
edf66db1
SP
353 * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
354 (_IO_new_proc_close): Likewise.
355 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
356 (_IO_old_proc_close): Likewise.
8e294940 357
edf66db1 3582001-08-06 Ulrich Drepper <drepper@redhat.com>
8e294940 359
edf66db1
SP
360 * manual/locale.texi: Add documentation for rpmatch.
361 Patch by Jochen Hein <jochen@jochen.org>.
8e294940 362
edf66db1 3632001-08-06 Jakub Jelinek <jakub@redhat.com>
8e294940 364
edf66db1
SP
365 * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
366 * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
8e294940 367
edf66db1
SP
368 * stdlib/tst-strtod.c (tests): Add Inf tests.
369 * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
8e294940 370
edf66db1 3712001-08-06 Ulrich Drepper <drepper@redhat.com>
8e294940 372
edf66db1 373 * locale/weightwc.h (findidx): Change type of i to int32_t.
8e294940 374
edf66db1 375 * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing.
8e294940 376
edf66db1 3772001-08-05 Roland McGrath <roland@frob.com>
8e294940 378
edf66db1
SP
379 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
380 d_fileno to d_ino.
381 (struct dirent64): Likewise.
382 (d_fileno): Define as macro.
8e294940 383
edf66db1 3842001-08-04 Roland McGrath <roland@frob.com>
8e294940 385
edf66db1
SP
386 * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
387 by the microkernel (which it's not).
8e294940 388
edf66db1 3892001-08-04 Ulrich Drepper <drepper@redhat.com>
8e294940 390
edf66db1
SP
391 * libio/fileops.c (_IO_new_file_underflow): Don't call
392 _IO_flush_all_linebuffered. This isn't required in any standard.
393 Instead flush only stdout.
394 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8e294940 395
edf66db1 3962001-08-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 397
edf66db1
SP
398 * dlfcn/Makefile: Add rules for new testcase tststatic.
399 * dlfcn/tststatic.c: New file.
400 * dlfcn/modstatic.c: New file.
8e294940 401
edf66db1 4022001-08-04 Ulrich Drepper <drepper@redhat.com>
8e294940 403
edf66db1 404 * manual/summary.awk: Fix value used for FF.
8e294940 405
edf66db1 406 * elf/rtld.c: Correct use of __builtin_expect.
8e294940 407
edf66db1 408 * elf/dl-close.c: Remove commented-out code.
8e294940 409
edf66db1
SP
410 * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
411 orientation so that conversion modules aren't used anymore.
412 * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
413 functions to avoid using wide streams afterwards.
8e294940 414
edf66db1
SP
415 * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
416 GEORGIAN-ACADEMY.
417 * iconvdata/georgian-ps.c: New file.
418 * iconvdata/georgian-academy.c: New file.
419 * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
420 GEORGIAN-ACADEMY.
421 * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
8e294940 422
edf66db1 4232001-08-03 Ulrich Drepper <drepper@redhat.com>
8e294940 424
edf66db1
SP
425 * locale/programs/ld-collate (insert_value): If symbol in order
426 definition does not exist create it as a sequence without
427 associated multibyte and wide representation.
8e294940 428
edf66db1 4292001-07-30 Roland McGrath <roland@frob.com>
8e294940 430
edf66db1
SP
431 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
432 syntax so both function and pointer-to-function arguments work right.
8e294940 433
edf66db1 4342001-08-03 Tom Rix <trix@redhat.com>
8e294940 435
edf66db1
SP
436 * config.h.in: Add HAVE_XCOFF for AIX.
437 * configure.in: Add --with-xcoff option.
438 * include/libc-symbols.h: Disable the .stabs macros.
8e294940 439
edf66db1 4402001-08-03 Ulrich Drepper <drepper@redhat.com>
8e294940 441
edf66db1
SP
442 * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
443 * iconvdata/ansi_x3.110.c: Likewise.
444 * iconvdata/big5.c: Likewise.
445 * iconvdata/euc-cn.c: Likewise.
446 * iconvdata/euc-jp.c: Likewise.
447 * iconvdata/euc-kr.c: Likewise.
448 * iconvdata/gb18030.c: Likewise.
449 * iconvdata/gbbig5.c: Likewise.
450 * iconvdata/gbgbk.c: Likewise.
451 * iconvdata/gbk.c: Likewise.
452 * iconvdata/ibm930.c: Likewise.
453 * iconvdata/ibm932.c: Likewise.
454 * iconvdata/ibm933.c: Likewise.
455 * iconvdata/ibm935.c: Likewise.
456 * iconvdata/ibm939.c: Likewise.
457 * iconvdata/ibm943.c: Likewise.
458 * iconvdata/iso-2022-cn.c: Likewise.
459 * iconvdata/iso-2022-kr.c: Likewise.
460 * iconvdata/iso646.c: Likewise.
461 * iconvdata/iso8859-1.c: Likewise.
462 * iconvdata/iso_6937-2.c: Likewise.
463 * iconvdata/iso_6937.c: Likewise.
464 * iconvdata/johab.c: Likewise.
465 * iconvdata/sjis.c: Likewise.
466 * iconvdata/t.61.c: Likewise.
467 * iconvdata/uhc.c: Likewise.
468 * iconvdata/unicode.c: Likewise.
469 * iconvdata/utf-16.c: Likewise.
470 * iconv/gconv_simple.c: Likewise. Convert assert() in real error
471 handling.
8e294940 472
edf66db1
SP
473 * iconvdata/Makefile: Add rules to build KOI8-T module.
474 * iconvdata/koi8-t.c: New file.
475 * iconvdata/gconv-modules: Add entries for KOI8-T.
476 * iconvdata/tst-tables.sh: Add KOI8-T.
8e294940 477
edf66db1
SP
478 * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga.
479 Add Tigrinya.
8e294940 480
edf66db1 4812001-08-02 Ulrich Drepper <drepper@redhat.com>
8e294940 482
edf66db1
SP
483 * locale/programs/ld-collate.c (collate_read): Handle collating-element
484 and reorder_after following copy statement correctly.
8e294940 485
edf66db1 4862001-08-02 Andreas Jaeger <aj@suse.de>
8e294940 487
edf66db1
SP
488 * libio/bits/stdio.h (printf): Remove printf optimization since
489 GCC 3.0 can optimize printf.
8e294940 490
edf66db1 4912001-08-02 Ulrich Weigand <uweigand@de.ibm.com>
8e294940 492
edf66db1
SP
493 * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
494 mvcle introduced by 2001-07-12 change.
495 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8e294940 496
edf66db1 4972001-07-31 Ulrich Drepper <drepper@redhat.com>
8e294940 498
edf66db1
SP
499 * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
500 register so that contexts can be used in different threads.
501 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
502 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8e294940 503
edf66db1
SP
504 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
505 test for cmsg struct size.
506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
8e294940 507
edf66db1
SP
508 * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
509 initializations.
8e294940 510
edf66db1
SP
511 * libio/iopopen.c: Add lock for proc_file_chain access.
512 * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
513 Reported by Padraig Brady <Padraig@linux.ie>.
8e294940 514
edf66db1 5152001-07-31 Andreas Jaeger <aj@suse.de>
8e294940 516
edf66db1
SP
517 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
518 * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
519 * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
520 * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
521 * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
8e294940 522
edf66db1
SP
523 * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
524 compilation without threads.
8e294940 525
edf66db1 5262001-07-30 Ulrich Drepper <drepper@redhat.com>
8e294940 527
edf66db1 528 * po/fr.po: Update from translation team.
8e294940 529
edf66db1 5302001-07-30 Andreas Jaeger <aj@suse.de>
8e294940 531
edf66db1
SP
532 * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
533 Stephen L Moshier.
8e294940 534
edf66db1
SP
535 * posix/regex.c: Declare wcs functions only if compiling with
536 MBS_SUPPORT.
537 Don't use #elif for traditional C.
8e294940 538
edf66db1 5392001-07-29 Mark Kettenis <kettenis@gnu.org>
8e294940 540
edf66db1
SP
541 * sysdeps/mach/hurd/recvmsg.c: New file.
542 * sysdeps/mach/hurd/sendmsg.c: New file.
8e294940 543
edf66db1 5442001-07-27 Ulrich Drepper <drepper@redhat.com>
8e294940 545
edf66db1 546 * version.h (VERSION): Bump to 2.2.4.
8e294940 547
edf66db1
SP
548 * sysdeps/mips/Dist: Remove non-existing files.
549 * sysdeps/mips/mips64/Dist: Likewise.
550 * sysdeps/mips/mipsel/Dist: Removed.
551 * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
552 * sysdeps/generic/Dist: Add bits/link.h.
553 * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
554 * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
555 dl-error.c.
556 * sysdeps/ia64/Dist: Add bits/link.h.
557
558 * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
559 from stream buffer to result buffer.
560 Reported by Michael Meeks <michael@ximian.com>.
561
562 * libio/Makefile: Add rules to check output of tst-fopenloc and
563 for memory leaks.
564 * libio/tst-fopenloc.c: New file.
565
566 * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
567 * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
568 * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
569 __gconv_compare_alias prototype.
570 * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
571 (__gconv_compare_alias): New function.
572 * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
573 instead of calling __gconv_lookup_alias twice and compare here.
574
5752001-07-26 Mark Kettenis <kettenis@gnu.org>
576
577 * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
578 SA_RESETHAND and SA_NODEFER.
579
5802001-07-27 Ulrich Drepper <drepper@redhat.com>
581
582 * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
583 substring. Don't handle ccs= if no descriptor was allocated.
584 Normalize codeset name before calling __wcsmbs_named_conv.
585 Initialize transliteration elements. Free step data structure.
586 * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
587 * libio/iofwide.c (__libio_translit): Renamed from libio_translit
588 and made public. Various little cleanup changes.
589 * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
590 tomb_nsteps member.
591 * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
592 (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
593 (getfct): Take additional parameter with pointer to variable where the
594 number of steps is stored in. Disable code which allows to use more
595 than one step for now. Adjust all callers.
596 (free_mem): New function. Frees data associated with currently
597 selected converters.
8e294940 598
edf66db1
SP
599 * malloc/mtrace.pl: Extract addresses from DSOs.
600
6012001-07-26 Ulrich Drepper <drepper@redhat.com>
8e294940 602
edf66db1
SP
603 * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
604 error. Don't run any tests if mcheck is disabled.
8e294940 605
edf66db1
SP
606 * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
607 early in the program.
8e294940 608
edf66db1 6092001-07-27 Andreas Jaeger <aj@suse.de>
8e294940 610
edf66db1
SP
611 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
612 value following change from 2001-05-30.
613
614 * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
615 rename change from 2001-07-12 for __jmp_buf.
616 Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
617
6182001-07-26 Roland McGrath <roland@frob.com>
619
620 * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
621 on __USE_MISC rather than __USE_BSD.
622 (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
623 B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
624 B3500000, B4000000): New macros.
625 * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
626 * termios/cfsetspeed.c (speeds): Likewise.
8e294940 627
edf66db1 6282001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp>
8e294940 629
edf66db1
SP
630 * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
631 multi-line strings.
632 (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
633 (elf_machine_rela): Handle unaligned relocation.
8e294940 634
edf66db1 6352001-06-07 David Mosberger <davidm@hpl.hp.com>
8e294940 636
edf66db1
SP
637 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
638 __ia64_make_fptr() for new interface.
639 (_dl_function_address): Remove.
640
641 * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
642 from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
643 (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
644 pointer. Rename member "func" to "ip".
645 (struct ia64_fdesc_table): New type.
646 (__ia64_make_fptr): Change prototype.
647 (__ia64_init_bootstrap_fdesc_table): New function.
648 (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
649 (__boot_ldso_fptr): Removed.
650 (__fptr_next): Removed.
651 (__fptr_root): Removed.
652 (__fptr_count): Removed.
653 (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line
654 strings to avoid warning from gcc3.
655 (RTLD_START): Don't use multi-line strings.
656 (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
657 (elf_machine_fixup_plt): Update the code entry point in the
658 function descriptor through a "volatile" pointer to ensure proper
659 write ordering.
660 (elf_machine_rela): Simplify handling of FPTR relocs: always call
661 __ia64_make_fptr().
8e294940 662
edf66db1
SP
663 * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
664 (DL_STATIC_FUNCTION_ADDRESS): Likewise.
665 (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
666 (DL_DT_FINI_ADDRESS): Likewise.
8e294940 667
edf66db1
SP
668 * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
669 avoid deadlocks.
8e294940 670
edf66db1
SP
671 * include/link.h: Add member machine specific "l_mach" member to
672 link_map.
8e294940 673
edf66db1
SP
674 * sysdeps/generic/bits/link.h: New file.
675 * sysdeps/ia64/bits/link.h: Likewise.
8e294940 676
edf66db1
SP
677 * elf/rtld.c (_dl_start): Fix typo in comment.
678 (_dl_start_final): Copy new "l_mach" member from temporary to
679 final bootstrap map.
8e294940 680
edf66db1 6812001-07-25 Ulrich Drepper <drepper@redhat.com>
8e294940 682
edf66db1
SP
683 * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
684 declaration using ENTRY_POINT.
685 * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
8e294940 686
edf66db1 6872001-07-25 H.J. Lu <hjl@gnu.org>
8e294940 688
edf66db1
SP
689 * csu/gmon-start.c: Include <entry.h>
690 (_start): Replaced with ENTRY_POINT.
8e294940 691
edf66db1 6922001-07-25 Mark Kettenis <kettenis@gnu.org>
8e294940 693
edf66db1 694 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
8e294940 695
edf66db1 6962001-07-25 Ulrich Drepper <drepper@redhat.com>
8e294940 697
edf66db1
SP
698 * iconv/iconvconfig.c (main): Don't write an output file if we
699 have seen an error.
700 (write_output): Don't overwrite old cache file until we know we
701 have a new one.
8e294940 702
edf66db1 703 * iconv/Makefile (install-sbin): Add iconvconfig.
8e294940 704
edf66db1 7052001-07-25 Jakub Jelinek <jakub@redhat.com>
8e294940 706
edf66db1
SP
707 * elf/Makefile (routines): Add dl-iteratephdr and
708 dl-iteratephdr-static.
709 (elide-routines.os): Add dl-iteratephdr-static.
710 * elf/dl-iteratephdr.c: New file.
711 * elf/link.h (struct dl_phdr_info): New definition.
712 (dl_iterate_phdr): New prototype.
713 * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
714 * include/link.h (struct dl_phdr_info): New definition.
715 (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
716 * sysdeps/generic/dl-iteratephdr-static.c: New file.
717 * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
8e294940 718
edf66db1 7192001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
8e294940 720
edf66db1
SP
721 * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
722 of pending signals.
8e294940 723
edf66db1 7242001-06-22 Jakub Jelinek <jakub@redhat.com>
8e294940 725
edf66db1
SP
726 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
727 gaps below main executable.
8e294940 728
edf66db1 7292001-07-22 Bruno Haible <haible@clisp.cons.org>
8e294940 730
edf66db1
SP
731 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
732 and msgid2 for printf format argument checking.
8e294940 733
edf66db1 7342001-07-24 Ulrich Drepper <drepper@redhat.com>
8e294940 735
edf66db1
SP
736 * iconv/gconv_cache.c (find_module): Don't allocate room for the
737 filename. Use alloca, we don't need it beyond this function.
738 (__gconv_release_cache): New function.
739 * iconv/gconv_db.c (__gconv_close_transform): Call
740 __gconv_release_cache after the steps are handled.
741 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
742 record as well.
743 * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
8e294940 744
edf66db1
SP
745 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
746 boundary case and reject it.
8e294940 747
edf66db1 7482001-07-24 Andreas Jaeger <aj@suse.de>
8e294940 749
edf66db1 750 * manual/examples/longopt.c (main): Fix which options take arguments.
8e294940 751
edf66db1 7522001-07-24 Ulrich Drepper <drepper@redhat.com>
8e294940 753
edf66db1 754 * iconvdata/Makefile: Add dependencies for tst-loading test.
8e294940 755
edf66db1 7562001-07-24 Andreas Jaeger <aj@suse.de>
8e294940 757
edf66db1 758 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
8e294940 759
edf66db1 7602001-07-23 Ulrich Drepper <drepper@redhat.com>
8e294940 761
edf66db1
SP
762 * locale/programs/locale.c (write_locales): Disable implicit
763 locking for the stream. Use feof_unlocked instead of feof.
8e294940 764
edf66db1
SP
765 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
766 and floating-point status as well.
8e294940 767
edf66db1
SP
768 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
769 avoid deadlock.
770 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
771 * libio/genops.c (_IO_un_link): Get stream lock since it's not
772 always done in the caller.
773 (_IO_link_in): Likewise.
8e294940 774
edf66db1
SP
775 * libio/genops.c (_IO_list_all_stamp): New variable.
776 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
777 (_IO_link): Likewise for insertion.
778 (flush_cleanup): New function.
779 (_IO_flush_all): Get list_all_lock and all individual locks for the
780 streams. Detect and handle changes to the _IO_list_all list.
781 (_IO_flush_all_linebuffered): Likewise.
782 * sysdeps/generic/bits/stdio-lock.h: Define
783 _IO_cleanup_region_start_noarg.
784 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
8e294940 785
edf66db1 786 * stdio-common/printf.h: Fix typo in comment.
8e294940 787
edf66db1
SP
788 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
789 and to INTERNAL.
790 * iconv/iconvconfig.c: Create a special record for the INTERNAL
791 encoding name in the output file.
8e294940 792
edf66db1 7932001-07-23 Jakub Jelinek <jakub@redhat.com>
8e294940 794
edf66db1
SP
795 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
796 (svctcp_rendezvous_op): Use it.
797 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
798 (svcunix_rendezvous_op): Use it.
8e294940 799
edf66db1 8002001-07-23 Andreas Schwab <schwab@suse.de>
8e294940 801
edf66db1
SP
802 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
803 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
804 (math-CPPFLAGS): Set this instead of CPPFLAGS.
8e294940 805
edf66db1 8062001-07-23 Ulrich Drepper <drepper@redhat.com>
8e294940 807
edf66db1 808 * elf/elf.h: Add more definitions from Sun's latest version.
8e294940 809
edf66db1 8102001-07-23 Stephen L Moshier <moshier@mediaone.net>
8e294940 811
edf66db1
SP
812 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
813 sign for 0 input and set divide by zero exception for -1 input.
814 Return argument if NaN or infinity.
8e294940 815
edf66db1 8162001-07-23 Andreas Jaeger <aj@suse.de>
8e294940 817
edf66db1 818 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
8e294940 819
edf66db1 8202001-07-23 Ulrich Drepper <drepper@redhat.com>
8e294940 821
edf66db1
SP
822 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
823 module for conversion direction.
8e294940 824
edf66db1 8252001-07-23 Stephen L Moshier <moshier@mediaone.net>
8e294940 826
edf66db1
SP
827 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
828 sign for 0 input. Return NaN with no exception for NaN input.
8e294940 829
edf66db1 8302001-07-23 Ulrich Drepper <drepper@redhat.com>
8e294940 831
edf66db1
SP
832 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
833 really be an alias.
8e294940 834
edf66db1 8352001-07-23 Andreas Jaeger <aj@suse.de>
8e294940 836
edf66db1
SP
837 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
838 __attribute_malloc__ for older GCC versions.
839 * iconv/strtab.c: Likewise.
840 Add prototypes to avoid warnings.
8e294940 841
edf66db1 8422001-07-22 Roland McGrath <roland@frob.com>
8e294940 843
edf66db1
SP
844 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
845 and SA_NODEFER options. Spurred to action by Igor Khavkine.
8e294940 846
edf66db1
SP
847 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
848 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
849 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
850 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
851 as in other sysdeps versions of this file.
8e294940 852
edf66db1
SP
853 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
854 and provide sa_handler and sa_sigaction member names as macros, as
855 done in other sysdeps versions of this file.
856 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
8e294940 857
edf66db1 8582001-07-23 Ulrich Drepper <drepper@redhat.com>
8e294940 859
edf66db1
SP
860 * posix/regex.c: Revamp memory allocation for WCHAR functions to
861 not use too much stack.
8e294940 862
edf66db1 8632001-07-22 Ulrich Drepper <drepper@redhat.com>
8e294940 864
edf66db1
SP
865 * iconv/iconvconfig.c (write_output): Update comment explaining
866 output format.
8e294940 867
edf66db1
SP
868 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
869 if it is alone.
870 (_dl_dst_substitute): Likewise.
8e294940 871
edf66db1
SP
872 * iconv/iconvconfig.c: Remove --verbose option. Comment out
873 mcheck_verbose call.
8e294940 874
edf66db1 875 * iconv/strtab.c (morememory): Fix little memory handling problem.
8e294940 876
edf66db1 8772001-07-22 Andreas Schwab <schwab@suse.de>
8e294940 878
edf66db1
SP
879 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
880 mark asm input operand as clobbered.
881 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
8e294940 882
edf66db1 8832001-07-22 Ulrich Drepper <drepper@redhat.com>
8e294940 884
edf66db1
SP
885 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
886 elements.
887 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
888 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
889 NULL.
890 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
891 all BUILTIN_TRANSFORMATION calls.
892 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
893 parameters.
894 * iconv/gconv_simple.c: Likewise.
895 * iconv/gconv_db.c (gen_steps): Internal converters don't have
896 initializers, move the code accordingly.
8e294940 897
edf66db1
SP
898 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
899 file if STATIC_GCONV is defined.
8e294940 900
edf66db1
SP
901 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
902 (__gconv_get_path): Use it instead of call getenv.
903 (__gconv_read_conf): First see whether cache can be used. If yes,
904 don't do any work here.
905 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
906 and exported. Change callers.
907 (__gconv_find_transform): First call __gconv_lookup_cache and only
908 continue if it signals no cache available. Remove some unnecessary
909 tests.
910 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
911 __gconv_release_step, and __gconv_loaded_cache.
912 * iconv/gconv_cache.c: New file.
913 * iconv/iconvconfig.c: New file.
914 * iconv/iconvconfig.h: New file.
915 * iconv/strtab.c: New file.
916 * iconv/Makefile: Add rules to build new files and programs.
8e294940 917
edf66db1 9182001-07-20 Roland McGrath <roland@frob.com>
8e294940 919
edf66db1
SP
920 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
921 from `dev_t' (st_rdev value) `const struct stat *'.
922 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
923 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
924 * sysdeps/mach/hurd/device-nrs.h: New file.
8e294940 925
edf66db1
SP
926 * libio/stdio_ext.h: Moved to ...
927 * stdio-common/stdio_ext.h: ... here.
928 * libio/Makefile (headers): Move stdio_ext.h from here ...
929 * stdio-common/Makefile (headers): ... to here.
930 * include/stdio_ext.h: New file.
931 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
932 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
933 * stdio/__flbf.c: New file.
934 * stdio/__fbufsize.c: New file.
935 * stdio/__fpending.c: New file.
936 * stdio/__fpurge.c: New file.
937 * stdio/__freadable.c: New file.
938 * stdio/__freading.c: New file.
939 * stdio/__fsetlocking.c: New file.
940 * stdio/__fwritable.c: New file.
941 * stdio/__fwriting.c: New file.
8e294940 942
edf66db1
SP
9432001-07-20 Ulrich Drepper <drepper@redhat.com>
944 Andreas Jaeger <aj@suse.de>
8e294940 945
edf66db1
SP
946 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
947 Add a few __builtin_expect to mark unlikely error cases.
8e294940 948
edf66db1 9492001-07-20 Andreas Jaeger <aj@suse.de>
8e294940 950
edf66db1
SP
951 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
952 Patch by Daniel Jacobowitz <dan@debian.org>.
8e294940 953
edf66db1 9542001-07-19 Ulrich Drepper <drepper@redhat.com>
8e294940 955
edf66db1 956 * intl/localealias.c: Remove unnecessary prototype.
8e294940 957
edf66db1
SP
958 * Makefile: Add html goal.
959 * manual/Makefile: Likewise.
8e294940 960
edf66db1 9612001-07-18 Ulrich Drepper <drepper@redhat.com>
8e294940 962
edf66db1
SP
963 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
964 cleanups and improvements.
8e294940 965
edf66db1 9662001-07-18 Andreas Schwab <schwab@suse.de>
8e294940 967
edf66db1
SP
968 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
969 underscore character.
8e294940 970
edf66db1 9712001-07-18 Jakub Jelinek <jakub@redhat.com>
8e294940 972
edf66db1 973 * malloc/malloc (new_heap): Don't call munmap for zero length.
8e294940 974
edf66db1 9752001-07-18 Ulrich Drepper <drepper@redhat.com>
8e294940 976
edf66db1
SP
977 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
978 available to determine whether descriptor is for tty before
979 calling isatty.
8e294940 980
edf66db1
SP
981 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
982 * sysdeps/generic/device-nrs.h: Likewise.
8e294940 983
edf66db1 9842001-07-18 Andreas Jaeger <aj@suse.de>
8e294940 985
edf66db1 986 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
8e294940 987
edf66db1 988 * time/Depend: New, add dependency on timezone.
8e294940 989
edf66db1
SP
990 * time/tst-getdate.c: Add testcase for bug report by Hendrik
991 Uhlmann <HUhlmann@stn-atlas.de>.
992 * time/datemsk: Likewise.
8e294940 993
edf66db1 9942001-07-17 Ulrich Drepper <drepper@redhat.com>
8e294940 995
edf66db1
SP
996 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
997 stream. Remove some unnecessary initializers.
8e294940 998
edf66db1 9992001-07-17 Andreas Jaeger <aj@suse.de>
8e294940 1000
edf66db1
SP
1001 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
1002 (is_hwcap_platform): Use it.
1003 (set_hwcap): New function to set hwcap_mask.
1004 (main): Call set_hwcap.
8e294940 1005
edf66db1 10062001-07-17 Jakub Jelinek <jakub@redhat.com>
8e294940 1007
edf66db1
SP
1008 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
1009 tm_zone before calling strptime.
8e294940 1010
edf66db1 10112001-07-17 Andreas Schwab <schwab@suse.de>
8e294940 1012
edf66db1 1013 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
8e294940 1014
edf66db1 10152001-07-17 Ulrich Drepper <drepper@redhat.com>
8e294940 1016
edf66db1
SP
1017 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
1018 * inet/ruserpass.c (ruserpass): Likewise.
1019 * nss/nsswitch.c (nss_parse_file): Likewise.
1020 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1021 * resolv/res_init.c (__res_vinit): Likewise.
1022 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
1023 * misc/getpass.c (getpass): Likewise.
1024 * misc/getusershell.c (initshells): Likewise.
1025 * misc/getttyent.c (setttyent): Likewise.
1026 * misc/mntent_r.c (__setmntent): Likewise.
1027 * time/getdate.c (__getdate_r): Likewise.
1028 * time/tzfile.c (__tzfile_read): Likewise.
1029 * iconv/gconv_conf.c (read_conf_file): Likewise.
1030 * intl/localealias.c (read_alias_file): Disable implicit locking
1031 for the stream. Use _unlocked functions for glibc.
1032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
1033 implicit locking for the stream.
1034 (__get_nprocs_conf): Likewise.
1035 (phys_pages_info): Likewise.
1036
10372001-07-16 Ulrich Drepper <drepper@redhat.com>
1038
1039 * nscd/connections.c: Print messages caused by user application
1040 only if debug_level > 0. Add little performance improvements.
1041 Use TEMP_FAILURE_RETRY around write calls.
1042 * nscd/grpcache.c: Likewise.
1043 * nscd/hstcache.c: Likewise.
1044 * nscd/pwdcache.c: Likewise.
8e294940 1045
edf66db1 10462001-07-13 H.J. Lu <hjl@gnu.org>
8e294940 1047
edf66db1
SP
1048 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
1049 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
1050 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
8e294940 1051
edf66db1
SP
1052 * sysdeps/mips/rtld-ldscript.in: Removed.
1053 * sysdeps/mips/rtld-parms: Likewise.
1054 * sysdeps/mips/mips64/rtld-parms: Likewise.
1055 * sysdeps/mips/mipsel/rtld-parms: Likewise.
8e294940 1056
edf66db1 10572001-07-16 Ulrich Drepper <drepper@redhat.com>
8e294940 1058
edf66db1
SP
1059 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
1060 substitution in here document.
8e294940 1061
edf66db1 10622001-07-16 Andreas Schwab <schwab@suse.de>
8e294940 1063
edf66db1 1064 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
8e294940 1065
edf66db1 10662001-07-16 Andreas Schwab <schwab@suse.de>
8e294940 1067
edf66db1
SP
1068 * math/libm-test.inc (check_float_internal): Fix sign bit test of
1069 infinities.
8e294940 1070
edf66db1 10712001-07-16 Jakub Jelinek <jakub@redhat.com>
8e294940 1072
edf66db1 1073 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
8e294940 1074
edf66db1 10752001-07-15 Ulrich Drepper <drepper@redhat.com>
8e294940 1076
edf66db1
SP
1077 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
1078 Patch by Jim Meyering <jim@meyering.net>.
8e294940 1079
edf66db1 10802001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 1081
edf66db1
SP
1082 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
1083 fields in the sigaction struct to match the definition in the kernel.
8e294940 1084
edf66db1 10852001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 1086
edf66db1
SP
1087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
1088 test for ENOSYS.
8e294940 1089
edf66db1 10902001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 1091
edf66db1
SP
1092 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
1093 to the entries in the __jmp_buf structure.
1094 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
8e294940 1095
edf66db1 10962001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 1097
edf66db1
SP
1098 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
1099 (> 64K) and a mvc loop for small blocks.
1100 * sysdeps/s390/s390-32/memcpy.S: Likewise.
1101 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1102 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8e294940 1103
edf66db1 11042001-07-15 Andreas Schwab <schwab@suse.de>
8e294940 1105
edf66db1
SP
1106 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
1107 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
8e294940 1108
edf66db1
SP
1109 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
1110 first. Default to 4096, not EXEC_PAGESIZE.
8e294940 1111
edf66db1
SP
1112 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
1113 Fix index.
8e294940 1114
edf66db1 11152001-07-09 Andreas Jaeger <aj@suse.de>
8e294940 1116
edf66db1 1117 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
8e294940 1118
edf66db1
SP
1119 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
1120 HWCAP_I386_XMM2 to enum.
8e294940 1121
edf66db1 11222001-07-13 Andreas Jaeger <aj@suse.de>
8e294940 1123
edf66db1
SP
1124 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
1125 PR libc/2372.
8e294940 1126
edf66db1 11272001-07-12 Ulrich Drepper <drepper@redhat.com>
8e294940 1128
edf66db1 1129 * Makeconfig: Add some more changes to handle AIX linker better.
8e294940 1130
edf66db1 11312001-07-12 H.J. Lu <hjl@gnu.org>
8e294940 1132
edf66db1 1133 * sysdeps/generic/segfault.c: Include <errno.h>.
8e294940 1134
edf66db1 11352001-07-01 Andreas Jaeger <aj@suse.de>
8e294940 1136
edf66db1
SP
1137 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
1138 sbrk. Closes PR libc/2312.
8e294940 1139
edf66db1 11402001-07-01 Andreas Jaeger <aj@suse.de>
8e294940 1141
edf66db1
SP
1142 * sysdeps/generic/segfault.c (install_handler): Handle case that
1143 the output file does not exists. Closes PR libc/2345.
8e294940 1144
edf66db1 11452001-07-11 Ulrich Drepper <drepper@redhat.com>
8e294940 1146
edf66db1
SP
1147 * intl/locale.alias: Use he language code for hebrew, not il
1148 [PR libc/2382].
8e294940 1149
edf66db1 11502001-07-11 Jakub Jelinek <jakub@redhat.com>
8e294940 1151
edf66db1 1152 * iconv/gconv_int.h: Fix comment typo.
8e294940 1153
edf66db1 11542001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
8e294940 1155
edf66db1 1156 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
8e294940 1157
edf66db1 11582001-07-07 Roland McGrath <roland@frob.com>
8e294940 1159
edf66db1 1160 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
8e294940 1161
edf66db1 11622001-07-10 Stephen L Moshier <moshier@mediaone.net>
8e294940 1163
edf66db1
SP
1164 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
1165 backwards conditional in test for x == 1.0.
8e294940 1166
edf66db1 11672001-07-10 Andreas Jaeger <aj@suse.de>
8e294940 1168
edf66db1
SP
1169 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
1170 (-0.7).
8e294940 1171
edf66db1 11722001-07-09 Andreas Jaeger <aj@suse.de>
8e294940 1173
edf66db1
SP
1174 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
1175 2001-07-05 for sysconfdir handling.
1176 * config.make.in (sysconfdir): Likewise.
1177 * configure.in: Likewise.
8e294940 1178
edf66db1 1179 * configure.in: Always assign libc_cv_sysconfdir.
8e294940 1180
edf66db1 11812001-07-08 Ulrich Drepper <drepper@redhat.com>
8e294940 1182
edf66db1
SP
1183 * Makerules [AIX] (build-shlib-helper): Precede linker options
1184 with -Wl.
8e294940 1185
edf66db1 1186 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
8e294940 1187
edf66db1
SP
1188 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
1189 what we define in <stdio.h>.
8e294940 1190
edf66db1
SP
1191 * iconv/iconv_prog.c (main): Don't unconditionally define
1192 variables only use if _POSIX_MAPPED_FILES is defined.
8e294940 1193
edf66db1
SP
1194 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
1195 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
8e294940 1196
edf66db1 1197 * sysdeps/unix/sysv/aix/recv.c: New file.
8e294940 1198
edf66db1 1199 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
8e294940 1200
edf66db1 12012001-07-07 Ulrich Drepper <drepper@redhat.com>
8e294940 1202
edf66db1 1203 * sysdeps/generic/recv.c: Fix return type.
8e294940 1204
edf66db1 1205 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
8e294940 1206
edf66db1
SP
1207 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
1208 declarations for asm functions.
8e294940 1209
edf66db1
SP
1210 * include/libc-symbols.h: Provide more dummy definitions for the
1211 case if GNU ld isn't used.
8e294940 1212
edf66db1
SP
1213 * libio/freopen.c: Include <stdlib.h> for free declaration.
1214 * libio/freopen64.c: Likewise.
8e294940 1215
edf66db1 1216 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
8e294940 1217
edf66db1 12182001-07-06 Jakub Jelinek <jakub@redhat.com>
8e294940 1219
edf66db1
SP
1220 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
1221 explicitly into .text section.
8e294940 1222
edf66db1 12232001-04-16 Jes Sorensen <jes@linuxcare.com>
8e294940 1224
edf66db1
SP
1225 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1226 Add 16 longwords reserved for future use to match changes in the
1227 kernel.
8e294940 1228
edf66db1 12292001-07-03 Jes Sorensen <jes@trained-monkey.org>
8e294940 1230
edf66db1
SP
1231 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
1232 string length rather than strlen(). Solves the performance problem
1233 of doing strlen on a 5MB string when strncpy was called with a
1234 length argument of 5 bytes.
8e294940 1235
edf66db1 12362001-07-02 Jakub Jelinek <jakub@redhat.com>
8e294940 1237
edf66db1
SP
1238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1239 R_SPARC_UA16 and R_SPARC_UA32.
1240 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8e294940 1241
edf66db1 12422001-07-01 Stephen L Moshier <moshier@mediaone.net>
8e294940 1243
edf66db1
SP
1244 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1245 acosh(x) = ln(2x) if x > 2^30.
1246 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1247 acosh(x) = ln(2x) if x > 2^54.
8e294940 1248
edf66db1 12492001-07-07 Mark Kettenis <kettenis@gnu.org>
8e294940 1250
edf66db1
SP
1251 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1252 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1253 KERN_WRITE_PROTECTION_FAILURE.
8e294940 1254
edf66db1 12552001-07-07 Ulrich Drepper <drepper@redhat.com>
8e294940 1256
edf66db1
SP
1257 * posix/regex.c: Limit string length printed in debug messages to
1258 100 chars.
8e294940 1259
edf66db1 1260 * configure.in: Don't warn about versioning if not on ELF system.
8e294940 1261
edf66db1 12622001-07-07 Andreas Jaeger <aj@suse.de>
8e294940 1263
edf66db1 1264 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
8e294940 1265
edf66db1 12662001-07-06 Ulrich Drepper <drepper@redhat.com>
8e294940 1267
edf66db1 1268 * po/gl.po: Update from translation team.
8e294940 1269
edf66db1 12702001-07-06 Andreas Jaeger <aj@suse.de>
8e294940 1271
edf66db1
SP
1272 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1273 sysconfdir.
8e294940 1274
edf66db1 1275 * manual/libc-texinfo.sh: Add note for the FDL.
8e294940 1276
edf66db1 1277 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
8e294940 1278
edf66db1 1279 * manual/libc.texinfo: Regenerated.
8e294940 1280
edf66db1 1281 * manual/fdl.texi: Fix node.
8e294940 1282
edf66db1
SP
1283 * config.make.in (sysconfdir): Replace correctly.
1284 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
8e294940 1285
edf66db1
SP
1286 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1287 longer needed.
8e294940 1288
edf66db1
SP
1289 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1290 case for alpha.
1291 Rework handling of missing linuxthreads add-on.
8e294940 1292
edf66db1 1293 * configure.in: Remove unused sysconfdir substitution.
8e294940 1294
edf66db1
SP
1295 * manual/Makefile (texis): Add fdl.texi.
1296 * manual/fdl.texi: New.
1297 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1298 * manual/libc.texinfo: Add fdl, update titlepage.
1299 Patches by Brian Youmans <3diff@gnu.org>.
8e294940 1300
edf66db1
SP
1301 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1302 generated file.
8e294940 1303
edf66db1 13042001-07-06 Paul Eggert <eggert@twinsun.com>
8e294940 1305
edf66db1
SP
1306 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1307 not appropriate for documentation anyway.
1308 * manual/libc-texinfo.sh: "Library General Public License" ->
1309 "Lesser General Public License".
1310 * COPYING: Fix Y2k bug in sample copyright notices.
1311 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1312 as fsf.org uses the name "lesser.texi".
1313 * manual/Makefile (texis): Follow rename.
8e294940 1314
edf66db1 13152001-07-06 Andreas Jaeger <aj@suse.de>
8e294940 1316
edf66db1
SP
1317 * All files under GPL/LGPL version 2: Place under LGPL version
1318 2.1.
8e294940 1319
edf66db1 13202001-07-05 Andreas Jaeger <aj@suse.de>
8e294940 1321
edf66db1
SP
1322 Synch with Linux 2.4.6:
1323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1324 New.
1325 (AF_BLUETOOTH): New.
8e294940 1326
edf66db1
SP
1327 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1328 (PF_BLUETOOTH): New.
1329 (AF_BLUETOOTH): New.
8e294940 1330
edf66db1
SP
1331 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1332 (PF_BLUETOOTH): New.
8e294940 1333
edf66db1
SP
1334 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1335 (PF_BLUETOOTH): New.
8e294940 1336
edf66db1
SP
1337 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1338 (AF_BLUETOOTH): New.
8e294940 1339
edf66db1
SP
1340 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1341 (AF_BLUETOOTH): New.
8e294940 1342
edf66db1 1343 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
8e294940 1344
edf66db1 1345 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
8e294940 1346
edf66db1 1347 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
8e294940 1348
edf66db1 1349 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
8e294940 1350
edf66db1 13512001-07-04 Roland McGrath <roland@frob.com>
8e294940 1352
edf66db1
SP
1353 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1354 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1355 rather than doing a mach_port_insert_right call first.
8e294940 1356
edf66db1 13572001-06-26 Roland McGrath <roland@frob.com>
8e294940 1358
edf66db1 1359 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
8e294940 1360
edf66db1 13612001-07-03 Andreas Jaeger <aj@suse.de>
8e294940 1362
edf66db1
SP
1363 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1364 crypt add-on.
8e294940 1365
edf66db1 13662001-07-01 Mark Kettenis <kettenis@gnu.org>
8e294940 1367
edf66db1
SP
1368 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1369 the Hurd pfinet server, using equivalent code from the Linux
1370 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1371 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1372 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
1373 anymore.
1374 (if_nametoindex): New implementation using SIOCGIFINDEX.
1375 (if_freenameindex): Straight copy of the Linux version.
1376 (if_nameindex): New implementation based on pfinet_siocgifconf and
1377 SIOCGIFINDEX.
1378 (if_indextoname): New implementation using SIOCGIFNAME.
1379 (map_interfaces): Function removed.
1380 From Marcus Brinkmann <marcus@gnu.org>.
8e294940 1381
edf66db1 13822001-06-30 Jakub Jelinek <jakub@redhat.com>
8e294940 1383
edf66db1
SP
1384 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1385 gaps below main executable.
8e294940 1386
edf66db1 13872001-06-19 Andreas Jaeger <aj@suse.de>
8e294940 1388
edf66db1
SP
1389 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1390 Handle profiling.
8e294940 1391
edf66db1 13922001-06-29 Andreas Jaeger <aj@suse.de>
8e294940 1393
edf66db1
SP
1394 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1395 Patch by Stephen L Moshier <moshier@mediaone.net>.
8e294940 1396
edf66db1 13972001-06-28 Ulrich Drepper <drepper@redhat.com>
8e294940 1398
edf66db1
SP
1399 * manual/argp.texi: Tons of cleanups.
1400 Patch by Clifford U. Smith <cuel@swbell.net>.
8e294940 1401
edf66db1 14022001-06-28 Mark Kettenis <kettenis@gnu.org>
8e294940 1403
edf66db1
SP
1404 * manual/users.texi (Setting Groups): Correct initgroups
1405 documentation. Add documentation for getgrouplist.
8e294940 1406
edf66db1 14072001-06-28 H.J. Lu <hjl@gnu.org>
8e294940 1408
edf66db1
SP
1409 * locale/findlocale.c (locale_file_list): Renamed to ...
1410 (_nl_locale_file_list): This. Make it extern.
1411 (free_mem): Move to ...
1412 * locale/setlocale.c (free_mem): Here.
8e294940 1413
edf66db1 14142001-06-28 Mark Kettenis <kettenis@gnu.org>
8e294940 1415
edf66db1
SP
1416 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1417 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
1418 instead.
1419 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1420 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
1421 instead.
8e294940 1422
edf66db1
SP
1423 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1424 -Wl,-soname option lost in 2001-06-16 change.
8e294940 1425
edf66db1 14262001-06-27 Ulrich Drepper <drepper@redhat.com>
8e294940 1427
edf66db1
SP
1428 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
1429 Restrict printing of string in debug mode to 100 characters to make
1430 the output useful for long input texts.
8e294940 1431
edf66db1 1432 * posix/Makefile: Add rules to build and run tst-regex.
8e294940 1433
edf66db1 14342001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
8e294940 1435
edf66db1
SP
1436 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1437 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1438 (wcs_re_match_2_internal): Check whether the wcs buffers need
1439 seting up or not, and skip seting up routin if not needed.
8e294940 1440
edf66db1 14412001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
8e294940 1442
edf66db1 1443 * posix/regex.c (count_mbs_length): Use binary search for optimization.
8e294940 1444
edf66db1 14452001-06-27 Ulrich Drepper <drepper@redhat.com>
8e294940 1446
edf66db1 1447 * posix/tst-regex.c: Fix several bugs. Add more tests.
8e294940 1448
edf66db1 14492001-06-26 Mark Kettenis <kettenis@gnu.org>
8e294940 1450
edf66db1
SP
1451 * hurd/Makefile (user-interfaces): Add pfinet.
1452 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1453 <netinet/in.h>.
1454 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
1455 as the handler for SIOCGIFCONF.
1456 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1457 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
1458 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
1459 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1460 SIOCGIFNAME.
1461 From Marcus Brunkmann <marcus@gnu.org>.
8e294940 1462
edf66db1 14632001-06-25 Ulrich Drepper <drepper@redhat.com>
8e294940 1464
edf66db1
SP
1465 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1466 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
8e294940 1467
edf66db1
SP
1468 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1469 _dl_catch_error calls.
8e294940 1470
edf66db1 14712001-06-22 Jakub Jelinek <jakub@redhat.com>
8e294940 1472
edf66db1
SP
1473 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1474 typos.
8e294940 1475
edf66db1 14762001-06-01 Wolfram Gloger <wg@malloc.de>
8e294940 1477
edf66db1
SP
1478 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1479 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1480 when malloc_atfork is in use.
8e294940 1481
edf66db1 14822001-06-22 Andreas Jaeger <aj@suse.de>
8e294940 1483
edf66db1
SP
1484 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1485 to avoid warnings.
8e294940 1486
edf66db1
SP
1487 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1488 variable.
1489 Add unused attributes to avoid warnings.
8e294940 1490
edf66db1
SP
1491 * elf/reldep4mod4.c: Add prototype to avoid warning.
1492 * elf/reldep4mod2.c: Likewise.
8e294940 1493
edf66db1
SP
1494 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1495 prototypes.
8e294940 1496
edf66db1 14972001-06-18 Roland McGrath <roland@frob.com>
8e294940 1498
edf66db1 1499 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
8e294940 1500
edf66db1 15012001-06-20 Alexandre Oliva <aoliva@redhat.com>
8e294940 1502
edf66db1 1503 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
8e294940 1504
edf66db1 15052001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 1506
edf66db1 1507 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
8e294940 1508
edf66db1 15092001-05-09 Michael Keezer <mkeezer@redhat.com>
8e294940 1510
edf66db1
SP
1511 * Makeconfig: Added AIX-ld support for DSO.
1512 * Makerules: Likewise.
1513 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1514 (defaultmod2.so): Likewise.
1515 * debug/Makefile: Conditionalize use of elf/ld.so.
1516 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
8e294940 1517
edf66db1
SP
1518 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1519 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1520 (f/g)prrest(0/1) static only.
1521 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1522 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1523 shared.
1524 * sysdeps/unix/sysv/aix/setitimer.c: New file.
1525 * sysdeps/unix/sysv/aix/sleep.c: New file.
1526 * sysdeps/unix/sysv/aix/usleep.c: New file.
1527 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1528 * sysdeps/unix/sysv/aix/dl-error.c: New file.
1529 * sysdeps/unix/sysv/aix/dl-support.c: New file.
1530 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
8e294940 1531
edf66db1 15322001-06-19 Ulrich Drepper <drepper@redhat.com>
8e294940 1533
edf66db1 1534 * po/es.po: Update from translation team.
8e294940 1535
edf66db1 15362001-06-19 Andreas Jaeger <aj@suse.de>
8e294940 1537
edf66db1 1538 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
8e294940 1539
edf66db1 1540 * math/libm-test.inc (tanh_test): Test for 2^-56.
8e294940 1541
edf66db1
SP
1542 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1543 equals argument when x < 2^-55.
1544 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
8e294940 1545
edf66db1 15462001-06-17 Alan Modra <amodra@bigpond.net.au>
8e294940 1547
edf66db1
SP
1548 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1549 at unaligned address.
8e294940 1550
edf66db1 15512001-06-18 Ulrich Drepper <drepper@redhat.com>
8e294940 1552
edf66db1
SP
1553 * posix/regex.c: Reorganize code to build code twice, once for single
1554 byte, once for multi-byte charsets. Choose function set adequate for
1555 locale at runtime.
1556 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
8e294940 1557
edf66db1 1558 * po/nl.po: Update from translation team.
8e294940 1559
edf66db1 15602001-06-09 Bruno Haible <haible@clisp.cons.org>
8e294940 1561
edf66db1
SP
1562 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1563 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1564 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1565
15662001-05-26 Bruno Haible <haible@clisp.cons.org>
1567
1568 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1569 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
8e294940 1570
edf66db1
SP
15712001-06-17 Roland McGrath <roland@frob.com>
1572
1573 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1574 not LIO_READ + 1 (which is the value of LIO_WRITE!).
8e294940 1575
edf66db1
SP
1576 * Makerules (build-module-helper-objlist): New variable,
1577 broken out of build-module. Insert --whole-archive/--no-whole-archive
1578 immediately each *_pic.a file in the link object list.
1579 (whole-archive): New variable, used by that.
1580 (build-module-objlist): New variable using build-module-helper-objlist.
1581 (build-module, build-module-helper): Use it.
1582 (build-shlib-objlist): New variable using build-module-helper-objlist.
1583 (build-shlib): Use that.
1584 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1585
1586 * posix/spawni.c: Moved to ...
1587 * sysdeps/posix/spawni.c: ... here.
1588 * sysdeps/generic/spawni.c: New file.
1589
15902001-06-16 Roland McGrath <roland@frob.com>
1591
1592 * hurd/Makefile (routines): Add lookup-retry.
1593 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1594 * hurd/lookup-retry.c: ... into here, new file.
1595 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1596 using of duplicate code here.
1597
1598 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1599
16002001-06-17 Ulrich Drepper <drepper@redhat.com>
1601
1602 * po/ja.po: Update from translation team.
1603
16042001-06-04 Bruno Haible <haible@clisp.cons.org>
1605
1606 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1607 compare_files): New functions.
1608 (write_locale_data): Use xmalloc. Compare the file with the locale
1609 data files for the same category in other locales, and reuse it if
1610 possible and safe.
1611
16122001-06-07 Mark Kettenis <kettenis@gnu.org>
1613
1614 * grp/initgroups.c (initgroups): Factor out re-usable code into...
1615 (internal_getgrouplist): ... new function.
1616 (getgrouplist): New function.
1617 * grp/grp.h (getgrouplist): New prototype.
1618 * grp/Versions [2.2.4]: Add getgrouplist.
1619
16202001-06-16 Ulrich Drepper <drepper@redhat.com>
1621
1622 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1623 Patch by Pekka Savola <pekkas@netcore.fi>.
1624
16252001-06-15 Roland McGrath <roland@frob.com>
1626
1627 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1628 variables, broken out of librt-routines.
1629 (librt-routines): Set using those.
1630 (extra-libs, extra-libc-others, tests): Set these unconditionally.
1631 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1632 * sysdeps/generic/aio_fsync.c: New file.
1633 * sysdeps/generic/aio_misc.c: New file.
1634 * sysdeps/generic/aio_write.c: New file.
1635 * sysdeps/generic/aio_write64.c: New file.
1636 * sysdeps/generic/aio_read64.c: New file.
1637 * sysdeps/generic/aio_read.c: New file.
1638 * sysdeps/generic/aio_notify.c: New file.
1639 * sysdeps/generic/lio_listio64.c: New file.
1640 * sysdeps/generic/lio_listio.c: New file.
1641 * sysdeps/generic/aio_cancel.c: New file.
1642 * sysdeps/generic/aio_misc.h: New file.
1643 * sysdeps/generic/aio_suspend.c: New file.
1644 * rt/aio_cancel.c: Moved to ...
1645 * sysdeps/pthread/aio_cancel.c: ... here.
1646 * rt/aio_fsync.c: Moved to ...
1647 * sysdeps/pthread/aio_fsync.c: ... here.
1648 * rt/aio_misc.c: Moved to ...
1649 * sysdeps/pthread/aio_misc.c: ... here.
1650 * rt/aio_misc.h: Moved to ...
1651 * sysdeps/pthread/aio_misc.h: ... here.
1652 * rt/aio_notify.c: Moved to ...
1653 * sysdeps/pthread/aio_notify.c: ... here.
1654 * rt/aio_read.c: Moved to ...
1655 * sysdeps/pthread/aio_read.c: ... here.
1656 * rt/aio_read64.c: Moved to ...
1657 * sysdeps/pthread/aio_read64.c: ... here.
1658 * rt/aio_suspend.c: Moved to ...
1659 * sysdeps/pthread/aio_suspend.c: ... here.
1660 * rt/aio_write.c: Moved to ...
1661 * sysdeps/pthread/aio_write.c: ... here.
1662 * rt/aio_write64.c: Moved to ...
1663 * sysdeps/pthread/aio_write64.c: ... here.
1664 * rt/lio_listio.c: Moved to ...
1665 * sysdeps/pthread/lio_listio.c: ... here.
1666 * rt/lio_listio64.c: Moved to ...
1667 * sysdeps/pthread/lio_listio64.c: ... here.
1668
16692001-06-14 Roland McGrath <roland@frob.com>
1670
1671 * configure.in: Let sysdeps Implies files in add-ons bring in
1672 sysdeps directories from the main source and other add-ons too.
1673
16742001-06-15 Jakub Jelinek <jakub@redhat.com>
1675
1676 * math/test-misc.c (main): Add tests for nextafter and nexttoward
1677 with +-Inf as second argument.
1678
1679 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1680 NaN, not Inf.
1681 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1682 * sysdeps/i386/fpu/s_nexttoward.c: New.
1683 * sysdeps/i386/fpu/s_nexttowardf.c: New.
1684 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1685 check for NaN, optimize x==+-0 handling.
1686 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1687 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1688 check for NaN, fix sign in x==+-0 case.
1689 * sysdeps/ia64/fpu/s_nexttoward.c: New.
1690 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1691
16922001-06-15 H.J. Lu <hjl@gnu.org>
1693
1694 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1695 * rt/tst-aio3.c (do_test): Likewise.
1696 * rt/tst-aio4.c (do_test): Likewise.
1697 * rt/tst-aio5.c (do_test): Likewise.
1698 * rt/tst-aio6.c (do_test): Likewise.
8e294940 1699
edf66db1 17002001-06-15 Andreas Schwab <schwab@suse.de>
8e294940 1701
edf66db1
SP
1702 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1703 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
8e294940 1704
edf66db1 17052001-06-15 Andreas Jaeger <aj@suse.de>
8e294940 1706
edf66db1 1707 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
8e294940 1708
edf66db1 17092001-06-14 Andreas Schwab <schwab@suse.de>
8e294940 1710
edf66db1 1711 * elf/ldconfig.c (search_dir): Fix check for regular file.
8e294940 1712
edf66db1
SP
1713 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1714 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
8e294940 1715
edf66db1 17162001-06-14 Roland McGrath <roland@frob.com>
8e294940 1717
edf66db1
SP
1718 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1719 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
8e294940 1720
edf66db1 17212001-06-13 Roland McGrath <roland@frob.com>
8e294940 1722
edf66db1 1723 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
8e294940 1724
edf66db1
SP
1725 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1726 so the label is not considered unused.
8e294940 1727
edf66db1
SP
1728 * sysdeps/mach/hurd/pwrite64.c: New file.
1729 * sysdeps/mach/hurd/pread64.c: New file.
8e294940 1730
edf66db1
SP
1731 * sysdeps/mach/hurd/pread.c
1732 (__libc_pread): Define this name, with __pread as an alias.
1733 * sysdeps/mach/hurd/pwrite.c
1734 (__libc_pwrite): Define this name, with __pwrite as an alias.
8e294940 1735
edf66db1
SP
1736 Implement POSIX "shared memory objects" as regular
1737 files residing in the /var/run/shm/ directory.
1738 This works on any system that supports _POSIX_MAPPED_FILES,
1739 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1740 * sysdeps/posix/shm_open.c: New file.
1741 * sysdeps/posix/shm_unlink.c: New file.
1742 * sysdeps/mach/hurd/bits/posix_opt.h
1743 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
8e294940 1744
edf66db1
SP
1745 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1746 Use raise instead of __aio_sigqueue.
8e294940 1747
edf66db1
SP
1748 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1749 * sysdeps/mach/hurd/pwrite.c: Likewise.
8e294940 1750
edf66db1
SP
1751 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1752 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1753 as default version set.
8e294940 1754
edf66db1 17552001-06-13 Ulrich Drepper <drepper@redhat.com>
8e294940 1756
edf66db1
SP
1757 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1758 _IO_file_open.
1759 (_IO_freopen64): Likewise.
1760 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
8e294940 1761
edf66db1 1762 * elf/elf.h: Add a few more EM_* constants.
8e294940 1763
edf66db1 17642001-06-12 Bruno Haible <haible@clisp.cons.org>
8e294940 1765
edf66db1 1766 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
8e294940 1767
edf66db1 17682001-06-09 Ben Collins <bcollins@debian.org>
8e294940 1769
edf66db1
SP
1770 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1771 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1772 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1774 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1775 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1776 hardcoded B400000.
8e294940 1777
edf66db1 17782001-06-13 Ulrich Drepper <drepper@redhat.com>
8e294940 1779
edf66db1
SP
1780 * time/sys/time.h: Don't use enum __itimer_which ever for
1781 __itimer_which_t for C++.
1782 Reported by Martin Buchholz <martin@xemacs.org>.
8e294940 1783
edf66db1 1784 * po/fr.po: Update from translation team.
8e294940 1785
edf66db1 17862001-06-12 H.J. Lu <hjl@gnu.org>
8e294940 1787
edf66db1
SP
1788 * configure.in: Fix typos in missing program names.
1789 * configure: Regenerated.
8e294940 1790
edf66db1 17912001-06-12 Andreas Jaeger <aj@suse.de>
8e294940 1792
edf66db1 1793 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
8e294940 1794
edf66db1 1795 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
8e294940 1796
edf66db1 17972001-06-11 Andreas Jaeger <aj@suse.de>
8e294940 1798
edf66db1
SP
1799 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
1800 Stephen L Moshier <moshier@mediaone.net>.
8e294940 1801
edf66db1 1802 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
8e294940 1803
edf66db1
SP
1804 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1805 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8e294940 1806
edf66db1 18072001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
8e294940 1808
edf66db1
SP
1809 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1810 Use my_signo instead of MY_SIGNO and initialize it so that the
1811 used signal is always available.
8e294940 1812
edf66db1
SP
18132001-06-11 Andreas Jaeger <aj@suse.de>,
1814 Michael Deutschmann <michael@talamasca.ocis.net>
8e294940 1815
edf66db1
SP
1816 * io/test-lfs.c (do_prepare): Clean up error messages.
1817 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1818 (do_test): Likewise.
8e294940 1819
edf66db1 18202001-06-11 Andreas Jaeger <aj@suse.de>
8e294940 1821
edf66db1
SP
1822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1823 IMAXBEL): Make always visible since they're needed by POSIX.
1824 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
8e294940 1825
edf66db1 18262001-06-10 Ben Collins <bcollins@debian.org>
8e294940 1827
edf66db1
SP
1828 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1829 .type of _start.
8e294940 1830
edf66db1
SP
1831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1832 INT_MAX.
8e294940 1833
edf66db1 18342001-06-07 H.J. Lu <hjl@gnu.org>
8e294940 1835
edf66db1 1836 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
8e294940 1837
edf66db1
SP
18382001-06-10 Roland McGrath <roland@frob.com>
1839
1840 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1841 * elf/reldep4mod4.c: Likewise.
8e294940 1842
edf66db1 18432001-06-10 Mark Kettenis <kettenis@gnu.org>
8e294940 1844
edf66db1 1845 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
8e294940 1846
edf66db1 18472001-06-08 Andreas Schwab <schwab@suse.de>
8e294940 1848
edf66db1
SP
1849 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1850 Don't dereference at end of string.
8e294940 1851
edf66db1 18522001-06-06 Roland McGrath <roland@frob.com>
8e294940 1853
edf66db1
SP
1854 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1855 From Robert Bihlmeyer <robbe@orcus.priv.at>.
8e294940 1856
edf66db1 18572001-06-06 Ulrich Drepper <drepper@redhat.com>
8e294940 1858
edf66db1
SP
1859 * po/ko.po: Update from translation team.
1860
18612001-06-06 Andreas Jaeger <aj@suse.de>
8e294940 1862
edf66db1
SP
1863 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1864 offset+length-1.
1865 Reported by Robert Bernecky <bernecky@acm.org>.
8e294940 1866
edf66db1 18672001-06-06 Jakub Jelinek <jakub@redhat.com>
8e294940 1868
edf66db1
SP
1869 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1870 * sysdeps/ia64/elf/start.S: Likewise.
1871 * sysdeps/sh/elf/start.S: Likewise.
1872 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1873 * sysdeps/s390/s390-64/elf/start.S: Likewise.
8e294940 1874
edf66db1 18752001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
8e294940 1876
edf66db1
SP
1877 * sysdeps/hppa/bsd-_setjmp.S: New.
1878 * sysdeps/hppa/bsd-setjmp.S: New.
8e294940 1879
edf66db1
SP
1880 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1881 gcc warnings about multi-line strings.
8e294940 1882
edf66db1
SP
1883 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1884 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
8e294940 1885
edf66db1
SP
1886 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1887 setrlimit directly instead of using wrappers.
8e294940 1888
edf66db1 18892001-05-01 Richard Hirst <rhirst@linuxcare.com>
8e294940 1890
edf66db1
SP
1891 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1892 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
8e294940 1893
edf66db1 18942001-06-05 Philipp Thomas <pthomas@suse.de>
8e294940 1895
edf66db1
SP
1896 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1897 what can't be translated.
8e294940 1898
edf66db1 18992001-06-06 Ulrich Drepper <drepper@redhat.com>
8e294940 1900
edf66db1
SP
1901 * timezone/zic.c: Update from tzcode2001c.
1902 * timezone/private.h: Likewise.
1903 * timezone/africa: Update from tzdata2001c.
1904 * timezone/asia: Likewise.
1905 * timezone/europe: Likewise.
1906 * timezone/northamerica: Likewise.
1907 * timezone/southamerica: Likewise.
1908 * timezone/zone.tab: Likewise.
8e294940 1909
edf66db1 19102001-06-04 Bruno Haible <haible@clisp.cons.org>
8e294940 1911
edf66db1
SP
1912 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1913 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1914 UNICODE_TAG_HANDLER.
1915 (__gconv_transform_internal_ucs2): Likewise.
1916 (__gconv_transform_internal_ucs2reverse): Likewise.
1917 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1918 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1919 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1920 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1921 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1922 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1923 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1924 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1925 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1926 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1927 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1928 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1929 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1930 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1931 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1932 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1933 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1934 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1935 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1936 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1937 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1938 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1939 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1940 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1941 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1942 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1943 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1944 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1945 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1946 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
8e294940 1947 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
edf66db1
SP
1948 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1949 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1950 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1951 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1952 is already selected but set2 or tag are set.
1953 (conversion): New enum type.
1954 (cvlist_t): New type.
1955 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1956 (conversion_lists): New array.
1957 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
1958 prefer conversion to Japanese character sets. If "zh", prefer
1959 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
1960 optimizations.
1961 (INIT_PARAMS): Add tag.
1962 (UPDATE_PARAMS): Add tag.
1963
19642001-06-04 Bruno Haible <haible@clisp.cons.org>
1965
1966 * locale/programs/locfile.c (write_locale_data): Before creat(),
1967 unlink the file, to avoid crashing the processes that mmap it. Change
1968 a double slash to a single slash. Free fname in case of error return.
1969
19702001-06-02 Jakub Jelinek <jakub@redhat.com>
1971
1972 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1973 changes, do the special handling for denormal numbers, not for
1974 normalized numbers (patch by <trevin@xmission.com>).
1975
1976 * math/test-misc.c (main): Test frexpl with denormal arguments.
1977
19782001-06-04 Jakub Jelinek <jakub@redhat.com>
1979
1980 * math/libm-test.inc (llround_test): Add two new llround tests.
1981 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1982 overflow when rounding away from zero.
1983
19842001-06-04 Jakub Jelinek <jakub@redhat.com>
1985
1986 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1987 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1988 __ieee754_log2l): New prototypes.
1989 * sysdeps/generic/w_log2.c: New file.
1990 * sysdeps/generic/w_log2f.c: New file.
1991 * sysdeps/generic/w_log2l.c: New file.
1992 * sysdeps/generic/s_log2l.c: Move...
1993 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1994 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1995 and log2(x < 0).
1996 * sysdeps/i386/fpu/s_log2.S: Move...
1997 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
1998 * sysdeps/i386/fpu/s_log2f.S: Move...
1999 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
2000 * sysdeps/i386/fpu/s_log2l.S: Move...
2001 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
2002 * sysdeps/m68k/fpu/s_log2.c: Move...
2003 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
2004 * sysdeps/m68k/fpu/s_log2f.c: Move...
2005 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
2006 * sysdeps/m68k/fpu/s_log2l.c: Move...
2007 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
2008 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
2009 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
2010 __ieee754_log2.
2011 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
2012 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
2013 __ieee754_log2f.
2014
20152001-06-04 Jakub Jelinek <jakub@redhat.com>
2016
2017 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
2018 even arguments which result in denormalized exp2 are accepted.
2019 (__exp2): Arguments equal to u_threshold already result into
2020 underflow.
2021 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
2022 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
2023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
2024 low, with corrected lowmark use greaterequal, not greater.
2025 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2026
20272001-06-04 Jakub Jelinek <jakub@redhat.com>
2028
2029 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
2030 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
2031 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
2032 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
2033 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
2034 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
2035 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
2036 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
2037
20382001-06-04 Jakub Jelinek <jakub@redhat.com>
2039
2040 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
2041 gave non-finite result instead of using constant in generic
2042 version.
2043 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
2044 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
2045 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
2046 (__exp10): Test if finite argument gave non-finite result.
2047 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
2048 Likewise.
2049 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
2050 Likewise.
8e294940 2051
edf66db1 20522001-06-04 Jakub Jelinek <jakub@redhat.com>
8e294940 2053
edf66db1
SP
2054 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
2055 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
8e294940 2056
edf66db1 20572001-05-29 Bruno Haible <haible@clisp.cons.org>
8e294940 2058
edf66db1
SP
2059 * locale/programs/ld-ctype.c (idx_table): New struct type.
2060 (idx_table_init, idx_table_get, idx_table_add): New functions.
2061 (MAX_CHARNAMES_IDX): Remove macro.
2062 (locale_ctype_t): Change type of charnames_idx field.
2063 (ctype_startup): Change initialization of charnames_idx field.
2064 (find_idx): Use idx_table_get and idx_table_add for speed.
8e294940 2065
edf66db1
SP
2066 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
2067 computation of characters in a range.
8e294940 2068
edf66db1 20692001-05-29 Bruno Haible <haible@clisp.cons.org>
8e294940 2070
edf66db1
SP
2071 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
2072 <U03F5>.
2073 (__ucs_to_gb18030_tab1): Likewise.
2074 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
2075 (BODY for TO_LOOP): Likewise.
2076 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
2077 <U00xxxxxx> syntax.
2078 * iconvdata/tst-table-from.c (bmp_only): New variable.
2079 (utf8_decode): If bmp_only, don't return characters outside Unicode
2080 plane 0.
2081 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
2082 a conversion line if utf8_decode returns NULL.
2083 * iconvdata/tst-table-to.c (main): When testing encodings other than
2084 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
2085 instead of UCS-2 as input.
2086 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
2087 of the charmap.
2088
20892001-05-29 Bruno Haible <haible@clisp.cons.org>
2090
2091 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
2092 (__cns11643l1_to_ucs4_tab): Regenerated.
2093 (__cns11643l1_from_ucs4_tab12): Regenerated.
2094 * iconvdata/cns11643.c: Update to Unicode 3.1.
2095 (__cns11643l14_to_ucs4_tab): Remove array.
2096 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2097 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2098 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
2099 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
2100 (__cns11643_from_ucs4p2_tab): New array.
2101 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
2102 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2103 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2104 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
2105 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
2106 (__cns11643_from_ucs4_tab): Remove declaration.
2107 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
2108 declarations.
2109 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
2110 U+20000..U+2A6D6.
2111 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
2112 declaration.
2113 (__cns11643_from_ucs4p0_tab): New declaration.
2114 (ucs4_to_cns11643l2): Update for new arrays.
2115 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
2116 3 to 7.
2117 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
2118 * iconvdata/EUC-TW.irreversible: New file.
2119 * iconvdata/tst-table.sh: Use it.
2120 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
2121 CP1258.irreversible, EUC-TW.irreversible.
8e294940 2122
edf66db1 21232001-05-29 Bruno Haible <haible@clisp.cons.org>
8e294940 2124
edf66db1
SP
2125 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
2126 mathematical symbols.
8e294940 2127
edf66db1 21282001-06-05 Andreas Jaeger <aj@suse.de>
8e294940 2129
edf66db1
SP
2130 * manual/stdio.texi (Portable Positioning): Fix description of
2131 fpos_t and fpos64_t.
8e294940 2132
edf66db1 21332001-06-06 Ulrich Drepper <drepper@redhat.com>
8e294940 2134
edf66db1 2135 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
8e294940 2136
edf66db1 2137 * po/sk.po: Update from translation team.
8e294940 2138
edf66db1 21392001-06-05 Andreas Jaeger <aj@suse.de>
8e294940 2140
edf66db1
SP
2141 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
2142 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
2143 Closes PR libc/2315.
8e294940 2144
edf66db1 21452001-06-05 Ulrich Drepper <drepper@redhat.com>
8e294940 2146
edf66db1
SP
2147 * sysdeps/generic/wordexp.c: Add missing free.
2148 Patch by yeti@physics.muni.cz.
8e294940 2149
edf66db1 21502001-06-02 Tom Browder <tbrowder@home.com>
8e294940 2151
edf66db1
SP
2152 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
2153 within bounds when lag > 0.
8e294940 2154
edf66db1 21552001-06-05 Ulrich Drepper <drepper@redhat.com>
8e294940 2156
edf66db1 2157 * po/tr.po: New file.
8e294940 2158
edf66db1 21592001-06-05 Andreas Jaeger <aj@suse.de>
8e294940 2160
edf66db1 2161 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
8e294940 2162
edf66db1 21632001-06-04 H.J. Lu <hjl@gnu.org>
8e294940 2164
edf66db1
SP
2165 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
2166 * sysdeps/arm/elf/start.S: Likewise.
2167 * sysdeps/hppa/elf/start.S: Likewise.
2168 * sysdeps/i386/elf/start.S: Likewise.
2169 * sysdeps/m68k/elf/start.S: Likewise.
2170 * sysdeps/mips/elf/start.S: Likewise.
2171 * sysdeps/ia64/elf/start.S: Likewise.
2172 * sysdeps/sh/elf/start.S: Likewise.
2173 * sysdeps/s390/s390-32/elf/start.S: Likewise.
2174 * sysdeps/s390/s390-64/elf/start.S: Likewise.
2175 * sysdeps/cris/elf/start.S: Likewise.
8e294940 2176
edf66db1 21772001-06-04 Bruce Mitchener <bruce@cubik.org>
8e294940 2178
edf66db1 2179 * manual/resource.texi: Correct setpriority/nice documentation.
8e294940 2180
edf66db1 2181 * sysdeps/unix/nice.c: Correct nice() implementation.
8e294940 2182
edf66db1 21832001-06-04 Andreas Jaeger <aj@suse.de>
8e294940 2184
edf66db1
SP
2185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
2186 Stephen L Moshier <moshier@mediaone.net>.
8e294940 2187
edf66db1 21882001-06-03 Roland McGrath <roland@frob.com>
8e294940 2189
edf66db1 2190 * Makefile (postclean): Remove obsolete sysd-Makefile.
8e294940 2191
edf66db1 21922001-06-01 Roland McGrath <roland@frob.com>
8e294940 2193
edf66db1
SP
2194 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
2195 and use compat_symbol/versioned_symbol instead of plain
2196 symbol_version/default_symbol_version.
2197 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2198 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2199 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2200 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2201 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2202 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2203 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2204 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2205 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2206 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2207 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2208 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2209 * sysdeps/i386/fpu/fegetenv.c: Likewise.
2210 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2211 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2212 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2213 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2214 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2215 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2216 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2217 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2218 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2219 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2220 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2221 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2222 * sysdeps/powerpc/fclrexcpt.c: Likewise.
2223 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2224 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2225 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2226 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2227 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2228 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
8e294940 2229
edf66db1
SP
2230 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
2231 * iconvdata/iso-2022-cn-ext.c: Likewise.
8e294940 2232
edf66db1 22332001-06-01 Andreas Jaeger <aj@suse.de>
8e294940 2234
edf66db1 2235 * Versions.def: Add version 2.2.4.
8e294940 2236
edf66db1 22372001-06-01 Ulrich Drepper <drepper@redhat.com>
8e294940 2238
edf66db1
SP
2239 * socket/Makefile (routines): Add sockatmark.
2240 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2241 * socket/sys/socket.h: Add prototype for sockatmark.
2242 * sysdeps/generic/sockatmark.c: New file.
2243 * sysdeps/unix/sockatmark.c: New file.
8e294940 2244
edf66db1 22452001-06-01 Andreas Jaeger <aj@suse.de>
8e294940 2246
edf66db1
SP
2247 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2248 B4000000.
2249 (cfsetospeed): Likewise.
2250 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
8e294940 2251
edf66db1 22522001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
8e294940 2253
edf66db1 2254 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
8e294940 2255
edf66db1 22562001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 2257
edf66db1
SP
2258 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2259 needs to have the same aligment as the kernel structure.
8e294940 2260
edf66db1 22612001-05-29 Jakub Jelinek <jakub@redhat.com>
8e294940 2262
edf66db1
SP
2263 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2264 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2265 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2266 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2267 against multiple definition.
8e294940 2268
edf66db1 22692001-05-30 Ulrich Drepper <drepper@redhat.com>
8e294940 2270
edf66db1 2271 * po/da.po: Update from translation team.
8e294940 2272
edf66db1 22732001-05-29 Andreas Jaeger <aj@suse.de>
8e294940 2274
edf66db1
SP
2275 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2276 Stephen L Moshier <moshier@mediaone.net>.
8e294940 2277
edf66db1 2278 * math/libm-test.inc (sinh_test): Add new test case.
8e294940 2279
edf66db1
SP
2280 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2281 x when x < 2^-32.
2282 Patch by Stephen L Moshier <moshier@mediaone.net>.
8e294940 2283
edf66db1 22842001-05-23 Andreas Jaeger <aj@suse.de>
8e294940 2285
edf66db1
SP
2286 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2287 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
8e294940 2288
edf66db1 22892001-05-27 Andreas Jaeger <aj@suse.de>
8e294940 2290
edf66db1
SP
2291 * manual/stdio.texi (String Streams): Fix fmemopen description.
2292 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
8e294940 2293
edf66db1 22942001-05-26 H.J. Lu <hjl@gnu.org>
8e294940 2295
edf66db1
SP
2296 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2297 to s_sigsuspend. Add s_mmap2.
8e294940 2298
edf66db1 2299 * sysdeps/mips/atomicity.h: New file.
8e294940 2300
edf66db1 2301 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
8e294940 2302
edf66db1
SP
2303 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2304 back __key.
8e294940 2305
edf66db1 23062001-05-25 Bruce Mitchener <bruce@cubik.org>
8e294940 2307
edf66db1
SP
2308 * manual/ctype.texi: Minor fix.
2309 * manual/install.texi: Likewise.
2310 * manual/startup.texi: Likewise.
2311 * manual/examples/dir.c: Use perror() rather than puts().
8e294940 2312
edf66db1 23132001-05-25 David Mosberger <davidm@hpl.hp.com>
8e294940 2314
edf66db1
SP
2315 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2316 #endif directive inside a comment to avoid compiler warnings.
8e294940 2317
edf66db1 23182001-05-25 Philipp Thomas <pthomas@suse.de>
8e294940 2319
edf66db1
SP
2320 * nis/nis_print.c (nis_nstype2str): Don't mark names of
2321 naming services for translation, only UNKNOWN needs it.
2322 Add comment to prevent it for the future.
8e294940 2323
edf66db1 23242001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
8e294940 2325
edf66db1
SP
2326 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2327 3.1 and non-GCC C99 compilers.
8e294940 2328
edf66db1 23292001-05-22 David Mosberger <davidm@hpl.hp.com>
8e294940 2330
edf66db1
SP
2331 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2332 performance.
2333 * sysdeps/ia64/memcpy.S: Likewise.
8e294940 2334
edf66db1 2335 * sysdeps/ia64/bcopy.S: New file.
8e294940 2336
edf66db1 2337 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
8e294940 2338
edf66db1 23392001-05-26 Ulrich Drepper <drepper@redhat.com>
8e294940 2340
edf66db1 2341 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
8e294940 2342
edf66db1 23432001-05-24 Ulrich Drepper <drepper@redhat.com>
8e294940 2344
edf66db1
SP
2345 * iconvdata/Makefile: Add rules for CP10007.
2346 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2347 * iconvdata/cp10007.c: New file.
2348 * iconvdata/tst-tables.sh: Add CP10007.
8e294940 2349
edf66db1 23502001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
8e294940 2351
edf66db1
SP
2352 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2353 (_dl_runtime_profile): Likewise..
8e294940 2354
edf66db1 23552001-05-23 Thorsten Kukuk <kukuk@suse.de>
8e294940 2356
edf66db1
SP
2357 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2358 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
8e294940 2359
edf66db1 23602001-05-19 H.J. Lu <hjl@gnu.org>
8e294940 2361
edf66db1
SP
2362 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2363 errstring of the failed DSO to _dl_signal_error ().
8e294940 2364
edf66db1 23652001-05-23 Ulrich Drepper <drepper@redhat.com>
8e294940 2366
edf66db1
SP
2367 * iconvdata/gconv-modules: Add more aliases to enable use in
2368 locale names.
8e294940 2369
edf66db1 23702001-05-23 Andreas Jaeger <aj@suse.de>
8e294940 2371
edf66db1
SP
2372 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2373 Remove, it's not used anywhere anymore.
2374 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2375 (CFLAGS-initfini.s): Likewise.
2376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2377 (CFLAGS-initfini.s): Likewise.
2378 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2379 Likewise.
2380 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2381 Likewise.
8e294940 2382
edf66db1
SP
23832001-05-21 Bruno Haible <haible@clisp.cons.org>
2384
2385 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2386 use 0 instead, and rely on the converter to do the flush.
2387 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2388 utf8_test.
2389 (utf8_test_2, utf8_test_3): New function.
2390 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2391
23922001-05-22 Jakub Jelinek <jakub@redhat.com>
2393
2394 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2395
2396 * elf/Makefile (distribute): Add reldep4mod[1234].c.
2397 (tests): Add reldep4.
2398 (modules-names): Add reldep4mod[1234].
2399 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2400 * elf/reldep4.c: New file.
2401 * elf/reldep4mod1.c: Likewise.
2402 * elf/reldep4mod2.c: Likewise.
2403 * elf/reldep4mod3.c: Likewise.
2404 * elf/reldep4mod4.c: Likewise.
2405
24062001-05-18 Jakub Jelinek <jakub@redhat.com>
2407
2408 * elf/dl-lookup.c (PROTECTED): Remove defines.
2409 (add_dependency): Mark it with internal_function.
2410 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2411 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2412 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2413 it if we don't want do_lookup* inlined.
2414
24152001-05-18 Jakub Jelinek <jakub@redhat.com>
2416
2417 * include/link.h (struct r_scope_elem): Remove r_duplist and
2418 r_nduplist fields.
2419 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2420 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2421 r_duplist.
2422 (_dl_lookup_versioned_symbol_skip): Likewise.
2423 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2424 (_dl_map_object_deps): Don't compute duplicate list.
8e294940 2425
edf66db1
SP
2426 * elf/dl-symbol.c: Removed.
2427 * elf/Makefile (routines): Remove dl-symbol.
8e294940 2428
edf66db1 24292001-05-22 Ulrich Drepper <drepper@redhat.com>
8e294940 2430
edf66db1
SP
2431 * po/el.po: Update from translation team.
2432 * po/sv.po: Likewise.
2433
24342001-05-20 Bruno Haible <haible@clisp.cons.org>
2435
2436 * iconvdata/cp1255.c: Completely rewritten.
2437 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2438 * iconvdata/testdata/WINDOWS-1255: New file.
2439 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2440 * iconvdata/TESTS: Add WINDOWS-1255 test.
2441 * iconvdata/CP1255.irreversible: New file.
2442
24432001-05-20 Bruno Haible <haible@clisp.cons.org>
2444
2445 * iconvdata/cp1258.c: Completely rewritten.
2446 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2447 * iconvdata/testdata/WINDOWS-1258: New file.
2448 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2449 * iconvdata/TESTS: Add WINDOWS-1258 test.
2450 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2451 the main call, and flush it afterwards.
2452 (utf8_decode): Return a string, possibly containing several Unicode
2453 characters.
2454 (main): Update all utf8_decode calls.
2455 * iconvdata/CP1258.irreversible: New file.
2456
24572001-05-20 Bruno Haible <haible@clisp.cons.org>
2458
2459 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2460 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
2461 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2462 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2463 the next step. In the second case, clear the state without calling
2464 EMIT_SHIFT_TO_INIT.
2465 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2466 data->__outbuf, and outend instead of data->__outbufend.
2467 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2468 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2469 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2470 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2471 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2472 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2473 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2474 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2475 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2476
24772001-05-21 Jakub Jelinek <jakub@redhat.com>
2478
2479 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2480 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2481 If match == _dl_loaded, caller can still come from the main program.
2482 (_dl_vsym): Likewise.
2483 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2484 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2485 * elf/restest2.c: New test.
2486 * elf/Makefile (tests): Add restest2.
2487 (restest2, LDFLAGS-restest2): Add rules.
8e294940 2488
edf66db1 24892001-05-22 Ulrich Drepper <drepper@redhat.com>
8e294940 2490
edf66db1
SP
2491 * intl/Makefile: Add a few more dependencies to avoid races in the
2492 test shell scripts.
8e294940 2493
edf66db1 24942001-05-22 Andreas Jaeger <aj@suse.de>
8e294940 2495
edf66db1
SP
2496 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2497 Stephen L Moshier <moshier@mediaone.net>.
8e294940 2498
edf66db1 24992001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 2500
edf66db1
SP
2501 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2502 return addresses instead of the stack pointers.
2503 * sysdeps/s390/s390-64/backtrace.c: Likewise.
8e294940 2504
edf66db1 25052001-05-21 Jakub Jelinek <jakub@redhat.com>
8e294940 2506
edf66db1
SP
2507 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2508 bits/sigcontext.h instead of bits/sigstack.h.
2509 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2510 multiple-inclusion guards.
8e294940 2511
edf66db1 25122001-05-21 Andreas Jaeger <aj@suse.de>
8e294940 2513
edf66db1
SP
2514 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2515 Patch by Philipp Thomas <pthomas@suse.de>.
8e294940 2516
edf66db1 25172001-05-17 Bruce Mitchener <bruce@cubik.org>
8e294940 2518
edf66db1
SP
2519 * manual/arpg.texi: Spelling, misc fixes.
2520 * manual/arith.texi: Likewise.
2521 * manual/crypt.texi: Likewise.
2522 * manual/debug.texi: Likewise.
2523 * manual/getopt.texi: Likewise.
2524 * manual/intro.texi: Likewise.
2525 * manual/memory.texi: Likewise.
2526 * manual/nss.texi: Likewise.
2527 * manual/pattern.texi: Likewise.
2528 * manual/process.texi: Likewise.
2529 * manual/resource.texi: Likewise.
2530 * manual/search.texi: Likewise.
2531 * manual/setjmp.texi: Likewise.
2532 * manual/signal.texi: Likewise.
2533 * manual/socket.texi: Likewise.
2534 * manual/stdio.texi: Likewise.
2535 * manual/string.texi: Likewise.
2536 * manual/sysinfo.texi: Likewise.
2537 * manual/terminal.texi: Likewise.
2538 * manual/llio.texi: Document madvise().
8e294940 2539
edf66db1 25402001-05-20 Roland McGrath <roland@frob.com>
8e294940 2541
edf66db1
SP
2542 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2543 found within $(add-ons) directories too.
2544 [linuxthreads add-on]: Move variable settings for linuxthreads
2545 to new file linuxthreads/Makeconfig.
8e294940 2546
edf66db1 25472001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 2548
edf66db1
SP
2549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2550 Define for linux >= 2.4.5 on powerpc.
2551 (__ASSUME_MMAP2_SYSCALL): Likewise.
8e294940 2552
edf66db1 25532001-05-19 Roland McGrath <roland@frob.com>
8e294940 2554
edf66db1
SP
2555 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2556 result port when failing with ELOOP. Do the ELOOP check when
2557 following an absolute symlink target as well as relative.
2558 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
8e294940 2559
edf66db1 25602001-05-18 Andreas Jaeger <aj@suse.de>
8e294940 2561
edf66db1
SP
2562 * po/fr.po: Free software is "logiciel libre".
2563 Patch by Martin Michlmayr <tbm@cyrius.com>.
8e294940 2564
edf66db1
SP
2565 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2566 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
8e294940 2567
edf66db1 25682001-05-17 David Mosberger <davidm@hpl.hp.com>
8e294940 2569
edf66db1 2570 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
8e294940 2571
edf66db1 25722001-05-17 Ulrich Drepper <drepper@redhat.com>
8e294940 2573
edf66db1
SP
2574 * elf/dl-profile.c (_dl_mcount): Check whether state is
2575 GMON_PROF_ON before doing anything.
8e294940 2576
edf66db1 25772001-05-17 H.J. Lu <hjl@gnu.org>
8e294940 2578
edf66db1 2579 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
8e294940 2580
edf66db1 25812001-05-17 Ulrich Drepper <drepper@redhat.com>
8e294940 2582
edf66db1
SP
2583 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2584 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2585 Reported by Mark Burton <markb@ordern.com>.
8e294940 2586
edf66db1 25872001-05-17 Jakub Jelinek <jakub@redhat.com>
8e294940 2588
edf66db1
SP
2589 * elf/ldconfig.c (add_dir): Only warn about stat failure if
2590 opt_verbose.
2591 (search_dir): Likewise.
8e294940 2592
edf66db1 25932001-05-17 Ulrich Drepper <drepper@redhat.com>
8e294940 2594
edf66db1
SP
2595 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2596 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
8e294940 2597
edf66db1 25982001-05-14 Bruno Haible <haible@clisp.cons.org>
8e294940 2599
edf66db1
SP
2600 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2601 without previous announcement, reject it regularly, don't abort.
8e294940 2602
edf66db1 26032001-05-16 Ulrich Drepper <drepper@redhat.com>
8e294940 2604
edf66db1
SP
2605 * math/tgmath.h: Fix handling of int parameters to binary and
2606 ternary functions. Reported by mitr@volny.cz.
8e294940 2607
edf66db1 2608 * math/test-tgmath.c: Add tests for calls with integer parameters.
8e294940 2609
edf66db1 26102001-05-15 Jakub Jelinek <jakub@redhat.com>
8e294940 2611
edf66db1
SP
2612 * sunrpc/rpc_thread.c (rpc_default): Remove.
2613 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2614 rpc_default.
2615 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2616 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2617 * sunrpc/auth_none.c (authnone_private): Fix a typo.
8e294940 2618
edf66db1 26192001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 2620
edf66db1 2621 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
8e294940 2622
edf66db1 26232001-05-16 Bruce Mitchener <bruce@cubik.org>
8e294940 2624
edf66db1 2625 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
8e294940 2626
edf66db1 26272001-05-15 Andreas Jaeger <aj@suse.de>
8e294940 2628
edf66db1
SP
2629 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2630 Stephen L Moshier <moshier@mediaone.net>.
8e294940 2631
edf66db1 2632 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
8e294940 2633
edf66db1 2634 * math/libm-test.inc: Add comment with ToDo.
8e294940 2635
edf66db1
SP
2636 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2637 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
8e294940 2638
edf66db1 2639 * sysdeps/i386/fpu/e_expl.S: Removed.
8e294940 2640
edf66db1 26412001-05-14 Roland McGrath <roland@frob.com>
8e294940 2642
edf66db1
SP
2643 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2644 static pattern rule also that also covers
2645 $(objpx)g$(static-start-installed-name).
2646 [$(start-installed-name) != $(static-start-installed-name)]
2647 (extra-objs, omit-deps, install-lib): Add
2648 $(static-start-installed-name) and g$(static-start-installed-name).
2649 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2650 just setting static-start-installed-name is now sufficient.
2651 (extra-objs): Add static-start.o here.
2652 (CFLAGS-initfini.s): Remove obsolete variable.
2653 * sysdeps/mach/hurd/i386/Makeconfig: New file.
2654 Define static-start-installed-name here.
8e294940 2655
edf66db1
SP
2656 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2657 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
8e294940 2658
edf66db1
SP
2659 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2660 associated hair. Instead, just use $(wildcard ...) in the include.
8e294940 2661
edf66db1
SP
2662 * configure.in (critic_missing, aux_missing): Collect in these vars
2663 the names of the missing programs, and include them in the error msgs.
2664 * configure: Regenerated.
8e294940 2665
edf66db1 26662001-05-14 Andreas Jaeger <aj@suse.de>
8e294940 2667
edf66db1 2668 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
8e294940 2669
edf66db1 2670 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
8e294940 2671
edf66db1 26722001-05-14 Stephen L Moshier <moshier@mediaone.net>
8e294940 2673
edf66db1 2674 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
8e294940 2675
edf66db1 26762001-05-11 Jakub Jelinek <jakub@redhat.com>
8e294940 2677
edf66db1
SP
2678 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2679 as well if swapping strings.
2680 Make sure stop is not past end of second string.
2681 * posix/bug-regex4.c: New test.
2682 * posix/Makefile (tests): Add bug-regex4.
8e294940 2683
edf66db1 26842001-05-10 Andreas Jaeger <aj@suse.de>
8e294940 2685
edf66db1
SP
2686 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2687 requirement.
8e294940 2688
edf66db1 26892001-05-12 Andreas Jaeger <aj@suse.de>
8e294940 2690
edf66db1
SP
2691 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2692 internal prototypes.
2693 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2694 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2697 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2698 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2699 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8e294940 2700
edf66db1
SP
2701 * math/math_private.h: Add prototypes for internal functions of
2702 the IBM Accurate Mathematical Library.
8e294940 2703
edf66db1
SP
2704 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2705 prototypes.
2706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8e294940 2707
edf66db1
SP
2708 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2709 internal prototypes.
2710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2717 * sysdeps/generic/e_rem_pio2l.c: Likewise.
2718 (__ieee754_rem_pio2l): Fix prototype.
8e294940 2719
edf66db1 2720 * math/math_private.h (__copysign): Add internal prototype.
8e294940 2721
edf66db1 27222001-05-11 Andreas Jaeger <aj@suse.de>
8e294940 2723
edf66db1
SP
2724 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2725 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
8e294940 2726
edf66db1 27272001-05-11 Andreas Jaeger <aj@suse.de>
8e294940 2728
edf66db1
SP
2729 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2730 MIPS.
8e294940 2731
edf66db1
SP
2732 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2733 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
8e294940 2734
edf66db1 27352001-05-11 Roland McGrath <roland@frob.com>
8e294940 2736
edf66db1
SP
2737 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2738 $(build-module) here, since we don't need the full magilla.
2739 Just use $(build-module-helper) and append our special options.
8e294940 2740
edf66db1 27412001-05-09 Andreas Schwab <schwab@suse.de>
8e294940 2742
edf66db1
SP
2743 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2744 reached EOF.
8e294940 2745
edf66db1 27462001-05-07 H.J. Lu <hjl@gnu.org>
8e294940 2747
edf66db1
SP
2748 * elf/ldconfig.c (dir_entry): Add ino and dev.
2749 (add_single_dir): Compare ino and dev to check if 2 directory
2750 paths are the same or not. Free entry->path for duplicates.
2751 (add_dir): Initialize ino and dev for entry.
2752 (search_dir): Handle symlink to directory.
8e294940 2753
edf66db1 27542001-05-07 Andreas Jaeger <aj@suse.de>
8e294940 2755
edf66db1 2756 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
8e294940 2757
edf66db1
SP
2758 * math/libm-test.inc (exp_test): Add some more tests.
2759 (pow_test): Run double only test also for long double.
8e294940 2760
edf66db1
SP
2761 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2762 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
8e294940 2763
edf66db1
SP
2764 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2765 enumeration.
2766 Closes PR libc/2240.
8e294940 2767
edf66db1
SP
2768 * scripts/config.guess: Imported from gnu.org.
2769 * scripts/config.sub: Likewise.
8e294940 2770
edf66db1 27712001-05-05 Jakub Jelinek <jakub@redhat.com>
8e294940 2772
edf66db1
SP
2773 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2774 __NO_INLINE__ is defined.
2775 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2776 __USE_EXTERN_INLINES check only.
2777 * stdlib/stdlib.h (strtod, ...): Likewise.
2778 * wcsmbs/wchar.h (mbrlen): Likewise.
2779 * string/string.h: Only include bits/string.h and bits/string2.h
2780 if __NO_INLINE__ is not defined.
8e294940 2781
edf66db1 27822001-05-07 Andreas Jaeger <aj@suse.de>
8e294940 2783
edf66db1
SP
2784 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2785 of @LIBDIR@.
8e294940 2786
edf66db1 27872001-05-04 H.J. Lu <hjl@gnu.org>
8e294940 2788
edf66db1
SP
2789 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2790 not @LIBDIR@.
8e294940 2791
edf66db1 27922001-05-06 Andreas Jaeger <aj@suse.de>
8e294940 2793
edf66db1
SP
2794 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2795 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2796 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2797 * sysdeps/i386/fpu/e_atan2l.S: Removed.
2798 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2799 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2800 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2801 * sysdeps/i386/fpu/e_acosl.S: Removed.
2802 * sysdeps/i386/fpu/s_atanl.S: Removed.
2803 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
8e294940 2804
edf66db1 28052001-05-05 Mark Kettenis <kettenis@gnu.org>
8e294940 2806
edf66db1
SP
2807 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2808 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
8e294940 2809
edf66db1 28102001-04-30 Jakub Jelinek <jakub@redhat.com>
8e294940 2811
edf66db1
SP
2812 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2813 that _CS_LFS_CFLAGS can fall through to the empty returned string
2814 case. Add FALLTHROUGH comment.
8e294940 2815
edf66db1 28162001-04-29 Ralf Baechle <ralf@gnu.org>
8e294940 2817
edf66db1
SP
2818 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2819 definitions match the kernel definitions.
2820 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2821 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8e294940 2822
edf66db1 28232001-04-29 Ben Collins <bcollins@debian.org>
8e294940 2824
edf66db1
SP
2825 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2826 warnings.
2827 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2828 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2829 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2830 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2831 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2832 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2833 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2834 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2835 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2836 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2837 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2838 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2839 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2841 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2842 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2843 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2844 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2845 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2846 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2847 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2848 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2849 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2850
28512001-04-29 Andreas Schwab <schwab@suse.de>
2852
2853 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2854 in last change.
2855
28562001-04-29 Andreas Jaeger <aj@suse.de>
8e294940 2857
edf66db1
SP
2858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2859 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
8e294940 2860
edf66db1
SP
2861 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2862 Linux 2.4.4.
2863 (AF_WANPIPE): Likewise.
2864 (MSG_MORE): New.
8e294940 2865
edf66db1
SP
2866 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2867 for Linux generic version.
2868 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2870 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2871 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2872
2873 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2874
28752001-04-27 Ulrich Drepper <drepper@redhat.com>
2876
2877 * nis/nss-nis.h: Correct test for invalid error number.
2878 * nis/nss-nisplus.h: Likewise.
2879
2880 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2881
28822001-04-26 Ulrich Drepper <drepper@redhat.com>
2883
2884 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2885
2886 * string/strcoll.c: Fix two memory allocation problems.
2887 * string/Makefile (tests): Add bug-strcoll1.
2888 * string/bug-strcoll1.c: New file.
2889
2890 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2891 hooks to allow the internal check hooks to be set up if necessary.
2892
2893 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2894 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2895 __yperr2nss_count.
2896 * nis/nss-nis.c: New file.
2897 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2898 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2899 __niserr2nss_count.
2900 * nis/nss-nisplus.c: New file.
2901 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2902 (libnss_nis-routines): Likewise.
2903 (libnss_nisplus-routines): Add nss-nisplus.
2904
2905 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2906 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2907 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2908 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2909 * nis/nss_nisplus/nisplus-network.c: Likewise.
2910 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2911 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2912 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2913 * nis/nss_nisplus/nisplus-service.c: Likewise.
2914 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2915 * nis/nss_nis/nis-alias.c: Likewise.
2916 * nis/nss_nis/nis-ethers.c: Likewise.
2917 * nis/nss_nis/nis-grp.c: Likewise.
2918 * nis/nss_nis/nis-network.c: Likewise.
2919 * nis/nss_nis/nis-proto.c: Likewise.
2920 * nis/nss_nis/nis-pwd.c: Likewise.
2921 * nis/nss_nis/nis-spwd.c: Likewise.
2922 * nis/nss_compat/compat-grp.c: Likewise.
2923 * nis/nss_compat/compat-initgroups.c: Likewise.
2924 * nis/nss_compat/compat-pwd.c: Likewise.
2925 * nis/nss_compat/compat-spwd.c: Likewise.
8e294940 2926
edf66db1
SP
2927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2928 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
8e294940 2929
edf66db1 29302001-04-26 Andreas Jaeger <aj@suse.de>
8e294940 2931
edf66db1
SP
2932 * po/zh_TW.po: Update.
2933 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
8e294940 2934
edf66db1 29352001-04-25 Ulrich Drepper <drepper@redhat.com>
8e294940 2936
edf66db1
SP
2937 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2938 compiler command line.
2939 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2940 command line for malloc.c.
8e294940 2941
edf66db1 29422001-04-25 Jakub Jelinek <jakub@redhat.com>
8e294940 2943
edf66db1
SP
2944 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2945 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2949 struct msghdr for __WORDSIZE == 32.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2951 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
2952 for __WORDSIZE == 32.
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2955 file.
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2957 Rename from longjmp, make longjmp weak alias to it.
8e294940 2958
edf66db1 29592001-04-24 David S. Miller <davem@redhat.com>
8e294940 2960
edf66db1 2961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
8e294940 2962
edf66db1 29632001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
8e294940 2964
edf66db1
SP
2965 * sysdeps/hppa/stackinfo.h: New file.
2966 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2967 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2968 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2969 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2970 of PA kernel features.
8e294940 2971
edf66db1 29722001-04-25 Ulrich Drepper <drepper@redhat.com>
8e294940 2973
edf66db1
SP
2974 * locale/programs/localedef.c (main): Always set a file name for
2975 the initial locale.
2976 * locale/programs/locfile.c (locfile_read): filename is allowed to
2977 be NULL.
8e294940 2978
edf66db1 29792001-04-12 Paul Bame <paul_bame@hp.com>
8e294940 2980
edf66db1
SP
2981 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2982 enable flags.
8e294940 2983
edf66db1 29842001-04-24 Ulrich Drepper <drepper@redhat.com>
8e294940 2985
edf66db1
SP
2986 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2987 _XBS5_LPBIG_OFFBIG): Define to -1.
2988 Fix typos.
8e294940 2989
edf66db1
SP
2990 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2991 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2992 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2993 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
8e294940 2994
edf66db1
SP
2995 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2996 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
8e294940 2997
edf66db1 29982001-03-21 Alan Modra <alan@one.net.au>
8e294940 2999
edf66db1
SP
3000 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
3001 value from application so that constructors in non-PIC libs work.
8e294940 3002
edf66db1 30032000-12-13 Jes Sorensen <jes@linuxcare.com>
8e294940 3004
edf66db1
SP
3005 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
3006 function pointer, hence load the jump address and gp from the
3007 function pointer before jumping.
8e294940 3008
edf66db1 30092001-04-24 Andreas Jaeger <aj@suse.de>
8e294940 3010
edf66db1
SP
3011 * sysdeps/generic/send.c (__send): Return ssize_t.
3012 * sysdeps/mach/hurd/send.c (__send): Likewise.
3013 * sysdeps/mach/hurd/recv.c (recv): Likewise.
3014 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3015 * sysdeps/generic/sendto.c (sendto): Likewise.
3016 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
3017 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3018 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
3019 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
8e294940 3020
edf66db1 3021 * socket/sys/socket.h: send* and recv* return ssize_t.
8e294940 3022
edf66db1 3023 * include/sys/socket.h: send returns ssize_t.
8e294940 3024
edf66db1 3025 * sysdeps/i386/fpu_control.h: Fix comments.
8e294940 3026
edf66db1 30272001-04-24 Ulrich Drepper <drepper@redhat.com>
8e294940 3028
edf66db1
SP
3029 * sysdeps/ia64/Dist: Add hp-timing.c.
3030 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
3031 * posix/Makefile (distribute): Add tst-getconf.sh.
3032 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
8e294940 3033
edf66db1 30342001-04-23 Ulrich Drepper <drepper@redhat.com>
8e294940 3035
edf66db1
SP
3036 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
3037 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
3038 * sysdeps/ia64/hp-timing.c: New file.
3039 * sysdeps/ia64/hp-timing.h: New file.
3040 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
3041 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
8e294940 3042
edf66db1
SP
3043 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
3044 using #ifdef whether the clock is available.
3045 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
8e294940 3046
edf66db1
SP
3047 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
3048 it into data section.
8e294940 3049
edf66db1
SP
3050 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
3051 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
3052 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
3053 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
3054 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
3055 * sysdeps/generic/cpuclock-init.h: Removed.
3056 * sysdeps/unix/i386/i686/Implies: Removed.
3057 * sysdeps/unix/i386/i686/tempname.c: Removed.
3058 * sysdeps/i386/i686/Versions: New file.
3059 * sysdeps/unix/i386/i586/Versions: Removed.
8e294940 3060
edf66db1
SP
3061 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
3062 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3063 * sysdeps/unix/clock_gettime.c: Likewise.
3064 * sysdeps/unix/clock_nanosleep.c: Likewise.
3065 * sysdeps/unix/clock_settime.c: Likewise.
3066 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
3067 RANDOM_BITS use CPU clock.
8e294940 3068
edf66db1
SP
3069 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
3070 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
3072 * sysdeps/sparc/Versions: New file.
8e294940 3073
edf66db1
SP
3074 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
3075 hp-timing.h definitions.
3076 * sysdeps/generic/dl-sysdep.c: Likewise.
8e294940 3077
edf66db1
SP
3078 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
3079 __get_clockfreq prototype.
8e294940 3080
edf66db1
SP
3081 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3082 Use hp_timing_t type.
3083 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
8e294940 3084
edf66db1 3085 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
8e294940 3086
edf66db1
SP
3087 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
3088 whether named file is a regular file or a block device.
3089 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8e294940 3090
edf66db1 30912001-04-23 Andreas Jaeger <aj@suse.de>
8e294940 3092
edf66db1 3093 * nscd/nscd.h: Add noreturn attribute for start_threads.
8e294940 3094
edf66db1 30952001-04-22 Ulrich Drepper <drepper@redhat.com>
8e294940 3096
edf66db1
SP
3097 * posix/getconf.c: Fix names of XBS5 LFS test variables.
3098 Add missing configuration variables from XPG6.
3099 * posix/tst-getconf.c: New file.
3100 * posix/Makefile (generated): Add tst-getconf.out.
3101 (tests): Add ($objpfx)tst-getconf.out.
3102 Add rule to run tst-getconf.sh.
3103 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
3104 from XPG6.
3105 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
3106 _PC_SYMLINK_MAX.
3107 * sysdeps/posix/pathconf.c: Likewise.
3108 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
3109 and _SC_SYMLOOP_MAX.
8e294940 3110
edf66db1 31112001-04-22 Philip Blundell <philb@gnu.org>
8e294940 3112
edf66db1
SP
3113 * sysdeps/arm/fpu/feenablxcpt.c: New file.
3114 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
3115 * sysdeps/arm/fpu/fegetexcpt.c: New file.
8e294940 3116
edf66db1 31172001-04-22 Philip Blundell <philb@gnu.org>
8e294940 3118
edf66db1
SP
3119 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
3120 Renamed from struct user_fp.
3121 (struct user_regs): New.
3122 (struct user): Use struct user_regs rather than struct pt_regs to
3123 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
3124 of struct user_fp and struct user_fp_struct.
3125 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
3126 not sys/elf.h.
8e294940 3127
edf66db1 31282001-04-22 Philip Blundell <philb@gnu.org>
8e294940 3129
edf66db1
SP
3130 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
3131 sys/procfs.h, and tell the user to include that file instead.
3132 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
3133 surrounded with #if 0.
3134 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
3135 from sys/elf.h.
3136 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
3137 elf_fpregset_t respectively.
8e294940 3138
edf66db1 31392001-04-22 Philip Blundell <philb@gnu.org>
8e294940 3140
edf66db1
SP
3141 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
3142 address that faulted.
8e294940 3143
edf66db1 31442001-04-21 Ulrich Drepper <drepper@redhat.com>
8e294940 3145
edf66db1
SP
3146 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
3147 values.
3148 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
3149 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
3150 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
3151 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
8e294940 3152
edf66db1
SP
3153 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
3154 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3155 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3156 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
8e294940 3157
edf66db1 31582001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 3159
edf66db1
SP
3160 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
3161 offset.
8e294940 3162
edf66db1 31632001-04-21 Ulrich Drepper <drepper@redhat.com>
8e294940 3164
edf66db1 3165 * posix/getopt.h: Treat __cplusplus like __STDC__.
8e294940 3166
edf66db1 31672001-04-20 John S. Marvin <jsm@fc.hp.com>
8e294940 3168
edf66db1
SP
3169 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
3170 entry point stub.
8e294940 3171
edf66db1 31722001-04-20 Richard Hirst <rhirst@linuxcare.com>
8e294940 3173
edf66db1
SP
3174 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
3175 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
8e294940 3176
edf66db1
SP
3177 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
3178 entry so the ptrace.c wrapper is used.
8e294940 3179
edf66db1 31802001-04-20 Alan Modra <amodra@one.net.au>
8e294940 3181
edf66db1
SP
3182 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
3183 (DL_FUNCTION_ADDRESS): Define.
3184 (DL_DT_INIT_ADDRESS): Define.
3185 (DL_DT_FINI_ADDRESS): Define.
3186 * sysdeps/hppa/Versions: Add _dl_function_address.
3187 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
3188 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
3189 _dl_function_address.
8e294940 3190
edf66db1 31912001-04-21 Andreas Jaeger <aj@suse.de>
8e294940 3192
edf66db1
SP
3193 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
3194 * resolv/gai_misc.c (handle_requests): Likewise.
3195 * malloc/obstack.c (print_and_abort): Likewise.
3196 * malloc/mcheck.c (mabort): Likewise.
8e294940 3197
edf66db1
SP
3198 * sysdeps/unix/i386/i586/clock_settime.c: Include
3199 "libc-internal.h" for __get_clockfreq declaration.
8e294940 3200
edf66db1 32012001-04-21 Ulrich Drepper <drepper@redhat.com>
8e294940 3202
edf66db1
SP
3203 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
3204 CPUCLOCK_INIT if defined.
3205 * sysdeps/generic/dl-sysdep.c: Likewise.
3206 * sysdeps/generic/cpuclock-init.h: New file.
3207 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
3208 * sysdeps/unix/i386/i586/Versions: New file.
3209 * sysdeps/unix/i386/i586/clock_settime.c: New file.
3210 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
3211 separately by calling __pthread_clock_gettime if this function is
3212 available. Subtract offset from tsc value before computing time value.
8e294940 3213
edf66db1 32142001-04-20 Ulrich Drepper <drepper@redhat.com>
8e294940 3215
edf66db1
SP
3216 * iconv/iconv_prog.c (print_known_names): If printing goes not to
3217 a tty print in a more machine-friendly way.
8e294940 3218
edf66db1
SP
3219 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
3220 Contributed by Stephen L Moshier <moshier@mediaone.net>.
8e294940 3221
edf66db1 32222001-04-20 Andreas Jaeger <aj@suse.de>
8e294940 3223
edf66db1 3224 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
8e294940 3225
edf66db1 32262001-04-20 Andreas Schwab <schwab@suse.de>
8e294940 3227
edf66db1 3228 * sysdeps/m68k/fpu/libm-test-ulps: Update.
8e294940 3229
edf66db1 32302001-04-19 Alan Modra <amodra@one.net.au>
8e294940 3231
edf66db1
SP
3232 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
3233 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
3234 (CFLAGS-.os): Remove.
8e294940 3235
edf66db1 3236 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
8e294940 3237
edf66db1
SP
3238 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3239 gregset): Correct for new kernel definitions.
8e294940 3240
edf66db1 32412001-04-19 Alan Modra <alan@linuxcare.com.au>
8e294940 3242
edf66db1
SP
3243 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3244 generate unwind info by hand.
8e294940 3245
edf66db1 32462001-04-19 Ulrich Drepper <drepper@redhat.com>
8e294940 3247
edf66db1 3248 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
8e294940 3249
edf66db1
SP
3250 * configure.in: Correct regular expression for msgfmt.
3251 Patch by Bruno Haible <haible@ilog.fr>.
8e294940 3252
edf66db1 32532001-04-19 Andreas Jaeger <aj@suse.de>
8e294940 3254
edf66db1 3255 * po/el.po: Add comment explaining what's broken.
8e294940 3256
edf66db1
SP
3257 * po/Makefile (BROKEN_LINGUAS): New.
3258 (ALL_LINGUAS): Don't add broken languages.
8e294940 3259
edf66db1 32602001-04-19 Roland McGrath <roland@frob.com>
8e294940 3261
edf66db1
SP
3262 * sysdeps/mach/hurd/mlock.c: New file.
3263 * sysdeps/mach/hurd/munlock.c: New file.
3264 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
8e294940 3265
edf66db1
SP
3266 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3267 * sysdeps/generic/mlock.c: New file.
3268 * sysdeps/generic/munlock.c: New file.
3269 * sysdeps/generic/mlockall.c: New file.
3270 * sysdeps/generic/munlockall.c: New file.
3271 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3272 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3273 mlockall, munlockall): Change caller field to - from EXTRA.
3274 Don't use __ names; not used (and not declared in include/sys/mman.h).
8e294940 3275
edf66db1
SP
3276 * hurd/privports.c (__get_privileged_ports): Renamed with __.
3277 Use __ names for calls we make.
3278 (get_privileged_ports): Add alias.
3279 * hurd/hurd.h: Declare it with the __ name.
3280 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3281 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3282 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8e294940 3283
edf66db1
SP
3284 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3285 nothing if it's zero.
8e294940 3286
edf66db1 32872001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
8e294940 3288
edf66db1
SP
3289 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3290 Change to return a signed result for compatibility with other
3291 architectures, and correctness.
8e294940 3292
edf66db1 32932001-04-19 Ulrich Drepper <drepper@redhat.com>
8e294940 3294
edf66db1
SP
3295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3296 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
8e294940 3297
edf66db1 32982001-04-19 Andreas Jaeger <aj@suse.de>
8e294940 3299
edf66db1 3300 * configure.in: Require gettext 0.10.36 or newer.
8e294940 3301
edf66db1 3302 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
8e294940 3303
edf66db1 3304 * po/zh_TW.po: Remove extraneous backslashes.
8e294940 3305
edf66db1
SP
3306 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3307 variables b and n.
8e294940 3308
edf66db1 33092001-04-18 Jakub Jelinek <jakub@redhat.com>
8e294940 3310
edf66db1
SP
3311 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3312 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3313 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3314 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3315 Copy first word of uc_sigmask into __uc_sigmask.
3316 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3317 Save uc_link around trap. Copy __uc_sigmask into first word of
3318 uc_sigmask, clear the rest. Make sure setcontext to the created
3319 context doesn't do this though.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3321 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3322 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3323 64bit version, make uc_sigmask __sigset_t in the 32bit version.
8e294940 3324
edf66db1 33252001-04-19 Andreas Jaeger <aj@suse.de>
8e294940 3326
edf66db1 3327 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
8e294940 3328
edf66db1 3329 * rt/Makefile (otherlibs): Added for static NSS.
8e294940 3330
edf66db1 3331 * glibcbug.in (BUGGLIBC): Send to new alias.
8e294940 3332
edf66db1 33332001-04-02 Andreas Schwab <schwab@suse.de>
8e294940 3334
edf66db1
SP
3335 * Makerules (build-module): Make sure exit codes get checked
3336 properly and remove unnecessary slashes.
8e294940 3337
edf66db1 33382001-04-17 Ulrich Drepper <drepper@redhat.com>
8e294940 3339
edf66db1
SP
3340 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3341 Handle kernels which report only three digits after the decimal point.
3342 Reported by Van Okamura <van.okamura@oracle.com>.
8e294940 3343
edf66db1 3344 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
8e294940 3345
edf66db1 33462001-04-17 David S. Miller <davem@redhat.com>
8e294940 3347
edf66db1
SP
3348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8e294940 3350
edf66db1 33512001-04-17 Jakub Jelinek <jakub@redhat.com>
8e294940 3352
edf66db1
SP
3353 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3354 desired exceptions are raised for exceptional values.
3355 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3356 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3357 clog_test, log_test, log1p_test, tan_test): Increase precision of
3358 expected values to satisfy ldbl-128.
3359 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3360 * sysdeps/arm/libm-test-ulps: Likewise.
3361 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3362 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3363 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3364 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3366 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3369 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8e294940 3370
edf66db1 33712001-04-17 Andreas Jaeger <aj@suse.de>
8e294940 3372
edf66db1 3373 * configure.in: Move test for critical programs up.
8e294940 3374
edf66db1 33752001-04-16 Stephen L Moshier <moshier@mediaone.net>
8e294940 3376
edf66db1
SP
3377 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3378 Correct the values.
3379 (pSx, qSx): Replace by shorter approximation.
3380 Use f suffix on float constants.
8e294940 3381
edf66db1 33822001-04-16 Ulrich Drepper <drepper@redhat.com>
8e294940 3383
edf66db1
SP
3384 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3385 Contributed by Stephen L Moshier <moshier@mediaone.net>.
8e294940 3386
edf66db1 3387 * string/string.h: Replace const in attribute list with __const__.
8e294940 3388
edf66db1 33892001-04-16 Roland McGrath <roland@frob.com>
8e294940 3390
edf66db1
SP
3391 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3392 instead of the constant NGROUPS_MAX. That way, the limit can be
3393 raised in the kernel configuration without having to recompile libc.
8e294940 3394
edf66db1
SP
3395 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3396 define NGROUPS_MAX; we don't use it here.
8e294940 3397
edf66db1 33982001-04-16 Andreas Jaeger <aj@suse.de>
8e294940 3399
edf66db1 3400 * math/libm-test.inc (atan2_test): Add more testcases.
8e294940 3401
edf66db1
SP
3402 * iconv/gconv_db.c: Include gconv_charset.h for
3403 __gconv_lookup_alias prototype.
8e294940 3404
edf66db1 34052001-04-13 Ulrich Drepper <drepper@redhat.com>
8e294940 3406
edf66db1
SP
3407 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3408 Contributed by Stephen L Moshier <moshier@mediaone.net>.
8e294940 3409
edf66db1 34102001-04-13 Jes Sorensen <jes@linuxcare.com>
8e294940 3411
edf66db1 3412 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
8e294940 3413
edf66db1 34142001-04-13 Jes Sorensen <jes@linuxcare.com>
8e294940 3415
edf66db1
SP
3416 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3417 explicitly pad struct siginfo instead of relying on compiler padding.
8e294940 3418
edf66db1 34192001-04-12 Ulrich Drepper <drepper@redhat.com>
8e294940 3420
edf66db1 3421 * sysdeps/ia64/Dist: Add elf/entry.h.
8e294940 3422
edf66db1 3423 * iconvdata/Makefile (distribute): Add TESTS2.
8e294940 3424
edf66db1 34252001-04-13 Jakub Jelinek <jakub@redhat.com>
8e294940 3426
edf66db1
SP
3427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3428 Calculate load address differently.
8e294940 3429
edf66db1 34302001-04-12 Bruno Haible <haible@clisp.cons.org>
8e294940 3431
edf66db1
SP
3432 * iconvdata/TESTS2: New file.
3433 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3434 * iconvdata/testdata/alfabeta..UTF-8: New file.
3435 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3436 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3437 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3438 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
8e294940 3439
edf66db1 34402001-04-11 Bruno Haible <haible@clisp.cons.org>
8e294940 3441
edf66db1
SP
3442 * iconvdata/utf-32.c: New file.
3443 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3444 * iconvdata/Makefile (modules): Add UTF-32.
3445 (distribute): Add utf-32.c.
8e294940 3446
edf66db1 34472001-04-11 Bruno Haible <haible@clisp.cons.org>
8e294940 3448
edf66db1
SP
3449 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3450 changing it in the state. After incrementing 'inptr', store it back.
3451 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3452 store it back.
8e294940 3453
edf66db1 34542001-04-11 Bruno Haible <haible@clisp.cons.org>
8e294940 3455
edf66db1
SP
3456 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3457 MIN_NEEDED_FROM.
8e294940 3458
edf66db1 34592001-04-11 David Mosberger <davidm@hpl.hp.com>
8e294940 3460
edf66db1
SP
3461 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3462 * sysdeps/ia64/htons.S: Likewise.
8e294940 3463
edf66db1
SP
3464 * sysdeps/ia64/memset.S: Add unwind directives.
3465 * sysdeps/ia64/strncpy.S: Likewise.
3466 * sysdeps/ia64/strcat.S: Likewise.
8e294940 3467
edf66db1
SP
3468 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
3469 restore of ar.pfs.
3470 * sysdeps/ia64/strchr.S: Likewise.
3471 * sysdeps/ia64/memmove.S: Likewise.
3472 * sysdeps/ia64/memcpy.S: Likewise.
3473 * sysdeps/ia64/memcmp.S: Likewise.
3474 * sysdeps/ia64/memchr.S: Likewise.
3475 * sysdeps/ia64/strcmp.S: Likewise.
3476 * sysdeps/ia64/strlen.S: Likewise.
3477 * sysdeps/ia64/strcpy.S: Likewise.
3478 * sysdeps/ia64/strncmp.S: Likewise.
8e294940 3479
edf66db1 34802001-04-11 Jakub Jelinek <jakub@redhat.com>
8e294940 3481
edf66db1
SP
3482 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3483 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3484 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3485 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
8e294940 3486
edf66db1 34872001-04-11 Andreas Jaeger <aj@suse.de>
8e294940 3488
edf66db1 3489 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
8e294940 3490
edf66db1 34912001-04-11 Andreas Schwab <schwab@suse.de>
8e294940 3492
edf66db1 3493 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
8e294940 3494
edf66db1 34952001-04-11 Ulrich Drepper <drepper@redhat.com>
8e294940 3496
edf66db1 3497 * sysdeps/arm/stackinfo.h: New file.
8e294940 3498
edf66db1 34992001-04-08 Thorsten Kukuk <kukuk@suse.de>
8e294940 3500
edf66db1
SP
3501 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3502 rpcgen to generate thread safe code.
8e294940 3503
edf66db1 35042001-04-10 Andreas Jaeger <aj@suse.de>
8e294940 3505
edf66db1 3506 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
8e294940 3507
edf66db1 35082001-04-10 Ulrich Drepper <drepper@redhat.com>
8e294940 3509
edf66db1
SP
3510 * elf/dl-minimal.c (__assert_fail): Change error string. It's
3511 most of the time no bug in ld.so.
3512 (__assert_perror_fail): Likewise.
8e294940 3513
edf66db1 35142001-04-11 Hans-Peter Nilsson <hp@axis.com>
8e294940 3515
edf66db1
SP
3516 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3517 from struct to unsigned int.
8e294940 3518
edf66db1 35192001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 3520
edf66db1
SP
3521 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3522 AT_IGNOREPPC): New defines.
3523 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3525 Define for newer powerpc kernels.
3526 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3527 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
8e294940 3528
edf66db1 35292000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
8e294940 3530
edf66db1 3531 * sysdeps/sh/stackinfo.h: New file.
8e294940 3532
edf66db1 35332001-04-10 Ulrich Drepper <drepper@redhat.com>
8e294940 3534
edf66db1
SP
3535 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3536 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3537 __ctype_tolower, and __ctype_toupper elements.
8e294940 3538
edf66db1
SP
3539 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3540 Reported by Konstantin Osipov <rabid@spylog.ru>.
8e294940 3541
edf66db1
SP
3542 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3543 the lousy AMD FPU.
8e294940 3544
edf66db1 35452001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 3546
edf66db1
SP
3547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3548 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3549 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3550 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
8e294940 3551
edf66db1 35522001-04-10 Ulrich Drepper <drepper@redhat.com>
8e294940 3553
edf66db1
SP
3554 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3555 message. Based on a patch by HJ Lu.
8e294940 3556
edf66db1 35572001-04-10 Andreas Schwab <schwab@suse.de>
8e294940 3558
edf66db1
SP
3559 * math/libm-test.inc (csinh_test): Don't require the invalid
3560 exception for csinh (x + iNaN), but make it optional.
8e294940 3561
edf66db1 35622001-04-09 David Mosberger <davidm@hpl.hp.com>
8e294940 3563
edf66db1 3564 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
8e294940 3565
edf66db1
SP
3566 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3567 * sysdeps/ia64/elf/entry.h: New file.
3568 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3569 __start.
3570 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
3571 of &ENTRY_POINT.
3572 * sysdeps/generic/dl-sysdep.c: Likewise.
3573 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3574 * sysdeps/ia64/elf/start.S: Save base address of register backing
3575 store in __libc_ia64_register_backing_store_base.
3576
35772001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
3578
3579 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3580 value of getcontext.
3581 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3583 value of setcontext.
3584 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3585 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3586 call by changing the saved context.
3587
35882001-04-10 Ulrich Drepper <drepper@redhat.com>
3589
3590 * sysdeps/alpha/stackinfo.h: New file.
3591 * sysdeps/ia64/stackinfo.h: New file.
3592
35932001-04-10 Andreas Schwab <schwab@suse.de>
3594
3595 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3596 values.
3597 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3598
35992001-04-09 Ulrich Drepper <drepper@redhat.com>
3600
3601 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3602 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3603
3604 * libio/Makefile (distribute): Add fd_to_filename.h.
3605
36062001-04-05 David S. Miller <davem@redhat.com>
3607
3608 Add hp-timing support for sparcv9/sparc64 targets.
3609 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3610 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3611 * sysdeps/sparc/sparc64/hp-timing.c: New file
3612 * sysdeps/sparc/sparc64/hp-timing.h: New file
3613 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3614 * sysdeps/sparc/sparc64/Makefile: Likewise.
3615
36162001-04-09 Jakub Jelinek <jakub@redhat.com>
3617
3618 * sysdeps/generic/fd_to_filename.h: New file.
3619 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3620 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3621 filename from the open file descriptor.
3622 * libio/freopen64.c (freopen64): Likewise.
3623
36242001-04-09 Bruno Haible <haible@clisp.cons.org>
3625
3626 * misc/error.c (error): fflush stdout also if
3627 error_print_progname != NULL.
3628 (error_at_line): Likewise.
3629
36302001-04-07 Bruno Haible <haible@clisp.cons.org>
3631
3632 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3633 (struct binding): Add codeset_cntr field.
3634 (_nl_load_domain): Add domainbinding argument.
3635 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3636 (_nl_find_msg): New declaration, moved here from loadinfo.h.
3637 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3638 (_nl_make_l10nflist): Remove domainbinding argument.
3639 (_nl_find_msg): Move declaration to gettextP.h.
3640 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3641 to 0. Increment it when ->codeset is changed.
3642 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3643 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
3644 if domainbinding->codeset_cntr has been incremented.
3645 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3646 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
3647 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3648 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3649 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
3650 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3651 (_nl_load_domain): Add domainbinding argument. Call
3652 _nl_init_domain_conv.
3653 (_nl_unload_domain): Call _nl_free_domain_conv.
3654 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3655 (test-srcs): Add tst-codeset.
3656 (tests): Depend on tst-codeset.out.
3657 (tst-codeset.out): New rule.
3658 (CFLAGS-tst-codeset.c): New variable.
3659 * intl/tst-codeset.sh: New file.
3660 * intl/tstcodeset.po: New file.
3661 * intl/tst-codeset.c: New file.
3662 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3663 calls.
3664
36652001-04-07 Roland McGrath <roland@frob.com>
3666
3667 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3668
36692001-03-31 Roland McGrath <roland@frob.com>
3670
3671 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3672 copying send rights into child. When we hit our name for our proc
3673 port, just copy NEWPROC directly instead of repeating proc_task2proc
3674 to install the child's port.
3675
36762001-04-08 Roland McGrath <roland@frob.com>
3677
3678 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3679 in second column, to provide default values for third column.
3680 * shlib-versions: Add comments about using DEFAULT in second column.
3681 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3682 (cris-.*-linux.*): Likewise.
3683
36842001-04-09 Ulrich Drepper <drepper@redhat.com>
3685
3686 * Makefile (distribute): Add scripts/documented.sh.
3687 * scripts/documented.sh: New file.
3688
36892001-04-08 Hans-Peter Nilsson <hp@axis.com>
3690
3691 * sysdeps/unix/sysv/linux/cris/Dist: New file.
3692 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3693 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3694 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3695 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3696 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3697 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3698 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3699 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3700 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3701 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3702 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3703 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3704 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3705 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3706 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3707 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3708 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3709 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3710 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3711 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3712 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3713 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3714 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3715 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3716 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3717 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3718 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3719 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3720 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3721 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3722 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3723 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3724 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3725 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3726 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3727 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3728 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3729 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3730 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3731 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3732 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3733 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3734 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3735 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3736 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3737 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3738 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3739 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3740 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3741
37422001-04-08 Hans-Peter Nilsson <hp@axis.com>
3743
3744 * sysdeps/cris/Dist: New file.
3745 * sysdeps/cris/Implies: New file.
3746 * sysdeps/cris/Makefile: New file.
3747 * sysdeps/cris/__longjmp.S: New file.
3748 * sysdeps/cris/_mcount.S: New file.
3749 * sysdeps/cris/bits/endian.h: New file.
3750 * sysdeps/cris/bits/setjmp.h: New file.
3751 * sysdeps/cris/bits/string.h: New file.
3752 * sysdeps/cris/dl-machine.h: New file.
3753 * sysdeps/cris/elf/start.S: New file.
3754 * sysdeps/cris/machine-gmon.h: New file.
3755 * sysdeps/cris/memcopy.h: New file.
3756 * sysdeps/cris/memusage.h: New file.
3757 * sysdeps/cris/setjmp.S: New file.
3758 * sysdeps/cris/sysdep.h: New file.
3759 * sysdeps/cris/wordcopy.c: New file.
3760
37612001-04-08 Hans-Peter Nilsson <hp@axis.com>
3762
3763 * elf/elf.h: Add new relocations for CRIS.
3764
37652001-04-08 Hans-Peter Nilsson <hp@axis.com>
3766
3767 * shlib-versions: Add cases for Linux on CRIS.
3768
37692001-04-08 Hans-Peter Nilsson <hp@axis.com>
3770
3771 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3772 ';' for comments and '@' for line separator.
3773
37742001-04-08 Hans-Peter Nilsson <hp@axis.com>
3775
3776 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3777 typo; s/==/=/ for assignment.
3778
37792001-04-08 Hans-Peter Nilsson <hp@axis.com>
3780
3781 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3782
37832001-04-08 Hans-Peter Nilsson <hp@axis.com>
3784
3785 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3786 empty input before checking full output.
3787
37882001-04-08 Hans-Peter Nilsson <hp@axis.com>
3789
3790 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3791 checking if == -1L.
3792
37932001-04-08 Ulrich Drepper <drepper@redhat.com>
3794
3795 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3796
37972001-04-07 Stephen L Moshier <moshier@mediaone.net>
3798
3799 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3800 return values.
3801
38022001-04-07 Ulrich Drepper <drepper@redhat.com>
3803
3804 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
8e294940 3805
edf66db1
SP
3806 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3807 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3808 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3809 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3810 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3811 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
8e294940 3812
edf66db1 38132001-04-07 Andreas Jaeger <aj@suse.de>
8e294940 3814
edf66db1
SP
3815 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3816 instead of separate sin and cos.
3817 (__ieee754_j1l): Likewise.
8e294940 3818
edf66db1 38192001-04-06 Ulrich Drepper <drepper@redhat.com>
8e294940 3820
edf66db1 3821 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
8e294940 3822
edf66db1 3823 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
8e294940 3824
edf66db1 3825 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
8e294940 3826
edf66db1
SP
3827 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3828 available.
3829 * sysdeps/generic/e_scalbf.c: Likewise.
3830 * sysdeps/generic/e_scalbl.c: Likewise.
3831 Patch by Mark Hatle <fray@mvista.com>.
8e294940 3832
edf66db1 38332001-04-05 David S. Miller <davem@redhat.com>
8e294940 3834
edf66db1 3835 * sysdeps/sparc/abort-instr.h: New file.
8e294940 3836
edf66db1 38372001-04-05 Matt Wilson <msw@redhat.com>
8e294940 3838
edf66db1
SP
3839 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3840 added code to parse new 2.4 format.
3841 (GET_NPROCS_CONF_PARSER): Likewise.
8e294940 3842
edf66db1 38432001-04-05 David S. Miller <davem@redhat.com>
8e294940 3844
edf66db1
SP
3845 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3846 * configure.in: Add sparcv9b.
3847 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3848 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3849 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
8e294940 3850
edf66db1 38512001-04-06 David Mosberger <davidm@hpl.hp.com>
8e294940 3852
edf66db1
SP
3853 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3854 (f2): Verify that stack pointer is inside st2[].
8e294940 3855
edf66db1
SP
3856 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3857 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
8e294940 3858
edf66db1 38592001-04-06 Ulrich Drepper <drepper@redhat.com>
8e294940 3860
edf66db1
SP
3861 * timezone/antarctica: Update from tzdata2001b.
3862 * timezone/asia: Likewise.
3863 * timezone/australasia: Likewise.
3864 * timezone/europe: Likewise.
3865 * timezone/northamerica: Likewise.
8e294940 3866
edf66db1
SP
3867 * iconv/iconv_open.c: Move strip and upstr definitions...
3868 * iconv/gconv_charset.h: ...here. New file.
3869 * iconv/gconv_db.c (once): Move to file level.
3870 (do_lookup_alias): Split out from __gconv_find_transform.
3871 (__gconv_find_transform): Call do_lookup_alias.
3872 (__gconv_loopup_alias): New function.
3873 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3874 but LC_CTYPE.
3875 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3876 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3877 * locale/C-address.c: Initialize _NL_*_CODESET element.
3878 * locale/C-collate.c: Likewise.
3879 * locale/C-identification.c: Likewise.
3880 * locale/C-measurement.c: Likewise.
3881 * locale/C-messages.c: Likewise.
3882 * locale/C-monetary.c: Likewise.
3883 * locale/C-name.c: Likewise.
3884 * locale/C-numeric.c: Likewise.
3885 * locale/C-paper.c: Likewise.
3886 * locale/C-telephone.c: Likewise.
3887 * locale/C-time.c: Likewise.
3888 * locale/localeinfo.h: Declare _nl_C_codeset.
3889 * locale/C_name.c: Define _nl_C_codeset.
3890 * locale/findlocale.c: Before accepting locale check that the used
3891 charset does not conflict with what the locale name said.
3892 * locale/programs/ld-address.c: Emit codeset information.
3893 * locale/programs/ld-collate.c: Likewise.
3894 * locale/programs/ld-identification.c: Likewise.
3895 * locale/programs/ld-measurement.c: Likewise.
3896 * locale/programs/ld-messages.c: Likewise.
3897 * locale/programs/ld-monetary.c: Likewise.
3898 * locale/programs/ld-name.c: Likewise.
3899 * locale/programs/ld-numeric.c: Likewise.
3900 * locale/programs/ld-paper.c: Likewise.
3901 * locale/programs/ld-telephone.c: Likewise.
3902 * locale/programs/ld-time.c: Likewise.
8e294940 3903
edf66db1
SP
3904 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3905 if the locale data couldn't be found.
8e294940 3906
edf66db1 3907 * string/Makefile: Define tst-strxfrm-ENV.
8e294940 3908
edf66db1 3909 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
8e294940 3910
edf66db1 39112001-04-06 Andreas Jaeger <aj@suse.de>
8e294940 3912
edf66db1 3913 * include/sys/profil.h: New file.
8e294940 3914
edf66db1
SP
3915 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3916 * dlfcn/modcxaatexit.c: Likewise.
3917 * elf/globalmod1.c: Likewise.
8e294940 3918
edf66db1 39192001-04-05 David S. Miller <davem@redhat.com>
8e294940 3920
edf66db1
SP
3921 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3922 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3923 capability flags table and HWCAP_IMPORTANT, increase
3924 _DL_HWCAP_COUNT to 6.
3925 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8e294940 3926
edf66db1 39272001-04-04 David Mosberger <davidm@hpl.hp.com>
8e294940 3928
edf66db1
SP
3929 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3930 initialization of stack_end (bug reported by Zheng Gengbin
3931 <gzheng@students.uiuc.edu>).
8e294940 3932
edf66db1 39332001-04-05 Ulrich Drepper <drepper@redhat.com>
8e294940 3934
edf66db1 3935 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
8e294940 3936
edf66db1 39372001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 3938
edf66db1 3939 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
8e294940 3940
edf66db1 39412001-04-05 Ulrich Drepper <drepper@redhat.com>
8e294940 3942
edf66db1
SP
3943 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3944 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
8e294940 3945
edf66db1 3946 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
8e294940 3947
edf66db1 39482001-04-04 Ulrich Drepper <drepper@redhat.com>
8e294940 3949
edf66db1
SP
3950 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3951 define simple replacements here. Patch by Michael Keezer.
8e294940 3952
edf66db1
SP
3953 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3954 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3955 Contributed by Stephen L Moshier <moshier@mediaone.net>.
8e294940 3956
edf66db1
SP
3957 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3958 anymore.
8e294940 3959
edf66db1 39602001-04-01 Andreas Jaeger <aj@suse.de>
8e294940 3961
edf66db1
SP
3962 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3963 alias.
8e294940 3964
edf66db1 3965 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
8e294940 3966
edf66db1 39672001-04-04 Ulrich Drepper <drepper@redhat.com>
8e294940 3968
edf66db1
SP
3969 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3970 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
8e294940 3971
edf66db1 39722001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 3973
edf66db1
SP
3974 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3975 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3977 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3978 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3979 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3980 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3981 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3982 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
8e294940 3983
edf66db1 39842001-04-04 Andreas Jaeger <aj@suse.de>
8e294940 3985
edf66db1
SP
3986 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3987 place.
8e294940 3988
edf66db1 39892001-04-04 Ulrich Drepper <drepper@redhat.com>
8e294940 3990
edf66db1
SP
3991 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3992 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3993 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3994 (unsigned_dec): Likewise.
3995 Patch by atai@jezebel.dreamhost.com.
8e294940 3996
edf66db1
SP
3997 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3998 pointer to int as last parameter of yp_match.
3999 Patch by kanazawa@flab.fujitsu.co.jp.
8e294940 4000
edf66db1 40012001-04-03 Ulrich Drepper <drepper@redhat.com>
8e294940 4002
edf66db1
SP
4003 * resolv/netdb.h (gai_strerror): Make return value const.
4004 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
4005 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
4006 Add strings for new error values.
8e294940 4007
edf66db1 40082001-03-29 Michael Keezer <mkeezer@redhat.com>
8e294940 4009
edf66db1
SP
4010 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
4011 * login/tst-utmp.c: Handle case where ut_tv is not available but
4012 ut_time is.
4013 * sysdeps/unix/sysv/aix/utmpx.h: New file.
4014 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
4015 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
4016 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
4017 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
4018 to access RTCU timer reg.
4019 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
4020 added dl-libc, dl-open,dl-sym, dl-close to misc.
4021 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
4022 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
4023 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
4024 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
4025 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
4026 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
4027 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
4028 GLIBC_2_2).
4029 * sysdeps/generic/strtoull.c: Likewise.
4030 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
4031 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
4032 sysdeps/generic/memset.c.
4033 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
8e294940 4034
edf66db1 40352001-04-03 Ulrich Drepper <drepper@redhat.com>
8e294940 4036
edf66db1
SP
4037 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
4038 * locale/programs/charmap.c: Define null_pointer if
4039 NEED_NULL_POINTER is defined.
8e294940 4040
edf66db1 4041 * misc/dirname.c (dirname): Handle multiple slashes correctly.
8e294940 4042
edf66db1 40432001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 4044
edf66db1 4045 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
8e294940 4046
edf66db1 40472001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 4048
edf66db1
SP
4049 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
4050 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4051 * sysdeps/s390/s390-32/mempcy.S: Likewise.
4052 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8e294940 4053
edf66db1 40542001-04-02 Bruno Haible <haible@clisp.cons.org>
8e294940 4055
edf66db1
SP
4056 * manual/message.texi (Advanced gettext functions): More specific
4057 syntax in the plural formula examples.
8e294940 4058
edf66db1 40592001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 4060
edf66db1
SP
4061 * sysdeps/powerpc/atomicity.h: Silence warnings.
4062 * sysdeps/powerpc/dl-machine.h: Likewise.
4063 * sysdeps/powerpc/register-dump.h: Likewise.
4064 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
8e294940 4065
edf66db1 40662001-04-02 Andreas Jaeger <aj@suse.de>
8e294940 4067
edf66db1
SP
4068 * misc/tst-dirname.c (main): Add more tests, derived from a bug
4069 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8e294940 4070
edf66db1 40712001-04-01 Andreas Jaeger <aj@suse.de>
8e294940 4072
edf66db1
SP
4073 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
4074 is installed there.
4075 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
8e294940 4076
edf66db1 40772001-04-01 H.J. Lu <hjl@gnu.org>
8e294940 4078
edf66db1
SP
4079 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
4080 tmpnam (NULL).
4081 * stdlib/isomac.c (macrofile): Likewise.
8e294940 4082
edf66db1 40832001-03-30 Thorsten Kukuk <kukuk@suse.de>
8e294940 4084
edf66db1
SP
4085 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
4086 * nis/ypclnt.c (yp_all): Print error message only at last try,
4087 check for protocoll error only if we don't have a network error.
8e294940 4088
edf66db1 40892001-04-02 Andreas Schwab <schwab@suse.de>
8e294940 4090
edf66db1 4091 * resolv/res_data.c (res_isourserver): Fix cast.
8e294940 4092
edf66db1 40932001-04-02 Andreas Jaeger <aj@suse.de>
8e294940 4094
edf66db1
SP
4095 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
4096 __umount2.
8e294940 4097
edf66db1
SP
4098 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
4099 strings.
4100 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
8e294940 4101
edf66db1
SP
4102 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
4103 initializers.
4104 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
8e294940 4105
edf66db1
SP
4106 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
4107 warning about unused variable.
8e294940 4108
edf66db1
SP
4109 * string/string.h (strndupa): Add cast for C++ conformance.
4110 (strdupa): Likewise.
4111 Fixes PR libc/2173, reported by tbrowder@home.com.
8e294940 4112
edf66db1 41132001-03-30 Roland McGrath <roland@frob.com>
8e294940 4114
edf66db1
SP
4115 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
4116 options after $(build-module), which is no longer a single command.
4117 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
4118 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
4119 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
8e294940 4120
edf66db1 41212001-03-11 Roland McGrath <roland@frob.com>
8e294940 4122
edf66db1
SP
4123 * elf/rtld.c (dl_main): Add cast to quiet warning.
4124 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4125 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
4126 (__gconv_read_conf): Likewise.
4127 * iconv/gconv_db.c (gen_steps): Likewise.
4128 (__gconv_find_transform): Likewise.
4129 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
4130 (fopen_uncompressed): Use const in second argument's type.
8e294940 4131
edf66db1 41322001-03-11 Roland McGrath <roland@frob.com>
8e294940 4133
edf66db1 4134 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
8e294940 4135
edf66db1
SP
4136 * mach/mach_error.h: Fix ancient #endif syntax.
4137 * hurd/hurdmalloc.c: Likewise.
8e294940 4138
edf66db1
SP
4139 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
4140 compare_and_swap): Add volatile qualifier to first arg, to bring
4141 these prototypes in line with all the other implementations.
4142 Add a #warning to remind the builder that these are not atomic.
8e294940 4143
edf66db1 41442001-03-04 Roland McGrath <roland@frob.com>
8e294940 4145
edf66db1
SP
4146 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
4147 member of TEMP_F so its type is _IO_FILE * as expected.
8e294940 4148
edf66db1
SP
4149 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
4150 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
4151 it might exceed off_t's range.
8e294940 4152
edf66db1 41532001-02-25 Roland McGrath <roland@frob.com>
8e294940 4154
edf66db1
SP
4155 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
4156 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
8e294940 4157
edf66db1
SP
4158 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
4159 macro instead of an inline function,
4160 (MSG_EXAMINE): Likewise.
8e294940 4161
edf66db1 4162 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
8e294940 4163
edf66db1
SP
4164 * hurd/get-host.c: Include <string.h> for decls of built-ins.
4165 * hurd/hurdchdir.c: Likewise.
4166 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
4167 * sysdeps/mach/hurd/opendir.c: Likewise.
8e294940 4168
edf66db1 4169 * mach/mach_init.c: Include <unistd.h> for _exit decl.
8e294940 4170
edf66db1 4171 * mach/errsystems.awk: Give output file a trailing newline.
8e294940 4172
edf66db1
SP
4173 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
4174 the script will use our compiler for the cpp stage.
8e294940 4175
edf66db1
SP
4176 With --enable-all-warnings we get a whole bunch of warnings,
4177 and these are just a few fixes; there are more needed to silence it.
4178 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
4179 decls before extern inline defns to quiet gcc warning.
4180 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
4181 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
8e294940 4182
edf66db1 41832001-03-31 Andreas Jaeger <aj@suse.de>
8e294940 4184
edf66db1
SP
4185 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
4186 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
4187 (ARPHRD_CISCO): New.
4188 Changes from Linux 2.4.3.
8e294940 4189
edf66db1 41902001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
8e294940 4191
edf66db1 4192 * posix/regex.c: Avoid an access violation if malloc fails.
8e294940 4193
edf66db1 41942001-03-30 Andreas Jaeger <aj@suse.de>
8e294940 4195
edf66db1 4196 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
8e294940 4197
edf66db1 41982001-03-29 Ulrich Drepper <drepper@redhat.com>
8e294940 4199
edf66db1 4200 * posix/regex.c: Remove unnecessary ifs.
8e294940 4201
edf66db1 4202 * math/bits/mathcalls.h: Remove infnan declaration.
8e294940 4203
edf66db1 42042001-03-29 H.J. Lu <hjl@gnu.org>
8e294940 4205
edf66db1
SP
4206 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
4207 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
4208 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
8e294940 4209
edf66db1 42102001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
8e294940 4211
edf66db1 4212 * posix/regex.c: Fix typo and add a sentinel.
8e294940 4213
edf66db1 42142001-03-29 Ulrich Drepper <drepper@redhat.com>
8e294940 4215
edf66db1
SP
4216 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
4217 O_NOFOLLOW. Suggested by Christoph Roland.
8e294940 4218
edf66db1 42192001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 4220
edf66db1
SP
4221 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
4222 * sysdeps/s390/s390-32/bits/string.h: Remove.
4223 * sysdeps/s390/s390-64/bits/string.h: Remove.
4224 * sysdeps/s390/s390-32/strcmp.S: New file.
4225 * sysdeps/s390/s390-64/strcmp.S: New file.
8e294940 4226
edf66db1 42272001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 4228
edf66db1
SP
4229 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
4230 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8e294940 4231
edf66db1 42322001-03-27 Ulrich Drepper <drepper@redhat.com>
8e294940 4233
edf66db1 4234 * version.h (VERSION): Bump to 2.2.3.
8e294940 4235
edf66db1
SP
4236 * stdlib/isomac.c (fmt): Don't define _LIBC.
4237 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4238 LOW_HALF only if _LIBC is defined.
8e294940 4239
edf66db1 4240 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
8e294940 4241
edf66db1
SP
4242 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4243 and +().
4244 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
8e294940 4245
edf66db1
SP
4246 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
4247 * include/endian.h: ...to here.
8e294940 4248
edf66db1 42492001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
8e294940 4250
edf66db1
SP
4251 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4252 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
8e294940 4253
edf66db1 42542001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 4255
edf66db1 4256 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
8e294940 4257
edf66db1 42582001-03-26 Ulrich Drepper <drepper@redhat.com>
8e294940 4259
edf66db1
SP
4260 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4261 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4262 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
8e294940 4263
edf66db1 4264 * gmon/Makefile (headers): Add sys/profil.h.
8e294940 4265
edf66db1 42662001-03-18 Andreas Jaeger <aj@suse.de>
8e294940 4267
edf66db1
SP
4268 * manual/install.texi (Tools for Compilation): Advise to use GCC
4269 2.95.3.
4270 (Supported Configurations): Mention s390x.
8e294940 4271
edf66db1 42722001-03-26 Ben Collins <bcollins@debian.org>
8e294940 4273
edf66db1
SP
4274 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4275 defines to match other architectures.
8e294940 4276
edf66db1 42772001-03-26 Ulrich Drepper <drepper@redhat.com>
8e294940 4278
edf66db1
SP
4279 * libio/Makefile (tests): Add tst-ext.
4280 * libio/tst-ext.c: New file.
8e294940 4281
edf66db1 4282 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
8e294940 4283
edf66db1 42842001-03-25 Ulrich Drepper <drepper@redhat.com>
8e294940 4285
edf66db1
SP
4286 Add changes which were in this form in the original patch by
4287 Eric Norum <eric.norum@usask.ca>.
4288 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4289 svc_max_pollfd.
4290 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4291 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4292 __rpc_thread_svc_max_pollfd.
4293 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4294 svc_max_pollfd.
4295 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4296 global variables.
4297 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4298 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4299 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
4300 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4301 __rpc_thread_svc_max_pollfd.
4302 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4303 get_rpc_createerr.
4304 * sunrpc/clnt_perr.c: Likewise.
4305 * sunrpc/clnt_simp.c: Likewise.
4306 * sunrpc/clnt_tcp.c: Likewise.
4307 * sunrpc/clnt_udp.c: Likewise.
4308 * sunrpc/clnt_unix.c: Likewise.
4309 * sunrpc/pm_getport.c: Likewise.
8e294940 4310
edf66db1
SP
4311 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4312 syscall checks for negative n so don't test here as well.
8e294940 4313
edf66db1 43142001-03-23 Jes Sorensen <jes@linuxcare.com>
8e294940 4315
edf66db1
SP
4316 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4317 * sysdeps/ia64/sysdep.h: ...here.
8e294940 4318
edf66db1
SP
4319 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4320 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
8e294940 4321
edf66db1
SP
4322 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4323 declare instead of LEAF(). Suggestion from David Mosberger.
8e294940 4324
edf66db1 43252001-03-21 David Mosberger <davidm@hpl.hp.com>
8e294940 4326
edf66db1
SP
4327 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4328 directives.
4329 (PSEUDO): Drop .psr and .lsb directives.
8e294940 4330
edf66db1
SP
4331 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
4332 directives.
4333 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
8e294940 4334
edf66db1
SP
4335 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4336 directives etc.
4337 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4338 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4339 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4340 longer needed). Add unwind directives.
8e294940 4341
edf66db1
SP
4342 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4343 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
8e294940 4344
edf66db1 43452001-03-21 Paul Eggert <eggert@twinsun.com>
8e294940 4346
edf66db1
SP
4347 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4348 (RE_SYNTAX_POSIX_EGREP): Use it.
4349 * posix/regex.c (regex_compile): Implement it.
8e294940 4350
edf66db1 43512001-03-21 Paul Eggert <eggert@twinsun.com>
8e294940 4352
edf66db1
SP
4353 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4354 Rewrite to avoid duplicate code.
8e294940 4355
edf66db1 43562001-03-21 H.J. Lu <hjl@gnu.org>
8e294940 4357
edf66db1
SP
4358 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4359 for cross-compiling.
4360 ($(objpfx)tst-pathopt.out): Undo the last change.
8e294940 4361
edf66db1 43622001-03-24 Mark Kettenis <kettenis@gnu.org>
8e294940 4363
edf66db1
SP
4364 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4365 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
8e294940 4366
edf66db1
SP
4367 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4368 (_dl_argv): Declare.
4369 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
8e294940 4370
edf66db1 43712001-03-22 Andreas Jaeger <aj@suse.de>
8e294940 4372
edf66db1 4373 * iconvdata/Makefile (generated): Add iconv-test.xxx.
8e294940 4374
edf66db1
SP
4375 * posix/Makefile (generated): Add bug-regex2.mtrace and
4376 bug-regex2-mem.
8e294940 4377
edf66db1 43782001-03-21 Ulrich Drepper <drepper@redhat.com>
8e294940 4379
edf66db1
SP
4380 * csu/version.c (__gnu_get_libc_release): Add prototype.
4381 (__gnu_get_libc_version): Likewise.
4382 * include/gnu/libc-version.h: Remove prototypes for not exported
4383 functions.
8e294940 4384
edf66db1 43852001-03-21 Jes Sorensen <jes@linuxcare.com>
8e294940 4386
edf66db1
SP
4387 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4388 for internationalized printfs to work.
8e294940 4389
edf66db1 43902001-03-09 Bruno Haible <haible@clisp.cons.org>
8e294940 4391
edf66db1
SP
4392 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4393 avoid compiler warning.
4394 (_nl_find_msg): Add casts to avoid compiler warnings.
8e294940 4395
edf66db1 43962001-03-21 Ulrich Drepper <drepper@redhat.com>
8e294940 4397
edf66db1
SP
4398 * gmon/Makefile (routines): Add sprofil.
4399 (tests): Add tst-sprofil.
4400 (noprof): Add sprofil.
4401 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
8e294940 4402
edf66db1 44032001-03-20 David Mosberger <davidm@hpl.hp.com>
8e294940 4404
edf66db1
SP
4405 * sysdeps/generic/sprofil.c: New file.
4406 * sysdeps/posix/sprofil.c: New file.
4407 * gmon/tst-sprofil.c: New file.
4408 * gmon/sys/profil.h: New file.
8e294940 4409
edf66db1 44102001-03-20 Andreas Schwab <schwab@suse.de>
8e294940 4411
edf66db1 4412 * include/unistd.h: Adjust prototype of __gethostname.
8e294940 4413
edf66db1 44142001-03-20 Jakub Jelinek <jakub@redhat.com>
8e294940 4415
edf66db1 4416 * sysdeps/sparc/stackinfo.h: New file.
8e294940 4417
edf66db1 44182001-03-21 Andreas Jaeger <aj@suse.de>
8e294940 4419
edf66db1 4420 * elf/global.c (main): Use proper prototype.
8e294940 4421
edf66db1 44222001-03-20 Ulrich Drepper <drepper@redhat.com>
8e294940 4423
edf66db1
SP
4424 * sunrpc/Makefile (routines): Add rpc_thread.
4425 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4426 * sunrpc/rpc_thread.c: New file.
4427 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4428 * sunrpc/auth_none.c: Don't use global variables. Access state in
4429 thread-local storage.
4430 * sunrpc/clnt_perr.c: Likewise.
4431 * sunrpc/clnt_raw.c: Likewise.
4432 * sunrpc/clnt_simp.c: Likewise.
4433 * sunrpc/key_call.c: Likewise.
4434 * sunrpc/rpc_common.c: Likewise.
4435 * sunrpc/svc.c: Likewise.
4436 * sunrpc/svc_raw.c: Likewise.
4437 * sunrpc/svc_simple.c: Likewise.
4438 * sunrpc/svcauth_des.c: Likewise.
4439 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4440 _HURD_THREADVAR_RPC_VARS.
4441 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4442 * include/rpc/rpc.h: Define data structures for internal thread-local
4443 "global" variables.
4444 Based on patches by Eric Norum <eric.norum@usask.ca>.
4445
4446 * elf/dl-load.c: Various little optimizations.
4447
4448 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4449 LINUX_LINK_MAX only if the statfs function is not implemented for
4450 the filesystem.
4451
4452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4453 LINUX_LINK_MAX only if the fstatfs function is not implemented for
4454 the filesystem.
4455
44562001-03-19 Ulrich Drepper <drepper@redhat.com>
4457
4458 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4459
4460 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4461 (_dl_dst_substitute): Likewise.
4462
44632001-03-17 Bruno Haible <haible@clisp.cons.org>
4464
4465 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4466
44672001-03-17 Bruno Haible <haible@clisp.cons.org>
4468
4469 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4470 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4471 union by a 'nargs' counter and an 'args[]' array.
4472 * intl/plural.y: Don't include stdarg.h.
4473 (new_exp): Take an array of arguments instead of varargs.
4474 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4475 ('?' ':'): Make right-associative.
4476 (EQUOP2): New token, replaces '=' and '!'.
4477 (CMPOP2): New token.
4478 (ADDOP2): New token, replaces '+' and '-'.
4479 (MULOP2): New token, replaces '*', '/' and '%'.
4480 ('!'): New token.
4481 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4482 (start): Call YYABORT here.
4483 (FREE_EXPRESSION): Update.
4484 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4485 Update for new token symbols.
4486 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4487 init_germanic_plural): Update.
4488 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4489 (plural_eval): Recognize comparison and '!' operators. Optimize for
4490 space.
4491
44922001-03-10 Bruno Haible <haible@clisp.cons.org>
4493
4494 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4495 NULL any more.
4496
44972001-01-05 Bruno Haible <haible@clisp.cons.org>
4498
4499 * intl/loadmsgcat.c: Include headers needed for alloca().
4500 (freea): New macro.
4501 (_nl_load_domain): Add fallback code for platforms lacking alloca.
4502 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4503 (freea): New macro.
4504 (read_alias_file): Simplify fallback code for platforms lacking
4505 alloca.
4506
45072001-01-07 Bruno Haible <haible@clisp.cons.org>
4508
4509 * intl/gettextP.h (__gettextdebug): Remove declaration.
4510 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4511 syntax.
4512 (gettext_free_exp__, gettextparse__): New non-libc declarations.
4513 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4514 not __gettextparse, __gettext_free_exp.
4515 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4516
45172001-02-24 Bruno Haible <haible@clisp.cons.org>
4518
4519 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4520
45212001-01-05 Bruno Haible <haible@clisp.cons.org>
4522
4523 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4524 lacking strtoul, like SunOS4.
4525
45262001-01-05 Bruno Haible <haible@clisp.cons.org>
4527
4528 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4529
45302001-01-05 Bruno Haible <haible@clisp.cons.org>
4531
4532 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4533 syntax.
4534 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4535 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4536 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4537 syntax.
4538
45392001-01-07 Bruno Haible <haible@clisp.cons.org>
8e294940 4540
edf66db1
SP
4541 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4542 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4543 old libgettext.h.
4544 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4545 * intl/dcgettext.c: Likewise.
4546 * intl/dcigettext.c: Likewise.
4547 * intl/dcngettext.c: Likewise.
4548 * intl/dngettext.c: Likewise.
4549 * intl/finddomain.c: Likewise.
4550 * intl/ngettext.c: Likewise.
4551 * intl/textdomain.c: Likewise.
4552 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4553 Include gettextP.h.
4554 * intl/gettext.c: Likewise. Don't include locale.h.
4555
45562001-03-17 Bruno Haible <haible@clisp.cons.org>
4557
4558 * intl/gettextP.h (ZERO): New macro.
4559 (struct binding): Always use ZERO.
4560 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4561 lack it, like SunOS4.
4562 (set_binding_values): Use offsetof, not sizeof.
4563 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4564 lack it, like SunOS4.
4565 (ZERO): Remove macro.
4566 (struct transmem_list): Use ZERO.
4567 (DCIGETTEXT): Use offsetof, not sizeof.
4568
45692001-03-17 Bruno Haible <haible@clisp.cons.org>
4570
4571 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
4572 nls_uint32.
4573 * intl/bindtextdom.c: Don't include gettext.h.
4574 * intl/dcgettext.c: Likewise.
4575 * intl/dcigettext.c: Likewise.
4576 * intl/dcngettext.c: Likewise.
4577 * intl/dngettext.c: Likewise.
4578 * intl/finddomain.c: Likewise.
4579 * intl/localealias.c: Likewise.
4580 * intl/ngettext.c: Likewise.
4581 * intl/plural.y: Likewise.
4582 * intl/textdomain.c: Likewise.
8e294940 4583
edf66db1 45842001-03-17 Bruno Haible <haible@clisp.cons.org>
8e294940 4585
edf66db1 4586 * intl/gettext.h: Don't include <stdio.h>.
8e294940 4587
edf66db1 45882001-03-17 Bruno Haible <haible@clisp.cons.org>
8e294940 4589
edf66db1
SP
4590 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4591 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
8e294940 4592
edf66db1 45932001-03-19 Ulrich Drepper <drepper@redhat.com>
8e294940 4594
edf66db1 4595 * sysdeps/unix/i386/i686/tempname.c: New file.
8e294940 4596
edf66db1
SP
4597 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4598 defined use this macro to get some bits of randomness instead of
4599 the usual gettimeofday or time calls.
8e294940 4600
edf66db1 46012001-03-16 Paul Eggert <eggert@twinsun.com>
8e294940 4602
edf66db1
SP
4603 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4604 not defined, and if UINT64_MAX is not defined.
8e294940 4605
edf66db1 46062001-03-19 Ulrich Drepper <drepper@redhat.com>
8e294940 4607
edf66db1 4608 * elf/cache.c: Mark and have translated a few more messages.
8e294940 4609
edf66db1 46102001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 4611
edf66db1
SP
4612 * elf/cache.c: Add case for FLAG_S390_LIB64.
4613 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4614 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4615 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
8e294940 4616
edf66db1 46172001-03-19 Ulrich Drepper <drepper@redhat.com>
8e294940 4618
edf66db1
SP
4619 * string/Makefile (tests): Add tst-strxfrm.
4620 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
4621 * string/Depend: New file.
8e294940 4622
edf66db1 46232001-03-19 Paul Eggert <eggert@twinsun.com>
8e294940 4624
edf66db1
SP
4625 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4626 when given the empty string in nontrivial locales.
8e294940 4627
edf66db1 46282001-03-17 H.J. Lu <hjl@gnu.org>
8e294940 4629
edf66db1
SP
4630 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4631 cp to install `dir'.
8e294940 4632
edf66db1 46332001-03-19 Andreas Schwab <schwab@suse.de>
8e294940 4634
edf66db1
SP
4635 * Makerules (build-shlib): Make sure exit codes get checked
4636 properly.
8e294940 4637
edf66db1
SP
46382001-03-18 Ulrich Drepper <drepper@redhat.com>
4639
4640 * Makerules (build-shlib): Remove unnecessary slashes introduced in
4641 last change.
4642
4643 * configure.in: Test for -Bgroup option of linker.
4644 * config.make.in: Define have-Bgroup.
4645
4646 * conform/data/unistd.h-data: Require gethostname.
4647 * posix/unistd.h: Make gethostname prototype available for
4648 __USE_XOPEN2K.
4649
4650 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4651 * debug/Makefile: Likewise.
4652 * dlfcn/Makefile: Likewise.
4653 * hesiod/Makefile: Likewise.
4654 * iconvdata/extra-module.mk: Likewise.
4655 * locale/Makefile: Likewise.
4656 * login/Makefile: Likewise.
4657 * math/Makefile: Likewise.
4658 * nis/Makefile: Likewise.
4659 * nss/Makefile: Likewise.
4660 * resolv/Makefile: Likewise.
4661 * rt/Makefile: Likewise.
4662
46632001-03-17 Ulrich Drepper <drepper@redhat.com>
4664
4665 * inet/Makefile (tests): Remove left-over comment.
4666
4667 * posix/unistd.h (gethostname): Change type of second parameter
4668 back to size_t as per upcoming XPG6.
4669 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4670 parameter back to size_t as per upcoming XPG6.
4671 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4672 * sysdeps/unix/sysv/gethostname.c: Likewise.
4673 * sysdeps/mach/hurd/gethostname.c: Likewise.
4674 * sysdeps/generic/gethostname.c: Likewise.
4675
46762001-03-16 Ulrich Drepper <drepper@redhat.com>
4677
4678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4679 Handle NaN here.
4680
4681 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4682 Internationalize.
4683
46842001-02-06 Jakub Jelinek <jakub@redhat.com>
4685
4686 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4687 looking for name matches.
4688
46892001-02-26 Jakub Jelinek <jakub@redhat.com>
4690
4691 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4692 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4693 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4694 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4695 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4696 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4697 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4698 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4699 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4700 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4703
47042001-03-16 Ulrich Drepper <drepper@redhat.com>
4705
4706 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4707 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4708
4709 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4710 erfcl.
4711 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4712
47132001-03-16 David Mosberger <davidm@hpl.hp.com>
4714
4715 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4716 Drop hack that was needed for 2.1.1 kernel headers.
4717
4718 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4719
4720 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4721 overlay with kernel's "struct sigcontext".
4722
4723 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4724 sys/rse.h for "misc" subdir.
4725 (sysdep_routines): Add __start_context for "stdlib" subdir.
4726
4727 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4728 kernel file of the same name).
4729
4730 * stdlib/Makefile (tests): Add tst-setcontext.
4731 * stdlib/tst-setcontext.c: New file (based on a sample program by
4732 Uli Drepper).
4733
4734 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4735 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4736 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4737 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4738 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4739
4740 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4741 instead of shift & and.
4742
47432001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4744
4745 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4746 * sysdeps/s390/bits/huge_val.h: ...here.
4747 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4748 * sysdeps/s390/s390-64/ffs.c: Move to...
4749 * sysdeps/s390/ffs.c: ...here.
4750 * sysdeps/s390/s390-32/ffs.c: Remove.
4751
47522001-03-16 Jakub Jelinek <jakub@redhat.com>
4753
4754 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4755 update osversion from more recent library.
4756
47572001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4758
4759 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4760 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4761 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4762 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4763 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4764 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4765 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4766 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4768 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4770 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4771 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4772 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4773 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4774 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4775 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4776 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4777 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4778 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4779 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4780 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4781 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4782 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4783 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4784 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4785 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4786 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4787 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4788 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4789 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4790 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4791 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4792 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4793 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4794 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4795 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4796 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4797 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4798 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4799 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4800 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4801 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4802 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4803 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4804 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4805 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4806 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4807 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4808 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4809 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4810 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4811 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4812 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4813 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4814 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4815 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4816 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4817 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4818 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4819 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4820 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4821 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4822 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4823 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4824 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4825 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4826 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4827 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4828 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4829 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4830 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4831 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4832 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4833 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4834 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4835 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4836 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4837 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4838 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4839 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4840 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4841 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4842 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4843 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4844 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4845 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4846 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4847 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4848 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4849 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4850 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4851 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4852 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4853 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4854 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4855 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4856 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4857 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4858 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4859 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4860 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4861 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4862 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4863 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4864 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4865 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4867 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4869 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4870 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4871 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4872 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4873
48742001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4875
4876 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4877 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4878 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4879 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4880 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4881 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4882 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4883 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4884 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4885 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4886 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4887 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4888 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4889 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4890 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4891 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4892 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4893 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4894 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4895 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4896 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4897 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4898 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4899 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4900 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4902 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4903 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4904 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4905 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4906 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4907 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4908 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4909 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4910 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4911 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4912 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4913 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4914 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4915 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4916 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4918 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4919 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4920 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4921 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4922 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4926 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4927 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4928 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4929
49302001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4931
4932 * sysdeps/s390/Dist: Move to...
4933 * sysdeps/s390/390-32/Dist: ...here.
4934 * sysdeps/s390/Implies: Move to...
4935 * sysdeps/s390/s390-32/Implies: ...here.
4936 * sysdeps/s390/Makefile: Move to...
4937 * sysdeps/s390/s390-32/Makefile: ...here.
4938 * sysdeps/s390/Versions: Move to...
4939 * sysdeps/s390-32/s390/Versions: ...here.
4940 * sysdeps/s390/add_n.S: Move to...
4941 * sysdeps/s390/s390-32/add_n.S: ...here.
4942 * sysdeps/s390/addmul_1.S: Move to...
4943 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4944 * sysdeps/s390/atomicity.h: Move to...
4945 * sysdeps/s390/s390-32/atomicity.h: ...here.
4946 * sysdeps/s390/backtrace.c: Move to...
4947 * sysdeps/s390/s390-32/backtrace.c: ...here.
4948 * sysdeps/s390/bcopy.S: Move to...
4949 * sysdeps/s390/s390-32/bcopy.S: ...here.
4950 * sysdeps/s390/bits/byteswap.h: Move to...
4951 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4952 * sysdeps/s390/bits/huge_val.h: Move to...
4953 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4954 * sysdeps/s390/bsd-_setjmp.S: Move to...
4955 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4956 * sysdeps/s390/bsd-setjmp.S: Move to...
4957 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4958 * sysdeps/s390/bzero.S: Move to...
4959 * sysdeps/s390/s390-32/bzero.S: ...here.
4960 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4961 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4962 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4963 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4964 * sysdeps/s390/elf/start.S: Move to...
4965 * sysdeps/s390/s390-32/elf/start.S: ...here.
4966 * sysdeps/s390/ffs.c: Move to...
4967 * sysdeps/s390/s390-32/ffs.c: ...here.
4968 * sysdeps/s390/memchr.S: Move to...
4969 * sysdeps/s390/s390-32/memchr.S: ...here.
4970 * sysdeps/s390/memcpy.S: Move to...
4971 * sysdeps/s390/s390-32/memcpy.S: ...here.
4972 * sysdeps/s390/memset.S: Move to...
4973 * sysdeps/s390/s390-32/memset.S: ...here.
4974 * sysdeps/s390/mul_1.S: Move to...
4975 * sysdeps/s390/s390-32/mul_1.S: ...here.
4976 * sysdeps/s390/s390-mcount.S: Move to...
4977 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4978 * sysdeps/s390/strcpy.S: Move to...
4979 * sysdeps/s390/s390-32/strcpy.S: ...here.
4980 * sysdeps/s390/strncpy.S: Move to...
4981 * sysdeps/s390/s390-32/strncpy.S: ...here.
4982 * sysdeps/s390/sub_n.S: Move to...
4983 * sysdeps/s390/s390-32/sub_n.S: ...here.
4984
49852001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4986
4987 * sysdeps/s390/s390-64/Dist: New file.
4988 * sysdeps/s390/s390-64/Implies: New file.
4989 * sysdeps/s390/s390-64/Makefile: New file.
4990 * sysdeps/s390/s390-64/__longjmp.c: New file.
4991 * sysdeps/s390/s390-64/add_n.S: New file.
4992 * sysdeps/s390/s390-64/atomicity.h: New file.
4993 * sysdeps/s390/s390-64/backtrace.c: New file.
4994 * sysdeps/s390/s390-64/bcopy.S: New file.
4995 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4996 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4997 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4998 * sysdeps/s390/s390-64/bits/string.h: New file.
4999 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
5000 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
5001 * sysdeps/s390/s390-64/bzero.S: New file.
5002 * sysdeps/s390/s390-64/dl-machine.h: New file.
5003 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
5004 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
5005 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
5006 * sysdeps/s390/s390-64/elf/start.S: New file.
5007 * sysdeps/s390/s390-64/ffs.c: New file.
5008 * sysdeps/s390/s390-64/initfini.c: New file.
5009 * sysdeps/s390/s390-64/memchr.S: New file.
5010 * sysdeps/s390/s390-64/memcpy.S: New file.
5011 * sysdeps/s390/s390-64/memset.S: New file.
5012 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
5013 * sysdeps/s390/s390-64/setjmp.S: New file.
5014 * sysdeps/s390/s390-64/strcpy.S: New file.
5015 * sysdeps/s390/s390-64/strncpy.S: New file.
5016 * sysdeps/s390/s390-64/sub_n.S: New file.
5017 * sysdeps/s390/s390-64/sysdep.h: New file.
5018
50192001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
5020
5021 * scripts/config.guess: Add support for Linux on 64 bit S/390.
5022 * scripts/config.sub: Likewise.
8e294940 5023
edf66db1 50242001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 5025
edf66db1 5026 * configure.in: Add support for 64 bit S/390.
8e294940 5027
edf66db1 5028 * elf/elf.h: Add new relocations for 64 bit S/390.
8e294940 5029
edf66db1 5030 * shlib-versions: Add rules for Linux on 64 bit S/390.
92c3af3c 5031
edf66db1 50322001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
92c3af3c 5033
edf66db1
SP
5034 * sysdeps/s390/__longjmp.c: Move to...
5035 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
5036 to load the floating point registers that should be saved
5037 according to the ABI.
92c3af3c 5038
edf66db1
SP
5039 * sysdeps/s390/bits/setjmp.h: Move to...
5040 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
5041 the use of long long in the __jmp_buf type definition.
92c3af3c 5042
edf66db1
SP
5043 * sysdeps/s390/bits/string.h: Move to...
5044 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
5045 #ifndef _FORCE_INLINES.
92c3af3c 5046
edf66db1
SP
5047 * sysdeps/s390/dl-machine.h: Move to...
5048 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
5049 executables EI_CLASS in elf_machine_matches_host.
92c3af3c 5050
edf66db1
SP
5051 * sysdeps/s390/elf/setjmp.S: Move to...
5052 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
5053 branches to globally defined symbol __sigsetjmp by branches to
5054 a local label (this avoids the generation of a R_390_PC16DBL
5055 relocation in -fpic code).
92c3af3c 5056
edf66db1
SP
5057 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
5058 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
92c3af3c 5059
edf66db1
SP
5060 * sysdeps/s390/initfini.c: Move to...
5061 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
5062 ".align 4,0x07".
92c3af3c 5063
edf66db1
SP
5064 * sysdeps/s390/setjmp.S: Move to...
5065 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
5066 floating point registers that should be saved according to the ABI.
92c3af3c 5067
edf66db1 5068 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
92c3af3c 5069
edf66db1
SP
5070 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
5071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
5072 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
92c3af3c 5073
edf66db1 50742001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
92c3af3c 5075
edf66db1 5076 * configure.in: Change machine=s390 to machine=s390/s390-32.
92c3af3c 5077
edf66db1 5078 * elf/elf.h: Correct comment for R_390_PLT16DBL.
92c3af3c 5079
edf66db1 50802001-03-12 Jakub Jelinek <jakub@redhat.com>
92c3af3c 5081
edf66db1
SP
5082 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
5083 version to be overriden from config.h.
5084 * csu/abi-note.S: Use OS and version separately, include config.h.
5085 * elf/dl-load.c (_dl_osversion): New.
5086 (_dl_map_object_from_fd): Kill some warnings.
5087 (open_verify): Check .note.ABI-tag of the library if present.
5088 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
5089 * elf/cache.c (struct cache_entry): Add osversion.
5090 (print_entry): Print osversion.
5091 (print_cache): Pass osversion to it.
5092 (compare): Sort according to osversion.
5093 (save_cache): Set osversion.
5094 (add_to_cache): Add osversion argument.
5095 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
5096 process_elf_file): Add osversion argument.
5097 * elf/readlib.c (process_file): Likewise.
5098 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
5099 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
5100 process_elf32_file, process_elf64_file): Likewise.
5101 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
5102 process_elf32_file, process_elf64_file): Likewise.
5103 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
5104 process_elf32_file, process_elf64_file): Likewise.
5105 * elf/ldconfig.c (manual_link): Pass it.
5106 (search_dir): Issue diagnostic if two libs with the same soname in
5107 the same directory have different .note.ABI-tag. Record osversion in
5108 dlib_entry and use it from there.
5109 (struct lib_entry): Remove.
5110 (struct dlib_entry): Add osversion.
5111 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
5112 osversion.
5113 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
5114 field with osversion.
5115 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
5116 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
5117 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
5118 version in _dl_osversion.
5119 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
5120 * Makerules (build-shlib-helper, build-module-helper): New.
5121 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
5122 early.
5123 * config.h.in (__ABI_TAG_VERSION): Add.
5124 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
5125 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
5126 Handle LD_ASSUME_KERNEL.
5127 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
5128
51292001-03-15 Ulrich Drepper <drepper@redhat.com>
5130
5131 * timezone/antarctica: Update from tzdata2001a.
5132 * timezone/asia: Likewise.
5133 * timezone/australasia: Likewise.
5134 * timezone/backward: Likewise.
5135 * timezone/etcetera: Likewise.
8e294940 5136 * timezone/europe: Likewise.
edf66db1
SP
5137 * timezone/leapseconds: Likewise.
5138 * timezone/northamerica: Likewise.
8e294940 5139 * timezone/southamerica: Likewise.
edf66db1 5140 * timezone/systemv: Likewise.
8e294940 5141 * timezone/yearistype: Likewise.
edf66db1
SP
5142 * timezone/zone.tab: Likewise.
5143 * timezone/tzdump.c: Update from tzcode2001a.
8e294940 5144
edf66db1 51452001-03-15 H.J. Lu <hjl@gnu.org>
8e294940 5146
edf66db1 5147 * intl/Makefile: Fix a typo.
8e294940 5148
edf66db1 51492001-03-14 David Mosberger <davidm@hpl.hp.com>
8e294940 5150
edf66db1
SP
5151 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
5152 writing arc structures.
8e294940 5153
edf66db1 51542001-03-15 H.J. Lu <hjl@gnu.org>
8e294940 5155
edf66db1
SP
5156 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
5157 cross-compiling.
8e294940 5158
edf66db1 51592001-03-13 Andreas Schwab <schwab@suse.de>
8e294940 5160
edf66db1 5161 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
8e294940 5162
edf66db1 51632001-03-15 Ulrich Drepper <drepper@redhat.com>
8e294940 5164
edf66db1
SP
5165 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
5166 for control message fitting into message data.
5167 Patch by James Antill <james@and.org>.
8e294940 5168
edf66db1
SP
5169 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
5170 FNM_EXTMATCH.
8e294940 5171
edf66db1
SP
5172 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
5173 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
8e294940 5174
edf66db1
SP
5175 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
5176 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
5177 avoid running binaries with libc versions without FNM_EXTMATCH support.
8e294940 5178
edf66db1
SP
5179 * include/wchar.h: Add prototype for __wcscat.
5180 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
8e294940 5181
edf66db1
SP
5182 * posix/fnmatch.h (FNM_EXTMATCH): Define.
5183 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
5184 (posixly_correct): Move global variable here.
5185 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
5186 (fnmatch): Pretty printing.
5187 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
5188 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
5189 * posix/tst-fnmatch.input: Add tests for extended matching.
8e294940 5190
edf66db1
SP
5191 * posix/testfnm.c: Add test for patterns with multiple ** before /.
5192 * posix/fnmatch_loop.c: Fix problem with the test above.
8e294940 5193
edf66db1 51942001-03-14 Ulrich Drepper <drepper@redhat.com>
8e294940 5195
edf66db1
SP
5196 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
5197 reference to usqrt.
8e294940 5198
edf66db1 5199 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
8e294940 5200
edf66db1 52012001-03-12 Andreas Jaeger <aj@suse.de>
8e294940 5202
edf66db1
SP
5203 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5204 Use EM_X86_64 instead of EM_X8664.
8e294940 5205
edf66db1 52062001-03-12 Ulrich Drepper <drepper@redhat.com>
8e294940 5207
edf66db1 5208 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
8e294940 5209
edf66db1
SP
5210 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
5211 conditions.
8e294940 5212
edf66db1
SP
5213 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
5214 conditions.
8e294940 5215
edf66db1
SP
5216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
5217 correctly.
5218 (__cos): Likewise.
8e294940 5219
edf66db1
SP
5220 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
5221 correctly.
5222 (__ieee754_acos): Likewise.
8e294940 5223
edf66db1 52242001-03-12 Andreas Jaeger <aj@suse.de>
8e294940 5225
edf66db1
SP
5226 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
5227 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
8e294940 5228
edf66db1
SP
5229 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
5230 redefinition.
8e294940 5231
edf66db1 52322001-03-11 Roland McGrath <roland@frob.com>
8e294940 5233
edf66db1 5234 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
8e294940 5235
edf66db1 52362001-03-11 Ulrich Drepper <drepper@redhat.com>
8e294940 5237
edf66db1
SP
5238 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5239 LITTLE_ENDI.
8e294940 5240
edf66db1
SP
5241 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5242 parameter list.
8e294940 5243
edf66db1
SP
5244 Last-bit accurate math library implementation by IBM Haifa.
5245 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5246 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5247 Anna Reitman <reitman@il.ibm.com>.
5248 * math/Makefile (dbl-only-routines): New variable.
5249 (libm-routines): Add $(dbl-only-routines).
5250 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5251 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5252 implementation.
5253 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5254 implementation.
5255 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5256 implementation.
5257 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5258 __kernel_cos.
5259 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5260 implementation.
5261 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5262 remainder implementation.
5263 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5264 implementation.
5265 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5266 implementation.
5267 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5268 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5269 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5270 implementation.
5271 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5272 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5273 implementation.
5274 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5275 and __kernel_cos.
5276 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5277 implementation.
5278 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5279 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5280 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5281 * sysdeps/ieee754/dbl-64/atnat.h: New file.
5282 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5283 * sysdeps/ieee754/dbl-64/branred.c: New file.
5284 * sysdeps/ieee754/dbl-64/branred.h: New file.
5285 * sysdeps/ieee754/dbl-64/dla.h: New file.
5286 * sysdeps/ieee754/dbl-64/doasin.c: New file.
5287 * sysdeps/ieee754/dbl-64/doasin.h: New file.
5288 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5289 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5290 * sysdeps/ieee754/dbl-64/endian.h: New file.
5291 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5292 * sysdeps/ieee754/dbl-64/mpa.c: New file.
5293 * sysdeps/ieee754/dbl-64/mpa.h: New file.
5294 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5295 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5296 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5297 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5298 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5299 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5300 * sysdeps/ieee754/dbl-64/mplog.c: New file.
5301 * sysdeps/ieee754/dbl-64/mplog.h: New file.
5302 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5303 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5304 * sysdeps/ieee754/dbl-64/mptan.c: New file.
5305 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5306 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5307 * sysdeps/ieee754/dbl-64/root.tbl: New file.
5308 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5309 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5310 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5311 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5312 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5313 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5314 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5315 * sysdeps/ieee754/dbl-64/uexp.h: New file.
5316 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5317 * sysdeps/ieee754/dbl-64/ulog.h: New file.
5318 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5319 * sysdeps/ieee754/dbl-64/upow.h: New file.
5320 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5321 * sysdeps/ieee754/dbl-64/urem.h: New file.
5322 * sysdeps/ieee754/dbl-64/uroot.h: New file.
5323 * sysdeps/ieee754/dbl-64/usncs.h: New file.
5324 * sysdeps/ieee754/dbl-64/utan.h: New file.
5325 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5326 * sysdeps/i386/fpu/branred.c: New file.
5327 * sysdeps/i386/fpu/doasin.c: New file.
5328 * sysdeps/i386/fpu/dosincos.c: New file.
5329 * sysdeps/i386/fpu/halfulp.c: New file.
5330 * sysdeps/i386/fpu/mpa.c: New file.
5331 * sysdeps/i386/fpu/mpatan.c: New file.
5332 * sysdeps/i386/fpu/mpatan2.c: New file.
5333 * sysdeps/i386/fpu/mpexp.c: New file.
5334 * sysdeps/i386/fpu/mplog.c: New file.
5335 * sysdeps/i386/fpu/mpsqrt.c: New file.
5336 * sysdeps/i386/fpu/mptan.c: New file.
5337 * sysdeps/i386/fpu/sincos32.c: New file.
5338 * sysdeps/i386/fpu/slowexp.c: New file.
5339 * sysdeps/i386/fpu/slowpow.c: New file.
5340 * sysdeps/ia64/fpu/branred.c: New file.
5341 * sysdeps/ia64/fpu/doasin.c: New file.
5342 * sysdeps/ia64/fpu/dosincos.c: New file.
5343 * sysdeps/ia64/fpu/halfulp.c: New file.
5344 * sysdeps/ia64/fpu/mpa.c: New file.
5345 * sysdeps/ia64/fpu/mpatan.c: New file.
5346 * sysdeps/ia64/fpu/mpatan2.c: New file.
5347 * sysdeps/ia64/fpu/mpexp.c: New file.
5348 * sysdeps/ia64/fpu/mplog.c: New file.
5349 * sysdeps/ia64/fpu/mpsqrt.c: New file.
5350 * sysdeps/ia64/fpu/mptan.c: New file.
5351 * sysdeps/ia64/fpu/sincos32.c: New file.
5352 * sysdeps/ia64/fpu/slowexp.c: New file.
5353 * sysdeps/ia64/fpu/slowpow.c: New file.
5354 * sysdeps/m68k/fpu/branred.c: New file.
5355 * sysdeps/m68k/fpu/doasin.c: New file.
5356 * sysdeps/m68k/fpu/dosincos.c: New file.
5357 * sysdeps/m68k/fpu/halfulp.c: New file.
5358 * sysdeps/m68k/fpu/mpa.c: New file.
5359 * sysdeps/m68k/fpu/mpatan.c: New file.
5360 * sysdeps/m68k/fpu/mpatan2.c: New file.
5361 * sysdeps/m68k/fpu/mpexp.c: New file.
5362 * sysdeps/m68k/fpu/mplog.c: New file.
5363 * sysdeps/m68k/fpu/mpsqrt.c: New file.
5364 * sysdeps/m68k/fpu/mptan.c: New file.
5365 * sysdeps/m68k/fpu/sincos32.c: New file.
5366 * sysdeps/m68k/fpu/slowexp.c: New file.
5367 * sysdeps/m68k/fpu/slowpow.c: New file.
5368
5369 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5370 codepages.
5371
53722001-03-11 Andreas Jaeger <aj@suse.de>
5373
5374 * elf/elf.h (EM_*): Synch with official list.
5375
53762001-03-07 David Mosberger <davidm@hpl.hp.com>
5377
5378 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5379
53802001-03-07 Jes Sorensen <jes@linuxcare.com>
5381
5382 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5383 variables addr & len.
5384
53852001-02-22 Jes Sorensen <jes@linuxcare.com>
5386
5387 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5388 punctuation in asm constraint.
5389
53902001-03-07 Mark Kettenis <kettenis@gnu.org>
5391
5392 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5393 <time.h> to get definition of `struct timespec'.
5394
53952001-03-08 Jakub Jelinek <jakub@redhat.com>
5396
5397 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5398 LD_WARN=1, not if LD_WARN is unset.
5399
54002001-03-07 Andreas Schwab <schwab@suse.de>
5401
5402 * elf/ldconfig.h: Moved to ...
5403 * sysdeps/generic/ldconfig.h: ... here.
5404 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5405 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5406 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5407 * elf/readlib.c (interpreters, known_libs): Use
5408 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5409 instead of hard coding old names.
5410
54112001-03-09 Ulrich Drepper <drepper@redhat.com>
5412
5413 * catgets/Makefile (generated): Add test-gencat.h.
5414 (sample.SJIS.cat): Also generate header.
5415 * catgets/sample.SJIS: Add new set and message, both with symbolic
5416 names.
5417 * catgets/test-gencat.sh: Also compare generated header with what
5418 we expect.
8e294940 5419
edf66db1 54202001-03-07 Jakub Jelinek <jakub@redhat.com>
8e294940 5421
edf66db1
SP
5422 * catgets/gencat.c (read_input_file): Preserve properly symbolic
5423 names.
8e294940 5424
edf66db1 54252001-03-06 Andreas Jaeger <aj@suse.de>
8e294940 5426
edf66db1
SP
5427 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5428 needed.
5429 (elf_machine_pltrel_p): Likewise.
5430 * sysdeps/powerpc/dl-machine.h: Likewise.
5431 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
8e294940 5432
edf66db1 54332001-03-09 Ulrich Drepper <drepper@redhat.com>
8e294940 5434
edf66db1
SP
5435 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5436 dl-procinfo.h.
8e294940 5437
edf66db1 54382001-03-05 Philip Blundell <philb@gnu.org>
8e294940 5439
edf66db1
SP
5440 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5441 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5442 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5443 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5444 dl-procinfo.
8e294940 5445
edf66db1 54462001-03-09 Ulrich Drepper <drepper@redhat.com>
8e294940 5447
edf66db1
SP
5448 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5449 is not available.
5450 * dlfcn/tstcxaatexit.c (main): Likewise.
8e294940 5451
edf66db1 54522001-03-10 Andreas Jaeger <aj@suse.de>
8e294940 5453
edf66db1 5454 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
8e294940 5455
edf66db1 54562001-03-09 Andreas Jaeger <aj@suse.de>
8e294940 5457
edf66db1
SP
5458 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5459 both new and old EM_S390 values.
5460 (EM_S390_OLD): New constant.
8e294940 5461
edf66db1 5462 * elf/elf.h (EM_S390): Use official value.
8e294940 5463
edf66db1 54642001-03-09 Ulrich Drepper <drepper@redhat.com>
8e294940 5465
edf66db1 5466 * conform/data/sys/socket.h-data: Allow SO* symbols.
8e294940 5467
edf66db1 54682001-03-07 Andreas Schwab <schwab@suse.de>
8e294940 5469
edf66db1
SP
5470 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5471 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
8e294940 5472
edf66db1 54732001-03-07 Andreas Jaeger <aj@suse.de>
8e294940 5474
edf66db1
SP
5475 * resolv/Makefile (routines): Only build gai_sigqueue when threads
5476 are available.
8e294940 5477
edf66db1 54782001-03-07 Jakub Jelinek <jakub@redhat.com>
8e294940 5479
edf66db1
SP
5480 * elf/ldconfig.c (_dl_sysdep_message): Remove.
5481 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5482 ldsodefs.h.
5483 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8e294940 5484
edf66db1
SP
5485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5486 _dl_error_printf instead of _dl_sysdep_error.
5487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5489 Use _dl_printf instead of _dl_sysdep_message.
5490 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5491 Likewise.
8e294940 5492
edf66db1 54932001-03-06 Ben Collins <bcollins@debian.org>
8e294940 5494
edf66db1
SP
5495 * manual/arith.texi (Integers): Fix documentation of fast and
5496 least integer typedefs.
8e294940 5497
edf66db1 54982001-03-06 Jakub Jelinek <jakub@redhat.com>
8e294940 5499
edf66db1
SP
5500 * resolv/Depend: New file.
5501 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5502 when libpthread is built.
8e294940 5503
edf66db1 55042001-03-06 Andreas Jaeger <aj@suse.de>
8e294940 5505
edf66db1 5506 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
8e294940 5507
edf66db1
SP
5508 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5509 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
8e294940 5510
edf66db1 55112001-03-05 Ulrich Drepper <drepper@redhat.com>
8e294940 5512
edf66db1 5513 * stdlib/Versions: Remove __new_exitfn again. Not needed.
8e294940 5514
edf66db1 55152001-03-05 Andreas Jaeger <aj@suse.de>
8e294940 5516
edf66db1 5517 * stdlib/msort.c (qsort): Don't use alloca in a function call.
8e294940 5518
edf66db1 55192001-03-05 Ulrich Drepper <drepper@redhat.com>
8e294940 5520
edf66db1
SP
5521 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5522 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
5523 always return zero.
5524 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5525 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5526 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5527 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5528 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5529 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5530 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8e294940 5531
edf66db1 55322001-03-04 Andreas Jaeger <aj@suse.de>
8e294940 5533
edf66db1
SP
5534 * stdlib/longlong.h: Don't use multi-line strings.
5535 * iconvdata/tst-loading.c: Likewise.
8e294940 5536
edf66db1
SP
5537 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5538 string.
8e294940 5539
edf66db1 55402001-03-04 Ulrich Drepper <drepper@redhat.com>
8e294940 5541
edf66db1 5542 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
8e294940 5543
edf66db1 5544 * rt/lio_listio.c: Add a few asserts.
8e294940 5545
edf66db1
SP
5546 * elf/global.c: New file.
5547 * elf/globalmod1.c: New file.
5548 * elf/Makefile: Add rules to build and run global.
8e294940 5549
edf66db1
SP
5550 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5551 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5552 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5554 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
8e294940 5555
edf66db1
SP
5556 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5557 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
8e294940 5558
edf66db1 5559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
8e294940 5560
edf66db1
SP
5561 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5562 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8e294940 5563
edf66db1 5564 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
8e294940 5565
edf66db1 5566 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
8e294940 5567
edf66db1 55682001-03-04 Andreas Jaeger <aj@suse.de>
8e294940 5569
edf66db1 5570 * resolv/tst-aton.c: Add testcase for IP with four periods.
8e294940 5571
edf66db1
SP
5572 * resolv/inet_addr.c: Don't recognize an IP with four periods.
5573 Patch by Andre' Breiler <A.Breiler@gmx.net>.
8e294940 5574
edf66db1 55752001-02-27 Philip Blundell <pb@futuretv.com>
8e294940 5576
edf66db1
SP
5577 * elf/elf.h: Add new ARM definitions from latest (B-01)
5578 specification. Correct naming of EF_ARM_ALIGN8 et al.
8e294940 5579
edf66db1 55802001-03-04 Ulrich Drepper <drepper@redhat.com>
8e294940 5581
edf66db1
SP
5582 * stdio-common/tst-printf.sh: Remove bashisms.
5583 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
8e294940 5584
edf66db1 55852001-03-03 Ulrich Drepper <drepper@redhat.com>
8e294940 5586
edf66db1
SP
5587 * Versions.def: Add libanl definition.
5588 * shlib-versions: Add entry for libanl.
5589 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5590 (routines): Add gai_sigqueue.
5591 (extra-libs): Add libanl.
5592 (libanl-routines): New variable.
5593 Add rules to build libanl and ga_test.
5594 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5595 [libanl]: New library.
5596 * resolv/netdb.h: Add definitions for libanl.
5597 * resolv/getaddrinfo_a.c: New file.
5598 * resolv/gai_cancel.c: New file.
5599 * resolv/gai_error.c: New file.
5600 * resolv/gai_misc.c: New file.
5601 * resolv/gai_misc.h: New file.
5602 * resolv/gai_notify.c: New file.
5603 * resolv/gai_suspend.c: New file.
5604 * resolv/ga_test.c: New file.
5605 * sysdeps/generic/gai_sigqueue.c: New file.
5606 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5607 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5608 and provide only that definition.
5609 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5610 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5611 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5612 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5614 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
8e294940 5615
edf66db1
SP
5616 * rt/aio_misc.c: Fix typos in comments.
5617 * rt/lio_listio.c: Pretty printing. Little optimization in request
5618 list handling.
8e294940 5619
edf66db1 5620 * elf/rtld.c: Remove commented out code.
8e294940 5621
edf66db1
SP
5622 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5623 Update for real 2.4 kernels.
8e294940 5624
edf66db1 56252001-03-01 Ulrich Drepper <drepper@redhat.com>
8e294940 5626
edf66db1 5627 * elf/dl-load.c: Pretty printing.
8e294940 5628
edf66db1
SP
5629 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5630 twice.
8e294940 5631
edf66db1 56322001-02-28 Ulrich Drepper <drepper@redhat.com>
8e294940 5633
edf66db1
SP
5634 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5635 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
8e294940 5636
edf66db1 5637 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
8e294940 5638
edf66db1
SP
5639 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5640 machines.
8e294940 5641
edf66db1 5642 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
8e294940 5643
edf66db1 56442001-02-27 Ulrich Drepper <drepper@redhat.com>
8e294940 5645
edf66db1
SP
5646 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5647 _dl_debug_mask.
8e294940 5648
edf66db1
SP
5649 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
5650 _dl_debug_printf.
5651 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5652 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
5653 _dl_debug_printf_c, and _dl_printf.
5654 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5655 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5656 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
5657 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5658 * elf/dl-close.c: Replace use of old output functions with the new
5659 ones.
5660 * elf/dl-deps.c: Likewise.
5661 * elf/dl-error.c: Likewise.
5662 * elf/dl-fini.c: Likewise.
5663 * elf/dl-init.c: Likewise.
5664 * elf/dl-load.c: Likewise.
5665 * elf/dl-lookup.c: Likewise.
5666 * elf/dl-minimal.c: Likewise.
5667 * elf/dl-open.c: Likewise.
5668 * elf/dl-profile.c: Likewise.
5669 * elf/dl-reloc.c: Likewise.
5670 * elf/dl-version.c: Likewise.
5671 * elf/do-lookup.h: Likewise.
5672 * elf/rtld.c: Likewise.
5673 * sysdeps/generic/dl-cache.c: Likewise.
5674 * sysdeps/generic/dl-sysdep.c: Likewise.
5675 * sysdeps/generic/libc-start.c: Likewise.
5676 * sysdeps/i386/dl-machine.h: Likewise.
5677 * sysdeps/arm/dl-machine.h: Likewise.
5678 * sysdeps/hppa/dl-machine.h: Likewise.
5679 * sysdeps/m68k/dl-machine.h: Likewise.
5680 * sysdeps/powerpc/dl-machine.h: Likewise.
5681 * sysdeps/s390/dl-machine.h: Likewise.
5682 * sysdeps/sh/dl-machine.h: Likewise.
5683 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5684 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5685 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8e294940 5686
edf66db1 5687 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
8e294940 5688
edf66db1
SP
5689 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5690 supported by assembler.
8e294940 5691
edf66db1
SP
5692 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5693 declaractions.
8e294940 5694
edf66db1 5695 * elf/rtld.c: Little optimizations in handling _dl_lazy.
8e294940 5696
edf66db1
SP
5697 * elf/cache.c (save_cache): Portability changes.
5698 * elf/dl-profile.c (_dl_start_profile): Likewise.
8e294940 5699
edf66db1 5700 * elf/sln.c: Cleanups. Remove arbitrary limits.
8e294940 5701
edf66db1
SP
5702 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5703 * elf/dl-deps.c: Likewise.
5704 * elf/dl-fini.c: Likewise.
5705 * elf/dl-init.c: Likewise.
5706 * elf/dl-load.c: Likewise.
5707 * elf/dl-lookup.c: Likewise.
5708 * elf/dl-open.c: Likewise.
5709 * elf/dl-reloc.c: Likewise.
5710 * elf/dl-support.c: Likewise.
5711 * elf/dl-version.c: Likewise.
5712 * elf/do-lookup.h: Likewise.
5713 * elf/rtld.c: Likewise.
5714 * sysdeps/generic/dl-cache.c: Likewise.
5715 * sysdeps/generic/ldsodefs.h: Likewise.
5716 * sysdeps/generic/libc-start.c: Likewise.
5717 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5718 Export _dl_debug_mask.
5719 * Versions.def: Define GLIBC_2.2.3 for ld.
5720
57212001-02-26 Greg McGary <greg@mcgary.org>
5722
5723 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5724
57252001-02-26 Paul Eggert <eggert@twinsun.com>
5726
5727 Modify mkstemp.c and tempname.c so that they can be used by
5728 GNU applications on non-glibc platforms.
5729
5730 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5731
5732 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5733 Include <stddef.h>, <stdint.h>, <string.h> only if
5734 STDC_HEADERS || _LIBC.
5735 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5736 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5737 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5738 (__set_errno): Define this macro if <errno.h> doesn't.
5739 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5740 Define these macros if <stdio.h> doesn't.
5741 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5742 Define these macros if <sys/stat.h> doesn't.
5743 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5744 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5745 lxstat64, __xstat64): Define if not _LIBC.
5746 (struct_stat64): New macro.
5747 (direxists, __gen_tempname): Use it, to avoid a
5748 portability problem with Solaris 8.
5749 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5750 (__gen_tempname): Invoke gettimeofday only if
5751 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5752 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5753 octal values like 0600.
5754
57552001-02-26 Ulrich Drepper <drepper@redhat.com>
5756
5757 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5758 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5759
5760 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5761 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5762
5763 * posix/wordexp-test.c (testit): Remove warnings.
5764
5765 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5766 (tests): Add tstatexit and tstcxaatexit.
5767 (module-names): Add modatexit and modcxaatexit.
5768 Add rules to build and run tstatexit and tstcxaatexit.
5769 * dlfcn/modatexit.c: New file.
5770 * dlfcn/modcxaatexit.c: New file.
5771 * dlfcn/tstatexit.c: New file.
5772 * dlfcn/tstcxaatexit.c: New file.
5773
5774 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5775 .hidden is available.
5776 * io/stat.c: If .hidden is available use it to avoid exporting
5777 functions.
5778 * io/fstat.c: Likewise.
5779 * io/lstat.c: Likewise.
5780 * io/stat64.c: Likewise.
5781 * io/fstat64.c: Likewise.
5782 * io/lstat64.c: Likewise.
5783 * sysdeps/generic/mknod.c: Likewise.
5784
5785 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5786 * sysdeps/generic/bb_init_func.c: Likewise.
5787 * sysdeps/generic/libc-start.c: Likewise.
8e294940 5788
edf66db1
SP
5789 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5790 (atexit): Implement using __cxa_atexit.
5791 Use .hidden if availble to avoid exporting atexit.
5792 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5793 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5794 * stdlib/Makefile (routines): Add old_atexit.
5795 (static-only-routines): Add atexit.
5796 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5797 * stdlib/old_atexit.c: New file.
8e294940 5798
edf66db1 5799 * intl/Makefile: Remove bogus endif.
8e294940 5800
edf66db1 58012001-02-26 Andreas Jaeger <aj@suse.de>
8e294940 5802
edf66db1 5803 * iconvdata/Makefile (tests): Fix typo in last patch.
8e294940 5804
edf66db1
SP
5805 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5806 available.
5807 Reported by Achim Gottinger <achim@gentoo.org>.
8e294940 5808
edf66db1 58092001-02-25 Andreas Jaeger <aj@suse.de>
8e294940 5810
edf66db1
SP
5811 * intl/Makefile (plural.c): Reorder rules so that they work if
5812 BISON doesn't exist.
8e294940 5813
edf66db1 58142001-02-25 Ulrich Drepper <drepper@redhat.com>
8e294940 5815
edf66db1 5816 * intl/locale.alias: Don't use nb_NO but define aliases for it.
8e294940 5817
edf66db1 58182001-02-23 Ulrich Drepper <drepper@redhat.com>
8e294940 5819
edf66db1
SP
5820 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5821 time this happened.
92c3af3c 5822
edf66db1 58232001-02-23 Andreas Jaeger <aj@suse.de>
8e294940 5824
edf66db1
SP
5825 * string/tester.c (test_strtok_r): Add testcase.
5826 (test_strtok_r): Always initialize cp for proper checking.
8e294940 5827
edf66db1
SP
5828 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5829 returning NULL correctly.
5830 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5831 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
8e294940 5832
edf66db1 58332001-02-23 Ulrich Drepper <drepper@redhat.com>
8e294940 5834
edf66db1
SP
5835 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5836 including <stddef.h>.
5837 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5838 * include/libc-symbols.h (weak_alias): Don't use .weak if
5839 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5840 Patches by Michael Keezer <mkeezer@redhat.com>.
8e294940 5841
edf66db1
SP
5842 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5843 Patch by Michael Keezer <mkeezer@redhat.com>.
8e294940 5844
edf66db1
SP
5845 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5846 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5847 (sysdep_routines): Remove restf.S and savef.S.
5848 * sysdeps/unix/sysv/aix/restf.S: Removed.
5849 * sysdeps/unix/sysv/aix/savef.S: Removed.
5850 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5851 alternative names used on some platforms.
5852 * sysdeps/powerpc/fprsave.S: Likewise.
5853 * sysdeps/powerpc/gprrest0.S: Likewise.
5854 * sysdeps/powerpc/gprrest1.S: Likewise.
5855 * sysdeps/powerpc/gprsave0.S: Likewise.
5856 * sysdeps/powerpc/gprsave1.S: Likewise.
5857 Patch by Michael Keezer <mkeezer@redhat.com>.
8e294940 5858
edf66db1 58592001-02-22 Ulrich Drepper <drepper@redhat.com>
8e294940 5860
edf66db1 5861 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
8e294940 5862
edf66db1 58632001-02-22 Andreas Jaeger <aj@suse.de>
8e294940 5864
edf66db1 5865 * string/tst-strtok.c (main): Fix error messages.
8e294940 5866
edf66db1 58672001-02-22 Andreas Jaeger <aj@suse.de>
8e294940 5868
edf66db1 5869 * math/Makefile: Remove omit-long-double-fcts.
8e294940 5870
edf66db1 58712001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8e294940 5872
edf66db1
SP
5873 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5874 avoid problems on MIPS I.
5875 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
8e294940 5876
edf66db1
SP
5877 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5878 noreorder".
8e294940 5879
edf66db1 58802001-02-21 Ulrich Drepper <drepper@redhat.com>
8e294940 5881
edf66db1 5882 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
8e294940 5883
edf66db1 5884 * sysdeps/generic/ftime.c: Include <time.h>.
8e294940 5885
edf66db1
SP
5886 * configure.in: Don't check for libgd if user passed --without-gd.
5887 Patch by Achim Gottinger <achim@gentoo.org>.
8e294940 5888
edf66db1
SP
5889 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5890 first time this happened.
5891 * string/Makefile (tests): Add tst-strtok.
8e294940 5892
edf66db1 58932001-02-21 Andreas Jaeger <aj@suse.de>
8e294940 5894
edf66db1
SP
5895 * string/tst-strtok.c: New testcase, reported by
5896 Andrew Church <achurch@achurch.org>.
8e294940 5897
edf66db1 58982001-02-20 Ulrich Drepper <drepper@redhat.com>
8e294940 5899
edf66db1 5900 * libio/iofwide.c: Remove fwide alias.
8e294940 5901
edf66db1 59022001-02-20 Andreas Jaeger <aj@suse.de>
8e294940 5903
edf66db1
SP
5904 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5905 is available.
5906 Reported by Achim Gottinger <achim@gentoo.org>.
8e294940 5907
edf66db1 59082001-02-19 Ulrich Drepper <drepper@redhat.com>
8e294940 5909
edf66db1 5910 * iconv/tst-iconv1.c (main): Remove debugging code.
8e294940 5911
edf66db1
SP
5912 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8e294940 5914
edf66db1
SP
5915 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5916 parameters.
5917 * sysdeps/generic/e_scalbf.c: Likewise.
5918 * sysdeps/generic/e_scalbl.c: Likewise.
5919
5920 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5921 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5922 in libc.
5923 (routines): Replace libm_error with libc_libm_error.
5924 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5925 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5926
59272001-02-18 Mark Kettenis <kettenis@gnu.org>
5928
5929 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5930 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5931
59322001-02-17 H.J. Lu <hjl@gnu.org>
5933
5934 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5935 scratch registers across the system call.
5936
59372001-02-19 Andreas Jaeger <aj@suse.de>
5938
5939 * malloc/Makefile (tests): Run mtrace only when perl is available.
5940 Reported by Achim Gottinger <achim@gentoo.org>.
5941
59422001-02-19 Ulrich Drepper <drepper@redhat.com>
5943
5944 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5945 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5946
5947 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5948 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5949 * math/libm-test.inc (j1_test): Mark constants as long double.
5950 (jn_test): Likewise.
5951 (y1_test): Likewise.
5952 (yn_test): Likewise.
5953
5954 * libio/iogetline.c: Move return until after last statement.
5955
5956 * localedata/show-ucs-data.c: Don't show < > for better readability.
5957
5958 * sysdeps/ia64/fpu/Dist: New file.
5959 * sysdeps/ia64/fpu/Makefile: New file.
5960 * sysdeps/ia64/fpu/Versions: New file.
5961 * sysdeps/ia64/fpu/e_acos.S: New file.
5962 * sysdeps/ia64/fpu/e_acosf.S: New file.
5963 * sysdeps/ia64/fpu/e_acosl.S: New file.
5964 * sysdeps/ia64/fpu/e_asin.S: New file.
5965 * sysdeps/ia64/fpu/e_asinf.S: New file.
5966 * sysdeps/ia64/fpu/e_asinl.S: New file.
5967 * sysdeps/ia64/fpu/e_atan2.S: New file.
5968 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5969 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5970 * sysdeps/ia64/fpu/e_cosh.S: New file.
5971 * sysdeps/ia64/fpu/e_coshf.S: New file.
5972 * sysdeps/ia64/fpu/e_coshl.S: New file.
5973 * sysdeps/ia64/fpu/e_exp.S: New file.
5974 * sysdeps/ia64/fpu/e_expf.S: New file.
5975 * sysdeps/ia64/fpu/e_expl.c: New file.
5976 * sysdeps/ia64/fpu/e_fmod.S: New file.
5977 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5978 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5979 * sysdeps/ia64/fpu/e_hypot.S: New file.
5980 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5981 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5982 * sysdeps/ia64/fpu/e_log.S: New file.
5983 * sysdeps/ia64/fpu/e_log10.c: New file.
5984 * sysdeps/ia64/fpu/e_log10f.c: New file.
5985 * sysdeps/ia64/fpu/e_log10l.c: New file.
5986 * sysdeps/ia64/fpu/e_logf.S: New file.
5987 * sysdeps/ia64/fpu/e_logl.c: New file.
5988 * sysdeps/ia64/fpu/e_pow.S: New file.
5989 * sysdeps/ia64/fpu/e_powf.S: New file.
5990 * sysdeps/ia64/fpu/e_powl.S: New file.
5991 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5992 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5993 * sysdeps/ia64/fpu/e_remainder.S: New file.
5994 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5995 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5996 * sysdeps/ia64/fpu/e_scalb.S: New file.
5997 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5998 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5999 * sysdeps/ia64/fpu/e_sinh.S: New file.
6000 * sysdeps/ia64/fpu/e_sinhf.S: New file.
6001 * sysdeps/ia64/fpu/e_sinhl.S: New file.
6002 * sysdeps/ia64/fpu/e_sqrt.S: New file.
6003 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
6004 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
6005 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
6006 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
6007 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
6008 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
6009 * sysdeps/ia64/fpu/libm_error.c: New file.
6010 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
6011 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
6012 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
6013 * sysdeps/ia64/fpu/libm_reduce.S: New file.
6014 * sysdeps/ia64/fpu/libm_support.h: New file.
6015 * sysdeps/ia64/fpu/libm_tan.S: New file.
6016 * sysdeps/ia64/fpu/s_atan.S: New file.
6017 * sysdeps/ia64/fpu/s_atanf.S: New file.
6018 * sysdeps/ia64/fpu/s_atanl.S: New file.
6019 * sysdeps/ia64/fpu/s_cbrt.S: New file.
6020 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
6021 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
6022 * sysdeps/ia64/fpu/s_ceil.S: New file.
6023 * sysdeps/ia64/fpu/s_ceilf.S: New file.
6024 * sysdeps/ia64/fpu/s_ceill.S: New file.
6025 * sysdeps/ia64/fpu/s_cos.S: New file.
6026 * sysdeps/ia64/fpu/s_cosf.S: New file.
6027 * sysdeps/ia64/fpu/s_cosl.S: New file.
6028 * sysdeps/ia64/fpu/s_expm1.S: New file.
6029 * sysdeps/ia64/fpu/s_expm1f.S: New file.
6030 * sysdeps/ia64/fpu/s_expm1l.S: New file.
6031 * sysdeps/ia64/fpu/s_floor.S: New file.
6032 * sysdeps/ia64/fpu/s_floorf.S: New file.
6033 * sysdeps/ia64/fpu/s_floorl.S: New file.
6034 * sysdeps/ia64/fpu/s_frexp.c: New file.
6035 * sysdeps/ia64/fpu/s_frexpf.c: New file.
6036 * sysdeps/ia64/fpu/s_frexpl.c: New file.
6037 * sysdeps/ia64/fpu/s_ilogb.S: New file.
6038 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
6039 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
6040 * sysdeps/ia64/fpu/s_ldexp.S: New file.
6041 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
6042 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
6043 * sysdeps/ia64/fpu/s_log1p.S: New file.
6044 * sysdeps/ia64/fpu/s_log1pf.S: New file.
6045 * sysdeps/ia64/fpu/s_log1pl.S: New file.
6046 * sysdeps/ia64/fpu/s_logb.S: New file.
6047 * sysdeps/ia64/fpu/s_logbf.S: New file.
6048 * sysdeps/ia64/fpu/s_logbl.S: New file.
6049 * sysdeps/ia64/fpu/s_matherrf.c: New file.
6050 * sysdeps/ia64/fpu/s_matherrl.c: New file.
6051 * sysdeps/ia64/fpu/s_modf.S: New file.
6052 * sysdeps/ia64/fpu/s_modff.S: New file.
6053 * sysdeps/ia64/fpu/s_modfl.S: New file.
6054 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
6055 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
6056 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
6057 * sysdeps/ia64/fpu/s_rint.S: New file.
6058 * sysdeps/ia64/fpu/s_rintf.S: New file.
6059 * sysdeps/ia64/fpu/s_rintl.S: New file.
6060 * sysdeps/ia64/fpu/s_round.S: New file.
6061 * sysdeps/ia64/fpu/s_roundf.S: New file.
6062 * sysdeps/ia64/fpu/s_roundl.S: New file.
6063 * sysdeps/ia64/fpu/s_scalbn.S: New file.
6064 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
6065 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
6066 * sysdeps/ia64/fpu/s_significand.S: New file.
6067 * sysdeps/ia64/fpu/s_significandf.S: New file.
6068 * sysdeps/ia64/fpu/s_significandl.S: New file.
6069 * sysdeps/ia64/fpu/s_sin.c: New file.
6070 * sysdeps/ia64/fpu/s_sincos.c: New file.
6071 * sysdeps/ia64/fpu/s_sincosf.c: New file.
6072 * sysdeps/ia64/fpu/s_sincosl.c: New file.
6073 * sysdeps/ia64/fpu/s_sinf.c: New file.
6074 * sysdeps/ia64/fpu/s_sinl.c: New file.
6075 * sysdeps/ia64/fpu/s_tan.S: New file.
6076 * sysdeps/ia64/fpu/s_tanf.S: New file.
6077 * sysdeps/ia64/fpu/s_tanl.S: New file.
6078 * sysdeps/ia64/fpu/s_trunc.S: New file.
6079 * sysdeps/ia64/fpu/s_truncf.S: New file.
6080 * sysdeps/ia64/fpu/s_truncl.S: New file.
6081 * sysdeps/ia64/fpu/w_acos.c: New file.
6082 * sysdeps/ia64/fpu/w_acosf.c: New file.
6083 * sysdeps/ia64/fpu/w_acosl.c: New file.
6084 * sysdeps/ia64/fpu/w_asin.c: New file.
6085 * sysdeps/ia64/fpu/w_asinf.c: New file.
6086 * sysdeps/ia64/fpu/w_asinl.c: New file.
6087 * sysdeps/ia64/fpu/w_atan2.c: New file.
6088 * sysdeps/ia64/fpu/w_atan2f.c: New file.
6089 * sysdeps/ia64/fpu/w_atan2l.c: New file.
6090 * sysdeps/ia64/fpu/w_cosh.c: New file.
6091 * sysdeps/ia64/fpu/w_coshf.c: New file.
6092 * sysdeps/ia64/fpu/w_coshl.c: New file.
6093 * sysdeps/ia64/fpu/w_exp.c: New file.
6094 * sysdeps/ia64/fpu/w_expf.c: New file.
6095 * sysdeps/ia64/fpu/w_fmod.c: New file.
6096 * sysdeps/ia64/fpu/w_fmodf.c: New file.
6097 * sysdeps/ia64/fpu/w_fmodl.c: New file.
6098 * sysdeps/ia64/fpu/w_hypot.c: New file.
6099 * sysdeps/ia64/fpu/w_hypotf.c: New file.
6100 * sysdeps/ia64/fpu/w_hypotl.c: New file.
6101 * sysdeps/ia64/fpu/w_log.c: New file.
6102 * sysdeps/ia64/fpu/w_log10.c: New file.
6103 * sysdeps/ia64/fpu/w_log10f.c: New file.
6104 * sysdeps/ia64/fpu/w_log10l.c: New file.
6105 * sysdeps/ia64/fpu/w_logf.c: New file.
6106 * sysdeps/ia64/fpu/w_logl.c: New file.
6107 * sysdeps/ia64/fpu/w_pow.c: New file.
6108 * sysdeps/ia64/fpu/w_powf.c: New file.
6109 * sysdeps/ia64/fpu/w_powl.c: New file.
6110 * sysdeps/ia64/fpu/w_remainder.c: New file.
6111 * sysdeps/ia64/fpu/w_remainderf.c: New file.
6112 * sysdeps/ia64/fpu/w_remainderl.c: New file.
6113 * sysdeps/ia64/fpu/w_scalb.c: New file.
6114 * sysdeps/ia64/fpu/w_scalbf.c: New file.
6115 * sysdeps/ia64/fpu/w_scalbl.c: New file.
6116 * sysdeps/ia64/fpu/w_sqrt.c: New file.
6117 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
6118 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
6119 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
6120 implementation.
6121 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
6122 Change FP_ILOGBNAN for new implementation.
6123 * Verions.def: Add 2.2.3 versions.
6124
61252001-02-18 Ulrich Drepper <drepper@redhat.com>
6126
6127 * math/libm-test.inc (scalb_test): Require invalid exception being
6128 raised for invalid parameters.
6129 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
6130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6132
61332001-02-18 Mark Kettenis <kettenis@gnu.org>
6134
6135 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
6136 value to long int.
6137 (__get_avphys_pages): Likewise.
6138
61392001-02-18 Ulrich Drepper <drepper@redhat.com>
6140
6141 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
6142 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
6143 * sysdeps/i386/fpu/e_powf.S: Likewise.
6144 * sysdeps/i386/fpu/e_powl.S: Likewise.
6145
6146 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
6147
61482001-02-17 Ulrich Drepper <drepper@redhat.com>
6149
6150 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
6151
6152 * sysdeps/generic/s_exp2l.c: Renamed to...
6153 * sysdeps/generic/e_exp2l.c: ...this. New file.
6154 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6155 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
6156 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6157 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
6158 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6159 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
6160 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6161 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
6162 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6163 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
6164 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6165 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
6166 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6167 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
6168 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6169 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
6170
61712001-02-17 Andreas Jaeger <aj@suse.de>
6172
6173 * configure.in: Allow gcc 3.
6174
61752001-02-16 Ulrich Drepper <drepper@redhat.com>
6176
6177 * math/w_acos.c: Move to ...
6178 * sysdeps/generic/w_acos.c: ...here. New file.
6179 * math/w_acosf.c: Move to ...
6180 * sysdeps/generic/w_acosf.c: ...here. New file.
6181 * math/w_acosh.c: Move to ...
6182 * sysdeps/generic/w_acosh.c: ...here. New file.
6183 * math/w_acoshf.c: Move to ...
6184 * sysdeps/generic/w_acoshf.c: ...here. New file.
6185 * math/w_acoshl.c: Move to ...
6186 * sysdeps/generic/w_acoshl.c: ...here. New file.
6187 * math/w_acosl.c: Move to ...
6188 * sysdeps/generic/w_acosl.c: ...here. New file.
6189 * math/w_asin.c: Move to ...
6190 * sysdeps/generic/w_asin.c: ...here. New file.
6191 * math/w_asinf.c: Move to ...
6192 * sysdeps/generic/w_asinf.c: ...here. New file.
6193 * math/w_asinl.c: Move to ...
6194 * sysdeps/generic/w_asinl.c: ...here. New file.
6195 * math/w_atan2.c: Move to ...
6196 * sysdeps/generic/w_atan2.c: ...here. New file.
6197 * math/w_atan2f.c: Move to ...
6198 * sysdeps/generic/w_atan2f.c: ...here. New file.
6199 * math/w_atan2l.c: Move to ...
6200 * sysdeps/generic/w_atan2l.c: ...here. New file.
6201 * math/w_atanh.c: Move to ...
6202 * sysdeps/generic/w_atanh.c: ...here. New file.
6203 * math/w_atanhf.c: Move to ...
6204 * sysdeps/generic/w_atanhf.c: ...here. New file.
6205 * math/w_atanhl.c: Move to ...
6206 * sysdeps/generic/w_atanhl.c: ...here. New file.
6207 * math/w_cosh.c: Move to ...
6208 * sysdeps/generic/w_cosh.c: ...here. New file.
6209 * math/w_coshf.c: Move to ...
6210 * sysdeps/generic/w_coshf.c: ...here. New file.
6211 * math/w_coshl.c: Move to ...
6212 * sysdeps/generic/w_coshl.c: ...here. New file.
6213 * math/w_drem.c: Move to ...
6214 * sysdeps/generic/w_drem.c: ...here. New file.
6215 * math/w_dremf.c: Move to ...
6216 * sysdeps/generic/w_dremf.c: ...here. New file.
6217 * math/w_dreml.c: Move to ...
6218 * sysdeps/generic/w_dreml.c: ...here. New file.
6219 * math/w_exp10.c: Move to ...
6220 * sysdeps/generic/w_exp10.c: ...here. New file.
6221 * math/w_exp10f.c: Move to ...
6222 * sysdeps/generic/w_exp10f.c: ...here. New file.
6223 * math/w_exp10l.c: Move to ...
6224 * sysdeps/generic/w_exp10l.c: ...here. New file.
6225 * math/w_exp2.c: Move to ...
6226 * sysdeps/generic/w_exp2.c: ...here. New file.
6227 * math/w_exp2f.c: Move to ...
6228 * sysdeps/generic/w_exp2f.c: ...here. New file.
6229 * math/w_exp2l.c: Move to ...
6230 * sysdeps/generic/w_exp2l.c: ...here. New file.
6231 * math/w_fmod.c: Move to ...
6232 * sysdeps/generic/w_fmod.c: ...here. New file.
6233 * math/w_fmodf.c: Move to ...
6234 * sysdeps/generic/w_fmodf.c: ...here. New file.
6235 * math/w_fmodl.c: Move to ...
6236 * sysdeps/generic/w_fmodl.c: ...here. New file.
6237 * math/w_hypot.c: Move to ...
6238 * sysdeps/generic/w_hypot.c: ...here. New file.
6239 * math/w_hypotf.c: Move to ...
6240 * sysdeps/generic/w_hypotf.c: ...here. New file.
6241 * math/w_hypotl.c: Move to ...
6242 * sysdeps/generic/w_hypotl.c: ...here. New file.
6243 * math/w_j0.c: Move to ...
6244 * sysdeps/generic/w_j0.c: ...here. New file.
6245 * math/w_j0f.c: Move to ...
6246 * sysdeps/generic/w_j0f.c: ...here. New file.
6247 * math/w_j0l.c: Move to ...
6248 * sysdeps/generic/w_j0l.c: ...here. New file.
6249 * math/w_j1.c: Move to ...
6250 * sysdeps/generic/w_j1.c: ...here. New file.
6251 * math/w_j1f.c: Move to ...
6252 * sysdeps/generic/w_j1f.c: ...here. New file.
6253 * math/w_j1l.c: Move to ...
6254 * sysdeps/generic/w_j1l.c: ...here. New file.
6255 * math/w_jn.c: Move to ...
6256 * sysdeps/generic/w_jn.c: ...here. New file.
6257 * math/w_jnf.c: Move to ...
6258 * sysdeps/generic/w_jnf.c: ...here. New file.
6259 * math/w_jnl.c: Move to ...
6260 * sysdeps/generic/w_jnl.c: ...here. New file.
6261 * math/w_lgamma.c: Move to ...
6262 * sysdeps/generic/w_lgamma.c: ...here. New file.
6263 * math/w_lgammaf.c: Move to ...
6264 * sysdeps/generic/w_lgammaf.c: ...here. New file.
6265 * math/w_lgammaf_r.c: Move to ...
6266 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
6267 * math/w_lgammal.c: Move to ...
6268 * sysdeps/generic/w_lgammal.c: ...here. New file.
6269 * math/w_lgammal_r.c: Move to ...
6270 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
6271 * math/w_lgamma_r.c: Move to ...
6272 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
6273 * math/w_log10.c: Move to ...
6274 * sysdeps/generic/w_log10.c: ...here. New file.
6275 * math/w_log10f.c: Move to ...
6276 * sysdeps/generic/w_log10f.c: ...here. New file.
6277 * math/w_log10l.c: Move to ...
6278 * sysdeps/generic/w_log10l.c: ...here. New file.
6279 * math/w_log.c: Move to ...
6280 * sysdeps/generic/w_log.c: ...here. New file.
6281 * math/w_logf.c: Move to ...
6282 * sysdeps/generic/w_logf.c: ...here. New file.
6283 * math/w_logl.c: Move to ...
6284 * sysdeps/generic/w_logl.c: ...here. New file.
6285 * math/w_pow.c: Move to ...
6286 * sysdeps/generic/w_pow.c: ...here. New file.
6287 * math/w_powf.c: Move to ...
6288 * sysdeps/generic/w_powf.c: ...here. New file.
6289 * math/w_powl.c: Move to ...
6290 * sysdeps/generic/w_powl.c: ...here. New file.
6291 * math/w_remainder.c: Move to ...
6292 * sysdeps/generic/w_remainder.c: ...here. New file.
6293 * math/w_remainderf.c: Move to ...
6294 * sysdeps/generic/w_remainderf.c: ...here. New file.
6295 * math/w_remainderl.c: Move to ...
6296 * sysdeps/generic/w_remainderl.c: ...here. New file.
6297 * math/w_scalb.c: Move to ...
6298 * sysdeps/generic/w_scalb.c: ...here. New file.
6299 * math/w_scalbf.c: Move to ...
6300 * sysdeps/generic/w_scalbf.c: ...here. New file.
6301 * math/w_scalbl.c: Move to ...
6302 * sysdeps/generic/w_scalbl.c: ...here. New file.
6303 * math/w_sinh.c: Move to ...
6304 * sysdeps/generic/w_sinh.c: ...here. New file.
6305 * math/w_sinhf.c: Move to ...
6306 * sysdeps/generic/w_sinhf.c: ...here. New file.
6307 * math/w_sinhl.c: Move to ...
6308 * sysdeps/generic/w_sinhl.c: ...here. New file.
6309 * math/w_sqrtl.c: Move to ...
6310 * sysdeps/generic/w_sqrtl.c: ...here. New file.
6311 * math/w_tgamma.c: Move to ...
6312 * sysdeps/generic/w_tgamma.c: ...here. New file.
6313 * math/w_tgammaf.c: Move to ...
6314 * sysdeps/generic/w_tgammaf.c: ...here. New file.
6315 * math/w_tgammal.c: Move to ...
6316 * sysdeps/generic/w_tgammal.c: ...here. New file.
6317
6318 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6319 formats for postal_fmt.
6320
63212001-02-16 Jakub Jelinek <jakub@redhat.com>
6322
6323 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6324 __ftruncate64 alias.
6325 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
92c3af3c 6326 Likewise.
8e294940 6327
edf66db1 63282001-02-15 David Mosberger <davidm@hpl.hp.com>
8e294940 6329
edf66db1
SP
6330 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6331 do "loadrs". Writing to bspstore already takes care of
6332 invalidating the "clean" partition.
8e294940 6333
edf66db1 63342001-02-16 Andreas Schwab <schwab@suse.de>
8e294940 6335
edf66db1
SP
6336 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6337 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
8e294940 6338
edf66db1 63392001-02-15 Jakub Jelinek <jakub@redhat.com>
8e294940 6340
edf66db1
SP
6341 * posix/regex.c (init_syntax_once): Add prototype.
6342 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6343 (re_search_2): Avoid warning.
6344 (count_mbs_length): Add prototype.
6345 * posix/tst-regex3.c: New file.
6346 * posix/Makefile (tests): Add bug-regex3.
8e294940 6347
edf66db1 63482001-02-15 Ulrich Drepper <drepper@redhat.com>
8e294940 6349
edf66db1
SP
6350 * stdio-common/Makefile (tests): Add tst-gets.
6351 * stdio-common/tst-gets.c: New file.
6352 * stdio-common/tst-gets.input: New file.
8e294940 6353
edf66db1 6354 * elf/elf.h (DT_CHECKSUM): Define.
8e294940 6355
edf66db1
SP
6356 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6357 default symbol.
6358 * sysdeps/generic/strtoull.c: Likewise.
8e294940 6359
edf66db1 63602001-02-14 Wolfram Gloger <wg@malloc.de>
8e294940 6361
edf66db1
SP
6362 * malloc/malloc.c (new_heap): When allocating large chunk aligned
6363 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6364 between the heaps.
8e294940 6365
edf66db1 63662001-02-14 Ulrich Drepper <drepper@redhat.com>
8e294940 6367
edf66db1
SP
6368 * math/libm-test.inc (j0_test): Check whether sincos is available.
6369 (j1_test): Likewise.
6370 (jn_test): Likewise.
6371 (y0_test): Likewise.
6372 (y1_test): Likewise.
6373 (yn_test): Likewise.
8e294940 6374
edf66db1
SP
6375 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6376 fake filesystem routines to handle this.
8e294940 6377
edf66db1
SP
6378 * time/sys/time.h: Make settimeofday and adjtime available if
6379 _BSD_SOURCE.
8e294940 6380
edf66db1 6381 * time/sys/time.h: Make timer* macros available for BSD.
8e294940 6382
edf66db1
SP
6383 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6384 Patch by Yong Li <rigel863@yahoo.com>.
8e294940 6385
edf66db1
SP
6386 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6387 name.
8e294940 6388
edf66db1
SP
6389 * posix/Makefile (tests): Add tst-gnuglob.
6390 * posix/tst-gnuglob.c: New file.
8e294940 6391
edf66db1 63922001-02-13 H.J. Lu <hjl@gnu.org>
8e294940 6393
edf66db1 6394 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
8e294940 6395
edf66db1 63962001-02-13 Ulrich Drepper <drepper@redhat.com>
8e294940 6397
edf66db1 6398 * locale/programs/ld-paper.c (paper_output): Pretty printing.
8e294940 6399
edf66db1
SP
6400 * iconvdata/Makefile (modules): Add GBBIG5.
6401 (distribute): Add gbbig5.c.
6402 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
8e294940 6403
edf66db1
SP
6404 * iconvdata/gbbig5.c: New file.
6405 Contributed by Yong Li <rigel863@yahoo.com>.
8e294940 6406
edf66db1 64072001-02-13 Philip Blundell <pb@futuretv.com>
8e294940 6408
edf66db1 6409 * manual/crypt.texi: Remove outdated references to crypt add-on.
8e294940 6410
edf66db1 6411 * manual/creature.texi: Improve wording slightly.
8e294940 6412
edf66db1 64132001-02-13 Ulrich Drepper <drepper@redhat.com>
8e294940 6414
edf66db1
SP
6415 * io/ftw.c: Always use readdir64.
6416 * io/ftw64.c: Likewise.
6417 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6418 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6419 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
6420 callback to dirent. Still allow compiling outside glibc.
6421 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6422 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8e294940 6423
edf66db1
SP
6424 * malloc/mtrace.c: Use fopen64.
6425 * posix/spawni.c: Use __open64.
6426 * sysdeps/unix/opendir.c: Likewise.
6427 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
8e294940 6428
edf66db1
SP
6429 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6430 name a weak alias.
6431 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6432 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6433 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6434 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
8e294940 6435
edf66db1 6436 * resolv/res_data.c: Add cast to avoid warning.
8e294940 6437
edf66db1 6438 * include/unistd.h: Declare __ftruncate64.
8e294940 6439
edf66db1 6440 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
8e294940 6441
edf66db1
SP
6442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6443 instead of __lseek.
8e294940 6444
edf66db1 64452001-02-13 Andreas Jaeger <aj@suse.de>
8e294940 6446
edf66db1
SP
6447 * login/getutent_r.c: Include <stdlib.h> for NULL.
6448 * login/getutid_r.c: Likewise.
8e294940 6449
edf66db1 64502001-02-12 Ulrich Drepper <drepper@redhat.com>
8e294940 6451
edf66db1
SP
6452 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6453 * sysdeps/dbl-64/e_j1.c: Likewise.
6454 * sysdeps/dbl-64/e_jn.c: Likewise.
6455 * sysdeps/flt-32/e_j0f.c: Likewise.
6456 * sysdeps/flt-32/e_j1f.c: Likewise.
6457 * sysdeps/ldbl-96/e_j0l.c: Likewise.
8e294940 6458
edf66db1 64592000-12-02 H.J. Lu <hjl@gnu.org>
8e294940 6460
edf66db1 6461 * resolv/res_libc.c (res_init): Don't make it default.
8e294940 6462
edf66db1 64632001-02-12 Ulrich Drepper <drepper@redhat.com>
8e294940 6464
edf66db1
SP
6465 * manual/debug.texi: Improved the wording.
6466 Patch by Philip Blundell <pb@futuretv.com>.
8e294940 6467
edf66db1 64682001-02-12 Andreas Jaeger <aj@suse.de>
8e294940 6469
edf66db1
SP
6470 * posix/Makefile (tests): Don't run bug-regex2 when
6471 cross-compiling.
8e294940 6472
edf66db1
SP
6473 * libio/Makefile (tests): Don't run test-freopen when
6474 cross-compiling.
8e294940 6475
edf66db1 6476 * manual/stdio.texi (Streams and I18N): Fix typos.
8e294940 6477
edf66db1 64782001-02-12 Ulrich Drepper <drepper@redhat.com>
8e294940 6479
edf66db1 6480 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
8e294940 6481
edf66db1
SP
6482 * math/libm-test.inc (j0_test): Make expected results long double
6483 constants.
6484 (y0_test): Likewise.
8e294940 6485
edf66db1
SP
6486 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6487 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
8e294940 6488
edf66db1 64892001-02-11 Jakub Jelinek <jakub@redhat.com>
8e294940 6490
edf66db1
SP
6491 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6492 which was exported from libc.
6493 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
8e294940 6494
edf66db1 64952001-02-12 Andreas Jaeger <aj@suse.de>
8e294940 6496
edf66db1 6497 * manual/arith.texi (Parsing of Integers): Fix some wordings.
8e294940 6498
edf66db1 64992001-02-11 Ulrich Drepper <drepper@redhat.com>
8e294940 6500
edf66db1
SP
6501 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6502 and get_avphys_page to long int.
6503 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6504 * include/sys/sysinfo.h: Likewise.
6505 * sysdeps/generic/sys/sysinfo.h: Likewise.
6506 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
8e294940 6507
edf66db1
SP
6508 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6509 cannot return as many values as the user asked for.
8e294940 6510
edf66db1 65112001-02-11 Andreas Jaeger <aj@suse.de>
8e294940 6512
edf66db1 6513 * manual/resource.texi (Memory Resources): Fix typo.
8e294940 6514
edf66db1
SP
6515 * libio/Makefile ($(objpfx)test-freopen.out): Pass
6516 run-program-prefix.
8e294940 6517
edf66db1 6518 * libio/test-freopen.sh: Use run_program_prefix.
8e294940 6519
edf66db1 65202001-02-10 Andreas Jaeger <aj@suse.de>
8e294940 6521
edf66db1
SP
6522 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6523 cross-compiling.
6524 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
8e294940 6525
edf66db1
SP
6526 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6527 only builds.
8e294940 6528
edf66db1 6529 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
8e294940 6530
edf66db1 6531 * posix/Makefile: Fix typo, it's build-static-nss.
8e294940 6532
edf66db1 6533 * iconv/Makefile (extra-objs): New.
8e294940 6534
edf66db1 65352001-02-10 Mark Kettenis <kettenis@gnu.org>
8e294940 6536
edf66db1 6537 * sysdeps/unix/stime.c: Include <time.h>.
8e294940 6538
edf66db1 6539 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
8e294940 6540
edf66db1 65412001-02-10 Andreas Jaeger <aj@suse.de>
8e294940 6542
edf66db1 6543 * manual/string.texi (Search Functions): Fix typo.
8e294940 6544
edf66db1 65452001-02-10 Mark Kettenis <kettenis@gnu.org>
8e294940 6546
edf66db1
SP
6547 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6548 (timeval_to_clock_t): Add clk_tck argument and use that instead of
6549 CLK_TCK.
6550 (__times): Use __getclktck to get the number of clock ticks per
6551 second and use its return value instead of CLK_TCK.
8e294940 6552
edf66db1 65532001-02-10 Mark Kettenis <kettenis@gnu.org>
8e294940 6554
edf66db1 6555 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
8e294940 6556
edf66db1 65572001-02-10 Mark Kettenis <kettenis@gnu.org>
8e294940 6558
edf66db1 6559 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
8e294940 6560
edf66db1 65612001-02-10 Andreas Jaeger <aj@suse.de>
8e294940 6562
edf66db1
SP
6563 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6564 warning.
8e294940 6565
edf66db1 65662001-02-09 Ulrich Drepper <drepper@redhat.com>
8e294940 6567
edf66db1
SP
6568 * posix/Makefile: Add rules to build and run bug-regex2.
6569 * posix/bug-regex2.c: New file.
8e294940 6570
edf66db1 65712001-02-10 Jakub Jelinek <jakub@redhat.com>
8e294940 6572
edf66db1
SP
6573 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6574 (regex_compile): Likewise.
6575 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6576 (re_match_2_internal): Use just is_binary instead of two variables.
6577 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
8e294940 6578
edf66db1 65792001-02-09 Ulrich Drepper <drepper@redhat.com>
8e294940 6580
edf66db1 6581 * version.h (VERSION): Bump to 2.2.2.
8e294940 6582
edf66db1
SP
6583 * iconv/Makefile (distribute): Add iconv_charmap.c and
6584 dummy-repertoire.c.
6585 * elf/Makefile (distribute): Add firstobj.c.
6586 * Makefile (distribute): Add include/pthread.h.
8e294940 6587
edf66db1 6588 * configure.in: Require makeinfo version 4.
8e294940 6589
edf66db1
SP
6590 * libio/tst_wscanf.c (main): Add cast to avoid warning.
6591 * libio/tst_swscanf.c (main): Likewise..
8e294940 6592
edf66db1 65932001-02-09 Jakub Jelinek <jakub@redhat.com>
8e294940 6594
edf66db1
SP
6595 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6596 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6597 __NO_MATH_INLINES.
6598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6599 if not RTLD_BOOTSTRAP.
6600 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8e294940 6602
edf66db1 66032001-02-09 Ulrich Drepper <drepper@redhat.com>
8e294940 6604
edf66db1
SP
6605 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
6606 lr_ungetc to push back last read character.
6607 * locale/programs/linereader.h (lr_ungetc): Don't push back is
6608 character is EOF.
6609 (lr_ignore_rest): Don't warn about garbage if it is really the end
6610 of the file.
8e294940 6611
edf66db1
SP
6612 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6613 definition.
8e294940 6614
edf66db1 66152001-02-08 Ulrich Drepper <drepper@redhat.com>
8e294940 6616
edf66db1
SP
6617 * Makerules (build-shlib): Work around different order of
6618 processing of -B option in different gcc versions.
8e294940 6619
edf66db1
SP
6620 * posix/regex.c: Fix alignment problem.
6621 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
8e294940 6622
edf66db1
SP
6623 * sysdeps/alpha/strrchr.S: Little optimization.
6624 Patch by Richard Henderson <rth@redhat.com>.
8e294940 6625
edf66db1
SP
6626 * sysdeps/alpha/alphaev67/strrchr.S: New file.
6627 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
8e294940 6628
edf66db1 66292001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
8e294940 6630
edf66db1
SP
6631 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6632 in the assembler end directive.
8e294940 6633
edf66db1 66342001-02-08 Andreas Jaeger <aj@suse.de>
8e294940 6635
edf66db1 6636 * manual/stdio.texi (Closing Streams): Fix typos.
8e294940 6637
edf66db1 66382001-02-07 Ulrich Drepper <drepper@redhat.com>
8e294940 6639
edf66db1
SP
6640 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6641 Patch by Richard Henderson <rth@redhat.com>.
6642 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
8e294940 6643
edf66db1
SP
6644 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6645 pointer in FILE structure before calling _IO_init.
6646 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6647 strfmon_l if necessary.
6648 Reported by Jury Gerold <gjury@grips.com>.
8e294940 6649
edf66db1
SP
6650 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6651 Patch by Pekka.Pietikainen@cern.ch.
8e294940 6652
edf66db1
SP
6653 * posix/regex.c: Correct several problems with 64-bit architectures
6654 introduced in the MBS changes.
6655 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
8e294940 6656
edf66db1 66572001-02-07 Jakub Jelinek <jakub@redhat.com>
8e294940 6658
edf66db1
SP
6659 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6660 not defined.
6661 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
8e294940 6662
edf66db1 66632001-02-07 Andreas Jaeger <aj@suse.de>
8e294940 6664
edf66db1
SP
6665 * manual/install.texi (Tools for Compilation): Fix typo.
6666 Reported by Pavel Machek <pavel@bug.ucw.cz>.
8e294940 6667
edf66db1 66682001-02-07 Ulrich Drepper <drepper@redhat.com>
8e294940 6669
edf66db1
SP
6670 * stdlib/strtod.c: Never stop prematurely reading digits before the
6671 decimal point is found. Compute exponent limit for negative exponents
6672 correctly. For numbers ending in all zeros eat the zeros even before
6673 the decimal point if the exponent is negative [PR libc/2072].
6674 * stdlib/Makefile (tests): Add bug-strtod.
6675 * stdlib/bug-strtod.c: New file.
8e294940 6676
edf66db1 66772001-02-07 Andreas Jaeger <aj@suse.de>
8e294940 6678
edf66db1 6679 * posix/bug-regex1.c: Include <wchar.h> for fwide.
8e294940 6680
edf66db1 66812001-02-06 Ulrich Drepper <drepper@redhat.com>
8e294940 6682
edf66db1
SP
6683 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6684 Store index.
6685 (compile_range): Handle index being passed, not pointer.
6686 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
8e294940 6687
edf66db1
SP
6688 * posix/regex.c: Fix a cast in the code for bracket handling which
6689 caused 8-bit uncleanliness.
6690 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
8e294940 6691
edf66db1
SP
6692 * posix/Makefile (tests): Add bug-regex1.
6693 * posix/bug-regex1.c: New file.
6694 Contributed by Jim Meyering <jim@meyering.net>.
8e294940 6695
edf66db1 6696 * posix/regex.c: Many cleanups for incorrect format strings.
8e294940 6697
edf66db1 66982001-02-06 Andreas Jaeger <aj@suse.de>
8e294940 6699
edf66db1 6700 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
8e294940 6701
edf66db1 67022001-02-06 Ulrich Drepper <drepper@redhat.com>
8e294940 6703
edf66db1
SP
6704 * locale/programs/locale.c (write_locales): Use scandir to read
6705 directory so that the entries are sorted.
8e294940 6706
edf66db1 67072001-02-06 Andreas Jaeger <aj@suse.de>
8e294940 6708
edf66db1 6709 * include/pthread.h: New file.
8e294940 6710
edf66db1
SP
6711 * wctype/wctype.h: Move internal interfaces from here to...
6712 * include/wctype.h: ...here.
8e294940 6713
edf66db1
SP
6714 * wcsmbs/wchar.h: Move __wcslen from here to...
6715 * include/wchar.h: ...here.
8e294940 6716
edf66db1
SP
6717 * posix/sys/wait.h: Move __wait from here to...
6718 * include/sys/wait.h: ...here.
8e294940 6719
edf66db1
SP
6720 * string/string.h: Move __ffs and __strerror_r from here to...
6721 * include/string.h: ...here.
8e294940 6722
edf66db1
SP
6723 * stdlib/stdlib.h: Move __on_exit from here to...
6724 * include/stdlib.h: ...here.
8e294940 6725
edf66db1
SP
6726 * libio/stdio.h: Move __vsnprintf from here to...
6727 * include/stdio.h: ...here.
8e294940 6728
edf66db1 67292001-02-06 Andreas Schwab <schwab@suse.de>
8e294940 6730
edf66db1
SP
6731 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6732 headers.
8e294940 6733
edf66db1
SP
6734 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6735 of $(inst_datadir).
8e294940 6736
edf66db1 67372001-02-06 Ulrich Drepper <drepper@redhat.com>
8e294940 6738
edf66db1 6739 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
8e294940 6740
edf66db1 67412001-02-06 Andreas Jaeger <aj@suse.de>
8e294940 6742
edf66db1 6743 * elf/firstobj.c: Add prototype.
8e294940 6744
edf66db1
SP
6745 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6746 (truncate_wchar): Likewise.
8e294940 6747
edf66db1 67482001-02-06 Ulrich Drepper <drepper@redhat.com>
8e294940 6749
edf66db1
SP
6750 * locale/programs/locale.c: Implement --verbose option for -a
6751 which prints detailed information about the locales.
8e294940 6752
edf66db1 67532001-02-05 Ulrich Drepper <drepper@redhat.com>
8e294940 6754
edf66db1
SP
6755 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6756 variable to uint32_t.
6757 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
8e294940 6758
edf66db1 67592001-02-04 Bruno Haible <haible@clisp.cons.org>
8e294940 6760
edf66db1
SP
6761 * locale/C-translit.h.in: Add transliterations for CJK units of
6762 measurement.
8e294940 6763
edf66db1 67642001-02-05 Ulrich Drepper <drepper@redhat.com>
8e294940 6765
edf66db1
SP
6766 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6767 string. Include <inttypes.h> instead of <stdint.h>.
8e294940 6768
edf66db1
SP
6769 * localedata/Makefile (tests): Add bug-iconv-trans.
6770 Define bug-iconv-trans-ENV.
6771 * localedata/bug-iconv-trans.c: New file.
8e294940 6772
edf66db1 67732001-02-04 Bruno Haible <haible@clisp.cons.org>
8e294940 6774
edf66db1
SP
6775 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6776 pointer, to avoid accumulating output from incomplete (unsuccessful)
6777 transliteration attempts.
8e294940 6778
edf66db1 67792001-02-05 Ulrich Drepper <drepper@redhat.com>
8e294940 6780
edf66db1
SP
6781 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6782 string. Include <inttypes.h> instead of <stdint.h>.
8e294940 6783
edf66db1
SP
6784 * configure.in: Add check for bison.
6785 * config.make.in: Define BISON variable.
6786 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6787 Rename YFLAGS to BISONFLAGS.
8e294940 6788
edf66db1 67892001-02-05 Andreas Jaeger <aj@suse.de>
8e294940 6790
edf66db1
SP
6791 * io/test-lfs.c (do_test): Test lseek64 return value, call
6792 test_ftello.
6793 (test_ftello): New function to test ftello64 and fseeko64.
8e294940 6794
edf66db1
SP
6795 * signal/signal.h: Move __sigaction from here to...
6796 * include/signal.h: ...here.
8e294940 6797
edf66db1
SP
6798 * io/fcntl.h: Move __fcntl and __open to...
6799 * include/fcntl.h: ...here.
8e294940 6800
edf66db1 68012001-02-04 Philip Blundell <philb@gnu.org>
92c3af3c 6802
edf66db1 6803 * configure.in: Distinguish ARM from Thumb.
92c3af3c 6804
edf66db1 68052001-02-04 Philip Blundell <philb@gnu.org>
92c3af3c 6806
edf66db1
SP
6807 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6808 PC24 relocs with negative value.
92c3af3c 6809
edf66db1 68102001-02-04 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6811
edf66db1
SP
6812 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6813 files in locale/programs. Add CFLAGS definition to allow compiling
6814 localedef files.
6815 * iconv/dummy-repertoire.c: New file.
6816 * iconv/iconv_charmap.c: New file.
6817 * iconv/iconv_prog.h: New file.
6818 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6819 (main): If parameter for -f and -t contain slashes try first to resolve
6820 the strings as filenames of charmap files. Use them for conversion
6821 in this case.
6822 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6823 iconv getting charmap names as parameters.
6824 * locale/programs/linereader.c (lr_token): Take extra parameters
6825 verbose and pass it to get_string.
6826 (get_string): Take extra parameters verbose.
6827 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6828 verbose and be_quiet. Change all callers of lr_token and
6829 parse_charmap.
6830 * locale/programs/charmap.h: Likewise.
6831 * locale/programs/ld-address.c: Likewise.
6832 * locale/programs/ld-collate.c: Likewise.
6833 * locale/programs/ld-ctype.c: Likewise.
6834 * locale/programs/ld-identification.c: Likewise.
6835 * locale/programs/ld-measurement.c: Likewise.
6836 * locale/programs/ld-messages.c: Likewise.
6837 * locale/programs/ld-monetary.c: Likewise.
6838 * locale/programs/ld-name.c: Likewise.
6839 * locale/programs/ld-numeric.c: Likewise.
6840 * locale/programs/ld-paper.c: Likewise.
6841 * locale/programs/ld-telephone.c: Likewise.
6842 * locale/programs/ld-time.c: Likewise.
6843 * locale/programs/linereader.c: Likewise.
6844 * locale/programs/linereader.h: Likewise.
6845 * locale/programs/localedef.c: Likewise.
6846 * locale/programs/locfile.c: Likewise.
6847 * locale/programs/locfile.h: Likewise.
6848 * locale/programs/repertoire.c: Likewise.
92c3af3c 6849
edf66db1 68502001-02-03 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6851
edf66db1
SP
6852 * iconv/iconv_prog.c (main): If output file name is "-" write to
6853 stdout.
6854 (main): If -f or -t argument is missing use charset of the current
6855 locale.
92c3af3c 6856
edf66db1 68572001-02-03 Andreas Jaeger <aj@suse.de>
92c3af3c 6858
edf66db1
SP
6859 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6860 boundary for SSE/SSE-2 alignment.
92c3af3c 6861
edf66db1
SP
6862 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6863 annexc.
92c3af3c 6864
edf66db1 68652001-02-03 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6866
edf66db1
SP
6867 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6868 Remove comma at end of enum.
8e294940 6869
edf66db1 6870 * elf/dl-init.c: Add a few __builtin_expect.
8e294940 6871
edf66db1 6872 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
92c3af3c 6873
edf66db1 68742001-02-02 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6875
edf66db1
SP
6876 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6877 errno is ECONNREFUSED.
92c3af3c 6878
edf66db1
SP
6879 * posix/Makefile: Define MBS_SUPPORT for regex.c.
6880 * posix/regex.c: Implement multibyte character handling.
6881 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
92c3af3c 6882
edf66db1
SP
6883 * string/tst-svc.input: Add two more test cases.
6884 * string/tst-svc.expect: Modify to reflect new test cases.
92c3af3c 6885
edf66db1 68862001-02-01 Jakub Jelinek <jakub@redhat.com>
92c3af3c 6887
edf66db1
SP
6888 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6889 tp->name tests with tp->name[0] tests.
92c3af3c 6890
edf66db1 68912001-01-29 Ben Collins <bcollins@debian.org>
92c3af3c 6892
edf66db1
SP
6893 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6894 Fix check for name == NULL.
92c3af3c 6895
edf66db1 68962001-02-01 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6897
edf66db1
SP
6898 * elf/Makefile: Add rules to build and run initfirst test.
6899 * elf/initfirst.c: New file.
6900 * elf/firstobj.c: New file.
8e294940 6901
edf66db1
SP
6902 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6903 * configure.in: Test for -z initfirst linker option.
6904 * config.make.in: Add have-z-initfirst.
6905 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6906 new function call_init. If _dl_initfirst is non-NULL initialize first.
6907 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6908 remember object in _dl_initfirst.
6909 * elf/soinit.c: Remove special support for calling
6910 __pthread_initialize_minimal.
8e294940 6911
edf66db1 6912 * conform/conformtest.pl: Add missing $prepend in type test.
8e294940 6913
edf66db1 69142001-01-31 Ulrich Drepper <drepper@redhat.com>
8e294940 6915
edf66db1 6916 * elf/elf.h (SHT_CHECKSUM): New definition.
8e294940 6917
edf66db1
SP
6918 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6919 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6920 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
8e294940 6921
edf66db1 69222001-01-31 Mark Kettenis <kettenis@gnu.org>
92c3af3c 6923
edf66db1
SP
6924 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6925 to get definition of `struct timeval'.
92c3af3c 6926
edf66db1 69272001-01-31 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6928
edf66db1
SP
6929 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6930 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
92c3af3c 6931
edf66db1 69322001-01-30 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6933
edf66db1
SP
6934 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6935 seen, not flags.
92c3af3c 6936
edf66db1 6937 * nis/nis_findserv.c: Include <time.h>.
92c3af3c 6938
edf66db1 69392001-01-30 Yong Li <yong.li@asu.edu>
92c3af3c 6940
edf66db1 6941 * iconv/iconv_prog.c (main): Correct error handling method name.
92c3af3c 6942
edf66db1 69432001-01-29 Ben Collins <bcollins@debian.org>
92c3af3c 6944
edf66db1
SP
6945 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6946 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6947 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6948 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
92c3af3c 6949
edf66db1 69502001-01-30 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6951
edf66db1
SP
6952 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6953 Patch by Marko Myllynen <myllynen@lut.fi>.
92c3af3c 6954
edf66db1
SP
6955 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6956 (int instead of char).
6957 (__strpbrk_c3): Likewise.
6958 Reported by GOTO Masanori <gotom@debian.or.jp>.
92c3af3c 6959
edf66db1
SP
6960 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6961 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6962 * include/sys/socket.h: Add SA_LEN here for internal use.
6963 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
92c3af3c 6964
edf66db1 69652001-01-29 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6966
edf66db1 6967 * malloc/Makefile: Don't build memusagestat if cross-compiling.
92c3af3c 6968
edf66db1 6969 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
92c3af3c 6970
edf66db1
SP
6971 * math/libm-test.inc (rint_test): Add a few more tests for round
6972 to even rounding.
92c3af3c 6973
edf66db1 69742001-01-28 Ulrich Drepper <drepper@redhat.com>
92c3af3c 6975
edf66db1 6976 * conform/data/pthread.h-data: Correct return type of pthread_exit.
92c3af3c 6977
edf66db1 6978 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
92c3af3c 6979
edf66db1 6980 * conform/data/stdlib.h-data: Add _Exit.
92c3af3c 6981
edf66db1
SP
6982 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6983 if not already happened.
6984 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6985 Don't include <limits.h> and <bits/sockaddr.h>.
92c3af3c 6986
edf66db1 6987 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
92c3af3c 6988
edf66db1 6989 * conform/data/spawn.h-data: Allow all of <sched.h>.
92c3af3c 6990
edf66db1
SP
6991 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6992 unused variable.
92c3af3c 6993
edf66db1
SP
6994 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6995 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
92c3af3c 6996
edf66db1 6997 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
92c3af3c 6998
edf66db1
SP
6999 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
7000 * libio/stdio.h: Define va_list correctly.
92c3af3c 7001
edf66db1
SP
7002 * conform/data/pthread.h-data: Make priority protocol related
7003 functions optional. Fix typos.
92c3af3c 7004
edf66db1
SP
7005 * posix/sched.h: Define sched_priority as __sched_priority.
7006 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
7007 to __sched_priority.
7008 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
92c3af3c 7009
edf66db1 70102001-01-27 Ulrich Drepper <drepper@redhat.com>
92c3af3c 7011
edf66db1
SP
7012 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
7013 of <sys/time.h>.
92c3af3c 7014
edf66db1
SP
7015 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
7016 * sysdeps/unix/time.c: Likewise.
92c3af3c 7017
edf66db1
SP
7018 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
7019 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
7020 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
7021 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7022 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7023 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
7024 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
7025 * time/time.h: Likewise.
92c3af3c 7026
edf66db1
SP
7027 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
7028 * conform/data/complex.h-data: New file.
7029 * conform/data/tgmath.h-data: New file.
92c3af3c 7030
edf66db1 7031 * conform/data/wchar.h-data: Add missing functions.
92c3af3c 7032
edf66db1 7033 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
92c3af3c 7034
edf66db1
SP
7035 * conform/data/termios.h-data: Add missing const in tcsetattr()
7036 prototype.
92c3af3c 7037
edf66db1
SP
7038 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
7039 Don't define pid_t here.
7040
7041 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
7042
7043 * conform/data/sys/time.h-data: Allow sys/select.h.
7044 * conform/data/sys/un.h-data: Fix typo.
7045 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
7046 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
7047 <sys/time.h>.
7048 * sysdeps/unix/clock_nanosleep.c: Likewise.
7049 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
7050 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7051 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
7052 * sysdeps/unix/clock_settime.c: Likewise.
7053
7054 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
7055 * login/getutent.c: Likewise.
7056 * login/getutid.c: Likewise.
7057 * login/getutline.c: Likewise.
7058
7059 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
7060
7061 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
7062 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
7063 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
7064 f_fsid field after change in struct statvfs.
7065 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
7066 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
7067 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
7068
7069 * conform/data/sys/stat.h-data: Remove isfdtype. Use
7070 optional-macro.
7071
7072 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
7073 recvfrom, send, and socketpair prototypes. Add allow lines.
7074 * socket/sys/socket.h: Include <sys/uio.h>.
7075 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
7076 Fix type of second parameter of listen.
7077 Don't declare isfdtype unless __USE_MISC.
7078 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
7079 * sysdeps/mach/hurd/listen.c: Likewise.
7080 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
7081 ss_family and __ss_family.
7082 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7083 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7084 (struct msghdr): Change type of msg_iovlen to int and type of
7085 msg_controllen to socklen_t.
7086 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
7087 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
7088 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
7089 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
7090 (rresvport_af): Likewise.
7091
7092 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
7093 * conform/conformtest.pl: Implement handling of symbol.
7094
7095 * signal/signal.h: Fix handling of __need_* symbols.
7096 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
7097 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
7098 * include/sys/select.h: Use fd_set not __fd_set.
7099 * sysdeps/generic/bits/select.h: Likewise.
7100 * sysdeps/i386/bits/select.h: Likewise.
7101 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
7102 __FDELT, __FDMASK, and __fd_set here.
7103 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7104 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7105 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7106 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7107 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
7108 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7110 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7111 * time/sys/time.h: Define struct timeval before including <time.h>
7112 and <sys/select.h>.
92c3af3c 7113
edf66db1
SP
7114 * conform/data/sys/time.h-data: fd_set is a typedef.
7115 * conform/data/sys/select.h-data: New file.
7116 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
7117 * conform/conformtest.pl (@headers): Add sys/select.h.
7118 (type, optional-type): Unless testing a typedef instantiate object.
7119 Implement optional-function.
92c3af3c 7120
edf66db1 7121 * math/test-misc.c: Include <float.h>.
92c3af3c 7122
edf66db1 71232001-01-27 Andreas Jaeger <aj@suse.de>
92c3af3c 7124
edf66db1 7125 * misc/efgcvt_r.c: Include <float.h>.
92c3af3c 7126
edf66db1 71272001-01-26 Ulrich Drepper <drepper@redhat.com>
92c3af3c 7128
edf66db1
SP
7129 * conform/data/stdlib.h-data: Account for XPG6 changes.
7130 * stdlib/stdlib.h (__random): Change return value type to long.
7131 (posix_memalign): Cleanup parameter names.
7132 (setenv, unsetenv): Make available for __USE_XOPEN2K.
7133 Change return type of unsetenv to int.
7134 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
7135 * include/stdlib.h: Change return type of unsetenv to int.
7136 Change return type of random to long int.
7137 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
7138 Return -1 and set errno if parameter is invalid.
7139 * stdlib/random.c (__random): Change return value type to long.
92c3af3c 7140
edf66db1 7141 * conform/data/stdio.h-data: Account for changes in XPG6.
92c3af3c 7142
edf66db1 7143 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
92c3af3c
SP
7144 prototype.
7145
edf66db1
SP
7146 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
7147 * conform/data/signal.h-data: Fix sigev_notify_function entry.
7148 Fix typo (SIGVALRM -> SIGVTALRM).
7149 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
7150 with real type.
7151 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
7152 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7153 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7155 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
7156
7157 * conform/conformtest.pl: Implement optional-element. Define
7158 $mustprepend{"sched.h"}.
7159 * conform/data/sched.h-data: Make sporadic scheduler definitions
7160 optional.
7161
7162 * pwd/pwd.h: Don't define getpwent_r for XPG.
7163
7164 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
7165 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
7166 * sysdeps/mach/hurd/poll.c: Likewise.
7167 * sysdeps/unix/bsd/poll.c: Likewise.
7168 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7169 * sysdeps/unix/sysv/aix/poll.c: Likewise.
7170 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
7171 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7172 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7173 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7174 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7175 * conform/data/poll.h-data: Fix typo in poll prototype.
8e294940 7176
edf66db1
SP
7177 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
7178 only if __USE_MISC.
7179 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
8e294940 7180
edf66db1 7181 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
8e294940 7182
edf66db1 7183 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
8e294940 7184
edf66db1 7185 * conform/conformtest.pl: Implement optional-type.
8e294940 7186
edf66db1
SP
7187 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
7188 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
7189 defining uint32_t here. Define IPPORT_RESERVED.
7190 (struct hostent): Type of h_length element is int.
7191 (getnameinfo): Type of flags parameter is unsigned int.
7192 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
7193 * conform/data/netdb.h-data: Add many missing definitions.
8e294940 7194
edf66db1
SP
7195 * conform/conformtest.pl: Implement optional-macro.
7196 * conform/data/math.h-data: Update for XPG6.
8e294940 7197
edf66db1
SP
7198 * math/math.h (HUGE): Define as FLT_MAX value but don't use
7199 FLT_MAX. Don't include <float.h>.
7200 (MAXFLOAT): Likewise.
8e294940 7201
edf66db1 7202 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
8e294940 7203
edf66db1 7204 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
8e294940 7205
edf66db1
SP
7206 * conform/data/limits.h-data: Mark constants as optional wherever
7207 appropriate.
8e294940 7208
edf66db1
SP
7209 * posix/bits/posix2_lim.h: Set correct values for
7210 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
7211 EQUIV_CLASS_MAX.
8e294940 7212
edf66db1
SP
7213 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
7214 Required by POSIX.
8e294940 7215
edf66db1 7216 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
8e294940 7217
edf66db1 7218 * conform/data/netinet/in.h-data: Add reserved prefixes.
8e294940 7219
edf66db1 7220 * conform/data/arpa/inet.h-data: Fix a few typos.
8e294940 7221
edf66db1 72222001-01-26 Andreas Jaeger <aj@suse.de>
8e294940 7223
edf66db1
SP
7224 * sysdeps/generic/strtol.c: Include <locale.h>
7225 * stdlib/strtod.c: Likewise
7226 * stdlib/strfmon.c: Likewise.
7227 * string/strcoll.c: Likewise.
7228 * string/strxfrm.c: Likewise.
7229 * wctype/wcfuncs_l.c: Likewise.
7230 * wctype/wctype_l.c: Likewise.
7231 * wctype/wctrans_l.c: Likewise.
8e294940 7232
edf66db1 7233 * include/bits/locale.h: New file.
8e294940 7234
edf66db1 72352001-01-26 Ulrich Drepper <drepper@redhat.com>
8e294940 7236
edf66db1
SP
7237 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7238 and NOSTR.
8e294940 7239
edf66db1
SP
7240 * locale/Makefile (headers): Add bits/locale.h.
7241 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
7242 and use __LC_ constants instead of LC_.
7243 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
7244 using __LC_ constants.
7245 * locale/bits/locale.h: New file.
7246 * locale/loadlocale.c: Include <locale.h>.
7247 * locale/nl_langinfo.h: Likewise.
8e294940 7248
edf66db1 7249 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
8e294940 7250
edf66db1 7251 * io/sys/stat.h: Define S_IFSOCK for XPG6.
8e294940 7252
edf66db1 7253 * conform/data/fcntl.h-data: posix_madvise is not expected here.
8e294940 7254
edf66db1 7255 * conform/conformtest.pl: Fix handling of macro-str.
8e294940 7256
edf66db1
SP
7257 * conform/data/inttypes.h-data: Add missing definition and all of
7258 stdint.h-data.
8e294940 7259
edf66db1 7260 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
8e294940 7261
edf66db1 72622001-01-25 Ulrich Drepper <drepper@redhat.com>
8e294940 7263
edf66db1
SP
7264 * conform/conformtest.pl (@headers): Add stdint.h.
7265 * conform/data/stdint.h-data: New file.
8e294940 7266
edf66db1
SP
7267 * conform/conformtest.pl: Recognize options --headers and
7268 --dialect. Add dialect-specific CFLAGS.
8e294940 7269
edf66db1
SP
7270 * conform/conformtest.pl: Implement handling of recursive
7271 allow-header.
8e294940 7272
edf66db1 7273 * conform/data/locale.h-data: Add new struct lconv members.
8e294940 7274
edf66db1
SP
7275 * posix/wordexp.h: Correct definition of wordexp_t.
7276 * posix/wordexp.c: Moved to ...
7277 * sysdeps/generic/wordexp.c: ...here. New file.
7278 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7279 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7280 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7281 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7282 wordexp.
7283 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
8e294940 7285
edf66db1 7286 * math/tgmath.h: Pretty printing.
8e294940 7287
edf66db1
SP
7288 * math/Makefile (tests): Add test-tgmath.
7289 (CFLAGS-test-tgmath.c): New variable.
7290 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
8e294940 7291
edf66db1
SP
7292 * conform/conformtest.pl: Handle allow-header in secondary headers
7293 correctly.
8e294940 7294
edf66db1
SP
7295 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7296 #ifdef.
8e294940 7297
edf66db1
SP
7298 * conform/data/netinet/in.h-data: Use correct comment character.
7299 * conform/data/sys/stat.h-data: Likewise.
8e294940 7300
edf66db1 73012001-01-25 Jakub Jelinek <jakub@redhat.com>
8e294940 7302
edf66db1
SP
7303 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7304 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7305 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7306 __builtin_classify_type, add ##f suffixes where appropriate.
7307 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7308 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7309 __builtin_classify_type.
7310 (fma): Fix spelling of first argument.
8e294940 7311
edf66db1 73122001-01-25 Ulrich Drepper <drepper@redhat.com>
8e294940 7313
edf66db1
SP
7314 * conform/data/unistd.h-data: Mark functions removed in XPG6
7315 correctly.
8e294940 7316
edf66db1
SP
7317 * posix/unistd.h: Don't make functions removed in XPG6 available if
7318 __USE_XOPEN2K.
8e294940 7319
edf66db1
SP
7320 * conform/conformtest.pl: Implement optional-constant.
7321 * conform/data/unistd.h-data: Use optional-constant wherever
7322 appropriate.
8e294940 7323
edf66db1
SP
7324 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7325 constants and add _SC_STREAMS.
7326 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8e294940 7327
edf66db1
SP
7328 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7329 make old name weak alias.
7330 * sysdeps/generic/statvfs64.c: Likewise.
7331 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7332 make old name weak alias.
7333 * sysdeps/generic/fstatvfs64.c: Likewise.
7334 * include/sys/statvfs.h: New file.
8e294940 7335
edf66db1
SP
7336 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7337 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7338 _PC_REC_XFER_ALIGN.
7339 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7340 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7341 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7342 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8e294940 7343
edf66db1
SP
7344 * conform/conformtest.pl: Run Unix tests for XPG6.
7345 Implement handling of known namespace violations.
7346 Improve printing of results.
8e294940 7347
edf66db1
SP
7348 * posix/unistd.h (usleep): Correct return type.
7349 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7350 * sysdeps/unix/bsd/usleep.c: Correct return type.
7351 * sysdeps/mach/usleep.c: Correct return type.
7352 * sysdeps/generic/usleep.c: Correct return type.
8e294940 7353
edf66db1
SP
7354 * posix/unistd.h (sync): Correct return type.
7355 * sysdeps/generic/sync.c: Likewise.
7356 * sysdeps/mach/hurd/sync.c: Likewise.
8e294940 7357
edf66db1 7358 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
8e294940 7359
edf66db1 7360 * posix/unistd.h: Make seteuid and setegid available for XPG6.
8e294940 7361
edf66db1 7362 * wcsmbs/wchar.h: Get FILE definition for XPG5.
8e294940 7363
edf66db1
SP
7364 * conform/data/ctype.h-data: Use correct comment form.
7365 * conform/data/errno.h-data: Likewise.
7366 * conform/data/math.h-data: Likewise.
7367 * conform/data/mqueue.h-data: Likewise.
7368 * conform/data/netdb.h-data: Likewise.
7369 * conform/data/pthread.h-data: Likewise.
8e294940 7370
edf66db1 73712001-01-24 Ulrich Drepper <drepper@redhat.com>
8e294940 7372
edf66db1 7373 * conform/data/wordexp.h-data: Fix typo.
8e294940 7374
edf66db1 7375 * conform/conformtest.pl: Handle allow-header correctly.
8e294940 7376
edf66db1 7377 * conform/data/time.h-data: Use correct comment form.
8e294940 7378
edf66db1 7379 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
8e294940 7380
edf66db1 7381 * configure.in: Comment out binutils version test.
8e294940 7382
edf66db1
SP
7383 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7384 separators.
7385 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
8e294940 7386
edf66db1
SP
7387 * stdlib/tst-strtod.c (locale_test): New function.
7388 (main): Call locale_test.
7389 * stdlib/Makefile (tst-strtod-ENV): New variable.
8e294940 7390
edf66db1 73912001-01-24 Mark Kettenis <kettenis@gnu.org>
8e294940 7392
edf66db1
SP
7393 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7394 declaration of value such that we actually return the value of the
7395 environment variable.
8e294940 7396
edf66db1 73972001-01-24 Andreas Jaeger <aj@suse.de>
8e294940 7398
edf66db1
SP
7399 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7400 prototype.
7401 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8e294940 7402
edf66db1 7403 * include/sys/sysctl.h: New file.
8e294940 7404
edf66db1 74052001-01-23 Andreas Jaeger <aj@suse.de>
8e294940 7406
edf66db1
SP
7407 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7408 isomac.
8e294940 7409
edf66db1
SP
7410 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7411 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7412 closes PR libc/2039.
8e294940 7413
edf66db1
SP
7414 * manual/install.texi (Tools for Compilation): Change required
7415 binutils version.
8e294940 7416
edf66db1 74172001-01-22 Andreas Jaeger <aj@suse.de>
8e294940 7418
edf66db1
SP
7419 * configure.in: Add test for new enough binutils version, move
7420 compiler/binutils test up.
8e294940 7421
edf66db1 7422 * Versions.def: Add version GLIBC_2.2.2.
8e294940 7423
edf66db1 74242001-01-21 Ulrich Drepper <drepper@redhat.com>
8e294940 7425
edf66db1
SP
7426 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7427 available.
7428 * iconvdata/testdata/IBM932: New file.
7429 * iconvdata/testdata/IBM932..UTF8: New file.
7430 * iconvdata/testdata/IBM943: New file.
7431 * iconvdata/testdata/IBM943..UTF8: New file.
7432 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
8e294940 7433
edf66db1 74342001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 7435
edf66db1 7436 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
8e294940 7437
edf66db1 74382001-01-21 Ulrich Drepper <drepper@redhat.com>
8e294940 7439
edf66db1
SP
7440 * malloc/malloc.c: Remove a few unnecessary initializers of global
7441 variables.
8e294940 7442
edf66db1 74432000-12-09 H.J. Lu <hjl@gnu.org>
8e294940 7444
edf66db1
SP
7445 * nss/Makefile (routines): Add digits_dots.
7446 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7447 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7448 into a function.
7449 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7450 function.
7451 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7452 (TYPE_VAR_P): Likewise.
7453 (FLAGS_VAR): Likewise.
7454 (AF_VAR_P): Likewise.
7455 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7456 instead of including digits_dots.c.
7457 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7458 (TYPE_VAR_P): Likewise.
7459 (FLAGS_VAR): Likewise.
7460 (AF_VAR_P): Likewise.
7461 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7462 instead of including digits_dots.c.
7463
74642001-01-21 Ulrich Drepper <drepper@redhat.com>
7465
7466 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7467
74682001-01-21 Andreas Jaeger <aj@suse.de>
7469
7470 * elf/constload2.c: Add prototype for init.
7471
74722001-01-21 Ulrich Drepper <drepper@redhat.com>
7473
7474 * stdlib/stdlib.h (drand48_data): Make available only for
7475 __USE_MISC. Rename elements to protect namespace. Change type
7476 and position of a and init element.
7477 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7478 differently. Adjust for drand48_data change. Don't compute a here,
7479 it comes from drand48_data.
7480 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7481 differently. Adjust for drand48_data change. Compute a here.
7482 * stdlib/srand48_r.c: Likewise.
7483 * stdlib/drand48.c: Adjust for drand48_data change.
7484 * stdlib/lrand48.c: Likewise.
7485 * stdlib/mrand48.c: Likewise.
7486 * stdlib/seek48.c: Likewise.
7487 * stdlib/drand48_r.c: Likewise.
7488 * stdlib/lrand48_r.c: Likewise.
7489 * stdlib/mrand48_r.c: Likewise.
7490 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
7491 differently.
7492 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7493 * stdlib/jrand48_r.c: Likewise.
7494
7495 * po/sv.po: Update from translation team.
7496
74972001-01-21 Andreas Jaeger <aj@suse.de>
7498
7499 * stdio-common/vfprintf.c (vfprintf): Add casts.
7500
75012001-01-20 Ulrich Drepper <drepper@redhat.com>
7502
7503 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7504 the ASCII test.
7505 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7506
7507 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7508 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7509 * iconvdata/ibm932.c: New file.
7510 * iconvdata/ibm932.h: New file.
7511 * iconvdata/ibm943.c: New file.
7512 * iconvdata/ibm943.h: New file.
7513 Patches by Masahide Washizawa <washi@jp.ibm.com>.
7514
7515 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7516 preventing optimization from being done. Set the correct type bit
7517 in seen. Don't define and use _dl_base_addr unless
7518 NEED_DL_BASE_ADDR is defined.
7519
7520 * io/ftw.c (ftw_dir): Add slash after directory name if there
7521 wasn't any. Reported by loris <loris@iol.it>.
7522 * io/Makefile (tests): Add bug-ftw2.
7523 * io/bug-ftw2.c: New file.
7524
75252001-01-19 Ulrich Drepper <drepper@redhat.com>
7526
7527 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7528 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
7529 * stdlib/tst-rand48.c: New file.
7530 * stdlib/Makefile (tests): Add tst-rand48.
7531
7532 * locale/newlocale.c (__newlocale): Fix test for setting all
7533 categories.
8e294940 7534
edf66db1 75352001-01-19 Mark Kettenis <kettenis@gnu.org>
8e294940 7536
edf66db1
SP
7537 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7538 but change looking up the initial directory port in a similar way
7539 as done by _hurd_change_directory_port_from_name.
7540 * hurd/fchroot.c (fchroot): Likewise.
8e294940 7541
edf66db1 75422001-01-18 Ulrich Drepper <drepper@redhat.com>
8e294940 7543
edf66db1
SP
7544 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7545 defined don't look whether the AT_*ID values were set.
7546 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7547 (_dl_show_auxv): Rewrite to avoid switch statement.
7548 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7549 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7550 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7551 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
8e294940 7552
edf66db1
SP
7553 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7554 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7555 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8e294940 7556
edf66db1
SP
7557 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7558 strtoul.
7559 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7560 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7561 anything.
7562 * dlfcn/eval.c (__strtol_internal): Define here.
7563 (eval): Use __strtol_internal instead of strtol.
8e294940 7564
edf66db1 7565 * elf/elf.h: Add a few more EF_MIPS_* constants.
8e294940 7566
edf66db1 75672001-01-17 Ulrich Drepper <drepper@redhat.com>
8e294940 7568
edf66db1
SP
7569 * manual/Makefile (chapters): Add debug.
7570 * manual/debug.texi: New file.
7571 * manual/examples/execinfo.c: New file.
7572 Patch by suckfish@ihug.co.nz.
8e294940 7573
edf66db1 75742001-01-17 Andreas Schwab <schwab@suse.de>
8e294940 7575
edf66db1
SP
7576 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7577 invalid asm.
8e294940 7578
edf66db1 75792001-01-17 Andreas Jaeger <aj@suse.de>
8e294940 7580
edf66db1 7581 * nscd/connections.c (nscd_run): Use proper format specifier.
8e294940 7582
edf66db1 75832001-01-16 Ulrich Drepper <drepper@redhat.com>
8e294940 7584
edf66db1
SP
7585 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7586 x86_platforms data into new file after prepending _dl_. Change
7587 users.
7588 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7589 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7590 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7591 dl-procinfo.c.
8e294940 7592
edf66db1 7593 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
8e294940 7594
edf66db1
SP
7595 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7596 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7597 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7598 (_setjmp): Likewise.
7599 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7600 * sysdeps/i386/bsd-setjmp.S: Real implementation.
7601 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7602 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
7603 version.
8e294940 7604
edf66db1 76052001-01-16 Andreas Jaeger <aj@suse.de>
8e294940 7606
edf66db1
SP
7607 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7608 misapplied last patch.
8e294940 7609
edf66db1 76102001-01-15 Ulrich Drepper <drepper@redhat.com>
8e294940 7611
edf66db1
SP
7612 * stdlib/random.c (__initstate): Clean up a cast.
7613 (__setstate): Likewise.
8e294940 7614
edf66db1
SP
7615 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7616 syscall handling. The generic Linux version should work.
8e294940 7617
edf66db1 76182001-01-15 Andreas Jaeger <aj@suse.de>
8e294940 7619
edf66db1 7620 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
8e294940 7621
edf66db1 7622 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
8e294940 7623
edf66db1 76242001-01-14 Jakub Jelinek <jakub@redhat.com>
8e294940 7625
edf66db1
SP
7626 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7627 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7628 New functions.
7629 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7630 If number is 0, list all.
7631 (services_keys): Likewise. Lookup aliases as well.
7632 (databases): New table.
7633 (build_doc): Prepare argp doc text with list of supported databases.
7634 (main): Change to table driven processing.
8e294940 7635
edf66db1 76362001-01-14 Thorsten Kukuk <kukuk@suse.de>
8e294940 7637
edf66db1
SP
7638 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7639 functions.
8e294940 7640
edf66db1 76412001-01-03 Jakub Jelinek <jakub@redhat.com>
8e294940 7642
edf66db1
SP
7643 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7644 encode value which does not fit in the 32bit type.
8e294940 7645
edf66db1 76462001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
8e294940 7647
edf66db1
SP
7648 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7649 Change type of CTX to (struct sigcontext *).
7650 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7651 (GET_FRAME): Likewise.
7652 (GET_STACK): Likewise.
7653 (SIGCONTEXT): Likewise. Add 2nd arg _code.
7654 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
8e294940 7655
edf66db1 76562001-01-13 Ulrich Drepper <drepper@redhat.com>
8e294940 7657
edf66db1 7658 * manual/texinfo.tex: Update from upstream version.
8e294940 7659
edf66db1 76602001-01-13 Jakub Jelinek <jakub@redhat.com>
8e294940 7661
edf66db1
SP
7662 * inet/ether_ntoh.c (lookup_function): Change arguments to match
7663 _nss_*_getntohost_r prototype.
7664 (ether_ntohost): Pass errno pointer to NSS function.
8e294940 7665
edf66db1 76662001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 7667
edf66db1
SP
7668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7669 (MAP_LOCKED): New definition.
7670 (MAP_NORESERVE): New definition.
8e294940 7671
edf66db1 76722001-01-12 Ulrich Drepper <drepper@redhat.com>
8e294940 7673
edf66db1
SP
7674 * assert/assert.h: Use static_cast instead of C-style cast for C++.
7675 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
8e294940 7676
edf66db1 76772001-01-12 Ben Collins <bcollins@debian.org>
8e294940 7678
edf66db1
SP
7679 * sysdeps/generic/segfault.c (install_handler): Use access, not
7680 __access.
8e294940 7681
edf66db1 76822001-01-12 Andreas Jaeger <aj@suse.de>
8e294940 7683
edf66db1
SP
7684 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7685 * posix/wordexp.c (do_parse_glob): Likewise.
7686 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7687 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7688 * elf/dl-open.c (_dl_open): Likewise.
7689 * elf/dl-close.c (_dl_close): Likewise.
7690 * elf/dl-load.c (_dl_map_object): Likewise.
7691 * iconv/iconv_prog.c (process_fd): Likewise.
7692 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8e294940 7693
edf66db1
SP
7694 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7695 of a zero-length array.
8e294940 7696
edf66db1 76972001-01-11 Jakub Jelinek <jakub@redhat.com>
8e294940 7698
edf66db1
SP
7699 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7700 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7701 * stdlib/cxa_on_exit.c: Remove.
7702 * stdlib/Makefile: Revert last patch.
7703 * stdlib/Versions: Likewise.
7704 * include/stdlib.h: Likewise.
7705 * stdlib/exit.h: Revert last patch.
7706 (struct exit_function): Add second argument to cxa fn.
7707 * stdlib/exit.c: Revert last patch.
7708 (exit): Add hidden second argument.
8e294940 7709
edf66db1 77102001-01-11 H.J. Lu <hjl@gnu.org>
8e294940 7711
edf66db1
SP
7712 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7713 * elf/dl-open.c (_dl_open): Here.
7714 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7715 Make it static.
7716 (_dl_static_init): Initialize the variables every time when possible.
7717 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7718 Undefine it first.
8e294940 7719
edf66db1 77202001-01-11 Ulrich Drepper <drepper@redhat.com>
8e294940 7721
edf66db1
SP
7722 * stdlib/Makefile (routines): Add cxa_on_exit.
7723 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7724 * stdlib/cxa_on_exit.c: New file.
7725 * include/stdlib.h: Add prototype for __cxa_on_exit.
7726 * stdlib/exit.c: Handle ef_cxa2.
7727 * stdlib/exit.h (enum): Add ef_cxa2.
7728 (struct exit_function): Add cxa2.
8e294940 7729
edf66db1 7730 * Versions.def [ld]: Add GLIBC_2.2.1.
8e294940 7731
edf66db1 77322001-01-10 H.J. Lu <hjl@gnu.org>
8e294940 7733
edf66db1
SP
7734 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7735 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7736 dl-static.
7737 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7738 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7739 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7740 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7741 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
8e294940 7742
edf66db1 77432001-01-11 Ulrich Drepper <drepper@redhat.com>
8e294940 7744
edf66db1 7745 * libio/stdio.h: Remove definition of off_t.
8e294940 7746
edf66db1 77472001-01-11 Andreas Jaeger <aj@suse.de>
8e294940 7748
edf66db1
SP
7749 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7750 <mkuhn@acm.org>.
8e294940 7751
edf66db1 77522001-01-10 Ulrich Drepper <drepper@redhat.com>
8e294940 7753
edf66db1 7754 * sunrpc/Makefile (distribute): Add errqueue.h.
8e294940 7755
edf66db1 77562001-01-10 H.J. Lu <hjl@gnu.org>
8e294940 7757
edf66db1
SP
7758 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7759 r9, r10 and r11 for language specific registers.
8e294940 7760
edf66db1 77612001-01-10 Jakub Jelinek <jakub@redhat.com>
8e294940 7762
edf66db1
SP
7763 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7764 UDP socket.
7765 (clntudp_call): Handle MSG_ERRQUEUE.
7766 * sysdeps/generic/errqueue.h: New file.
7767 * sysdeps/unix/sysv/linux/errqueue.h: New file.
8e294940 7768
edf66db1 77692001-01-10 H.J. Lu <hjl@gnu.org>
8e294940 7770
edf66db1 7771 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
8e294940 7772
edf66db1 77732001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
8e294940 7774
edf66db1 7775 * CONFORMANCE: Update.
8e294940 7776
edf66db1 77772001-01-09 Ulrich Drepper <drepper@redhat.com>
8e294940 7778
edf66db1
SP
7779 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7780 Minimal cleanups. Add assert to ensure memory handling is correct.
8e294940 7781
edf66db1
SP
7782 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7783 Reported by Ben Collins <bcollins@debian.org>.
8e294940 7784
edf66db1
SP
7785 * time/strftime.c (my_strftime): Mark previous GNU extensions
7786 which are now in C99 as such.
8e294940 7787
edf66db1 77882001-01-08 Ulrich Drepper <drepper@redhat.com>
8e294940 7789
edf66db1
SP
7790 * elf/rtld.c (process_envvars): Place output files for profiling
7791 in SUID binaries in /var/profile.
8e294940 7792
edf66db1
SP
7793 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7794 preloading in SUID binaries.
8e294940 7795
edf66db1
SP
7796 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7797 O_NOFOLLOW if possible.
8e294940 7798
edf66db1
SP
7799 * include/stdlib.h: Add __posix_openpt declaration.
7800 * stdlib/stdlib.h: Add posix_openpt declaration.
7801 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7802 * sysdeps/generic/getpt.c: Define posix_openpt.
7803 * sysdeps/unix/bsd/getpt.c: Likewise.
7804 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
8e294940 7805
edf66db1
SP
7806 * time/Makefile (tests): Add tst-mktime.
7807 * time/tst-mktime.c: New file.
8e294940 7808
edf66db1 7809 * posix/tst-dir.c (main): One more mkdir() test.
8e294940 7810
edf66db1
SP
7811 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7812 Remove getpagesize syscall. We assume that the pagesize is always
7813 determined from the auxiliary vector.
8e294940 7814
edf66db1
SP
7815 * intl/dcigettext.c: Fix a few warnings.
7816 Patch by Bruno Haible <haible@ilog.fr>.
8e294940 7817
edf66db1 78182001-01-08 Andreas Jaeger <aj@suse.de>
8e294940 7819
edf66db1
SP
7820 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7821 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
8e294940 7822
edf66db1 78232001-01-08 Ulrich Drepper <drepper@redhat.com>
8e294940 7824
edf66db1
SP
7825 * sysdeps/generic/segfault.c (install_handler): Check output file
7826 name with access().
8e294940 7827
edf66db1
SP
7828 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7829 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
8e294940 7830
edf66db1 7831 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
8e294940 7832
edf66db1
SP
7833 * malloc/memusage.c (me): Use access() to determine whether we
7834 should write the output file or not.
8e294940 7835
edf66db1
SP
7836 * libio/bits/stdio.h (printf): Define macro to map printf call to
7837 fprintf which gcc can optimize.
7838 * stdio-common/printf.c: Undefine printf.
8e294940 7839
edf66db1 78402001-01-07 Ulrich Drepper <drepper@redhat.com>
8e294940 7841
edf66db1
SP
7842 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7843 patch. We must use unsigned int for l member of union.
8e294940 7844
edf66db1
SP
7845 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7846 _dl_aux_init for shared libraries.
8e294940 7847
edf66db1
SP
7848 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7849 * sysdeps/gnu/glob64.c: ...here. New file.
8e294940 7850
edf66db1 78512001-01-07 Ben Collins <bcollins@debian.org>
8e294940 7852
edf66db1
SP
7853 * manual/examples/longopt.c: Make the "struct option" a little
7854 more like it should be, adding usage of required_argument,
7855 noargument and such, and also setting the options string right.
8e294940 7856
edf66db1
SP
7857 * manual/sysinfo.texi (Load Average): New section, documents
7858 getloadavg().
8e294940 7859
edf66db1 78602001-01-06 Ulrich Drepper <drepper@redhat.com>
8e294940 7861
edf66db1 7862 * version.h (VERSION): Bump to 2.2.1.
8e294940 7863
edf66db1
SP
7864 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7865 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7866 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7867 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7868 * Makefile (distribute): Add include/libc-internal.h.
7869 * libio/Makefile (distribute): Avoid overwriting.
8e294940 7870
edf66db1
SP
7871 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7872 buffer and table handling.
8e294940 7873
edf66db1 78742001-01-05 H.J. Lu <hjl@gnu.org>
8e294940 7875
edf66db1
SP
7876 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7877 vector checking to ...
7878 (_dl_aux_init): Here. New function. Defined only if
7879 HAVE_AUX_VECTOR is defined.
8e294940 7880
edf66db1
SP
7881 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7882 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
8e294940 7883
edf66db1
SP
7884 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7885 _dl_aux_init.
8e294940 7886
edf66db1
SP
7887 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7888 (HAVE_AUX_VECTOR): Defined.
7889 (_dl_aux_init): Declared.
8e294940 7890
edf66db1 78912001-01-05 Ben Collins <bcollins@debian.org>
8e294940 7892
edf66db1
SP
7893 * manual/string.texi (Finding Tokens in a String): Document XPG
7894 basename() and dirname(), as well as GNU basename().
8e294940 7895
edf66db1 78962001-01-05 Jakub Jelinek <jakub@redhat.com>
8e294940 7897
edf66db1
SP
7898 * Makeconfig (preprocess-version): Replace -traditional with
7899 -x assembler-with-cpp.
8e294940 7900
edf66db1 79012001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
8e294940 7902
edf66db1
SP
7903 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7904 for GCC 2.97 or later.
8e294940 7905
edf66db1 79062001-01-05 Ben Collins <bcollins@debian.org>
8e294940 7907
edf66db1
SP
7908 * manual/stdio.texi (getline): Clarify the return value in the
7909 case of EOF being reached before a newline.
8e294940 7910
edf66db1 79112001-01-04 Jakub Jelinek <jakub@redhat.com>
8e294940 7912
edf66db1
SP
7913 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7914 FALSE otherwise.
7915 (pmap_set, pmap_unset): Check __get_myaddress return value.
8e294940 7916
edf66db1 79172001-01-05 Mark Kettenis <kettenis@gnu.org>
8e294940 7918
edf66db1
SP
7919 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7920 (struct ether_addr): Declare ether_addr_octet member as
7921 `u_int8_t'. Add __attribute__ ((__packed__)).
8e294940 7922
edf66db1 79232001-01-06 Mark Kettenis <kettenis@gnu.org>
8e294940 7924
edf66db1
SP
7925 * sysdeps/mach/hurd/readdir64.c: New file.
7926 * sysdeps/mach/hurd/readdir64_r.c: New file.
8e294940 7927
edf66db1 79282001-01-07 Mark Kettenis <kettenis@gnu.org>
8e294940 7929
edf66db1
SP
7930 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7931 `struct statfs' and `struct statvfs' being identical.
7932 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
8e294940 7933
edf66db1 79342001-01-06 Mark Kettenis <kettenis@gnu.org>
8e294940 7935
edf66db1
SP
7936 * sysdeps/mach/hurd/fstatfs64.c: New file.
7937 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7938 * sysdeps/mach/hurd/statfs64.c: New file.
7939 * sysdeps/mach/hurd/statvfs64.c: New file.
7940 * sysdeps/mach/hurd/statfsconv.c: New file.
7941 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
8e294940 7942
edf66db1 79432001-01-06 Ulrich Drepper <drepper@redhat.com>
8e294940 7944
edf66db1
SP
7945 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7946 Reported by Owen Taylor <otaylor@redhat.com>.
7947 * iconv/Makefile (tests): Add tst-iconv3.
7948 * iconv/tst-iconv3.c: New file.
8e294940 7949
edf66db1
SP
7950 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7951 * iconvdata/ibm933.c: Likewise.
7952 * iconvdata/ibm935.c: Likewise.
7953 * iconvdata/ibm937.c: Likewise.
7954 * iconvdata/ibm939.c: Likewise.
7955 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7956 * iconvdata/ibm933.h: Likewise.
7957 * iconvdata/ibm935.h: Likewise.
7958 * iconvdata/ibm939.h: Likewise.
8e294940 7959
edf66db1
SP
7960 * iconvdata/testdata/IBM930: Add misssing SI.
7961 * iconvdata/testdata/IBM933: Likewise.
7962 * iconvdata/testdata/IBM935: Likewise.
7963 * iconvdata/testdata/IBM937: Likewise.
7964 * iconvdata/testdata/IBM939: Likewise.
8e294940 7965
edf66db1 79662001-01-06 Andreas Jaeger <aj@suse.de>
8e294940 7967
edf66db1
SP
7968 * configure.in: Check for old add-ons that shouldn't be used with
7969 current glibc anymore.
8e294940 7970
edf66db1 79712001-01-06 Mark Kettenis <kettenis@gnu.org>
8e294940 7972
edf66db1
SP
7973 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7974 instead of -1 on failure. Don't forget to copy file name into
7975 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7976 of the directory.
8e294940 7977
edf66db1 79782001-01-06 Mark Kettenis <kettenis@gnu.org>
8e294940 7979
edf66db1
SP
7980 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7981 copy st_atime member.
8e294940 7982
edf66db1 79832001-01-05 Ulrich Drepper <drepper@redhat.com>
8e294940 7984
edf66db1
SP
7985 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7986 for searches from the root directory.
7987 Reported by loris <loris@iol.it> [PR libc/1991].
7988 * io/Makefile (tests): Add bug-ftw1.
7989 * io/bug-ftw1.c: New file.
8e294940 7990
edf66db1
SP
7991 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7992 if it is not available. Instead use it only if it is available.
7993 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
8e294940 7994
edf66db1
SP
7995 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7996 overflowing output buffer.
7997 (internal_ucs4_loop_unaligned): Likewise.
7998 (ucs4_internal_loop): Likewise.
7999 (ucs4_internal_loop_unaligned): Likewise.
8000 (internal_ucs4le_loop): Likewise.
8001 (internal_ucs4le_loop_unaligned): Likewise.
8002 (ucs4le_internal_loop): Likewise.
8003 (ucs4le_internal_loop_unaligned): Likewise.
8004 Reported by Owen Taylor <otaylor@redhat.com>.
8005 * iconv/Makefile (tests): Add tst-iconv2.
8006 * iconv/tst-iconv2.c: New file.
8007
80082001-01-04 H.J. Lu <hjl@gnu.org>
8009
8010 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
8011 (_dl_clktck): Declared.
8012 (non_dynamic_init): Take 3 arguments.
8013 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
8014
80152001-01-01 Bruno Haible <haible@clisp.cons.org>
8016
8017 Finish implementation of plural form handling.
8018 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
8019 'domainname'. Remove 'plindex' field. Add 'domain' and
8020 'translation_length' fields.
8021 (transcmp): Don't compare 'plindex' fields.
8022 (plural_lookup): New function.
8023 (DCIGETTEXT): Change cache handing in the plural case. Don't call
8024 plural_eval before the translation and its catalog file have been
8025 found. Remove plindex from cache key. Add 'translation_length' and
8026 'domain' to cache result.
8027 (_nl_find_msg): Remove index argument, return length of translation
8028 to the caller instead. Weaken comparison of string lengths, to account
8029 for plural entries. Call iconv() on the entire result string, not
8030 only on the portion needed so far.
8031 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
8032 argument.
8033 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
8e294940 8034
edf66db1 80352001-01-04 Ulrich Drepper <drepper@redhat.com>
8e294940 8036
edf66db1 8037 * intl/plural.y (yylex): Minimal improvement in number scanner.
8e294940 8038
edf66db1 80392000-07-31 Bruno Haible <haible@clisp.cons.org>
8e294940 8040
edf66db1
SP
8041 * intl/plural.y: Include config.h. Needed to define 'inline' away for
8042 C compilers that don't support it.
8043 (yylex): Don't use gcc specific case range syntax.
8044 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
8045 compilers.
8e294940 8046
edf66db1 80472000-10-12 Bruno Haible <haible@clisp.cons.org>
8e294940 8048
edf66db1 8049 * intl/finddomain.c: Remove unneeded includes.
8e294940 8050
edf66db1 80512000-10-12 Bruno Haible <haible@clisp.cons.org>
8e294940 8052
edf66db1
SP
8053 * intl/localealias.c (memcpy): Return first argument, just like the
8054 real memcpy function does.
8055 * intl/bindtextdom.c (memcpy): Likewise.
8056 * intl/finddomain.c (memcpy): Likewise.
8057 * intl/l10nflist.c (memcpy): Likewise.
8058 * intl/textdomain.c (memcpy): Likewise.
8059 From Paul Eggert <eggert@twinsun.com>.
8e294940 8060
edf66db1 80612001-01-03 Jakub Jelinek <jakub@redhat.com>
8e294940 8062
edf66db1
SP
8063 * resolv/resolv.h (struct __res_state): Add nsinit field.
8064 * resolv/res_send.c (res_nsend): Use it instead of nscount.
8065 * resolv/res_init.c (__res_vinit): Initialize it.
8066 (res_nclose): Clear it instead of nscount.
8e294940 8067
edf66db1 80682001-01-04 Ulrich Drepper <drepper@redhat.com>
8e294940 8069
edf66db1
SP
8070 * malloc/mtrace.pl: Fix matching of addresses.
8071 Patch by Aharon Robbins <arnold@skeeve.com>.
8e294940 8072
edf66db1 8073 * Versions.def (ld): Add GLIBC_2.2.
8e294940 8074
edf66db1
SP
8075 * catgets/gencat.c: Copyright 2001.
8076 * csu/version.c: Likewise.
8077 * debug/catchsegv.sh: Likewise.
8078 * debug/xtrace.sh: Likewise.
8079 * elf/ldconfig.c: Likewise.
8080 * elf/sprof.c: Likewise.
8081 * iconv/iconv_prog.c: Likewise.
8082 * locale/locale.c: Likewise.
8083 * locale/localedef.c: Likewise.
8084 * malloc/memusage.sh: Likewise.
8085 * malloc/mtrace.pl: Likewise.
8086 * nscd/nscd.c: Likewise.
8087 * posix/getconf.c: Likewise.
8e294940 8088
edf66db1 80892001-01-04 Mark Kettenis <kettenis@gnu.org>
8e294940 8090
edf66db1
SP
8091 * include/stdio.h: Only provide __getwc_unlocked prototype if
8092 USE_IN_LIBIO is defined.
8e294940 8093
edf66db1 80942001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8e294940 8095
edf66db1
SP
8096 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
8097 handling.
8e294940 8098
edf66db1 80992001-01-03 Andreas Schwab <schwab@suse.de>
8e294940 8100
edf66db1
SP
8101 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
8102 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
8e294940 8103
edf66db1
SP
8104 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
8105 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
8106 strtoull alias.
8107 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
8108 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
8109 wcstoull alias.
8e294940 8110
edf66db1
SP
8111 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
8112 directory.
8113 * sysdeps/generic/strtol_l.c: Likewise.
8114 * sysdeps/generic/strtoul_l.c: Likewise.
8115 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
8e294940 8116
edf66db1
SP
8117 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
8118 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
8119 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
8120 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
8e294940 8121
edf66db1 81222001-01-04 Andreas Jaeger <aj@suse.de>
8e294940 8123
edf66db1
SP
8124 * nss/nsswitch.c: Include files for missing prototypes, remove
8125 buggy declaration of prototypes.
8e294940 8126
edf66db1 81272001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 8128
edf66db1
SP
8129 * resolv/Versions: Fix bracing.
8130 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8131 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
8e294940 8132
edf66db1 81332001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 8134
edf66db1 8135 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
8e294940 8136
edf66db1 81372001-01-02 Ulrich Drepper <drepper@redhat.com>
8e294940 8138
edf66db1
SP
8139 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
8140 Suggested by Minko Markov <mmarkov@home.com>.
8e294940 8141
edf66db1 81422001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8e294940 8143
edf66db1
SP
8144 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
8145 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
8146 the failing symbol.
8147 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
8e294940 8148
edf66db1 81492001-01-02 Ben Collins <bcollins@debian.org>
8e294940 8150
edf66db1
SP
8151 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
8152 if TZ is not set and TZDEFAULT is not present.
8e294940 8153
edf66db1 81542001-01-01 Ben Collins <bcollins@debian.org>
8e294940 8155
edf66db1
SP
8156 * string/strings.h: Make sure we declare our functions even if
8157 string.h is already included, based on whether or not __USE_BSD is
8158 defined.
8e294940 8159
edf66db1 81602001-01-02 Ulrich Drepper <drepper@redhat.com>
8e294940 8161
edf66db1
SP
8162 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
8163 other dlopen() and dlsym().
8164 Based on a patch by Ben Collins <bcollins@debian.org>.
8e294940 8165
edf66db1 81662001-01-02 Andreas Jaeger <aj@suse.de>
8e294940 8167
edf66db1
SP
8168 * dlfcn/errmsg1.c (main): Call dlerror initially.
8169 Reported by Ben Collins <bcollins@debian.org>.
8e294940 8170
edf66db1 81712001-01-02 Ulrich Drepper <drepper@redhat.com>
8e294940 8172
edf66db1
SP
8173 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
8174 value is ignored if the selected locale is the C locale.
8175 * intl/tst-gettext.c: Set locale for above change.
8176 * intl/tst-translit.c: Likewise.
8e294940 8177
edf66db1 81782001-01-02 Andreas Jaeger <aj@suse.de>
8e294940 8179
edf66db1
SP
8180 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
8181 (_IO_switch_to_wget_mode): Likewise.
8182 (_IO_sputbackwc): Likewise.
8183 (_IO_sungetwc): Use wint_t for result.
8e294940 8184
edf66db1 8185 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
8e294940 8186
edf66db1
SP
8187 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
8188 signedness.
8e294940 8189
edf66db1
SP
8190 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
8191 to (int) to avoid warnings.
8192 * stdio-common/printf_fp.c (putc): Likewise.
8193 * stdio-common/printf_size.c (putc): Likewise.
8e294940 8194
edf66db1
SP
8195 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
8196 constant unsigned.
8e294940 8197
edf66db1 81982001-01-01 Andreas Jaeger <aj@suse.de>
8e294940 8199
edf66db1 8200 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
8e294940 8201
edf66db1 82022000-12-31 Andreas Jaeger <aj@suse.de>
8e294940 8203
edf66db1 8204 * include/libc-internal.h: Add prototype for __libc_freeres.
8e294940 8205
edf66db1
SP
8206 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
8207 for prototypes, remove redundant prototypes.
8208 * gmon/gmon.c: Likewise.
8209 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
8210 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8211 * malloc/mtrace.c: Likewise.
8e294940 8212
edf66db1
SP
8213 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
8214 prototypes.
8215 * elf/soinit.c: Likewise.
8216 * sysdeps/generic/prof-freq.c: Likewise.
8217 * sysdeps/mach/hurd/profil.c: Likewise.
8218 * debug/noophooks.c: Likewise.
8219 * debug/pcprofile.c: Likewise.
8220 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
8221 * sysdeps/generic/get_clockfreq.c: Likewise.
8222 * malloc/set-freeres.c: Likewise.
8223
8224 * locale/localeinfo.h: Add internal prototypes.
8225
8226 * elf/rtld.c (dl_main): Fix prototype.
8227
8228 * iconvdata/tst-table-to.c (main): Use return instead of exit to
8229 avoid warning.
8230
8231 * nis/rpcsvc/yp_prot.h: Remove __P.
8232 * nis/rpcsvc/ypupd.h: Likewise.
8233 * nis/rpcsvc/yp.h: Likewise.
8234
8235 * sunrpc/rpc_main.c: Add noreturn attributes.
8236 * sunrpc/rpc_scan.h: Likewise.
8e294940 8237
edf66db1 8238 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8e294940 8239
edf66db1 8240 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8e294940 8241
edf66db1 8242 * sunrpc/proto.h: Add noreturn attributes to error and crash.
8e294940 8243
edf66db1 8244 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
8e294940 8245
edf66db1 8246 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8e294940 8247
edf66db1 8248 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8e294940 8249
edf66db1
SP
8250 * include/rpc/rpc_msg.h: Add prototypes for some functions.
8251 * include/rpc/auth.h: Likewise.
8252 * include/rpc/auth_des.h: Likewise.
8253 * include/rpc/clnt.h: Likewise.
8254 * include/rpc/rpc.h: Likewise.
8255 * include/rpc/svc.h: Likewise.
8256 * include/rpc/svc_auth.h: Likewise.
8e294940 8257
edf66db1 8258 * include/rpc/des_crypt.h: New file.
8e294940 8259
edf66db1
SP
8260 * malloc/memusagestat.c (main): Use return instead of exit to
8261 avoid warning.
8262 * io/pwd.c (main): Likewise.
8263 * iconvdata/tst-table-from.c (main): Likewise.
8264 * ctype/test_ctype.c (main): Likewise.
8265 * setjmp/tst-setjmp.c (main): Likewise.
8266 * signal/tst-signal.c (main): Likewise.
8267 * stdlib/tst-strtol.c (main): Likewise.
8268 * stdlib/tst-strtod.c (main): Likewise.
8269 * stdlib/tst-strtoll.c (main): Likewise.
8270 * stdlib/tst-xpg-basename.c (main): Likewise.
8271 * dirent/tst-seekdir.c (main): Likewise.
8272 * grp/testgrp.c (main): Likewise.
8273 * inet/test_ifindex.c (main): Likewise.
8274 * io/test-utime.c (main): Likewise.
8275 * posix/test-vfork.c (main): Likewise.
8276 * posix/testfnm.c (main): Likewise.
8277 * stdio-common/temptest.c (main): Likewise.
8278 * stdio-common/test_rdwr.c (main): Likewise.
8279 * stdio-common/tst-fileno.c (main): Likewise.
8280 * stdio-common/tst-sscanf.c (main): Likewise.
8281 * stdio-common/tstscanf.c (main): Likewise.
8282 * string/bug-strncat1.c (main): Likewise.
8283 * string/bug-strpbrk1.c (main): Likewise.
8284 * string/bug-strspn1.c (main): Likewise.
8285 * string/test-ffs.c (main): Likewise.
8286 * string/tst-inlcall.c (main): Likewise.
8287 * string/tst-svc.c (main): Likewise.
8288 * timezone/test-tz.c (main): Likewise.
8289 * wctype/test_wcfuncs.c (main): Likewise.
8290 * wctype/test_wctype.c (main): Likewise.
8e294940 8291
edf66db1 8292 * stdlib/tst-random.c: Add attribute noreturn to fail.
8e294940 8293
edf66db1 82942000-12-28 Wolfram Gloger <wg@malloc.de>
8e294940 8295
edf66db1
SP
8296 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8297 destination overlap. Assume dest is always below source if
8298 overlapping.
8e294940 8299
edf66db1 83002000-12-30 Ulrich Drepper <drepper@redhat.com>
8e294940 8301
edf66db1
SP
8302 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8303 object was not yet initialized.
8e294940 8304
edf66db1 83052000-12-28 H.J. Lu <hjl@gnu.org>
8e294940 8306
edf66db1
SP
8307 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8308 is always consistent even if its dependency is failed.
8e294940 8309
edf66db1
SP
8310 * elf/dl-open.c (_dl_open): Increment the open count before
8311 calling _dl_close () in case of failure.
8e294940 8312
edf66db1
SP
8313 * elf/neededtest4.c: New file.
8314 * elf/neededobj5.c: New file.
8315 * elf/neededobj6.c: New file.
8e294940 8316
edf66db1
SP
8317 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8318 (tests): Add neededtest4.
8319 (modules-names): Add neededobj5 and neededobj6.
8320 ($(objpfx)neededobj6.so): New target.
8321 ($(objpfx)neededtest4): New target.
8322 ($(objpfx)neededtest4.out): New target.
8e294940 8323
edf66db1 83242000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
8e294940 8325
edf66db1
SP
8326 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8327 * stdlib/monetary.h: Add strfmon format attributes.
8e294940 8328
edf66db1 83292000-12-28 Roland McGrath <roland@frob.com>
8e294940 8330
edf66db1
SP
8331 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8332 __mempcpy does it for us.
8e294940 8333
edf66db1 83342000-12-28 Andreas Jaeger <aj@suse.de>
8e294940 8335
edf66db1 8336 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8e294940 8337
edf66db1
SP
8338 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8339 __new_setrlimit.
8e294940 8340
edf66db1
SP
8341 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8342 __old_getrlimit64.
8e294940 8343
edf66db1
SP
8344 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8345 __new_getrlimit.
8346
8347 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8348 __chown_is_lchown and __real_chown.
8349
8350 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8351 _dl_reloc_bad_type.
8352
8353 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8354 up GCC's warning about "deprecated use of label at end of compound
8355 statement."
8356 * sunrpc/rpc_cout.c (emit_inline): Likewise.
8e294940 8357
edf66db1
SP
8358 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8359 prototypes.
8360 Remove struct bb and __bb_head since those are declared by
8361 sys/gmon.h.
8e294940 8362
edf66db1 83632000-12-22 Ben Collins <bcollins@debian.org>
8e294940 8364
edf66db1 8365 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8e294940 8366
edf66db1 8367 * manual/argp.texi: Document argp_domain as part of struct argp.
8e294940 8368
edf66db1 83692000-12-28 Andreas Jaeger <aj@suse.de>
8e294940 8370
edf66db1 8371 * catgets/Makefile (generated): Add sample.SJIS.cat.
8e294940 8372
edf66db1 8373 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8e294940 8374
edf66db1 8375 * elf/dl-minimal.c: Add prototypes.
8e294940 8376
edf66db1
SP
8377 * include/locale.h: Add internal prototypes.
8378 * include/sys/gmon.h: Likewise.
8e294940 8379
edf66db1 8380 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8e294940 8381
edf66db1 83822000-12-27 Ben Collins <bcollins@debian.org>
8e294940 8383
edf66db1
SP
8384 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8385 when reallocating the error strings.
8386 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8e294940 8387
edf66db1 83882000-12-27 Ulrich Drepper <drepper@redhat.com>
8e294940 8389
edf66db1
SP
8390 * dlfcn/Makefile (tests): Add errmsg1.
8391 (modules-names): Add errmsg1mod.
8392 Add rules to run errmsg1.
8393 * dlfcn/errmsg1.c: New file.
8394 * dlfcn/errmsg1mod.c: New file.
8e294940 8395
edf66db1
SP
8396 * dlfcn/dlerror.c (dlerror): Always create output string which
8397 includes object file name.
8e294940 8398
edf66db1
SP
8399 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8400 if we would go through it only once.
8401 Patch by Rick Gorton <rick.gorton@api-networks.com>.
8e294940 8402
edf66db1
SP
8403 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8404 Patch by Richard Henderson <rth@redhat.com>.
8e294940 8405
edf66db1 84062000-12-27 Jakub Jelinek <jakub@redhat.com>
8e294940 8407
edf66db1
SP
8408 * malloc/malloc.c (memmove): Add prototypes.
8409 (MALLOC_MEMMOVE): Define.
8410 (chunk_realloc): Use it instead of MALLOC_COPY if source and
8411 destination might overlap.
8e294940 8412
edf66db1 84132000-12-27 Andreas Jaeger <aj@suse.de>
8e294940 8414
edf66db1
SP
8415 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8416 function.
8417 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8418 * locale/programs/locale.c (show_locale_vars): Likewise.
8419 (show_info): Likewise.
8420 * locale/programs/ld-collate.c (collate_output): Likewise.
8421 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8422 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8423 * stdlib/rpmatch.c (rpmatch): Likewise.
8e294940 8424
edf66db1
SP
8425 * setjmp/tst-setjmp.c: Make local functions static.
8426 * setjmp/jmpbug.c: Likewise.
8427 * signal/tst-signal.c: Likewise.
8428 * stdio-common/tfformat.c: Likewise.
8429 * string/tst-svc.c: Likewise.
8430 * time/clocktest.c: Likewise.
8431 * time/tst-getdate.c: Likewise.
8432 * dirent/list.c: Likewise.
8433 * dirent/opendir-tst1.c: Likewise.
8434 * posix/runtests.c: Likewise.
8435 * posix/tst-getaddrinfo.c: Likewise.
8436 * posix/tst-chmod.c: Likewise.
8437 * posix/wordexp-test.c: Likewise.
8438 * misc/tst-efgcvt.c: Likewise.
8439 * timezone/tst-timezone.c: Likewise.
8440 * rt/tst-clock.c: Likewise.
8441 * rt/tst-shm.c: Likewise.
8442 * rt/tst-aio2.c: Likewise.
8443 * rt/tst-aio3.c: Likewise.
8444 * rt/tst-aio4.c: Likewise.
8445 * rt/tst-aio5.c: Likewise.
8e294940 8446
edf66db1 8447 * dlfcn/failtest.c: Add prototype for foo.
8e294940 8448
edf66db1 8449 * dlfcn/glrefmain.c: Add prototype for do_test.
8e294940 8450
edf66db1 8451 * dlfcn/tst-dladdr.c: Add prototype for do_test.
8e294940 8452
edf66db1 8453 * string/test-ffs.c (main): Add prototype for nested function.
8e294940 8454
edf66db1 8455 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8e294940 8456
edf66db1 8457 * nss/XXX-lookup.c: Add prototype to shut up GCC.
8e294940 8458
edf66db1
SP
8459 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8460 setetherent prototype.
8461 Add internal interfaces.
8e294940 8462
edf66db1
SP
8463 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8464 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8e294940 8465
edf66db1 8466 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8e294940 8467
edf66db1 8468 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8e294940 8469
edf66db1
SP
8470 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8471 prototypes, remove struct etherent since it's declared in ether.h.
8472 Fix ntohost declaration.
8e294940 8473
edf66db1 8474 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8e294940 8475
edf66db1
SP
8476 * include/getopt.h: Add internal interfaces.
8477 * include/termios.h: Likewise.
8478 * include/resolv.h: Likewise.
8479 * include/netdb.h: Likewise.
8480 * include/grp.h: Likewise.
8481 * include/pwd.h: Likewise.
8482 * include/shadow.h: Likewise.
8483 * include/rpc/netdb.h: Likewise.
8484 * include/setjmp.h: Likewise.
8e294940 8485
edf66db1
SP
8486 * include/stdio.h: Add prototypes for compatibility functions.
8487 * include/grp.h: Likewise.
8488 * include/pwd.h: Likewise.
8489 * include/shadow.h: Likewise.
8e294940 8490
edf66db1 8491 * include/fenv.h: Define internal interfaces.
8e294940 8492
edf66db1 84932000-12-27 Ulrich Drepper <drepper@redhat.com>
8e294940 8494
edf66db1
SP
8495 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8496 argument case separately.
8497 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8e294940 8498
edf66db1 84992000-12-27 Andreas Jaeger <aj@suse.de>
8e294940 8500
edf66db1
SP
8501 * include/sys/wait.h: Add some prototypes.
8502 * Rules (dummy.c): Create also prototype to shut up GCC.
8e294940 8503
edf66db1 85042000-12-27 Andreas Jaeger <aj@suse.de>
8e294940 8505
edf66db1
SP
8506 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8507 it's not needed at the moment.
8508 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8509 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8e294940 8510
edf66db1 85112000-12-26 Andreas Jaeger <aj@suse.de>
8e294940 8512
edf66db1
SP
8513 * libio/getc_u.c: Include stdio.h via system path to get internal
8514 prototypes.
8515 * libio/getwc_u.c: Likewise.
8e294940 8516
edf66db1 8517 * stdlib/strfmon.c: Fix prototype of __printf_fp.
8e294940 8518
edf66db1
SP
8519 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8520 __printf_fp prototypes to ...
8521 * include/printf.h: ...here.
8e294940 8522
edf66db1
SP
8523 * include/stdio.h: Add some internal prototypes to shut up GCC.
8524 * include/stdlib.h: Likewise.
8e294940 8525
edf66db1
SP
8526 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8527 declaration.
8e294940 8528
edf66db1
SP
8529 * include/signal.h: Add prototypes for internal sigpause
8530 interfaces.
8e294940 8531
edf66db1 85322000-12-26 Ulrich Drepper <drepper@redhat.com>
8e294940 8533
edf66db1
SP
8534 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8535 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
8e294940 8536
edf66db1
SP
8537 * string/Makefile (tests): Add tst-bswap.
8538 * string/tst-bswap.c: New file.
8e294940 8539
edf66db1 85402000-12-11 Bruno Haible <haible@clisp.cons.org>
8e294940 8541
edf66db1 8542 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8e294940 8543
edf66db1 85442000-12-26 Ulrich Drepper <drepper@redhat.com>
8e294940 8545
edf66db1
SP
8546 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8547 Patch by Ed Connell <Ed.Connell@sas.com>.
8e294940 8548
edf66db1 85492000-12-24 Ulrich Drepper <drepper@redhat.com>
8e294940 8550
edf66db1 8551 * locale/iso-639.def: Correct one entry. Add two missing entries.
8e294940 8552
edf66db1
SP
8553 * locale/iso-4217.def: Change entry for Eritrea.
8554 Reported by Daniel Yacob <yacob@geez.org>.
8e294940 8555
edf66db1 85562000-12-23 Ben Collins <bcollins@debian.org>
8e294940 8557
edf66db1
SP
8558 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8559 description.
8e294940 8560
edf66db1
SP
8561 * manual/stdio.texi (Dynamic Output): Document the return value of
8562 asprintf. Also make the asprintf/snprintf examples a little
8563 better (check for some error returns).
8e294940 8564
edf66db1 85652000-12-22 Andreas Jaeger <aj@suse.de>
8e294940 8566
edf66db1 8567 * include/stdio.h: Add __ftrylockfile prototype.
8e294940 8568
edf66db1 85692000-12-21 H.J. Lu <hjl@gnu.org>
8e294940 8570
edf66db1
SP
8571 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8572 Make sign_exponent element signed.
8e294940 8573
edf66db1
SP
8574 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8575 Fix a typo.
8e294940 8576
edf66db1 8577 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8e294940 8578
edf66db1 85792000-12-21 Andreas Jaeger <aj@suse.de>
8e294940 8580
edf66db1
SP
8581 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8582 * inet/ether_hton.c: Likewise
8583 * inet/ether_ntoh.c: Likewise.
8e294940 8584
edf66db1
SP
8585 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8586 declaration to match prototype.
8e294940 8587
edf66db1
SP
8588 * include/netinet/ether.h (struct etherent): Declare here so that
8589 all implementations use the same struct.
8e294940 8590
edf66db1
SP
8591 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8592 prototypes.
8593 (struct ether): Removed.
8594 Use struct etherent instead of ether everywhere.
8e294940 8595
edf66db1 8596 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8e294940 8597
edf66db1 8598 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8e294940 8599
edf66db1 8600 * sunrpc/publickey.c: Include auth_des.h for prototypes.
8e294940 8601
edf66db1 86022000-12-20 Ulrich Drepper <drepper@redhat.com>
8e294940 8603
edf66db1 8604 * math/test-misc.c: Add more tests for nextafter functions.
8e294940 8605
edf66db1
SP
8606 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8607 normal correctly. Correct test for sign.
8608 Based on a patch by HJ Lu.
8e294940 8609
edf66db1 86102000-12-19 Ulrich Drepper <drepper@redhat.com>
8e294940 8611
edf66db1
SP
8612 * Makeconfig (preprocess-version): Add -traditional to gcc call.
8613 Cleanup sed calls.
8e294940 8614
edf66db1 86152000-12-19 Andreas Jaeger <aj@suse.de>
8e294940 8616
edf66db1 8617 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8e294940 8618
edf66db1 8619 * nis/nis_intern.h: Add prototype for __do_niscall3.
8e294940 8620
edf66db1
SP
8621 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8622 match prototype.
8e294940 8623
edf66db1 8624 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8e294940 8625
edf66db1 8626 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8e294940 8627
edf66db1 8628 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8e294940 8629
edf66db1 86302000-12-18 Ulrich Drepper <drepper@redhat.com>
8e294940 8631
edf66db1
SP
8632 * math/test-misc.c: Add more tests for nextafter.
8633 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8634 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8635 (ieee_long_double_shape_type): Make sign_exponent element signed.
8e294940 8636
edf66db1
SP
8637 * manual/message.texi: Add Estonian to plural overview list.
8638 Correct rule for Slavic languages.
8639 Patch by Stanislav Brabec <utx@penguin.cz>.
8e294940 8640
edf66db1 8641 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8e294940 8642
edf66db1 86432000-12-18 Andreas Jaeger <aj@suse.de>
8e294940 8644
edf66db1
SP
8645 * test-skeleton.c: Use temp_name_list instead of name_list to
8646 avoid collision with name_list from inet/netgroup.h.
8e294940 8647
edf66db1 8648 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8e294940 8649
edf66db1
SP
8650 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8651 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8652 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8653 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8e294940 8654
edf66db1
SP
8655 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8656 declaration to match prototype.
8657 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8658 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8659 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8660 Likewise.
8661 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8662 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8663 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8664 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8665 (_nss_nis_getservbyport_r): Likewise.
8666 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8667 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8668 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8669 (_nss_nis_setnetent): Likewise
8670 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8671 (_nss_nis_endnetgrent): Likewise.
8672 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8673 Likewise.
8674 (_nss_nisplus_setnetgrent): Likewise.
8675 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8676 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8677 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8678 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8679 Likewise.
8680 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8681 Likewise.
8682 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8683 Likewise.
8684 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8685 Likewise.
8686 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8687 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8688 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8689 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8690 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8691 (_nss_dns_getnetbyaddr_r): Likewise.
8e294940 8692
edf66db1 86932000-12-17 Andreas Jaeger <aj@suse.de>
8e294940 8694
edf66db1
SP
8695 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8696 parameter.
8e294940 8697
edf66db1
SP
8698 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8699 unused attribute to shut up gcc warnings.
8700
8701 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8702 * sysdeps/generic/k_tanl.c: Likewise.
8703 * sysdeps/generic/k_cosl.c: Likewise.
8704 * sysdeps/generic/e_j0l.c: Likewise.
8705 * sysdeps/generic/e_j1l.c: Likewise.
8706 * sysdeps/generic/e_jnl.c: Likewise.
8707 * sysdeps/generic/e_lgammal_r.c: Likewise.
8708
8709 * elf/vismain.c: Move prototypes for functions in vismod*.c to
8710 vismod.h.
8711 * elf/vismod.h: New file.
8712 * elf/Makefile (distribute): Add vismod.h.
8713 * elf/vismod1.c: Include vismod.h.
8714 * elf/vismod2.c: Likewise.
8715 * elf/vismod3.c: Likewise.
8716
8717 * elf/constload3.c: Add prototype declarations to shut up gcc.
8718 * elf/failobj.c: Likewise.
8719 * elf/nodelmod3.c: Likewise.
8720 * elf/filtmod1.c: Likewise.
8721 * elf/filtmod2.c: Likewise.
8722 * elf/reldepmod1.c: Likewise.
8723 * elf/reldepmod2.c: Likewise.
8724 * elf/reldepmod3.c: Likewise.
8725 * elf/reldepmod4.c: Likewise.
8726 * elf/unload2dep.c: Likewise.
8727 * elf/unload2mod.c: Likewise.
8728 * elf/ltglobmod1.c: Likewise.
8729 * elf/pathoptobj.c: Likewise.
8730 * elf/neededobj1.c: Likewise.
8731 * elf/neededobj2.c: Likewise.
8732 * elf/neededobj3.c: Likewise.
8733 * elf/neededobj4.c: Likewise.
8734 * elf/nextmod1.c: Likewise.
8735 * elf/nextmod2.c: Likewise.
8e294940 8736
edf66db1
SP
8737 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8738 at end of compound statement.
8739 * locale/programs/locale.c (show_info): Likewise.
8740 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8e294940 8741
edf66db1 87422000-12-16 Jakub Jelinek <jakub@redhat.com>
8e294940 8743
edf66db1
SP
8744 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8745 with a pointer not returned by obstack_ functions.
8e294940 8746
edf66db1 87472000-12-16 Ulrich Drepper <drepper@redhat.com>
8e294940 8748
edf66db1
SP
8749 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8750 version.
8751 (struct stat64): Likewise.
8752 Reported by Michael Keezer <mkeezer@redhat.com>.
8e294940 8753
edf66db1
SP
8754 * timezone/asia: Update from tzdata2000h.
8755 * timezone/australasia: Likewise.
8756 * timezone/backward: Likewise.
8757 * timezone/europe: Likewise.
8758 * timezone/northamerica: Likewise.
8759 * timezone/southamerica: Likewise.
8760 * timezone/zone.tab: Likewise.
8e294940 8761
edf66db1 87622000-12-14 Jakub Jelinek <jakub@redhat.com>
8e294940 8763
edf66db1
SP
8764 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8765 and dir.stream is NULL, only free dir.content.
8766 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8767 * io/ftwtest-sh: Test with --early-exit.
8e294940 8768
edf66db1 87692000-12-13 Jakub Jelinek <jakub@redhat.com>
8e294940 8770
edf66db1
SP
8771 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8772 (FCVT_BUFPTR): New variable.
8773 (fcvt): If fcvt_r returns -1 on the static short buffer,
8774 try to malloc a sufficiently large one and retry.
8775 (free_mem): New function.
8776 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8777 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8e294940 8778
edf66db1 87792000-12-15 Ulrich Drepper <drepper@redhat.com>
8e294940 8780
edf66db1 8781 * misc/dirname.c (dirname): Fix search for second to last slash.
8e294940 8782
edf66db1 87832000-12-13 Andreas Jaeger <aj@suse.de>
8e294940 8784
edf66db1
SP
8785 * misc/tst-dirname.c (main): Fix typo in test to really use
8786 the examples from Unix98.
8787 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8e294940 8788
edf66db1 87892000-12-09 H.J. Lu <hjl@gnu.org>
8e294940 8790
edf66db1
SP
8791 * sysdeps/ia64/fpu/s_fabs.S: New file.
8792 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8793 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8e294940 8794
edf66db1 87952000-12-15 Andreas Jaeger <aj@suse.de>
8e294940 8796
edf66db1
SP
8797 * stdio-common/scanf9.c (main): Reformat and change to avoid
8798 warnings.
8e294940 8799
edf66db1
SP
8800 * stdio-common/tstdiomisc.c: Make local functions static.
8801 * stdio-common/tst-printf.c: Likewise.
8e294940 8802
edf66db1
SP
8803 * elf/constload2.c: Add prototype declarations to shut up gcc.
8804 * elf/dep1.c: Likewise.
8805 * elf/dep2.c: Likewise.
8806 * elf/dep3.c: Likewise.
8807 * elf/dep4.c: Likewise.
8808 * elf/ltglobmod2.c: Likewise.
8e294940 8809
edf66db1 8810 * libio/fmemopen.c: Make local functions static.
8e294940 8811
edf66db1 8812 * elf/Makefile (distribute): Added testobj.h.
8e294940 8813
edf66db1 8814 * elf/testobj.h: New file.
8e294940 8815
edf66db1
SP
8816 * elf/testobj1.c: Include testobj.h and move prototype
8817 declarations to testobj.h.
8818 * elf/testobj2.c: Likewise.
8819 * elf/testobj3.c: Likewise.
8820 * elf/testobj4.c: Likewise.
8821 * elf/testobj5.c: Likewise.
8822 * elf/testobj6.c: Likewise.
8823 * elf/testobj1_1.c: Likewise.
8824 * elf/preloadtest.c: Likewise.
8e294940 8825
edf66db1 88262000-12-15 Ben Collins <bcollins@debian.org>
8e294940 8827
edf66db1
SP
8828 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8829 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8e294940 8830
edf66db1 88312000-12-14 H.J. Lu <hjl@gnu.org>
8e294940 8832
edf66db1
SP
8833 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8834 field in a float is 8 bits, not 11 bits.
8e294940 8835
edf66db1 88362000-12-13 Jakub Jelinek <jakub@redhat.com>
8e294940 8837
edf66db1 8838 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8e294940 8839
edf66db1 88402000-12-13 Andreas Jaeger <aj@suse.de>
8e294940 8841
edf66db1 8842 * manual/message.texi (Using gettextized software): Fix typo.
8e294940 8843
edf66db1
SP
8844 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8845 program to compile.
8846 Patch by Martin Buchholz <martin@xemacs.org>.
8e294940 8847
edf66db1
SP
8848 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8849 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8e294940 8850
edf66db1 88512000-12-11 Andreas Jaeger <aj@suse.de>
8e294940 8852
edf66db1
SP
8853 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8854 kernel_sigset_t and use it.
8855 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8e294940 8856
edf66db1 88572000-12-10 Richard Henderson <rth@redhat.com>
8e294940 8858
edf66db1
SP
8859 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8860 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8861 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8e294940 8862
edf66db1 88632000-12-10 Jakub Jelinek <jakub@redhat.com>
8e294940 8864
edf66db1 8865 * sysdeps/alpha/htonl.S: Fix a typo.
8e294940 8866
edf66db1 88672000-12-10 Jakub Jelinek <jakub@redhat.com>
8e294940 8868
edf66db1 8869 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8e294940 8870
edf66db1 88712000-12-10 Andreas Jaeger <aj@suse.de>
8e294940 8872
edf66db1
SP
8873 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8874 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8875 Drepper <drepper@redhat.com>.
8e294940 8876
edf66db1 88772000-12-09 Andreas Jaeger <aj@suse.de>
8e294940 8878
edf66db1 8879 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8e294940 8880
edf66db1
SP
8881 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8882 generic version.
8883 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8e294940 8884
edf66db1
SP
8885 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8886 string.
8e294940 8887
edf66db1
SP
8888 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8889 format string.
8e294940 8890
edf66db1
SP
8891 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8892 * nscd/connections.c (handle_request): Likewise.
8893 * nscd/pwdcache.c (addpwbyname): Likewise.
8894 * nscd/grpcache.c (addgrbyname): Likewise.
8895
8896 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8897
88982000-12-09 Ulrich Drepper <drepper@redhat.com>
8899
8900 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8901
8902 * Makeconfig (default_cflags): Make -O2 the default for stable
8903 releases.
8904
89052000-12-08 H.J. Lu <hjl@gnu.org>
8906
8907 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8908 * sysdeps/ia64/fpu/s_isinf.S: This.
8909 Add a .pred.rel.mutex note to avoid false report.
8910
8911 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8912 * sysdeps/ia64/fpu/s_isnan.S: This.
8e294940 8913
edf66db1
SP
8914 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8915 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8916 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8917 * sysdeps/ia64/fpu/s_isinff.S: New file.
8918 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8919 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8920 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8921 * sysdeps/ia64/fpu/s_finite.S: New file.
8922 * sysdeps/ia64/fpu/s_finitef.S: New file.
8923 * sysdeps/ia64/fpu/s_finitel.S: New file.
8924 * sysdeps/ia64/fpu/s_signbit.S: New file.
8925 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8926 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8927 * sysdeps/ia64/fpu/s_copysign.S: New file.
8928 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8929 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8e294940 8930
edf66db1 89312000-12-08 Ulrich Drepper <drepper@redhat.com>
8e294940 8932
edf66db1 8933 * math/libm-test.inc (main): Fix typos in messages.
8e294940 8934
edf66db1 8935 * string/stratcliff.c: Add test for rawmemchr.
8e294940 8936
edf66db1 89372000-12-08 Jakub Jelinek <jakub@redhat.com>
8e294940 8938
edf66db1
SP
8939 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8940 allocate it together with errstring using alloca.
8941 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8942 to "", because it might point to local stack.
8e294940 8943
edf66db1 89442000-12-05 H.J. Lu <hjl@gnu.org>
8e294940 8945
edf66db1
SP
8946 * nss/Makefile (routines): Add getnssent and getnssent_r.
8947 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8948 (__nss_endent): Likewise.
8949 (__nss_getent_r): Likewise.
8950 (__nss_getent): Likewise.
8951 * nss/getnssent_r.c: New file.
8952 * nss/getnssent.c: New file.
8953 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8954 (GETFUNC_NAME): Updated to call __nss_getent ().
8955 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8956 (STAYOPEN_TMPVAR): Updated.
8957 (STAYOPEN_VAR): Updated.
8958 (SETFUNC_NAME): Updated to call __nss_setent ().
8959 (ENDFUNC_NAME): Updated to call __nss_endent ().
8960 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8e294940 8961
edf66db1 89622000-12-08 Andreas Jaeger <aj@suse.de>
8e294940 8963
edf66db1 8964 * nscd/dbg_log.h (dbg_log): Correct attribute.
8e294940 8965
edf66db1 89662000-12-08 Jakub Jelinek <jakub@redhat.com>
8e294940 8967
edf66db1
SP
8968 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8969 cp + len. Compute where from dirname.
8970 Reported by <jreiser@BitWagon.com>.
8e294940 8971
edf66db1 89722000-12-08 Richard Henderson <rth@twiddle.net>
8e294940 8973
edf66db1
SP
8974 * sysdeps/alpha/_mcount.S: Fix typo.
8975 * sysdeps/alpha/strncpy.S: Likewise.
8e294940 8976
edf66db1
SP
8977 * sysdeps/alpha/alphaev6/Implies: New file.
8978 * sysdeps/alpha/alphaev67/Implies: New file.
8979 * sysdeps/alpha/alphaev67/ffs.S: New file.
8980 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8981 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8982 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8983 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8984 * sysdeps/alpha/rawmemchr.S: New file.
8985 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8986 * sysdeps/alpha/strcpy.S: Likewise.
8e294940 8987
edf66db1
SP
8988 From GMP 3.1.1:
8989 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8e294940 8990
edf66db1
SP
8991 From rick.gorton@alpha-processor.com:
8992 * sysdeps/alpha/alphaev6/memchr.S: New file.
8993 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8994 * sysdeps/alpha/alphaev6/memset.S: New file.
8995 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8996 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8997 * sysdeps/alpha/alphaev67/strcat.S: New file.
8998 * sysdeps/alpha/alphaev67/strchr.S: New file.
8999 * sysdeps/alpha/alphaev67/strlen.S: New file.
9000 * sysdeps/alpha/alphaev67/strncat.S: New file.
9001 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8e294940 9002
edf66db1 90032000-12-08 Jakub Jelinek <jakub@redhat.com>
8e294940 9004
edf66db1
SP
9005 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
9006 Reported by <pspencer@fields.utoronto.ca>.
8e294940 9007
edf66db1 90082000-12-07 Jes Sorensen <jes@linuxcare.com>
8e294940 9009
edf66db1
SP
9010 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
9011 Pointed out by Hans Boehm.
8e294940 9012
edf66db1
SP
90132000-12-07 H.J. Lu <hjl@gnu.org>
9014
9015 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8e294940 9016
edf66db1 90172000-12-07 Andreas Jaeger <aj@suse.de>
8e294940 9018
edf66db1 9019 * misc/error.c: Add format attributes for __error and __error_at_line.
8e294940 9020
edf66db1 9021 * nscd/dbg_log.h: Add format attribute.
8e294940 9022
edf66db1 90232000-12-08 Ulrich Drepper <drepper@redhat.com>
8e294940 9024
edf66db1
SP
9025 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
9026 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8e294940 9027
edf66db1 90282000-12-07 Dan Pop <Dan.Pop@cern.ch>
8e294940 9029
edf66db1 9030 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8e294940 9031
edf66db1 90322000-12-06 Ulrich Drepper <drepper@redhat.com>
8e294940 9033
edf66db1
SP
9034 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9035 (sysdep_routines): Add uitrunc.
9036 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
9037 Patches by Michael Keezer <mkeezer@redhat.com>.
8e294940 9038
edf66db1 90392000-12-06 Roland McGrath <roland@frob.com>
8e294940 9040
edf66db1
SP
9041 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
9042 argument data, since it will be used to copy out too (for INOUT).
9043 Reported by Marcus Brinkmann <marcus@gnu.org>.
8e294940 9044
edf66db1
SP
9045 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
9046 (__ioctl): Use uintptr_t instead of unsigned long int.
8e294940 9047
edf66db1 90482000-12-06 Jim Wilson <wilson@redhat.com>
8e294940 9049
edf66db1 9050 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8e294940 9051
edf66db1 90522000-12-06 Ulrich Drepper <drepper@redhat.com>
8e294940 9053
edf66db1
SP
9054 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
9055 x.5 rounding correctly.
8e294940 9056
edf66db1 90572000-12-06 Mark Kettenis <kettenis@gnu.org>
8e294940 9058
edf66db1
SP
9059 * stdio-common/perror.c (perror): Conditionalize code dealing with
9060 wide-oriented streams on USE_IN_LIBIO.
8e294940 9061
edf66db1 90622000-12-06 Mark Kettenis <kettenis@gnu.org>
8e294940 9063
edf66db1
SP
9064 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
9065 as internal_function.
8e294940 9066
edf66db1 90672000-12-05 Ulrich Drepper <drepper@redhat.com>
8e294940 9068
edf66db1 9069 * sysdeps/alpha/elf/start.S (__data_start): Define.
8e294940 9070
edf66db1 90712000-12-05 H.J. Lu <hjl@gnu.org>
8e294940 9072
edf66db1 9073 * nss/getXXent_r.c (setup): Change the return type to int.
8e294940 9074
edf66db1 90752000-12-05 Ulrich Drepper <drepper@redhat.com>
8e294940 9076
edf66db1
SP
9077 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9078 (sysdep_routines): Add restf and savef.
9079 * sysdeps/unix/sysv/aix/restf.c: New file.
9080 * sysdeps/unix/sysv/aix/savef.c: New file.
9081 Patches by Michael Keezer <mkeezer@redhat.com>.
8e294940 9082
edf66db1
SP
9083 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
9084 if O_DIRECTORY is not defined.
9085 Patch by Michael Keezer <mkeezer@redhat.com>.
8e294940 9086
edf66db1
SP
9087 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
9088 Patch by Michael Keezer <mkeezer@redhat.com>.
8e294940 9089
edf66db1
SP
9090 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
9091 than 4 bytes in escape sequence.
9092 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8e294940 9093
edf66db1 90942000-12-05 Andreas Jaeger <aj@suse.de>
8e294940 9095
edf66db1
SP
9096 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
9097 set mips2.
8e294940 9098
edf66db1 9099 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8e294940 9100
edf66db1 9101 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8e294940 9102
edf66db1
SP
9103 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
9104 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8e294940 9105
edf66db1
SP
9106 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
9107 internal_function.
9108 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
9109 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8e294940 9110
edf66db1
SP
9111 * sysdeps/generic/dl-cache.c: Remove declaration of
9112 _dl_sysdep_read_whole_file.
8e294940 9113
edf66db1
SP
9114 * elf/dl-load.c (_dl_map_object): Remove declaration of
9115 _dl_load_cache_lookup.
8e294940 9116
edf66db1
SP
9117 * sysdeps/generic/ldsodefs.h: Add declarations of
9118 _dl_load_cache_lookup, _dl_unload_cache,
9119 _dl_sysdep_read_whole_file, _dl_sysdep_start and
9120 _dl_sysdep_start_cleanup.
8e294940 9121
edf66db1
SP
9122 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
9123 now.
8e294940 9124
edf66db1
SP
9125 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
9126 * sysdeps/generic/dl-environ.c: Likewise.
8e294940 9127
edf66db1
SP
9128 * stdio-common/printf_fp.c: Include <gmp.h> instead of
9129 <stdlib/gmp.h>.
9130 * math/atest-exp.c: Likewise.
9131 * math/atest-exp2.c: Likewise.
9132 * math/atest-sincos.c: Likewise.
9133 * stdio-common/_itoa.c: Likewise.
9134 * stdio-common/_itowa.c: Likewise.
8e294940 9135
edf66db1 9136 * include/gmp.h: New file with internal prototypes.
8e294940 9137
edf66db1
SP
9138 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
9139 here to...
9140 * include/setjmp.h: ...here.
8e294940 9141
edf66db1
SP
9142 * locale/Makefile (routines): Remove codeset_name since it's not
9143 needed anywhere.
8e294940 9144
edf66db1 9145 * locale/codeset_name.c: Removed.
8e294940 9146
edf66db1 91472000-12-05 Ulrich Drepper <drepper@redhat.com>
8e294940 9148
edf66db1 9149 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8e294940 9150
edf66db1 91512000-12-05 Andreas Jaeger <aj@suse.de>
8e294940 9152
edf66db1 9153 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8e294940 9154
edf66db1 91552000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 9156
edf66db1
SP
9157 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
9158 available.
8e294940 9159
edf66db1 91602000-12-05 Andreas Jaeger <aj@suse.de>
8e294940 9161
edf66db1
SP
9162 * nss/test-netdb.c: Mark local functions as static to avoid
9163 warnings.
9164 (main): Use return to silence warning.
8e294940 9165
edf66db1 9166 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8e294940 9167
edf66db1
SP
9168 * stdio-common/test-popen.c: Mark local functions as static to
9169 avoid warnings.
9170 (main): Use return to silence warning.
8e294940 9171
edf66db1 9172 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8e294940 9173
edf66db1
SP
9174 * assert/test-assert.c: Mark local functions as static to avoid
9175 warnings.
9176 * assert/test-assert-perr.c: Likewise.
9177
9178 * math/libm-test.inc (main): Use return to silence warnings.
9179
91802000-12-04 Ulrich Drepper <drepper@redhat.com>
9181
9182 * math/fenv.h: Fix typo in comment.
9183
9184 * math/test-misc.c (main): Add a few more over and underflow tests
9185 for scalb.
9186
9187 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
9188 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9189 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9190 * math/w_scalb.c: Don't use matherr except in SVID mode.
9191 * math/w_scalbf.c: Likewise.
9192 * math/w_scalbl.c: Likewise.
9193 * math/test-misc.c: Add test for NaN and scalbl.
9194 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9195
91962000-12-04 Ulrich Drepper <drepper@redhat.com>
9197
9198 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
9199 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
9200 * include/libc-symbols.h (strong_alias): Define special version
9201 for HAVE_ASM_GLOBAL_DOT_NAME.
9202 (weak_alias): Likewise.
9203 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
9204 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
9205 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
9206 getutxline, pututxline, and utmpxname.
9207 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
9208 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
9209 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
9210 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
9211 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
9212 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
9213 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
9214 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
9215 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
9216 Patches by Michael Keezer <mkeezer@redhat.com>.
9217
92182000-12-04 H.J. Lu <hjl@gnu.org>
9219
9220 * configure.in: Change --with-oldest-abi=ABI to
9221 --enable-oldest-abi=ABI.
9222
92232000-12-02 Bruno Haible <haible@clisp.cons.org>
9224
9225 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
9226 fwprintf instead of fprintf.
9227
92282000-12-04 Ulrich Drepper <drepper@redhat.com>
9229
9230 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
9231 DECIMAL_DIG definitions.
9232 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
9233 * sysdeps/generic/bits/mathdef.h: Likewise
9234 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
9235 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9236 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
9237 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
9238 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
9239 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
9240
92412000-12-03 Ulrich Drepper <drepper@redhat.com>
9242
9243 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
9244
9245 * math/atest-exp.c: Mark local functions as static to avoid warnings.
9246 * math/atest-exp2.c: Likewise.
9247 * math/atest-sincos.c: Likewise.
9248
9249 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9250 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9251
9252 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9253 the handling of denormalized numbers.
9254
9255 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9256 numbers on x86.
9257 * sysdeps/i386/fpu/fpclassifyl.c: New file.
9258
9259 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9260 pseudo denormal representation of LDBL_MIN.
9261
9262 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9263 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9264
9265 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9266 * iconvdata/jis0208.c: Likewise.
9267 * iconvdata/jis0212.c: Likewise.
9268 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8e294940 9269
edf66db1
SP
9270 * math/test-misc.c (main): More tests for frexp and some for
9271 fpclassify and isnormal.
8e294940 9272
edf66db1
SP
9273 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9274 test for subnormal.
9275 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8e294940 9276
edf66db1
SP
9277 * math/test-misc.c (main): Add tests for frexp.
9278 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9279 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8e294940 9280
edf66db1 92812000-12-02 H.J. Lu <hjl@gnu.org>
8e294940 9282
edf66db1
SP
9283 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9284 '\0' to wcschr.
8e294940 9285
edf66db1 92862000-12-02 Ulrich Drepper <drepper@redhat.com>
8e294940 9287
edf66db1
SP
9288 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9289 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8e294940 9291
edf66db1
SP
9292 * sysdeps/generic/glob.c: Adjust types of several variables to
9293 avoid warnings.
8e294940 9294
edf66db1 92952000-12-01 Ulrich Drepper <drepper@redhat.com>
8e294940 9296
edf66db1 9297 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8e294940 9298
edf66db1 92992000-11-30 Roland McGrath <roland@frob.com>
8e294940 9300
edf66db1
SP
9301 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9302 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9303 allow multiple instances using the same function name in one file.
8e294940 9304
edf66db1 93052000-12-01 Ulrich Drepper <drepper@redhat.com>
8e294940 9306
edf66db1 9307 * configure.in: Correct test for pserver CVS access.
8e294940 9308
edf66db1 93092000-11-28 H.J. Lu <hjl@gnu.org>
8e294940 9310
edf66db1 9311 * libio/libio.h: Remove extra "#if ... #endif".
8e294940 9312
edf66db1 93132000-11-29 H.J. Lu <hjl@gnu.org>
8e294940 9314
edf66db1 9315 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8e294940 9316
edf66db1 93172000-12-01 H.J. Lu <hjl@gnu.org>
8e294940 9318
edf66db1
SP
9319 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9320 * nss/getXXent_r.c: Likewise.
9321 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8e294940 9322
edf66db1 93232000-11-30 H.J. Lu <hjl@gnu.org>
8e294940 9324
edf66db1
SP
9325 * scripts/abi-versions.awk (oldest_abi): New variable.
9326 Handle the oldest ABI supported.
8e294940 9327
edf66db1
SP
9328 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9329 for scripts/abi-versions.awk.
8e294940 9330
edf66db1
SP
9331 * configure.in: Add --with-oldest-abi=ABI.
9332 * configure: Rebuild.
8e294940 9333
edf66db1 9334 * config.make.in (oldest-abi): New.
8e294940 9335
edf66db1 9336 * config.h.in (GLIBC_OLDEST_ABI): New.
8e294940 9337
edf66db1 9338 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8e294940 9339
edf66db1 93402000-11-30 Jakub Jelinek <jakub@redhat.com>
8e294940 9341
edf66db1
SP
9342 * locale/setlocale.c (setname): Free for all categories, not just
9343 LC_ALL.
9344 (setlocale): Store a copy of string passed by user, not the string
9345 itself.
8e294940 9346
edf66db1 93472000-11-30 Roland McGrath <roland@frob.com>
8e294940 9348
edf66db1
SP
9349 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9350 rather than _hurd_fd_subinit, so it happens after it's safe to use
9351 libc facilities like malloc.
8e294940 9352
edf66db1 93532000-11-28 Andreas Jaeger <aj@suse.de>
8e294940 9354
edf66db1
SP
9355 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9356 declaration, adjust declaration of __syscall_getdents to match
9357 kernel.
8e294940 9358
edf66db1 93592000-11-29 H.J. Lu <hjl@gnu.org>
8e294940 9360
edf66db1 9361 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8e294940 9362
edf66db1 93632000-11-29 Andreas Jaeger <aj@suse.de>
8e294940 9364
edf66db1 9365 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8e294940 9366
edf66db1 93672000-11-28 Ulrich Drepper <drepper@redhat.com>
8e294940 9368
edf66db1
SP
9369 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9370 * dlfcn/defaultmod2.c: Likewise.
9371 * dlfcn/dlopen.c: Likewise.
9372 * dlfcn/dlopenold.c: Likewise.
9373 * dlfcn/failtestmod.c: Likewise.
9374 * dlfcn/glreflib1.c: Likewise.
9375 * dlfcn/glreflib2.c: Likewise.
9376 * dlfcn/eval.c: Likewise. Add attributes.
8e294940 9377
edf66db1 9378 * ctype/ctype-extn.c: Define isblank and not __isblank.
8e294940 9379
edf66db1
SP
9380 * time/strftime.c: Add const where necessary to avoid warnings.
9381 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8e294940 9382
edf66db1 93832000-11-22 Paul Eggert <eggert@twinsun.com>
8e294940 9384
edf66db1
SP
9385 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9386 size of (size_t) -1; it's not portable.
8e294940 9387
edf66db1 93882000-11-28 Ulrich Drepper <drepper@redhat.com>
8e294940 9389
edf66db1
SP
9390 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9391 crappy i486 FPU.
9392 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8e294940 9393
edf66db1 93942000-11-14 Jes Sorensen <jes@linuxcare.com>
8e294940 9395
edf66db1 9396 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8e294940 9397
edf66db1
SP
9398 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9399 _mcount is required by profiled binaries.
8e294940 9400
edf66db1
SP
9401 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9402 * sysdeps/ia64/machine-gmon.h: ...here.
8e294940 9403
edf66db1 94042000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8e294940 9405
edf66db1
SP
9406 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9407 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9408 and ibm1129.h.
9409 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9410 IBM1129.
9411 * iconvdata/ibm922.c: New file.
9412 * iconvdata/ibm922.h: New file.
9413 * iconvdata/ibm1124.c: New file.
9414 * iconvdata/ibm1124.h: New file.
9415 * iconvdata/ibm1129.c: New file.
9416 * iconvdata/ibm1129.h: New file.
9417 * iconvdata/testdata/IBM922: New file.
9418 * iconvdata/testdata/IBM922..UTF8: New file.
9419 * iconvdata/testdata/IBM1124: New file.
9420 * iconvdata/testdata/IBM1124..UTF8: New file.
9421 * iconvdata/testdata/IBM1129: New file.
9422 * iconvdata/testdata/IBM1129..UTF8: New file.
8e294940 9423
edf66db1 94242000-11-28 Ulrich Drepper <drepper@redhat.com>
8e294940 9425
edf66db1
SP
9426 * catgets/gencat.c (normalize_line): Take extra parameter with escape
9427 character. Change callers.
9428 (open_conversion): Determine mapping of 0x5c as wchar_t value.
9429 * catgets/Makefile: Add rules to build and run test-gencat.
9430 * catgets/sample.SJIS: New file.
9431 * catgets/test-gencat.c: New file.
9432 * catgets/test-gencat.sh: New file.
9433 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8e294940 9434
edf66db1 94352000-11-28 Andreas Jaeger <aj@suse.de>
8e294940 9436
edf66db1
SP
9437 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9438 Linux version.
8e294940 9439
edf66db1 94402000-11-28 Ulrich Drepper <drepper@redhat.com>
8e294940 9441
edf66db1 9442 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8e294940 9443
edf66db1 94442000-11-28 Andreas Jaeger <aj@suse.de>
8e294940 9445
edf66db1
SP
9446 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9447 __flexarr.
9448 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9449 Likewise.
8e294940 9450
edf66db1
SP
94512000-11-27 Ulrich Drepper <drepper@redhat.com>
9452
9453 * misc/getusershell.c: Make strings in okshells array const.
9454 * misc/regexp.c: Add const to cast to avoid warnings.
9455 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9456 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9457 __setresuid.
9458 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9459 setresgid.
9460 * misc/error.c: Add prototypes for __error and __error_at_line.
9461 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9462 statement to avoid warning.
9463 * test-skeleton.c: Mark timeout_handler with noreturn.
9464 * iconv/skeleton.c (get16u): Add const to cast.
9465 (get32u): Likewise.
9466 * iconvdata/gb18030.c: Likewise.
9467 * iconvdata/iso-2022-cn-ext.c: Likewise.
9468 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9469 * iconvdata/big5.c: Likewise.
9470 * iconvdata/big5hkscs.c: Likewise.
9471 * iconvdata/iso_6937.c: Likewise.
9472 * iconvdata/iso_6937-2.c: Likewise.
9473 * iconvdata/t.61.c: Likewise.
9474 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9475 * iconvdata/unicode.c: Likewise.
9476 * iconvdata/utf-16.c: Likewise.
9477 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9478 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9479 with little code shuffling.
8e294940 9480
edf66db1
SP
9481 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9482 the problems introduced when the user selects -O3.
8e294940 9483
edf66db1
SP
9484 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9485 * misc/sys/cdefs.h: Define __flexarr.
9486 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8e294940 9487
edf66db1
SP
9488 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9489 * iconv/skeleton.c: Likewise.
9490 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9491 * iconv/loop.c (get16): Add const to cast.
9492 (get32): Likewise.
8e294940 9493
edf66db1 94942000-11-27 Andreas Jaeger <aj@suse.de>
8e294940 9495
edf66db1
SP
9496 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9497 to avoid warning.
9498 * login/programs/utmpdump.c (print_entry): Likewise.
8e294940 9499
edf66db1 95002000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8e294940 9501
edf66db1
SP
9502 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9503 in a single asm as they may be used to access other stored
9504 registers.
9505 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8e294940 9506
edf66db1 95072000-11-27 Andreas Jaeger <aj@suse.de>
8e294940 9508
edf66db1
SP
9509 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9510 * rt/tst-aio64.c: Likewise.
8e294940 9511
edf66db1 95122000-11-27 Ulrich Drepper <drepper@redhat.com>
8e294940 9513
edf66db1
SP
9514 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9515 for gencat run.
9516 (libc.cat): Likewise.
9517 * catgets/gencat.c: Implement handling of message catalogs encoded
9518 with stateful character sets.
9519 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8e294940 9520
edf66db1 95212000-11-26 Ulrich Drepper <drepper@redhat.com>
8e294940 9522
edf66db1 9523 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8e294940 9524
edf66db1
SP
9525 * inet/getnameinfo.c: Adjust casts to avoid warnings.
9526 * inet/rcmd.c: Likewise.
9527 * inet/ruserpass.c: Likewise.
9528 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9529 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9530 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9531 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9532 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9533 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9534 * include/aliases.h: Add prototypes for internal __getalias* functions.
9535 * include/netdb.h: Add prototypes for __old_gethostent_r,
9536 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9537 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9538 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9539 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9540 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9541 __old_getrpcbynumber_r, __old_getrpcent_r.
9542
9543 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9544 __getrpcent_r prototypes.
9545
95462000-11-25 Ulrich Drepper <drepper@redhat.com>
9547
9548 * string/strcoll.c: Add casts to avoid warnings.
9549 * string/strnlen.c: Likewise.
9550 * string/strxfrm.c: Likewise.
9551 * sysdeps/generic/_strerror.c: Likewise.
9552 * sysdeps/generic/memrchr.c: Likewise.
9553 * sysdeps/generic/strcasestr.c: Likewise.
9554 * sysdeps/generic/strstr.c: Likewise.
8e294940 9555
edf66db1 9556 * locale/weight.h (findidx): Add const to cast to avoid warning.
8e294940 9557
edf66db1
SP
9558 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9559 * elf/loadtest.c: Likewise.
9560 * elf/multiload.c: Likewise.
9561 * elf/next.c: Likewise.
9562 * elf/nodelete.c: Likewise.
9563 * elf/noload.c: Likewise.
9564 * elf/order.c: Likewise.
9565 * elf/origtest.c: Likewise.
9566 * elf/preloadtest.c: Likewise.
9567 * elf/restest1.c: Likewise.
8e294940 9568
edf66db1
SP
9569 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9570 parameter of asm must be in %ecx.
8e294940 9571
edf66db1 9572 * string/tester.c: Mark test functions as static to avoid warnings.
8e294940 9573
edf66db1
SP
9574 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9575 preserve value over different gconv-modules files.
8e294940 9576
edf66db1 95772000-11-24 Ulrich Drepper <drepper@redhat.com>
8e294940 9578
edf66db1
SP
9579 * locale/findlocale.c: Add casts to avoid warnings.
9580 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9581 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9582 to avoid warnings.
9583 * misc/tsearch.c (const_node): New type.
9584 (trecurse): Correct casts to avoid warnings.
9585 (__twalk): Likewise.
9586 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9587 LONG_BIT.
8e294940 9588
edf66db1 9589 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8e294940 9590
edf66db1 9591 * test-skeleton.c: Mark local functions as static to avoid warnings.
8e294940 9592
edf66db1 95932000-11-23 H.J. Lu <hjl@gnu.org>
8e294940 9594
edf66db1
SP
9595 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9596 support the background job.
9597 Fix a typo.
8e294940 9598
edf66db1 95992000-11-24 Ulrich Drepper <drepper@redhat.com>
8e294940 9600
edf66db1
SP
9601 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9602 has same names but lower cost.
8e294940 9603
edf66db1 96042000-11-23 Jakub Jelinek <jakub@redhat.com>
8e294940 9605
edf66db1
SP
9606 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9607 which never occur during bootstrap.
9608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8e294940 9609
edf66db1 96102000-11-23 Andreas Jaeger <aj@suse.de>
8e294940 9611
edf66db1 9612 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8e294940 9613
edf66db1 9614 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8e294940 9615
edf66db1 9616 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8e294940 9617
edf66db1 96182000-11-18 Martin Buchholz <martin@xemacs.org>
8e294940 9619
edf66db1
SP
9620 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9621 (called++) return;'
8e294940 9622
edf66db1 96232000-11-21 Alan Modra <alan@linuxcare.com.au>
8e294940 9624
edf66db1 9625 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8e294940 9626
edf66db1 9627 * csu/abi-note.S: Correct comment for operating system number.
8e294940 9628
edf66db1 96292000-11-22 Ulrich Drepper <drepper@redhat.com>
8e294940 9630
edf66db1 9631 * Versions.def: Add GLIBC_2.2.1 for glibc.
8e294940 9632
edf66db1 96332000-11-22 Andreas Schwab <schwab@suse.de>
8e294940 9634
edf66db1
SP
9635 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9636 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8e294940 9637
edf66db1 96382000-11-22 Ulrich Drepper <drepper@redhat.com>
8e294940 9639
edf66db1
SP
9640 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9641 absolute time for pthread_cond_timedwait call.
9642 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8e294940 9643
edf66db1
SP
9644 * rt/Makefile (tests): Add tst-aio6.
9645 * rt/tst-aio6.c: New file.
8e294940 9646
edf66db1 96472000-11-23 Andreas Jaeger <aj@suse.de>
8e294940 9648
edf66db1 9649 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8e294940 9650
edf66db1 96512000-11-22 Andreas Jaeger <aj@suse.de>
8e294940 9652
edf66db1 9653 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8e294940 9654
edf66db1 96552000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8e294940 9656
edf66db1 9657 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8e294940 9658
edf66db1 96592000-11-21 Andreas Schwab <schwab@suse.de>
8e294940 9660
edf66db1
SP
9661 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9662 * sysdeps/arm/setjmp.S: Likewise.
9663 * sysdeps/arm/fpu/setjmp.S: Likewise.
9664 * sysdeps/i386/setjmp.S: Likewise.
9665 * sysdeps/i386/elf/setjmp.S: Likewise.
9666 * sysdeps/s390/setjmp.S: Likewise.
9667 * sysdeps/s390/elf/setjmp.S: Likewise.
9668 * sysdeps/sh/sh3/setjmp.S: Likewise.
9669 * sysdeps/sh/sh4/setjmp.S: Likewise.
9670 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9671 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9672 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9673 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9674
96752000-11-21 Andreas Jaeger <aj@suse.de>
9676
9677 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9678 NORETURN, fix parameter list.
9679
9680 * string/bug-strncat1.c (main): Fix typo.
9681 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9682
96832000-11-20 Ulrich Drepper <drepper@redhat.com>
9684
9685 * configure.in: Add --enable-all-warnings.
9686 * config.make.in (all-warnings): New variable.
9687 * Makeconfig (+gccwarn): Define with many more warnings if
9688 all-warnings is yes.
9689
96902000-11-20 Jakub Jelinek <jakub@redhat.com>
9691
9692 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9693 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9694 * malloc/tst-valloc.c (main): Cast valloc return value to long.
9695 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9696 * math/test-fpucw.c (main): Use %lx in format string, cast
9697 control words to long.
9698 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9699 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9700 large that it is unsigned warning.
9701
9702 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9703 it to long on sparc64.
9704
97052000-11-20 Andreas Jaeger <aj@suse.de>
9706
9707 * nscd/nscd.h (termination_handler): Add noreturn attribute.
9708 (receiv_print_stats): Likewise.
9709
9710 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9711
97122000-11-20 Ulrich Drepper <drepper@redhat.com>
9713
9714 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9715
9716 * csu/gmon-start.c: Always have prototype for __gmon_start.
9717 * csu/version.c: Add prototypes for __libc_print_version and
9718 __libc_main.
9719 * iconv/gconv.c: Include gconv_int.h and gconv.h.
9720 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9721 and __to_name.
9722 * iconv/gconv_builtin.h: Add ASCII module definitions.
9723 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9724 (add_module): Add cast to avoid warning. Rework construction of
9725 strings for new module.
9726 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9727 (derivation_compare): Likewise.
9728 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9729 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9730 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9731 (struct gconv_alias): Remove const from fromname and toname.
9732 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9733 for loop functions.
9734 (internal_ucs4_loop): Use correct const-ness.
9735 (ucs4_internal_loop): Likewise.
9736 (internal_ucs4le_loop): Likewise.
9737 (ucs4le_internal_loop_single): Likewise.
9738 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9739 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9740 assignments appropriately.
9741 (struct known_trans): Remove const from fname.
9742 (trans_compare): Make s1 and s2 const.
9743 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9744 avoid warning.
9745 * iconv/skeleton.c: Remove cast in calls of loop functions.
9746 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9747 * iconvdata/iso646.c: Remove US_ASCII support.
9748 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9749 * include/unistd.h: Add __libc_check_standard_fds prototype.
9750 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9751 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9752 _fini.
9753 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9754 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9755 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9756 warning.
9757 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9758 __libc_init_first and _dl_start.
9759 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9760 (DCIGETTEXT): Make domaindata variable const.
9761 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9762 to avoid warning.
8e294940 9763
edf66db1 97642000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8e294940 9765
edf66db1 9766 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8e294940 9767
edf66db1
SP
9768 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9769 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9770 __unused? members.
8e294940 9771
edf66db1
SP
9772 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9773 value defined in /usr/include/asm-mips/fcntl.h.
8e294940 9774
edf66db1 97752000-11-18 Ulrich Drepper <drepper@redhat.com>
8e294940 9776
edf66db1
SP
9777 * stdio-common/Makefile (tests): Add test-vfprintf.
9778 (test-vfprintf-ENV): New variable.
9779 * stdio-common/test-vfprintf.c: New file.
8e294940 9780
edf66db1 9781 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8e294940 9782
edf66db1
SP
9783 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9784 (tst-mbrtowc-ENV): New variable.
9785 (tst-wcrtomb-ENV): New variable.
9786 * wcsmbs/tst-mbrtowc.c: New file.
9787 * wcsmbs/tst-wcrtomb.c: New file.
8e294940 9788
edf66db1 97892000-11-16 Andreas Jaeger <aj@suse.de>
8e294940 9790
edf66db1
SP
9791 * manual/install.texi (Tools for Compilation): Update
9792 documentation for GCC 2.95.2.
8e294940 9793
edf66db1 97942000-11-18 Ulrich Drepper <drepper@redhat.com>
8e294940 9795
edf66db1
SP
9796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9797 if IPv4 and IPv6 requests timed out.
8e294940 9798
edf66db1 97992000-11-18 Akim Demaille <akim@epita.fr>
8e294940 9800
edf66db1
SP
9801 * malloc/obstack.h: Formatting changes.
9802 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9803 prevents type checking.
9804 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9805 cast the value to (void *): assigning a `foo *' to a `void *'
9806 variable is valid.
9807 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8e294940 9808
edf66db1 98092000-11-17 Ulrich Drepper <drepper@redhat.com>
8e294940 9810
edf66db1
SP
9811 * scripts/config.guess: Update from upstream maintainer.
9812 * scripts/config.sub: Likewise.
8e294940 9813
edf66db1 98142000-11-16 Ulrich Drepper <drepper@redhat.com>
8e294940 9815
edf66db1
SP
9816 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9817 * libio/freopen64.c (freopen64): Likewise.
8e294940
UD
9818 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9819
edf66db1
SP
9820 * libio/Makefile: Add rules to build and run test-freopen.
9821 * libio/test-freopen.c: New file.
9822 * libio/test-freopen.sh: New file.
8e294940 9823
edf66db1 98242000-11-15 H.J. Lu <hjl@gnu.org>
8e294940 9825
edf66db1
SP
9826 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9827 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9828 (DL_DT_FINI_ADDRESS): Likewise.
8e294940 9829
edf66db1
SP
9830 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9831 return type to ElfW(Addr).
9832 (_dl_function_address): New prototype.
9833 (DL_FUNCTION_ADDRESS): Defined.
9834 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9835 (DL_DT_FINI_ADDRESS): Likewise.
8e294940 9836
edf66db1 9837 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8e294940 9838
edf66db1
SP
9839 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9840 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8e294940 9841
edf66db1
SP
9842 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9843 (_dl_function_address): This.
8e294940 9844
edf66db1
SP
9845 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9846 function pointer for DT_FINI.
9847 * elf/dl-close.c (_dl_close): Likewise.
8e294940 9848
edf66db1
SP
9849 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9850 function pointer for DT_INIT.
8e294940 9851
edf66db1 98522000-11-16 Jakub Jelinek <jakub@redhat.com>
8e294940 9853
edf66db1
SP
9854 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9855 end of wexpbuf buffer.
8e294940 9856
edf66db1 98572000-11-16 Andreas Jaeger <aj@suse.de>
8e294940 9858
edf66db1
SP
9859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9860 definition of F_GETLK, F_SETLK, F_SETLKW.
8e294940 9861
edf66db1 98622000-11-16 Andreas Jaeger <aj@suse.de>
8e294940 9863
edf66db1
SP
9864 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9865 it's not defined.
8e294940 9866
edf66db1 98672000-11-15 Jakub Jelinek <jakub@redhat.com>
8e294940 9868
edf66db1
SP
9869 * dlfcn/default.c (main): Add test for dladdr of main returning
9870 argv[0] in dli_fname field.
8e294940 9871
edf66db1 98722000-11-15 Jakub Jelinek <jakub@redhat.com>
8e294940 9873
edf66db1
SP
9874 * Makeconfig (run-program-prefix): Move test-static test into the
9875 variable.
8e294940 9876
edf66db1
SP
9877 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9878 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9879 schedule instructions.
9880 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9881 schedule instructions, fix a bug in copying auxiliary data.
8e294940 9882
edf66db1 98832000-11-15 Ulrich Drepper <drepper@redhat.com>
8e294940 9884
edf66db1
SP
9885 * manual/startup.texi (Program Arguments): Fix type of main's envp
9886 parameter.
9887