]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
ec04e9ba
UD
11998-09-11 Ulrich Drepper <drepper@cygnus.com>
2
3 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
4 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
5 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
6 and ISO_5428.
7 Define *-routines variables for new modules.
8 (distribute): Add .c files for new modules.
9 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
10 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
11 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
12 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
13 Add rules for hedaer generation.
14 * iconvdata/gconv-modules: Add entries for new modules.
15 * iconvdata/csn_369103.c: New file.
16 * iconvdata/cwi.c: New file.
17 * iconvdata/dec-mcs.c: New file.
18 * iconvdata/ecma-cyrillic.c: New file.
19 * iconvdata/gost_19768-74.c: New file.
20 * iconvdata/greek-ccitt.c: New file.
21 * iconvdata/greek7-old.c: New file.
22 * iconvdata/greek7.c: New file.
23 * iconvdata/inis-8.c: New file.
24 * iconvdata/inis-cyrillic.c: New file.
25 * iconvdata/inis.c: New file.
26 * iconvdata/iso6937-2.c: New file.
27 * iconvdata/iso_2033.c: New file.
28 * iconvdata/iso_5427-ext.c: New file.
29 * iconvdata/iso_5427.c: New file.
30 * iconvdata/iso_5428.c: New file.
31
32 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
33 entries.
34 Convert U02dd correctly.
35
25c849b1
RH
361998-09-11 20:46 Richard Henderson <rth@cygnus.com>
37
38 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
39 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
40 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
41 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
42
04795ad9
UD
431998-09-11 Ulrich Drepper <drepper@cygnus.com>
44
45 * resolv/res_init.c (res_init): Handle resolv.conf file with only
46 one nameserver correctly. Patch by HJ Lu.
47
48 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
49 and ANSI_X3.110.
50 Define *-routines variables for new modules.
51 (distribute): Add .c files for new modules.
52 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
53 Add rules for hedaer generation.
54 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
55 * iconvdata/ansi_x3.110.c: New file.
56 * iconvdata/asmo_449.c: New file.
57 * iconvdata/baltic.c: New file.
58 * iconvdata/iec_p27-1.c: New file.
59
60 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
61 entries.
62 Convert U02dc correctly.
63
64 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
65 * math/atest-exp2.c: Likewise.
66 * math/atest-sincos.c: Likewise.
67
68 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
69 is defined.
70
711998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
72
73 * string/strcoll.c: Optimize a few expressions.
74 * string/strxfrm.c: Likewise.
75
5e0889da
UD
761998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
77
78 * manual/locale.texi: Fix typos.
79
2c86b2bc
UD
801998-09-10 Ulrich Drepper <drepper@cygnus.com>
81
26afaa63
UD
82 * stdlib/random_r.c (__setstate_r): Allow call with same state
83 array as currently used (PR libc/774).
84
6c79e60c
UD
85 * include/limits.h: Include gcc's header even if this file is
86 found more than once before it (PR libc/778)
87
ec04e9ba
UD
88 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
89 (sysdep_headers): Remove sys/debugreg.h.
90 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
91 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
92 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
93 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
94
2c86b2bc
UD
95 * stdio-common/tmpnam.c: Move local static variable buf to
96 toplevel and rename to tmpnam_buffer to ease debugging.
97 Patch by Joe Keane <jgk@jgk.org>.
98 Optimize s == NULL case a bit.
99
8e9f53fc
UD
100 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
101 correction.
102
482a3be2
UD
1031998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
104
105 * resolv/res_init.c (res_init): Initialize _res.nscount and
106 _res.nsaddr.sin_port differently for the can when no loopback
107 is available to allow immediate timeout in non-networking environments.
108 Patch by Cristian Gafton <gafton@redhat.com>.
109
e8238963
UD
1101998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
111
112 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
113 BAR and not EM DASH.
114 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
115 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
116 Fixes PR libc/717.
117
90865aa8
UD
1181998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
119
120 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
121 for test.
122 * timezone/tst-timezone.c (tests): Fix typo in last patch.
123
124 * time/tzfile.c (__tzfile_read): Handle case when there are no
125 transitions. Set __timezone based on computed offset.
126 * time/tzset.c (tzset_internal): Set __timezone before returning.
127
128 * time/tzset.c (tzset_internal): Optimize handling of local string
129 copy.
130
1311998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
132
133 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
134 libc/776).
135
adac8450
UD
1361998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
137
138 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
139 (csqrt_test): Likewise.
90865aa8 140 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 141
8e140239
UD
1421998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
143
144 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
145 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
146 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
147
78acf671
UD
1481998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
149
150 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
151 the special `-1' pointer.
152
6e4c40ba
UD
1531998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
154
155 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
156 inline.
157
1581998-09-07 Paul Eggert <eggert@twinsun.com>
159
160 * time/mktime.c (__EXTENSIONS__): Define if not defined.
161 (_REENTRANT): Remove. It has undesirable consequences in
162 Solaris 2.6 (e.g. it turns off the putc macro). Defining
163 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
164 is what we want.
165 * time/strftime.c: Likewise.
166
1671998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
168
169 * elf/dl-error.c: Fix spelling.
170
1711998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
172
173 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
174 * stdio-common/_itoa.c: Likewise.
175 * stdio-common/printf_fp.c: Likewise.
176 * stdio-common/vfscanf.c: Likewise.
177 * wcsmbs/wcstok.c: Likewise.
178 * sysdeps/generic/glob.c: Likewise.
179 * posix/getopt.c: Likewise.
180 * sysdeps/posix/getaddrinfo.c: Likewise.
181 * posix/wordexp.c: Likewise.
182 * io/ftw.c: Likewise.
183 * io/fts.c: Likewise.
184 * misc/getpass.c: Likewise.
185 * iconv/gconv_conf.c: Likewise.
186 * argp/argp-fmtstream.c: Likewise.
187 * argp/argp-help.c: Likewise.
188 * elf/dl-load.c: Likewise.
189 * locale/programs/stringtrans.c: Likewise.
190 * catgets/gencat.c: Likewise.
191 * posix/getconf.c: Likewise.
192 * iconv/gconv_conf.c: Likewise.
193 * iconv/iconv_prog.c: Likewise.
194
195 * string/strcoll.c: Optimize a few expressions.
196 * string/strxfrm.c: Likewise.
197
1981998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
199
200 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
201 level to avoid uninit variable warning.
202
2031998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 204
769ca810 205 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 206 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 207
2aa236b1
AS
208 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
209 C9x macro.
210
8ea4a95a
UD
2111998-09-08 Ulrich Drepper <drepper@cygnus.com>
212
6e4c40ba 213 Fix compatibility problems introduced in last change.
dc27836e
UD
214 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
215 defined.
216 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
217 -DWEAK_GMON_START to CFLAGS-initfini.s.
218
e4d50917
UD
219 * elf/dl-object.c (_dl_new_object): Store map address in
220 _dl_loaded if _dl_loaded is NULL.
87c812c2 221 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 222
8ea4a95a
UD
223 * sysdeps/generic/setrlimit64.c: Remove stub warning.
224
88c91118
UD
2251998-09-07 Ulrich Drepper <drepper@cygnus.com>
226
227 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
228 quiet.
2c874db2
UD
229 * db2/btree/bt_cursor.c: Likewise.
230 * db2/common/db_region.db_c: Likewise.
231 * db2/common/db_salloc.db_c: Likewise.
232 * db2/db/db.c: Likewise.
233 * db2/db/db_rec.c: Likewise.
234 * db2/hash/hash.c: Likewise.
235 * db2/hash/hash_page.c: Likewise.
236 * db2/hash/hash_rec.c: Likewise.
237 * db2/log/log_findckp.c: Likewise.
238 * db2/log/log_get.c: Likewise.
239 * db2/log/log_put.c: Likewise.
240 * db2/mp/mp_fget.c: Likewise.
241 * db2/mp/mp_fput.c: Likewise.
242 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
243 * stdlib/strtol.c: Likewise.
244 * string/strcoll.c: Likewise.
245 * string/strxfrm.c: Likewise.
94b78bb2
UD
246 * argp/argp-help.c: Likewise.
247 * argp/argp-parse.c: Likewise.
3121cc04 248 * resolv/res_debug.c: Likewise.
88c91118 249
26644e87
UD
2501998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
251
252 * math/tgmath.h (scalb): Only define for __USE_MISC or
253 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
254
2b33e5b0
UD
2551998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
256
257 * libio/stdio.h: Fix comment.
258
259 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
260 __USE_ISOC9X.
261
6796bc80
UD
2621998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
263
264 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
265
266 * elf/dl-open.c: Quiet -Wparentheses warnings.
267 * iconvdata/johab.c: Likewise.
268 * iconvdata/uhc.c: Likewise.
269 * inet/inet_net.c: Likewise.
270 * io/fts.c: Likewise.
271 * locale/newlocale.c: Likewise.
272 * misc/getttyent.c: Likewise.
273 * misc/mntent_r.c: Likewise.
274 * misc/ttyslot.c: Likewise.
275 * nscd/nscd_conf.c: Likewise.
276 * nss/nsswitch.c: Likewise.
277 * resolv/gethnamaddr.c: Likewise.
278 * resolv/nsap_addr.c: Likewise.
279 * resolv/res_debug.c: Likewise.
280 * stdio-common/_itoa.c: Likewise.
281 * stdlib/strtod.c: Likewise.
282 * string/strverscmp.c: Likewise.
283 * sunrpc/svc.c: Likewise.
284 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
285 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
286 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
287 * sysdeps/posix/getaddrinfo.c: Likewise.
288
baa3334a
UD
2891998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
290
291 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
292 for use of global scope.
293 * elf/dlvsym.c (dlvsym_doit): Likewise.
294
2951998-09-02 Paul Eggert <eggert@twinsun.com>
296
297 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
298 copy the redundant bytes at the end of the format as-is; don't
299 just copy their first byte and then rescan, as that might get
300 us an encoding error.
301 Account correctly for the length of multibyte sequences in the
302 format.
303
3041998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
305
306 * posix/wordexp-test.c: Add tests for different IFS values.
307 Change unquoted-newline test so that newline is not in IFS.
308
309 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
310 determining IFS characters. Return WRDE_BADCHAR for unquoted
311 special characters _except_ if they are separators.
312
3131998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
314
315 * include/tgmath.h: New file.
316
317 * libio/stdio.h: Correct reversed #ifs.
318 Patch by Zack Weinberg.
319
320 * manual/creature.texi: Better explain reason for feature select
321 macros.
322 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
323
3241998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
325
326 * include/alloca.h: Add multiple-inclusion guard.
327 * include/db.h: Likewise.
328 * include/db_185.h: Likewise.
6796bc80 329 * include/dlfcn.h: Likewise.
baa3334a
UD
330 * include/fcntl.h: Likewise.
331 * include/grp.h: Likewise.
332 * include/libintl.h: Likewise.
333 * include/mntent.h: Likewise.
334 * include/pwd.h: Likewise.
335 * include/sched.h: Likewise.
336 * include/search.h: Likewise.
337 * include/setjmp.h: Likewise.
338 * include/shadow.h: Likewise.
339 * include/signal.h: Likewise.
340 * include/stdio.h: Likewise.
341 * include/stdlib.h: Likewise.
342 * include/string.h: Likewise.
343 * include/termios.h: Likewise.
344 * include/time.h: Likewise.
345 * include/ulimit.h: Likewise.
346 * include/utmp.h: Likewise.
347 * include/wchar.h: Likewise.
348 * include/sys/file.h: Likewise.
349 * include/sys/gmon.h: Likewise.
350 * include/sys/ioctl.h: Likewise.
351 * include/sys/mman.h: Likewise.
352 * include/sys/resource.h: Likewise.
353 * include/sys/select.h: Likewise.
354 * include/sys/socket.h: Likewise.
355 * include/sys/statfs.h: Likewise.
356 * include/sys/time.h: Likewise.
357 * include/sys/times.h: Likewise.
358 * include/sys/wait.h: Likewise.
359
be935610
UD
3601998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
361
362 * version.h (VERSION): Bump to 2.0.96.
363
364 Rewrite runtime linker to be truly thread-safe. There is now no
365 global variable specifying the scope. We create all needed
366 scopes at the time the link maps are created.
367 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
368 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
369 l_symbolic_searchlist, l_scope, and l_local_scope elements in
370 struct link_map.
371 * elf/dl-close.c: Rewritten accordingly.
372 * elf/dl-deps.c: Likewise.
373 * elf/dl-error.c: Likewise.
374 * elf/dl-init.c: Likewise.
375 * elf/dl-load.c: Likewise.
376 * elf/dl-lookup.c: Likewise.
377 * elf/dl-object.c: Likewise.
378 * elf/dl-open.c: Likewise.
379 * elf/dl-reloc.c: Likewise.
380 * elf/dl-runtime.c: Likewise.
381 * elf/dl-support.c: Likewise.
382 * elf/dl-symbol.c: Likewise.
383 * elf/dl-version.c: Likewise.
be935610
UD
384 * elf/dlsym.c: Likewise.
385 * elf/dlvsym.c: Likewise.
386 * elf/ldsodefs.h: Likewise.
387 * elf/rtld.c: Likewise.
388 * iconv/gconv_dl.c: Likewise.
389 * nss/nsswitch.c: Likewise.
390 * sysdeps/i386/dl-machine.h: Likewise.
391 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
392
6796bc80
UD
393 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
394 Define RTLD_DEFAULT.
395
2b4083dd
RM
3961998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
397
398 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
399 __getopt_clean_environment with __environ instead of envp.
400
a361203e
RM
4011998-09-05 Roland McGrath <roland@baalperazim.frob.com>
402
2b4083dd
RM
403 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
404
531e4bca
RM
405 * string/argz-extract.c (__argz_extract): Add de-consting cast for
406 setting results.
407
62ee0979 408 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 409 * string/argz-next.c (__argz_next): Likewise.
62ee0979 410
59cacc81
RM
411 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
412 Don't add netinet/udp.h, netinet/ip_icmp.h here.
413 * sysdeps/gnu/Makefile: Do it here instead.
414 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
415 * sysdeps/gnu/Dist: ... to here.
416
a361203e
RM
417 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
418 sysdeps/unix/sysv/linux/netinet/tcp.h,
419 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
420
29659dd2
RM
4211998-09-04 Roland McGrath <roland@baalperazim.frob.com>
422
423 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
424 * string/argz-next.c, string/argz-extract.c: Fix defns.
425
1097c603
RM
4261998-09-03 Roland McGrath <roland@baalperazim.frob.com>
427
428 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
429
430 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
431 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
432 * sysdeps/generic/sysd-stdio.c: Likewise.
433
143e2b96
UD
4341998-09-02 Ulrich Drepper <drepper@cygnus.com>
435
436 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
437 (_dl_map_object_from_fd): Make NAME argument const.
438 Remove last parameter in _dl_new_object call.
439 (print_search_path): Correct construction of composed path name.
440 (_dl_map_object): Prevent looking at RPATH of the main map twice.
441 Remove last parameter in _dl_new_object call.
442 * elf/dl-object.c: Remove last parameter. Determine whether create
443 origin entry based on empty realname. Handle file in root directory
444 correctly.
445 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
446 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
447 Remove last parameter in _dl_new_object call.
448 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
449 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
450
fc3597c0
UD
4511998-09-01 Ulrich Drepper <drepper@cygnus.com>
452
4ce636da
UD
453 * elf/dl-close.c (_dl_close): Add more comments and correct some.
454 Free l_searchlist and l_dupsearchlist.
455
fc3597c0
UD
456 * debug/catchsegv.sh: Add one more pair of quotes.
457
76156ea1
UD
4581998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
459
460 * elf/dl-load.c (add_name_to_object): Change return type to void and
461 make NAME parameter const. Allocate room for NAME in same memory
462 block used for l_libname entry.
463 (_dl_map_object_from_fd): Don't free NAME on failure.
464 (map_segment): Pass SONAME to add_name_to_object, not a copy.
465 (_dl_map_object): Don't create copy of NAME. Pass NAME to
466 _dl_map_object_from_fd.
467 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
468 memory block used for l_libname entry.
469 * elf/dl-close.c: Adjust free()ing for this change.
470
a8a1269d
UD
4711998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
472
473 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
474
475 * malloc/mtrace.c: Add bug report address. Update email address.
476 Add more @XXX@ to print correct address size.
477
478 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
479 really initialized.
480
481 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
482 for munmap call instead of examining phdr again.
483 Free all malloc()ed strings and arrays.
484
052b6a6c
UD
4851998-08-09 Geoff Keating <geoffk@ozemail.com.au>
486
487 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
488 dl-machine.h.
489 * sysdeps/powerpc/dl-machine.c: New file.
490 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
491 files. Revise ELF_PREFERRED_ADDRESS to take account of
492 the new mapping information (fixes bug involving huge bloated
493 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
494 * sysdeps/powerpc/dl-start.S: New file.
495
496 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
497 l_map_end.
498 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
499 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
500 others. Call elf_dynamic_do_##reloc only once (to save even more
501 space).
502 * elf/link.h: Add new members l_map_start and l_map_end to keep
503 track of the memory map.
504 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
505 the executable.
506
5071998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
508
509 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
510 Reported by Andreas Jaeger.
511
512 * posix/glob.h: Use __size_t instead of size_t in definitions and
513 make sure this is defined.
514
85c165be
UD
5151998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
516
052b6a6c 517 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
518 and functionality.
519 * manual/arith.texi: Correct reference.
520 * manual/string.texi: Pretty printing.
521
522 * manual/texinfo.tex: Update from last available version.
523
5241998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
525
526 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
527 invalid password.
528 (_nss_nis_getpwuid_r): Likewise.
529 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
530
531 * inet/rcmd.c: Implement netgroup support.
532 Patch by Dick Streefland <dick_streefland@tasking.com>.
533
7afab53d
UD
5341998-08-31 Ulrich Drepper <drepper@cygnus.com>
535
536 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
537 object on the list is removed. Don't use this code for PIC.
538 Reported by HJ Lu [PR libc/770].
539
bfce746a
UD
5401998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
541
542 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
543
544 * include/stdio.h: Add __vsscanf.
545
546 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
547 __USE_ISOC9X.
548 Remove __vsscanf declaration.
549 Always declare fgetpos and fsetpos.
550
551 * math/math.h: Define isinf as macro.
552 * math/bits/mathcalls.h: Change to declare __isinf all the time.
553 Don't declare scalb for ISO C 9x.
554
555 * math/tgmath.h: Define fma. Rewrite the underlying macros.
556
557 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
558
559 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
560 sys/ucontext.h.
561
562 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
563 macros.
564
5651998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
566
567 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
568 Reported by jreising@frequentis.com [PR libc/767].
569
5701998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
571
572 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
573 fl.l_start at beginning of function.
574 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
575
ac72fbb1
UD
5761998-08-31 Ulrich Drepper <drepper@cygnus.com>
577
578 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
579 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
580
581 * nscd/nscd.init: Make it work in RedHat systems.
582 Patch by Christian Gafton.
583
5841998-08-29 Philip Blundell <philb@gnu.org>
585
586 * catgets/Makefile: Don't try to run test programs when
587 cross-compiling.
588
5891998-08-31 Ulrich Drepper <drepper@cygnus.com>
590
591 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
592 Reported by Zack Weinberg.
593
5941998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
595
596 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
597 * elf/Makefile (distribute): Remove ldd.sh.in.
598
5991998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
600
601 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
602 variable.
603
e0d46614
UD
6041998-08-29 Ulrich Drepper <drepper@cygnus.com>
605
606 * sysdeps/i386/register-dump.h: Move to ...
607 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
608
b0cf070b
UD
6091998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
610
611 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
612 with load address, not map address.
613 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
614 parameter and use this value.
615 * sysdeps/arm/dl-machine.h: Likewise.
616 * sysdeps/i386/dl-machine.h: Likewise.
617 * sysdeps/m68k/dl-machine.h: Likewise.
618 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
619 parameter.
620 * sysdeps/powerpc/dl-machine.h: Likewise
621 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
622 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
623
997a4165
UD
6241998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
625
626 * elf/rtld.c (process_envvars): Fix copy&paste error.
627
628 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
629 memalign hook.
630 (realloc_hook_ini): Don't overwrite memalign hook.
631 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
632 Reported by Philippe Troin <phil@fifi.org>.
633
634 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
635 Patch by Philippe Troin <phil@fifi.org>.
636
6371998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
638
639 * sysdeps/generic/segfault.c (install_handler): Protect the
640 non-POSIX signals with #ifdef.
641 (catch_segfault): Add missing mode parameter for open.
642 * debug/catchsegv.sh: Avoid termination message from shell. Allow
643 other termination signals.
644
6451998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
646
647 * debug/Makefile (distribute): Add register-dump.h.
648
6491998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
650
651 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
652
f787edde
UD
6531998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
654
655 * elf/Makefile (distribute): Add dl-origin.h.
656 * sysdeps/generic/dl-origin.h: New file.
657 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
658 * elf/link.h (struct link_map): Add l_origin field.
659 * elf/dl-load.c (expand_dynamic_string_token): New function.
660 (decompose_path): Remove WHERE argument, take link map pointer instead.
661 Call expand_dynamic_string_token instead of local_strdup to make copy
662 of rpath.
663 (_dl_init_paths): Call decompose_path with correct argument.
664 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
665 not defined.
666 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 667 Call _dl_new_object with extra argument.
f787edde
UD
668 (_dl_map_object): Call decompose_path with correct argument.
669 Call expand_dynamic_string_token instead of local_strdup to also
670 expand DST.
5f623941 671 Call _dl_new_object with extra argument.
f787edde 672 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
673 but the main one if new argument is nonzero.
674 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
675 * elf/dl-support.c: Define _dl_origin_path.
676 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 677 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
678
679 * elf/dl-close (_dl_close): Free l_name and l_origin.
680
681 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
682 modifier in asm, not c.
683
684 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
685 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
686
6075607b
UD
6871998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
688
689 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
690 variable so that map can be freed.
691 Reported by Philippe Troin <phil@fifi.org>.
692
693 * elf/dl-open.c (dl_open_worker): Correct test for extending global
694 scope array.
695 Patch by Philippe Troin <phil@fifi.org>.
696
6971998-08-26 Geoff Keating <geoffk@ozemail.com.au>
698
699 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
700 Don't call writev() with a 100-element vector.
701 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
702 return address.
703
704 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
705 In particular, set __libc_stack_end.
706 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
707 undefined. Fix copyright notice.
708
7091998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
710
711 * math/Makefile (gmp-objs): New variable.
712 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
713 Depend on it.
714 (tests): Add atest-exp atest-sincos atest-exp2.
715 (tests-static): Remove atest-exp atest-sincos atest-exp2.
716
08cac4ac
UD
7171998-08-25 Ulrich Drepper <drepper@cygnus.com>
718
719 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
720 to toplevel.
721 (_dl_unload_cache): New function.
722 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
723 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 724 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
725
726 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
727 Correct comment for O_LARGEFILE.
728 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
729 Change O_LARGEFILE to correct value.
730
7311998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
732
733 * libio/iogetline.c (_IO_getline_info): Don't read anything for
734 N == 0. Patch by HJ Lu.
735
6dbb7062
UD
7361998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
737
738 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
739
7401998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
741
742 * argp/argp.h: Use __inline__ not inline.
743
744 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
745 an input register as being clobbered.
746 * sysdeps/i386/memset.c (memset): Likewise.
747 * sysdeps/i386/bzero.c (__bzero): Likewise.
748 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
749
7501998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
751
752 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
753 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
754
ed1ac6a2
UD
7551998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
756
757 * debug/catchsegv.sh: Handle text preceding backtrace better.
758 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
759 to be installed for other signals than SIGSEGV.
760 * sysdeps/generic/register-dump.h: New file.
761 * sysdeps/i386/register-dump.h: New file.
762 * sysdeps/powerpc/register-dump.h: New file.
763
764 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
765 sigcontextinfo.h.
766 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
767
7681998-08-24 Geoff Keating <geoffk@ozemail.com.au>
769
770 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
771
7721998-08-09 Geoff Keating <geoffk@ozemail.com.au>
773
774 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
775 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
776 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
777 getresuid, getresgid.
778
7791998-08-16 Geoff Keating <geoffk@ozemail.com.au>
780
781 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
782 pointer in userland.
783
7841998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
785
786 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
787 and fix value.
788
7891998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
790
791 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
792 over arguments Bourne shell compatible. Don't exit unsuccessfully
793 if nonelf returns successfully. Avoid duplicating most of the
794 script.
795 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
796 around $file.
797
7981998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
799
800 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
801 sys/reg.h.
802 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
803 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
804
b259e746
UD
8051998-08-23 Ulrich Drepper <drepper@cygnus.com>
806
807 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
808 __modify_ldt and modify_ldt.
809 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
810
811 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
812 Use orl $-1 instead of movl $-1 to save two bytes.
813 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
814 Likewise.
815
8161998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
817
818 * libio/Versions (_IO_do_write, _IO_file_attach,
819 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
820 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
821 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
822 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
823
824 * libio/fileops.c (_IO_do_write, _IO_file_attach,
825 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
826 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
827 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
828 _IO_file_write, _IO_file_xsputn): Change the prefix to
829 "_IO_new_". Added to GLIBC_2.1.
830
831 * libio/libioP.h (_IO_do_write, _IO_file_attach,
832 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
833 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
834 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
835 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
836 "_IO_new_".
837
838 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
839 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
840 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
841 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
842 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
843
b259e746
UD
8441998-08-23 Richard Henderson <rth@cygnus.com>
845
846 * Makeconfig (LDFLAGS): Remove.
847
ed1ac6a2 848 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 849
ed1ac6a2
UD
850 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
851 (STO_MIPS_*): Rename from STO_*.
852 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
853 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 854
ed1ac6a2
UD
855 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
856 (main): e3s is negative on zero.
857 * math/atest-exp2.c: Likewise.
b259e746
UD
858 * math/atest-sincos.c: Likewise.
859
ed1ac6a2
UD
8601998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
861
862 * Makerules (install): Add comment about absolute paths.
863
b259e746
UD
8641998-08-23 Ulrich Drepper <drepper@cygnus.com>
865
866 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
867 array to NUL to handle maxlen==1 case correctly.
868 Patch by HJ Lu.
869
8701998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
871
872 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
873 * sysdeps/alpha/elf/crtend.S: Likewise.
874 * sysdeps/alpha/elf/start.S: Likewise.
875
876 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
877 non-standard pv usage.
878
879 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
880 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
881 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
882 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
883 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
884 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
885 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
886 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
887 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
888 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
889 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
890
891 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
892 a finite non-denormal, deferring to the full IEEE version otherwise.
893
894 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
895 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
896 * sysdeps/alpha/fpu/s_floor.c: New.
897 * sysdeps/alpha/fpu/s_floorf.c: New.
898 * sysdeps/alpha/fpu/s_ceil.c: New.
899 * sysdeps/alpha/fpu/s_ceilf.c: New.
900
e86e2df1
UD
9011998-08-22 Philip Blundell <philb@gnu.org>
902
903 * sysdeps/arm/bits/string.h: New file.
904
14a44a69
UD
9051998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
906
907 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
908 document it.
909
910 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
911 test for recent Linux 2.1.100+ headers.
912
e36b0b57
UD
9131998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
914
915 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
916
5148d49f
UD
9171998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
918
919 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
920
9211998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
922
923 * Makefile (elf/ldso_install): Put back. The problem still persists.
924 * elf/Makefile (ldso_install): Likewise.
925
9261998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
927
928 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
929 create weak alias.
930 * include/db.h: Declare __nss_db_open.
931 * db2/Versions: Export it.
932
933 * db2/makedb.c: Convert to use db2 API.
934 * nss/nss_db/db-XXX.c: Likewise.
935 * nss/nss_db/db-netgrp.c: Likewise.
936 * nss/nss_db/db-alias.c: Likewise.
937 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
938
9391998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
940
941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
942 sys_setresuid, already built automatically (or not).
943 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
944 instead of __syscall_setresuid and add back setresuid.
945 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
946 __syscall_setresuid.
947
9481998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
949
950 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
951
1ddf537f
UD
9521998-08-20 Ulrich Drepper <drepper@cygnus.com>
953
954 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
955 BASH-ONLY marked region.
956 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
957
9581998-02-20 17:54 H.J. Lu <hjl@gnu.org>
959
960 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
961 _IO_SYSSEEK fails.
962
963 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
964
4df28840 965 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
966 element.
967
8e48355c
RM
9681998-08-21 Roland McGrath <roland@baalperazim.frob.com>
969
970 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
971 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
972 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
973 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
974 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
975 those magic comments, and to use /bin/sh for @BASH@.
976 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
977 * elf/ldd.sh.in: File removed.
978
d762684b
UD
9791998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
980
981 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
982 cast them to unsigned long int.
983 * pwd/putpwent.c (putpwent): Likewise.
984 Patch by John Tobey <jtobey@banta-im.com>.
985
9861998-08-20 17:14 H.J. Lu <hjl@gnu.org>
987
988 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
989 _IO_pos_BAD.
990
9911998-02-20 17:54 H.J. Lu <hjl@gnu.org>
992
993 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
994 _IO_SYSSEEK fails.
995
7934cc16
UD
9961998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
997
998 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
999 Add umount and umount2.
1000 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1001 * sysdeps/unix/sysv/linux/umount.S: New file.
1002 * sysdeps/unix/sysv/linux/umount2.S: New file.
1003 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1004 Define MNT_FORCE.
1005
d762684b
UD
1006 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1007 Add sys/sendfile.h.
1008 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1009 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1010
1011 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1012
1013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1014 sendfile.
1015
df777c40
UD
10161998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1017
1018 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1019 * elf/ldd.bash.in: Likewise.
1020
1021 * elf/sln.c: Avoid warning for no main prototype.
1022
1023 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1024 O_WRITE.
1025 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1027
1028 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1029 F_GETSIG.
1030 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1031 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1033
10341998-08-20 Philip Blundell <pb@nexus.co.uk>
1035
1036 * sysdeps/arm/fpu/ieee754.h: Move to...
1037 * sysdeps/arm/ieee754.h: ... here.
1038
1039 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1040 Don't set the condition flags unnecessarily.
1041 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1042 registers correctly.
1043
1044 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1045 (patch from Scott Bambrough).
1046
1047 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1048
1049 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1050 NULL, just call it unconditionally.
1051 (__gmon_start__): Provide stub version as a weak symbol.
1052
10531998-07-30 Philip Blundell <philb@gnu.org>
1054
1055 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1056 by Scott Bambrough)
1057
1058 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1059 like `@' in .type directives.
1060
1061 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1062 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1063
1064 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1065
10661998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1067
1068 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1069 (F_GETOWN): Likewise.
1070
1071 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1072 Linux 2.1.117).
1073
10741998-08-20 Ulrich Drepper <drepper@cygnus.com>
1075
1076 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1077 already defined.
1078
0c6cee5d
UD
10791998-08-18 Ulrich Drepper <drepper@cygnus.com>
1080
1081 * include/features.h: Define __USE_EXTERN_INLINES for recent
1082 enough gcc.
1083 * argp/argp.h: Define extern inline functions only if
1084 __USE_EXTERN_INLINES is defined.
1085 * libio/stdio.h: Likewise.
1086 * math/math.h: Likewise.
1087 * stdlib/stdlib.h: Likewise.
1088 * string/argz.h: Likewise.
1089 * sysdeps/generic/bits/sigset.h: Likewise.
1090 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1091 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1092 * sysdeps/wordsize-32/inttypes.h: Likewise.
1093 * sysdeps/wordsize-64/inttypes.h: Likewise.
1094 * wcsmbs/wchar.h: Likewise.
1095
1096 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1097 to allow compilation without optimization.
1098
df777c40
UD
10991998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1100
1101 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1102 more entries.
1103 * nis/nss_compat/compat-initgroups.c: Likewise.
1104 * nis/nss_compat/compat-pwd.c: Likewise.
1105 * nis/nss_compat/compat-spwd.c: Likewise.
1106 * nis/nss_nis/nis-alias.c: Likewise.
1107 * nis/nss_nis/nis-ethers.c: Likewise.
1108 * nis/nss_nis/nis-grp.c: Likewise.
1109 * nis/nss_nis/nis-hosts.c: Likewise.
1110 * nis/nss_nis/nis-initgroups.c: Likewise.
1111 * nis/nss_nis/nis-network.c: Likewise.
1112 * nis/nss_nis/nis-proto.c: Likewise.
1113 * nis/nss_nis/nis-pwd.c: Likewise.
1114 * nis/nss_nis/nis-rpc.c: Likewise.
1115 * nis/nss_nis/nis-service.c: Likewise.
1116 * nis/nss_nis/nis-spwd.c: Likewise.
1117
1118 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1119
1120 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1121
1122 * nis/yp_xdr.c: Remove 1024 byte limit.
1123 * nis/ypupdate_xdr.c: Likewise.
1124
1125 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1126 wrong data.
1127
c82e6116
RM
11281998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1129
1130 * Rules (binaries-static, binaries-shared static pattern rules):
1131 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1132
1133 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1134 this here, overriding Makeconfig generic value so we link against
1135 the RPC libs.
1136
364ff81f
UD
11371998-08-17 Ulrich Drepper <drepper@cygnus.com>
1138
1139 * posix/tstgetopt.c (options): Add NULL entry at end
1140 Patch by Adrian Miranda <ade@psg.com>.
1141
5d7de7aa
UD
11421998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1143
1144 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1145 to 9.
1146
d610a544
UD
11471998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1148
1149 * elf/elf.h: Add PPC Diab relocations.
1150
1151 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1152
409dfcea
UD
11531998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1154
1155 * manual/texinfo.tex: Update.
1156
11571998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1158
1159 * sysdeps/powerpc/backtrace.c: New file.
1160
11611998-08-14 Philip Blundell <pb@nexus.co.uk>
1162
1163 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1164 sigjmp_save.
1165 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1166
11671998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1168
1169 * Makefile (install-symbolic-link): Fix spelling.
1170
11711998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1172
1173 * elf/elf.h (SHT_HIOS): Fix value.
1174
11751998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1176
1177 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1178 part of the expansion, this is undefined by the standard.
1179
9d141cae
UD
11801998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1181
1182 * posix/getconf.c: Add support for systems with incomplete confname.h.
1183
1184 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1185
1186 * sysdeps/posix/wait3.c: Make it work.
1187
11881998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1189
1190 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1191 (elf/ldso_install): Remove.
1192
1193 * elf/Makefile (distribute): Add sln.c.
1194 (others): Add sln.
1195 (others-static): Add sln.
1196 (install-rootsbin): Add sln.
1197 (others-static): Add sln.
1198 (ldso_install): Remove.
1199
12001998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1201
1202 * Makerules (install-clean-symbolic-link-list): Make phony.
1203 * Makefile (install-symbolic-link): Make phony. Depend on
1204 subdir_install for parallel makes.
1205
1206
12071998-07-22 Ulrich Drepper <drepper@cygnus.com>
1208
1209 * elf/Makefile (distribute): Add sln.c
1210
12111998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1212
1213 * elf/sln.c: New file.
1214
1215 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1216 (install-clean-symbolic-link-list): New target.
1217 (install): Depend on install-clean-symbolic-link-list.
1218 (make-shlib-link): Changed for $(symbolic-link-list).
1219
1220 * Makefile (install-symbolic-link): New target.
1221 (install): Depend on install-symbolic-link.
1222
1f539fd1
UD
12231998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1224
1225 * include/unistd.h: Protect against multiple inclusion.
1226
1227 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1228 is defined, not is glob is defined.
1229 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1230
12311998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1232
1233 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1234 xdr_string for ut_line, ut_name and ut_host.
1235
12361998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1237
1238 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1239 /var/mail in accordance with FHS 2.0.
1240 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1241
12421998-08-12 Richard Henderson <rth@cygnus.com>
1243
1244 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1245 Update aliases for cancelation.
1246
1247 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1248 playing with symbol versions.
1249
259d930a
RM
12501998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1251
1252 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1253 multiple inclusion protection.
1254 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1255 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1256 define all these to 1.
1257 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1258
d6765f1d
RM
12591998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1260
1261 * sysdeps/mach/usleep.c: Include <unistd.h>.
1262 (usleep): Return void.
1263
12641998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1265
1266 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1267 decl to inhibit warning in if_freenameindex defn.
1268
1269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1270
1271 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1272
1273 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1274 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1275 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1276 * sysdeps/mach/usleep.c: Likewise.
1277
1278 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1279
1280 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1281 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1282 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1283 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1284 * sysdeps/mach/usleep.c (usleep): Likewise.
1285 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1286 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1287 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1288 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1289
12901998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1291
1292 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1293 (glob64): Fix typo.
1294
1295 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1296 %p arg to fprintf, since `void *' is the right type already.
1297
b5876a19
RM
12981998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1299
1300 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
1301 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1302 for unknown root directories.
b5876a19 1303 (__getcwd): Return NULL when the current root directory could not
1f539fd1 1304 be reached.
b5876a19 1305
f81d98d6 13061998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 1307
f81d98d6 1308 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 1309
a5f4e34a 1310
f81d98d6 1311See ChangeLog.8 for earlier changes.
This page took 0.178233 seconds and 5 git commands to generate.