]> sourceware.org Git - glibc.git/blame - ChangeLog
(getpass): Don't barf if getline returns a null BUF.
[glibc.git] / ChangeLog
CommitLineData
102800e0
RM
1Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2
3 * Makerules: Use $(do-install-so) for installing shared objects.
4 (do-install-so): New canned sequence. Make a symlink LIB.so after
5 installing LIB.so.VERSION.
6
7 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
8
05be689b
RM
9Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
10
11 * stdio-common/Makefile (tests): Add bug10.
12 * stdio-common/bug10.c: New file. From HJ Lu.
13
14 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
15 status tells about successful run.
16
17 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
18 format correctness.
19 Correct handling of trailing white spaces in format + EOF.
20
21Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
22
23 * stdio-common/Makefile (tests): Add bug8 and bug9.
24 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
25
26 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
27
28 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
29 Thanks to Jim Meyering.
30
31Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
32
33 * stdio-common/vfscanf.c: Always check width !=0.
34 Correctly handle %%.
faf92f2a
RM
35Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
36
37 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
38 and cast STREAM to DIR * before passing to readdir and closedir.
39
40Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
41
42 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
43 after aborting RPCs but before calling proc_mark_stop.
44
3be01400
RM
45Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
46
47 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
48 (glob): Avoid using function as value.
49
50 * elf/rtld.c (dl_main): When mapping argument executable, set
51 l_name to "", not l_libname.
52 After loading DT_NEEDED library, set its l_type to lt_library.
53
54 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
55 VM_INHERIT. We can't handle MAP_INHERIT easily.
56 Handle non-page-aligned addresses if congruent to offset.
57
58 * elf/dl-init.c: Skip the initializer for l_type lt_executable
59 with l_name "". Start at _dl_loaded; don't skip the first element.
60
61 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
62 (MAP_COPY): Define to MAP_PRIVATE if undefined.
63 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
64 If file it ET_EXEC, set its l_type to lt_executable.
65
25b86c05
RM
66Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
67
68 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
69
787e4db9
RM
70Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
71
72 * locale/error.c, locale/error.h: Files removed.
73 * locale/Makefile (distribute): Remove error.h.
74 (lib-modules): Remove error.
75
76 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
77 magic, return ENXIO if no ctty.
78
79 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
80 mapping if vm_map fails for that reason.
81
82 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
83 GLOB_TILDE, GLOB_NOMAGIC.
84 (glob): Use stat instead of lstat to determine directoriness.
85 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
86 New flag bits.
87 (__GLOB_FLAGS): Include them.
88 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
89 gl_stat.
90
91 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
92
93 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
94 define all the bit values.
95 (MAP_*, MCL_*): Macros removed.
96
c994299d
RM
97Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
98
99 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
100 Updated from BIND 4.9.3-BETA27.
101
102Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
103
104 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
105
106 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
107 we get a delayed reply.
108 Only grab values out of entries in TYPES that have SELECT_RETURNED
109 turned on, and turn it on whenever an rpc returns.
110 Only clear bits in the user's fdsets -- those needing to be set
111 should be already.
112 Use SELECT_ALL in appropiate places.
113 (SELECT_RETURNED, SELECT_ALL): New macros.
114
115Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
116
117 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
118
119 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
120
edbba60a
RM
121Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
122
123 * misc/Makefile (headers): Add error.h, err.h.
124 (routines): Add error, err.
125 (gpl2lgpl): New variable.
126 * misc/err.c: New file.
127 * misc/err.h: New file.
128 * misc/error.c, misc/error.h: New files.
129
130 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
131
132 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
133 (link-libc): Append $(libc.so-version) to libc.so.
134 (built-program-cmd): Fix comma usage.
135 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
136 symlink to libc.so in the build directory.
137 * Rules ($(others) $(tests)): Depend on the library that appears
138 in $(link-libc).
139 (%.out): Use $(built-program-cmd) in commands.
140
141 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
142
143 * sysdeps/generic/setenv.c: Added canonical portability cruft.
144 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
145 (unsetenv): New function.
146 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
147 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
148
77a58cad
RM
149Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
150
edbba60a 151 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
77a58cad
RM
152
153 * libio/iofscanf.c: Remove file.
154
155 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
156 termination.
157
158 * libio/iopopen.c: New file from GNU libio.
159
160 * libio/memstream.c: Fixed bug in fclose handling. Instead of
161 providing a close callback we need a finish callback.
162
163 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
164
165 * posix/gnu/types.h: Fixed typo.
166
167 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
168 not test for != 0.
169
170 * stdio-common/printf-parse.h (parse_one_spec): Do not force
171 padding with ' ' if precision is given. Fix by HJ Lu.
172
173 * stdio-common/printf_fp.c: Fix comment.
174
175 * stdio-common/tfformat.c, stdio-common/tiformat.c,
176 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
177
178 * stdio-common/tstgetln.c: Provide ssize_t type when testing
179 libio.
180
181 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
182 (vfprintf): Cleasr args_type array before using it.
183 When printing 0 as an integer with precision 0 nothing must be
184 written for the number.
185 Based on patch by HJ Lu.
186
187 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
188 have a dynamically extended buffer.
189
190 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
191 some bugs with handling of very small numbers and has different
192 solution for formaer patches.
193
194 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
195 macros r1 and r2 to t1, and t2 resp. This is necessary because
196 glibc headers also define r1.
197
b5a08c5a
RM
198Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
199
200 * stdlib/gen-mpn-copy (translations): Updated for new layout in
201 GMP 1.910.
202
203 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
204 made global.
205 (malloc): Caller changed.
206 * malloc/realloc.c (realloc): Call __malloc_initialize if
207 necessary, before checking hook.
208 * malloc/malloc.h: Declare __malloc_initialize.
209
210 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
211 as integer_t arg in RPC.
212
0fe4e552
RM
213Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
214
683158e0
RM
215 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
216 (_hurd_set_brk): Try to allocate more space when we run out.
0fe4e552 217
683158e0
RM
218 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
219 zero and examine it again.
220 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
221 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
222 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
223 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
0fe4e552
RM
224 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
225 Invoke this macro before calling DL_MAIN.
226
227 * malloc/malloc.c (malloc): Do initialization here, before
228 checking the hook.
229 (_malloc_internal): Don't do it here.
230
b2518f55
RM
231Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
232
233 * libio/vsnprintf.c (__vsnprintf): Define as alias.
234 * libio/iovsscanf.c (__vsscanf): Define as alias.
235 * asprintf.c: Remove libio adaptation code added by drepper.
236 * dprintf.c: Likewise.
237 * printf.c: Likewise.
238 * scanf.c: Likewise.
239 * snprintf.c: Likewise.
240 * sprintf.c: Likewise.
241 * sscanf.c: Likewise.
242 * vprintf.c: Likewise.
243 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
244 function.
245 (vfscanf): Define unconditionally.
246
247 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
248 zero for value.
249
250 * misc/getpass.c: Write a newline after reading the unechoed
251 password.
252
b7843ea9
RM
253Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
254
255 * posix/Makefile (routines): Add getsid.
256 * sysdeps/unix/sysv/linux/getsid.S: New file.
257 * sysdeps/mach/hurd/getsid.c: New file.
258 * sysdeps/stub/getsid.c: New file.
259 * posix/unistd.h [__USE_GNU]: Declare getsid.
260
f45e34fc
RM
261Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
262
263 * libc-symbols.h (N_): New macro.
264
cbd3dceb
RM
265Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
266
267 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
268 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
269 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
270 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
271 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
272 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
273 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
274 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
275 strings.
276
fbaad149
RM
277Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
278
279 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
280
281Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
282
283 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
284 New files.
1ed0083c 285 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
fbaad149
RM
286 mlock, munlock, mlockall, and munlockall.
287
f4482045
RM
288Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
289
290 * configure.in (--enable-libio): Set $stdio based on $enableval,
291 not always to libio.
292
293Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
294
295 * malloc/malloc.c (_malloc_internal): Can't use
296 get_contiguous_space when the heap info table
297 will be growing. Account for new contiguous space in _heaplimit.
298
42d2676e
RM
299Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
300
301 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
302 for errno.
303
304 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
305 alias for _IO_vfprintf.
306
307 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
308
309 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
310 __fpu_control instead of ___fpu_control.
311 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
312 (___fpu_control): Renamed to __fpu_control.
313 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
314 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
315
316 * elf/dl-minimal.c: New file.
317 * elf/Makefile (rtld-routines): Add dl-minimal.
318 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
319 Functions moved to dl-minimal.c.
320 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
321 sigjmp_save, longjmp): Likewise.
322
323 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
324 to &_end, regardless of PIC.
325
326 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
327
1a3a58fd
RM
328Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
329
330 * malloc/malloc.c (align): Don't check contiguity and call abort.
331
332 * hurd/hurdsig.c (post_reply): Function removed.
333 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
334 Take single callback fn arg instead of reply port and type.
335 (_hurd_internal_post_signal): Callers changed.
336 Cache reply stub fn ptr in local var before UNTRACED might be changed.
337
338 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
339 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
340 vm_map.
341
342 * elf/rtld.c (_dl_start): For --list, do output and exit before
343 relocating.
344
91c7b85d
RM
345Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
346
347 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
348 get .c and .h files.
349
350 * malloc/malloc.c (align): Use abort instead of assert.
351
054cc4cc
RM
352Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
353
354 * Makeconfig (+includes): Add $($(stdio)-include).
355 (libio-include): New variable.
356
357 * stdlib/strtod.c: Put weak_symbol after function defn.
358 * stdlib/strtol.c: Likewise.
359
360 * configure.in (--enable-libio): If not present, set $stdio to
361 "default". Move stdio/libio check to end, so sysdeps fragments
362 can affect it. Reset $stdio to "stdio" if it's "default".
363 * sysdeps/unix/sysv/linux/configure: New file.
364
96aa2d94
RM
365Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
366
367 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
368 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
369 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
370 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
371 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
372 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
373 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
374 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
375 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
376 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
377 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
378 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
379 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
380 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
381 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
382 New files. Slightly modified version from Linux libc.
383
384 * libio/memstream.c, libio/vdprintf.c: New files for functions not
385 (yet) part of GNU libio.
386
387 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
388 by Per Bothner.
389
390 * stdio-common/getline.c: Adapted to libio.
391 * stdio-common/snprintf.c: Adapted to libio.
392 * stdio-common/vfprintf.c: Adapted to libio.
393 * stdio-common/vfscanf.c: Adapted to libio.
394 * sysdeps/posix/tempname.c: Adapted to libio.
395
a5a81fec
RM
396Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
397
398 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
399
400 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
401 function.
402
403 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
404 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
405 Insert send right for SIGEXC before thread_set_special_port.
406 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
407 (_hurdsig_init): Remove #if 0 from setting exception port.
408
409 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
410 HURD_MSGPORT_RPC macro.
411
4cb20290
RM
412Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
413
414 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
415 function.
416 (_dl_sysdep_start): Move cleanup code there.
417
418 * Makeconfig (default-rpath): New variable.
419 (link-libc): Use it.
420 * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
421 * elf/rtld.c (_dl_rpath): New variable.
422 (_dl_start): Set it from rtld_map's DT_RPATH.
423 Call _dl_setup_hash on rtld_map.
424 (dl_main): Cache address of _exit in variable before relocating,
425 and use that in later calls. Call _dl_sysdep_start_cleanup before
426 relocating. Keep track of dependency order while loading; remove
427 rtld_map from chain, and reinsert in proper order if there is a
428 dependency on it.
429
430 * sysdeps/generic/Makefile (make_siglist): Pass
431 -DSIGNUM_H=... with config's signum.h location.
432 * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
433 signal numbers.
434 (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
435 (main): Deansideclize output.
436
437 * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
438 of DEFAULT_RPATH macro.
439 * elf/Makefile: Undo last change.
440
441 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
442
ec967c06
RM
443Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
444
8738e7f8
RM
445 * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
446 error if weak.
447
448 * elf/Makefile (default-rpath): New variable.
449 (CPPFLAGS): Append -DDEFAULT_RPATH=....
450 * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
451 hard-coded "/lib:/usr/lib".
452
ec967c06
RM
453 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
454 instead of stdio.
455 (_dl_sysdep_start): If passed user entry is zero and
456 EXEC_STACK_ARGS flag set, reset user entry to &_start.
457
458 * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
459 DT_HASH element.
460
461 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
462 repeat weak decl using weak_symbol macro, in case using broken GCC
463 (<2.8).
464
465Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
466
467 * sysdeps/i386/isnanl.c: New file.
468 * sysdeps/i386/isinfl.c: New file.
469
2ede96c9
RM
470Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
471
472 * malloc/free.c (free): Moved null and aligned_blocks checks
473 inside _free_internal.
474
9199ec6e
RM
475Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
476
477 * malloc/malloc.c (morecore): Fix inverted test in allocating new
478 info table.
479
480 * malloc/malloc.c (align): Fix assertion.
481
482 * malloc/malloc.c: Include assert.h.
483
484 * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
485
486 * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
487 (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
488
75914335
RM
489Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
490
accc07a9
RM
491 * malloc/malloc.c (align): Assert that space for alignment
492 adjustment is same original space.
493
494 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
495 arg to vm_address_t.
496
75914335
RM
497 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
498 skip straight to pending check. When UNTRACED, resume process
499 from suspension first.
500
501 * intl/Makefile (headers): New variable, libintl.h.
502 [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
503 * configure.in: Check for --with-gettext arg.
504
505Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
506
507 * malloc/malloc.c (get_contiguous_space): New function.
508 (morecore): Rewrite allocating new malloc info table.
509 (_malloc_internal): Use get_contiguous_space.
510
511Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
512
513 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
514 _hurd_msgport to be destroyed.
515
516 * Makerules (installed-libcs): Filter out %_pic.a.
517
518 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
519 to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
520
521 * hurd/Makefile (user-interfaces): Add hurd/process_request.
522
d7435cd8
RM
523Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
524
525 * termios/Makefile (headers): Add sys/ttychars.h.
526 * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
527 for compatibility.
528
529 * signal/signal.h [__USE_BSD] (sig_t): New typedef.
530
531Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
532
533 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
534 proc server that we are now traced.
535
86d2c878
RM
536Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
537
094bacdb
RM
538 * elf/Makefile (ldd): Make it executable.
539
540 * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
541
542 * Makeconfig (slibdir): New variable.
543 * Makerules (install): Install libc.so in $(slibdir).
544 * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
545 in $(slibdir).
546
86d2c878
RM
547 * elf/linux-compat.c: New file.
548 * elf/Makefile (distribute): Add linux-compat.c.
549 (generated): Add librtld.so.
550 [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
551 [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
552 (librtld.so): New target.
553 (ld.so, ld-linux.so.1): Make from librtld.so.
554
555 * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
556 call our own DT_INIT if we have one (and then clear it).
557 (__dgettext): New weak function.
558
559 * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
560 by hand instead.
561
562 * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
563 instead of snprintf.
564
565 * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
566 BUF[BUFLEN].
567
568 * elf/rtld.c (rtld_map): New static variable.
569 (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
570 bootstrapping. Then copy data into `rtld_map'.
571 (dl_main): Finish filling in rtld_map and link it into the chain,
572 instead of allocating a new structure.
573 (dl_main): Call _dl_compat_init if it is defined (use weak ref).
574
575 * elf/dlsym.c: Fix last change: move REF out of `doit'.
576
51093422
RM
577Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
578
579 * elf/dlsym.c: Return the proper value, not just the defining
580 object's loadbase.
581
e380bf62
RM
582Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
583
f797c383
RM
584 * stdio-common/vfprintf.c (%c): Count the character itself towards
585 the field width in all cases.
586
e380bf62
RM
587 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
588 __vm_deallocate arg to vm_address_t.
589
853f0eea
RM
590Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
591
592 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
593 socket_create_address.
594 * sysdeps/mach/hurd/connect.c: Likewise.
595 * sysdeps/mach/hurd/bind.c: Likewise.
596
597 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
598 args to proc_getprocinfo.
599 * sysdeps/mach/hurd/getpriority.c: Likewise.
600
601 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
602
27cc33c3
RM
603Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
604
605 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
606
3bbceb12
RM
607Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
608
80b55d32
RM
609 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
610 PI_FETCH_TASKINFO to proc_getprocinfo and through
611 _hurd_priority_which_map.
612
613 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
614 _hurd_priority_which_map.
615 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
616 passed through to proc_getprocinfo RPC.
617 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
618
3bbceb12
RM
619 * sysdeps/mach/hurd/group_member.c: New file.
620 * sysdeps/generic/group_member.c: New file.
621
622 * Makerules (lib-noranlib): Don't depend on $(install-lib).
623 (others): Do.
624 * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
625
626Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
627
628 * Rules (others): Depend on $(extra-objs).
629
630 * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
631 * posix/Makefile (routines): Add group_member.
632
633 * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
634
635 * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
636 SIG operand in asm so it must be a register.
637 Add dead return to quiet gcc warning.
638
639 * Makerules (sysd-rules): Write a defn for sysd-rules-done.
640 [! sysd-rules-done]: Inhibit deps.
641
3e2ee727
RM
642Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
643
644 * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
645 simulation of system call using select.
646
647 * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
648
649 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
650
651 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
652 name usage (new->act, old->oact).
653 Correct asm statement because of gcc strangeness.
86d2c878 654
3e2ee727
RM
655 * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
656
657 * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
658 conflict with the ones in stdio.h.
659
660 * string/tester.c: %Z is no complete format. Change to %Zd.
661
f094496c
RM
662Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
663
664 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
665 * sysdeps/mach/hurd/link.c (__link): Ditto.
3e2ee727 666 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
f094496c
RM
667 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
668 Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
669
efc755b2
RM
670Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
671
672 * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
673
674 * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
675 on syscall_error. For PIC, it is a local label;
676 for non-PIC, JUMPTARGET expands to the unadorned name anyway.
677 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
678 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
679 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
680 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
681 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
682 * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
683
41334987
RM
684Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
685
686 * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
687 comment to the necessary ones. Add _readv and _writev.
688
689 * sysdeps/unix/configure.in: Change syntax for system call test
690 candidates and adapt sed script for this. Now use : to separate
691 syscall name and file name.
692
693 * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
694 number is now set is DO_CALL. So call with additional argument.
695 (DO_CALL): Takes an additional argument. Load system call
696 number according to new argument.
697 (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
698 * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
699 locally using SYSCALL_ERROR_HANDLER macro.
700 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
701 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
702 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
703 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
704 * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
705 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
706 Don't use DO_CALL macro; instead use lower level macros for better
86d2c878 707 control.
41334987
RM
708
709 * sysdeps/unix/sysv/linux/sigaction.h: New file.
710 * sysdeps/unix/sysv/linux/sigaction.S: File removed.
711 * sysdeps/unix/sysv/linux/signal.S: File removed.
712
ff9bef7f
RM
713Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
714
c14e4c32
RM
715 * hurd/hurdstartup.c (_hurd_startup): Use new
716 exec_startup_get_info RPC from exec_startup.defs
717 in place of old exec_startup from exec.defs. Remove kludge to
718 guess user entry and phdr locations, since the new RPC gives us
719 that info.
720
f44f9c33 721 * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
c14e4c32 722 * sysdeps/generic/_strerror.c: Undo last change.
f44f9c33 723
ff9bef7f
RM
724 * sysdeps/unix/sysv/linux/stat.c: New file.
725 * sysdeps/unix/sysv/linux/fstat.c: New file.
726 * sysdeps/unix/sysv/linux/lstat.c: New file.
727 * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
728 * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
729 * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
730
21ee7166
RM
731Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
732
03a75825
RM
733 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
734 New macro.
735 (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
736
737 * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
738 only #ifndef PIC.
739
740 * Makeconfig (built-program-cmd): New variable.
741 * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
742 * time/Makefile (zic-cmd): Likewise.
743
744 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
745
e97ec51d
RM
746 * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
747 * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
748 make `others' rather than `lib-noranlib' depend on the libraries.
749
21ee7166
RM
750 * sysdeps/unix/configure.in: Check for fchdir syscall.
751 Improve sed script to allow / on rhs without / on lhs.
752
753Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
754
755 * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
756
757 * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
758
759 * sysdeps/unix/sysv/linux/select.S: New file.
760
4d049a8b
RM
761Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
762
1d234146
RM
763 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
764 SYSCALL_PIC_SETUP before jumping to syscall_error.
765 * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
766 (PSEUDO): Use it before jumping to syscall_error.
767 * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
768 expect it in %ebx on entry. Pop old %ebx value off stack after
86d2c878 769 using it.
1d234146 770
580c1888
RM
771 * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
772 them.
773
4d049a8b
RM
774 * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
775
776 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
777 `fd/', pass the right pointer to strtol to parse the number.
778
cabcc273
RM
779Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
780
781 * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
782 of stdio/_itoa.h.
783
784Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
785
786 * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
787 register %ebx before calling __xstat through PLT.
788
789 * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
790
791 * sysdeps/unix/sysv/linux/sigset.h: Remove file.
792
b3a59f40
RM
793Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
794
cabcc273
RM
795 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
796 stdio/_itoa.h.
797 * hurd/hurdlookup.c: Likewise.
86d2c878 798
f2149f69
RM
799 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
800 hurd_unpreempt_signals.
801
802 * stdio/stdio.h: Declare __snprintf and __vsnprintf.
803
b3a59f40
RM
804 * stdio-common/psignal.c: Translate signal description strings.
805 * string/strsignal.c: Likewise.
806 * sysdeps/generic/_strerror.c (_strerror_internal): Translate
807 error strings.
808 * sysdeps/mach/_strerror.c: Likewise.
809
810 * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
811 call __vsnprintf.
812 (snprintf): Define as weak alias.
813 * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
814 (vsnprintf): Define as weak alias.
815
924b9ff6
RM
816Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
817
0700dfa1
RM
818 * Makerules (install-lib): Filter out %_pic.a; install only the
819 linked shared objects.
820
cb2f05ed
RM
821 * locale/Makefile (aux): Add SYS_libc.
822 * locale/SYS_libc.c: New file.
b3a59f40 823 * libc-symbols.h [! ASSEMBLER] (_): New macro.
cb2f05ed
RM
824
825 * configure.in (libc_cv_asm_set_directive): Link program into
826 conftest instead of letting it default to a.out.
827
d17e960c
RM
828 * elf/Makefile (install-others): Add missing slash.
829
830 * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
831 won't search LD_LIBRARY_PATH.
832
deab9dea
RM
833 * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
834 * configure.in: Grok arg --enable-libio.
835 ($stdio = libio): Define USE_IN_LIBIO.
836 * config.h.in (USE_IN_LIBIO): Add #undef.
837 * config.make.in (stdio): New variable, set by configure.
838 * Makeconfig (stdio): New variable.
839 * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
840 stdio/stdio.h.
841 * stdio-common/Makefile: New file.
842 * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
843 * stdio/_itoa.c: Moved to stdio-common.
844 * stdio/_itoa.h: Moved to stdio-common.
845 * stdio/asprintf.c: Moved to stdio-common.
846 * stdio/bug1.c: Moved to stdio-common.
847 * stdio/bug1.input: Moved to stdio-common.
848 * stdio/bug2.c: Moved to stdio-common.
849 * stdio/bug3.c: Moved to stdio-common.
850 * stdio/bug4.c: Moved to stdio-common.
851 * stdio/bug5.c: Moved to stdio-common.
852 * stdio/bug6.c: Moved to stdio-common.
853 * stdio/bug6.input: Moved to stdio-common.
854 * stdio/bug7.c: Moved to stdio-common.
855 * stdio/dprintf.c: Moved to stdio-common.
856 * stdio/errnobug.c: Moved to stdio-common.
857 * stdio/getline.c: Moved to stdio-common.
858 * stdio/getw.c: Moved to stdio-common.
859 * stdio/perror.c: Moved to stdio-common.
860 * stdio/printf-parse.h: Moved to stdio-common.
861 * stdio/printf-prs.c: Moved to stdio-common.
862 * stdio/printf.c: Moved to stdio-common.
863 * stdio/printf.h: Moved to stdio-common.
864 * stdio/printf_fp.c: Moved to stdio-common.
865 * stdio/psignal.c: Moved to stdio-common.
866 * stdio/putw.c: Moved to stdio-common.
867 * stdio/reg-printf.c: Moved to stdio-common.
868 * stdio/scanf.c: Moved to stdio-common.
869 * stdio/snprintf.c: Moved to stdio-common.
870 * stdio/sprintf.c: Moved to stdio-common.
871 * stdio/sscanf.c: Moved to stdio-common.
872 * stdio/tempnam.c: Moved to stdio-common.
873 * stdio/temptest.c: Moved to stdio-common.
874 * stdio/test-fseek.c: Moved to stdio-common.
875 * stdio/test-fwrite.c: Moved to stdio-common.
876 * stdio/test-popen.c: Moved to stdio-common.
877 * stdio/test_rdwr.c: Moved to stdio-common.
878 * stdio/tmpfile.c: Moved to stdio-common.
879 * stdio/tmpnam.c: Moved to stdio-common.
880 * stdio/tst-fileno.c: Moved to stdio-common.
881 * stdio/tst-printf.c: Moved to stdio-common.
882 * stdio/tstgetln.c: Moved to stdio-common.
883 * stdio/tstgetln.input: Moved to stdio-common.
884 * stdio/tstscanf.c: Moved to stdio-common.
885 * stdio/tstscanf.input: Moved to stdio-common.
886 * stdio/vfprintf.c: Moved to stdio-common.
887 * stdio/vfscanf.c: Moved to stdio-common.
888 * stdio/vprintf.c: Moved to stdio-common.
889 * stdio/xbug.c: Moved to stdio-common.
890 * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
891 stdio-common instead of stdio.
892 * sysdeps/unix/Makefile (errlist.c rules): Likewise.
893 * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
894 function.
895 * stdio-common/dprintf.c: Likewise.
896 * stdio-common/printf.c: Likewise.
897 * stdio-common/scanf.c: Likewise.
898 * stdio-common/snprintf.c: Likewise.
899 * stdio-common/sprintf.c: Likewise.
900 * stdio-common/sscanf.c: Likewise.
901 * stdio-common/vprintf.c: Likewise.
902
903 * Makerules: Include $(+depfiles) directly instead of generating
904 depend-$(subdir).
905 (depend-$(subdir)): Target removed.
906 (common-clean): Don't remove depend-$(subdir).
907
32a392b6
RM
908 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
909 (config-LDFLAGS): Variable removed.
910
924b9ff6
RM
911 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
912 * sysdeps/mach/hurd/bind.c: Likewise.
913 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
914 calling convention.
915
916 * hurd/hurdexec.c: Undo last change (10 Oct 95).
917
6cab5056
RM
918Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
919
2948fc64
RM
920 * hurd/hurd/lookup.h: New file.
921 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
922 (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
923 __hurd_file_name_split): Rewritten to take callback functions for
924 using any needed init or dtable port, instead of passing in crdir
86d2c878 925 and cwdir ports.
2948fc64
RM
926 (__file_name_lookup, __file_name_split): Use new calling
927 convention; pass _hurd_ports_use and __getdport as the callback
86d2c878 928 functions.
2948fc64
RM
929
930 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
931 of __hurd_file_name_lookup.
932 * sysdeps/mach/hurd/chdir.c: Likewise.
933 * sysdeps/mach/hurd/fchdir.c: Likewise.
934 * hurd/fchroot.c: Likewise.
935
6cab5056
RM
936 * stdlib/Makefile (mpn-found): Don't omit %.s.
937 (mpn-copy-sysdep): Omit files in nonexistent directories.
938 (copy-mpn): Commit files to CVS.
939 * stdlib/gen-mpn-copy (translations): Update translations for GMP
940 1.906.7.
941
942 * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
943
8f5ca04b
RM
944Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
945
946 * malloc/malloc.c (_malloc_internal): Performance fix. Move
947 if statement out of loop.
948
949 * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
950 implementation using GMP functions. Contributed by
951 Torbjorn Granlund and Ulrich Drepper.
952
953 * stdio/test_rdwr.c: Include <errno.h>.
954
955 * sysdeps/i386/i586/Implies: New file.
956
957 New highly optimized string functions for i[345]86.
958 * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
959 * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
960 * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
961 * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
962 * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
963 * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
964 * sysdeps/i386/i586/strlen.S: New file.
965 * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
966
967 * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
968 not correspond to used values.
969
970 * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
971 around a kernel header file.
972 * sysdeps/unix/sysv/linux/Dist: Add it.
973 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
974 Likewise.
975
976 * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
977 defining ourself we use a kernel header file.
978
979 * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
980 call handler for i586.
981
982 * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
983
6cab5056
RM
984Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
985
986 * hurd/hurd.h (file_name_lookup_under): Declare it.
987 * hurd/Makefile (headers): Add hurd/lookup.h.
988
989 * hurd/hurdinit.c (_hurd_ports_use): New function.
990 * hurd/hurd.h (_hurd_ports_use): Declare it.
991 (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
992 hurd_file_name_lookup_retry): Remove these decls.
993 * hurd/Makefile (routines): Remove invoke-trans.
994
db65048b
RM
995Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
996
5d82cf5c
RM
997 * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
998 apply R_386_PC32 reloc.
999
db65048b
RM
1000 * Makeconfig (config-LDFLAGS): Add missing slash.
1001
1002 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
1003 update_waiter if profiling was enabled in the parent.
1004
1005 * csu/initfini.c: Don't pass -f flag to cp.
1006
8e3cc80f
RM
1007Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1008
1009 * Makerules (build-shlib): Pass -rpath and -rpath-link options.
1010 (LDFLAGS-c.so): Don't pass -dynamic-linker here.
1011 * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
1012 (link-libc): Pass -rpath and -rpath-link options.
1013
1014 * MakeTAGS (all-dirs): Omit CVS directories.
1015 Specify vpath directives to find source files in $(all-dirs).
1016 (sources, headers): Append sources and headers from $(all-dist) to
86d2c878 1017 these.
8e3cc80f
RM
1018 (all-dist): Filter them out of this.
1019 (all-headers, all-sources): Use $(shell find ...) instead of
1020 $(wildcard ...).
1021
1022 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
1023 -rpath-link.
1024
1025 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
1026
1027 * elf/Makefile (install-others): Add missing $.
1028
b122c703
RM
1029Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1030
8e3cc80f
RM
1031 * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
1032
b122c703
RM
1033 * Makeconfig (config-LDFLAGS): Define to
1034 -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
1035 (rtld-installed-name): New variable.
1036 * elf/Makefile (install-lib): Variable removed.
1037 (install-others): Define this instead, to
86d2c878 1038 $(libdir)(rtld-installed-name).
b122c703
RM
1039 ($(libdir)(rtld-installed-name)): New target; install from ld.so.
1040
1041 * elf/ldd.sh.in: New file.
1042 * elf/Makefile (distribute): Add ldd.sh.in.
1043 (install-bin): Add ldd.
1044 ($(objpfx)ldd: ldd.sh.in): New rule.
1045
1046 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
1047 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
1048 Translate some Mach errors to Hurd errors.
1049
1050 * elf/rtld.c (dl_main): Under --list, print msg if executable is
1051 statically linked.
1052
1053 * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
1054 table processing.
1055
1056Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1057
1058 * sysdeps/stub/machine-gmon.h: Add #error.
1059
1060Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1061
1062 * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
1063 examine it.
1064
80fd7387
RM
1065Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
1066
1067 Rewrite mktime from scratch for performance, and for correctness
1068 in the presence of leap seconds.
1069
1070 * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
1071 New functions.
1072 (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
1073 TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
1074 <limits.h>, <stdlib.h>: New #includes.
1075 (main): Support tests with given broken-down value; support benchmarks.
1076 (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
1077 do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
1078 <ctype.h>): Remove.
1079
1080 * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
1081 * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
1082
1083 * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
1084 time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
86d2c878 1085
80fd7387
RM
1086 * time/offtime.c (__offtime): Remove useless assignment
1087 `tp->tm_isdst = -1'.
1088
1089 * manual/maint.texi: Update credits.
1090
1091Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1092
1093 * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
1094 * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
1095 * sysdeps/unix/sysv/linux/readv.c: File removed.
1096 * sysdeps/unix/sysv/linux/writev.c: File removed.
1097 * sysdeps/unix/configure.in: Check for readv and writev syscalls.
1098
1099 * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
1100 set it to $unix_syscall instead of $unix_function.
1101
6a76c115
RM
1102Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1103
1104 * elf/rtld.c (dl_main): Grok --list flag.
1105 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
1106
5f770861
RM
1107Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1108
6a76c115
RM
1109 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
1110 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
1111 * elf/link.h (_dl_sysdep_message): Declare it.
1112
57aefafe
RM
1113 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
1114 the list.
1115
1116 * time/northamerica: Corrections to Canada data from ADO 95i.
1117
1118 * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
1119 unconditionally. In socket subdir, append sys/socketcall.h; in
1120 time subdir, append sys/timex.h.
1121 (config-LDFLAGS): New variable.
1122 * sysdeps/unix/sysv/linux/Dist: New file.
1123 * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
1124
5f770861
RM
1125 * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
1126
1127 * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
1128
41cfadd6
RM
1129Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1130
879bf2e6
RM
1131 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
1132 kernel with args on stack, point _dl_hurd_data at zero data
1133 instead of garbage. When ld.so run as program, grok args
1134 -LIB=MEMOBJ and pre-load shared object files found in memory
1135 objects loaded by the boot loader.
1136
1137 * elf/link.h (struct link_map): New member `l_entry'.
1138 (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
1139 * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
1140 last arg ENTRY_POINT. Store the entry point location in the
1141 `l_entry' member of the new map.
1142 * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
1143 _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
1144 * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
1145 _dl_map_object.
1146
41cfadd6
RM
1147 * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
1148
1149 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
1150 restore %ebx by hand for personality syscall.
1151 GCC cannot deal with spilling the dedicated GOT register.
1152
1153 * misc/Makefile (routines): Add mntent, which was somehow omitted.
1154
1155Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
1156
1157 * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
1158 Change name of field `mode' in `struct timex' to `modes'.
1159 Linux-1.3.28 updates this name according to RFC 1489.
1160
24906b43
RM
1161Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1162
1163 Merge new message handling code from GNU gettext, by Drepper.
1164 * intl: New directory.
1165 * Makefile (subdirs): Add intl.
1166
1167 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
1168 USER_ENTRY instead of storing it on our stack.
1169
1170 * elf/rtld.c (rtld_command): Variable removed.
1171 (_dl_skip_args): New variable.
1172 (dl_main): Increment _dl_skip_args instead of setting rtld_command.
1173 If the link_map for the executable itself is not first in the chain,
1174 make it so.
1175 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
1176 count of args to skip.
1177
1178Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1179
1180 * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
86d2c878
RM
1181 leading zeroes.
1182
ea03559a
RM
1183Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1184
3ec41e03
RM
1185 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
1186 (getcwd): Define as weak alias.
1187 * sysdeps/posix/getcwd.c: Likewise.
1188 * sysdeps/stub/getcwd.c: Likewise.
1189 * posix/unistd.h: Declare __getcwd.
1190
1191 * string/string.h: Declare __strcasecmp.
1192 * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
1193 strcasecmp.
1194 (strcasecmp): Define as weak alias.
1195
1196 * string/string.h: Declare __stpcpy.
1197 * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
1198 (stpcpy): Define as weak alias.
1199
f94f8067
RM
1200 * sysdeps/unix/sysv/linux/Implies: Add unix/common.
1201
3f33a4ce
RM
1202 * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
1203 Don't use `type' for arg name, since we are using it as a keyword
86d2c878 1204 in the rhs.
3f33a4ce
RM
1205
1206 * sysdeps/unix/configure.in: Check for syscalls getpriority,
1207 setpriority, getrlimit, setrlimit.
1208
1209 * sysdeps/posix/truncate.c: Include fcntl.h.
1210
1211 * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
1212
1213 * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
1214 use new stub_warning syntax.
1215 * sysdeps/stub/setpriority.c: Likewise.
1216 * sysdeps/stub/__longjmp.c: Likewise.
1217 * sysdeps/stub/_exit.c: Likewise.
1218 * sysdeps/stub/accept.c: Likewise.
1219 * sysdeps/stub/acos.c: Likewise.
1220 * sysdeps/stub/alarm.c: Likewise.
1221 * sysdeps/stub/asin.c: Likewise.
1222 * sysdeps/stub/atan2.c: Likewise.
1223 * sysdeps/stub/bind.c: Likewise.
1224 * sysdeps/stub/cbrt.c: Likewise.
1225 * sysdeps/stub/chroot.c: Likewise.
1226 * sysdeps/stub/closedir.c: Likewise.
1227 * sysdeps/stub/connect.c: Likewise.
1228 * sysdeps/stub/cos.c: Likewise.
1229 * sysdeps/stub/cosh.c: Likewise.
1230 * sysdeps/stub/ctermid.c: Likewise.
1231 * sysdeps/stub/cuserid.c: Likewise.
1232 * sysdeps/stub/defs.c: Likewise.
1233 * sysdeps/stub/exp.c: Likewise.
1234 * sysdeps/stub/fmod.c: Likewise.
1235 * sysdeps/stub/frexp.c: Likewise.
1236 * sysdeps/stub/fsync.c: Likewise.
1237 * sysdeps/stub/getcwd.c: Likewise.
1238 * sysdeps/stub/getenv.c: Likewise.
1239 * sysdeps/stub/gethostid.c: Likewise.
1240 * sysdeps/stub/getlogin.c: Likewise.
1241 * sysdeps/stub/getpeername.c: Likewise.
1242 * sysdeps/stub/getrlimit.c: Likewise.
1243 * sysdeps/stub/getsockname.c: Likewise.
1244 * sysdeps/stub/getsockopt.c: Likewise.
1245 * sysdeps/stub/listen.c: Likewise.
1246 * sysdeps/stub/log.c: Likewise.
1247 * sysdeps/stub/log10.c: Likewise.
1248 * sysdeps/stub/mkfifo.c: Likewise.
1249 * sysdeps/stub/morecore.c: Likewise.
1250 * sysdeps/stub/nice.c: Likewise.
1251 * sysdeps/stub/nlist.c: Likewise.
1252 * sysdeps/stub/opendir.c: Likewise.
1253 * sysdeps/stub/pipestream.c: Likewise.
1254 * sysdeps/stub/ptrace.c: Likewise.
1255 * sysdeps/stub/putenv.c: Likewise.
1256 * sysdeps/stub/readdir.c: Likewise.
1257 * sysdeps/stub/reboot.c: Likewise.
1258 * sysdeps/stub/recv.c: Likewise.
1259 * sysdeps/stub/recvfrom.c: Likewise.
1260 * sysdeps/stub/rename.c: Likewise.
1261 * sysdeps/stub/rewinddir.c: Likewise.
1262 * sysdeps/stub/seekdir.c: Likewise.
1263 * sysdeps/stub/send.c: Likewise.
1264 * sysdeps/stub/sendto.c: Likewise.
1265 * sysdeps/stub/setegid.c: Likewise.
1266 * sysdeps/stub/seteuid.c: Likewise.
1267 * sysdeps/stub/setgroups.c: Likewise.
1268 * sysdeps/stub/sethostid.c: Likewise.
1269 * sysdeps/stub/sethostname.c: Likewise.
1270 * sysdeps/stub/setjmp.c: Likewise.
1271 * sysdeps/stub/setrlimit.c: Likewise.
1272 * sysdeps/stub/setsockopt.c: Likewise.
1273 * sysdeps/stub/shutdown.c: Likewise.
1274 * sysdeps/stub/signal.c: Likewise.
1275 * sysdeps/stub/sigsuspend.c: Likewise.
1276 * sysdeps/stub/sin.c: Likewise.
1277 * sysdeps/stub/sinh.c: Likewise.
1278 * sysdeps/stub/socket.c: Likewise.
1279 * sysdeps/stub/socketpair.c: Likewise.
1280 * sysdeps/stub/sqrt.c: Likewise.
1281 * sysdeps/stub/sync.c: Likewise.
1282M sysd-stdio.c
1283 * sysdeps/stub/system.c: Likewise.
1284 * sysdeps/stub/tan.c: Likewise.
1285 * sysdeps/stub/tanh.c: Likewise.
1286 * sysdeps/stub/tcdrain.c: Likewise.
1287 * sysdeps/stub/tcflow.c: Likewise.
1288 * sysdeps/stub/tcgetpgrp.c: Likewise.
1289 * sysdeps/stub/tcsendbrk.c: Likewise.
1290 * sysdeps/stub/tcsetattr.c: Likewise.
1291 * sysdeps/stub/tcsetpgrp.c: Likewise.
1292 * sysdeps/stub/telldir.c: Likewise.
1293 * sysdeps/stub/tempname.c: Likewise.
1294 * sysdeps/stub/ttyname.c: Likewise.
1295 * sysdeps/stub/ttyname_r.c: Likewise.
1296 * sysdeps/stub/utime.c: Likewise.
1297
1298 * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
1299
1300 * time/mktime.c (localtime_r): Use 0 instead of NULL.
1301
ea03559a
RM
1302 * config.make.in (AS): New variable; set to `$(CC) -c'.
1303
1304 * posix/unistd.h [__USE_BSD]: Declare profil.
1305
1306 * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
1307 of _dl_map_object.
1308 (_dl_map_object): Call it.
1309 * elf/link.h (_dl_map_object_from_fd): Declare it.
1310
11c981a9
RM
1311Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1312
c709e372
RM
1313 * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
1314 gettext code.
1315
1316 * sysdeps/unix/sysv/linux/sys/param.h: New file.
1317 * sysdeps/unix/sysv/linux/Subdirs: File removed.
1318
1319 * libc-symbols.h (_LIBC): Define to 1, not just empty.
1320
11c981a9
RM
1321 * gmon: New directory of profiling code, incorporated from
1322 4.4BSD-Lite and modified.
1323 * sysdeps/i386/machine-gmon.h: New file.
1324 * sysdeps/stub/machine-gmon.h: New file.
1325 * sysdeps/mach/hurd/profil.c: New file.
1326 * sysdeps/stub/profil.c: New file.
1327 * sysdeps/unix/bsd/profil.S: New file.
1328 * Makefile (subdirs): Add gmon.
1329 * csu/gmon-start.c: New file.
1330 * csu/Makefile (extra-objs): Add gmon-start.o,
1331 g$(start-installed-name).
1332 (install-lib, omit-deps): Add g$(start-installed-name).
1333 ($(objpfx)g$(start-installed-name)): New target.
1334
969705cc
RM
1335Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1336
1337 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
1338 time being.
1339
0324daa0
RM
1340Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1341
969705cc
RM
1342 * sysdeps/unix/configure.in: Check for `profil' syscall.
1343
c12d1df0
RM
1344 * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
1345 removed.
1346
a5570f62
RM
1347 * time/africa, time/asia, time/europe, time/northamerica,
1348 time/yearistype: New data from ADO 95h.
1349
193bd2ce
RM
1350 * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
1351 $(notdir $*), so it wins for the explicit libc.so rule as well as the
86d2c878 1352 pattern rule.
10b40b11 1353
0324daa0
RM
1354 * sysdeps/stub/sys/sem_buf.h (union semun): New type.
1355
1356 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
1357 __libc_global_ctors.
1358 * sysdeps/i386/init-first.c: Rewritten.
1359 * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
1360 * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
1361
1362 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
1363 ___fpu_control.
1364
1365 * Makerules (build-shlib): New canned sequence, broken out of
1366 lib%.so rule. Link in $^ instead of just $<.
1367 (lib%.so: lib%_pic.a): Use it.
1368 (libc.so): New target; use $(build-shlib) for cmds, but also depend
1369 on soinit.so first and sofini.so last.
1370
1371 * elf/soinit.c: New file.
1372 * elf/sofini.c: New file.
1373 * elf/Makefile (distribute): Add soinit.c and sofini.c.
1374 (extra-objs): Add soinit.so and sofini.so.
1375
1376 * sysvipc/sys/shm.h (shmat): Fix return type to char *.
1377 * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
1378
1379 * misc/syslog.c (vsyslog): Rewritten using open_memstream to
1380 dynamically allocate buffers.
1381
1382 * Makerules (install-lib-nosubdir): Make this, rather than
1383 install-no-libc.a, depend on the installed shared libraries.
1384
60092701
RM
1385Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1386
1387 * locale/locale.c: Include errno.h.
1388 * locale/localedef.c: Likewise.
1389
1390Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1391
1392 * Makefile (distclean-1): Remove config.cache, config.log, config.h.
1393 (parent-mostlyclean): Remove all flavors of the parent library.
1394
1395 * misc/mntent.c (getmntent): Skip multiple whitespace chars
1396 between fields.
1397
1398 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
1399 EXEC_STACK_ARGS flag, get args from stack.
1400 If args on stack but have info from RPC, relocate args on stack to make
1401 space for struct hurd_startup_data.
1402
bf40c56f
RM
1403Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1404
60092701
RM
1405 * elf/dl-object.c: Include errno.h.
1406 * posix/execvp.c: Likewise.
1407 * dirent/scandir.c: Likewise.
1408 * sysdeps/posix/system.c: Likewise.
1409 * sysdeps/generic/setenv.c: Likewise.
1410 * stdlib/msort.c: Likewise.
1411 * stdio/memstream.c: Likewise.
1412 * stdio/fclose.c: Likewise.
1413 * stdio/getdelim.c: Likewise.
1414 * stdio/setvbuf.c: Likewise.
1415 * sysdeps/ieee754/ldexp.c: Likewise.
1416 * locale/locfile-parse.c: Likewise.
1417
1418 * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
1419 * stdlib/seed48_r.c: Likewise.
1420 * stdlib/srand48_r.c: Likewise.
1421 * stdlib/jrand48_r.c: Likewise.
1422 * stdlib/nrand48_r.c: Likewise.
1423
bf40c56f
RM
1424 * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
1425 to be useless.
1426
c2216480
RM
1427Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
1428
1429 * mktime.c (localtime_r): Add substitute if the system doesn't
1430 provide one.
1431
1432Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1433
1434 * time/gmtime.c (gmtime_r): Define as weak alias.
1435 * time/localtime.c (localtime_r): Define as weak alias.
1436 * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
1437
1438 * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
1439 #undef __need_Emath after including errnos.h.
1440 [_ERRNO_H]: Protect decls with this.
1441
1442Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
1443
1444 Fix mktime so that it does not write over localtime's returned value.
1445 * localtime.c (__localtime_r): New function, with extra arg
1446 specifying where to store result.
1447 (localtime): Use it.
1448 (_tmbuf): New var.
1449 * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
1450 * mktime.c (__mktime_internal): Conversion function is now
1451 __localtime_r style, not localtime style.
1452 (mktime): Pass __localtime_r, not localtime.
1453 * timegm.c (timegm): Pass __gmtime_r, not gmtime.
1454 * offtime.c (__offtime): New arg specifying where to store result.
1455 * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
1456 (__gmtime_r, __localtime_r): New decls.
1457
1458 * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
1459 <stdlib.h>, <string.h>: Remove includes.
1460 <errno.h>: Add include.
1461
1462 * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
1463 Renamed from _mktime_internal to avoid namespace pollution.
1464
1465 * time/gmtime.c: Clear tm_isdst.
1466
aa910907
RM
1467Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1468
c2216480
RM
1469 * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
1470 * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
1471 size_t.
1472
1473 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
1474 __file_pathconf.
1475 * sysdeps/mach/hurd/pathconf.c: Likewise.
1476
aa910907
RM
1477 * Makefile (subdirs): Add sysvipc.
1478
1479 * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
1480 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1481
e537c55e
RM
1482Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1483
aa910907
RM
1484 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
1485 __file_set_size instead of __file_truncate.
1486
1487 * features.h (__USE_REENTRANT): New macro.
1488
e537c55e
RM
1489 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
1490 __file_truncate.
1491 * sysdeps/mach/hurd/ftruncate.c: Likewise.
1492
1493 * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
1494
60478656
RM
1495Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
1496
1497 * elf/elf.h (AT_GID): Fix typo: Read -> Real.
1498
1499 * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
1500 * misc/efgcvt.c: Rewrite to use reentrant functions.
60092701 1501 * misc/search.h: Many decls for hsearch functions.
60478656
RM
1502 * misc/hsearch_r.c: New file. Reentrant version of functions from
1503 hsearch family.
1504 * misc/hsearch.c, misc/tsearch.c: New files.
1505 * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
1506
1507 * posix/unistd.h (ttyname_r): Add prototype for new function.
1508
1509 * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
1510 stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
1511 stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
1512 stdlib/drand48-iter.c: New files implementing reentrant versions
1513 of functions from drand48 family.
1514 * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
1515 stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
1516 stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
1517 Rewrite to use reentrant versions.
1518 * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
1519 and l64a() functions from SysV library.
1520 * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
1521 nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
1522 drand48-iter, a64l, l64a.
1523 * stdlib/stdlib.h: Declare them.
1524
1525 * stdlib/random_r.c: New file. Reentrant version of functions
1526 from random family.
1527 * stdlib/stdlib.h: Declare them.
1528 * stdlib/random.c: Rewrite to use reentrant functions.
1529
1530 * string/strerror_r.c: New file. Reentrant version.
1531 * string/strerror.c: Change for new _strerror_internal form.
1532 * string/Makefile (routines): Add strerror_r.
1533
1534 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
1535 value of user_entry to `_start'.
1536 Close AT_ENTRY case with `break'.
1537
1538 * sysdeps/generic/strstr.c: New and much faster implementation
1539 by Stephen R. van den Berg.
1540
1541 * sysdeps/generic/_strerror.c: _strerror_internal now takes
1542 three argument and has and explicit buffer length.
1543 * sysdeps/mach/_strerror.c: Change for new interface with three
1544 arguments.
1545 * stdio/perror.c, stdio/vfprintf.c: Callers changed.
86d2c878 1546
60478656
RM
1547 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
1548 * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
1549 * sysdeps/stub/ttyname_r: New file. Define as dummy function.
1550
1551 * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
1552 (utimes): First parameter to utime must be file, not path.
1553
1554 * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
1555 _SC_CLK_TCK and return it when available.
1556 Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
1557 available.
1558 Add case for _SC_2_LOCALEDEF which is now available.
1559
1560 * posix/sys/types.h [__USE_SVID] (key_t): New type.
1561 * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
1562 sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
1563 sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
1564 sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
1565 sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
1566 sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
1567 sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
1568 sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
1569 Add implementation of System V IPC.
e11c3949 1570
9fd18b6c
RM
1571Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1572
1573 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
1574 (write_corefile): Call __crash_dump_task instead of __core_dump_task.
1575 Use envariable CRASHSERVER instead of CORESERVER.
1576 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
1577
7a770247
RM
1578Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1579
1580 * misc/mntent.c: New file.
1581 * misc/mntent.h: New file.
1582 * misc/Makefile (headers): Added mntent.h.
1583 (routines): Added mntent.
1584 * misc/fstab.c: Rewritten using mntent functions.
1585
1586Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1587
1588 * posix/glob.c (glob): Comment fix.
1589
c64908b0
RM
1590Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1591
f87cd5a2
RM
1592 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
1593 symbols weak.
1594
c64908b0
RM
1595 * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
1596 not empty.
1597
d2f5be2a
UD
1598Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1599
1600 * sysdeps/unix/sysv/linux/Implies,
1601 sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
1602 sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
1603 sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
1604 sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
1605 sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
1606 sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
1607 sysdeps/unix/sysv/linux/gethostname.C,
1608 sysdeps/unix/sysv/linux/getpeername.S,
1609 sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
1610 sysdeps/unix/sysv/linux/getsockname.S,
1611 sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
1612 sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
1613 sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
1614 sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
1615 sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
1616 sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
1617 sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
1618 sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
1619 sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
1620 sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
1621 sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
1622 sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
1623 sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
1624 sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
1625 sysdeps/unix/sysv/linux/settimeofday.S,
1626 sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
1627 sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
1628 sysdeps/unix/sysv/linux/shutdown.S,
1629 sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
1630 sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
1631 sysdeps/unix/sysv/linux/sockaddrcom.h,
1632 sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
1633 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
1634 sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
1635 sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
1636 sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
1637 sysdeps/unix/sysv/linux/tcsetattr.c,
1638 sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
1639 sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
1640 sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
1641 sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
1642 sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
1643 New Linux/ELF specific, architecture independent files.
c64908b0 1644 * sysdeps/unix/sysv/linux/i386/Dist,
d2f5be2a
UD
1645 sysdeps/unix/sysv/linux/i386/Makefile,
1646 sysdeps/unix/sysv/linux/i386/brk.S,
1647 sysdeps/unix/sysv/linux/i386/fcntlbits.h,
1648 sysdeps/unix/sysv/linux/i386/fpu_control.c,
1649 sysdeps/unix/sysv/linux/i386/fpu_control.h,
1650 sysdeps/unix/sysv/linux/i386/fstat.S,
1651 sysdeps/unix/sysv/linux/i386/fxstat.S,
1652 sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
1653 sysdeps/unix/sysv/linux/i386/init-first.S,
1654 sysdeps/unix/sysv/linux/i386/ipc.S,
1655 sysdeps/unix/sysv/linux/i386/lstat.S,
1656 sysdeps/unix/sysv/linux/i386/lxstat.S,
1657 sysdeps/unix/sysv/linux/i386/mknod.S,
1658 sysdeps/unix/sysv/linux/i386/mmap.S,
1659 sysdeps/unix/sysv/linux/i386/sbrk.S,
1660 sysdeps/unix/sysv/linux/i386/setfpucw.c,
1661 sysdeps/unix/sysv/linux/i386/signum.h,
1662 sysdeps/unix/sysv/linux/i386/socket.S,
1663 sysdeps/unix/sysv/linux/i386/stat.S,
1664 sysdeps/unix/sysv/linux/i386/syscall.S,
1665 sysdeps/unix/sysv/linux/i386/sysdep.S,
1666 sysdeps/unix/sysv/linux/i386/sysdep.h,
1667 sysdeps/unix/sysv/linux/i386/xmknod.S,
1668 sysdeps/unix/sysv/linux/i386/xstat.S:
1669 New Linux i386/ELF specific files.
c64908b0 1670 * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
d2f5be2a
UD
1671 sysdeps/unix/sysv/linux/sys/mman.h,
1672 sysdeps/unix/sysv/linux/sys/msq_buf.h,
1673 sysdeps/unix/sysv/linux/sys/sem_buf.h,
1674 sysdeps/unix/sysv/linux/sys/shm_buf.h,
1675 sysdeps/unix/sysv/linux/sys/socketcall.h,
1676 sysdeps/unix/sysv/linux/sys/timex.h:
1677 New Linux/ELF specific, architecture independent header files.
c64908b0 1678 * sysdeps/unix/sysv/sysv4/linux: Tree removed.
86d2c878 1679
c64908b0
RM
1680Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1681
1682 * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
e11c3949 1683 B2 are always congruent; just test that B1 is aligned.
d2f5be2a 1684
1571a016
RM
1685Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1686
1687 * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
1688 than WEAK_VALUE.a to see if a weak value has been set. A valid
1689 weak value may set WEAK_VALUE.a to 0.
1690
44c8d1a2
RM
1691Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1692
f405bed5
RM
1693 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
1694 jmp_buf.
1695
44c8d1a2
RM
1696 * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
1697 for a warning on references to that specific symbol, not the
1698 entire containing object file.
1699 (stub_warning): Pass symbol name to link_warning.
1700 * stdio/gets.c: Pass function name in link_warning invocation.
1701
1702 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
1703 MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
1704 sent, but failed.
1705
1706 * stdlib/msort.c: Include memcopy.h.
1707 (msort_with_tmp): If operating on aligned op_t words, use direct word
1708 fetches and stores.
1709
1710 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
1711 missing backslash.
1712
e3726b05
RM
1713Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1714
1715 * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
1716
1717 Rewrote i386 setjmp code in assembly, so as to avoid fighting
1718 with the compiler for the register values.
1719 * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
1720 * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
1721 * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
1722 [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
1723 (_JMPBUF_UNWINDS): Use JB_SP.
1724
a993273c
RM
1725Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1726
1727 * sysdeps/mach/hurd/select.c: Deal with out of order replies
1728 during io_select request loop.
1729 Handle MACH_RCV_TIMED_OUT error from requests.
1730 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
1731 distinguish MACH_RCV_TIMED_OUT from EINTR.
1732
1733 * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
1734 slash.
1735 (glob_in_dir): Don't allocate extra byte here.
1736
1737 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1738 Decrement the DT_RELSZ value for the skipped reloc.
1739
18926cf4
RM
1740Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1741
1742 * time/australasia: Updated data from ADO.
1743
1744Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1745
1746 * dirent/dirent.h: Don't include <dirstream.h>.
1747 Instead, define DIR as typedef for (undefined) `struct __dirstream'.
1748
7752137a
RM
1749Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1750
9e865ade
RM
1751 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
1752 instead of `DIR'.
1753 * sysdeps/unix/bsd/dirstream.h: Likewise.
1754 * sysdeps/stub/dirstream.h: Likewise.
1755 * sysdeps/unix/dirstream.h: Likewise.
1756 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
1757 * sysdeps/mach/hurd/seekdir.c: Likewise.
1758 * sysdeps/mach/hurd/opendir.c: Likewise.
1759 * sysdeps/mach/hurd/closedir.c: Likewise.
1760 * sysdeps/mach/hurd/readdir.c: Likewise.
1761 * sysdeps/unix/telldir.c: Likewise.
1762 * sysdeps/unix/seekdir.c: Likewise.
1763 * sysdeps/unix/rewinddir.c: Likewise.
1764 * sysdeps/unix/readdir.c: Likewise.
1765 * sysdeps/unix/opendir.c: Likewise.
1766 * sysdeps/unix/closedir.c: Likewise.
1767 * sysdeps/unix/bsd/telldir.c: Likewise.
1768 * sysdeps/unix/bsd/readdir.c: Likewise.
1769 * dirent/Makefile (headers): Remove dirstream.h.
1770 (distribute): Put it here instead.
1771
7752137a
RM
1772 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
1773
1774 * stdio/vfscanf.c (number): Allow field width to inhibit first
1775 digit after base detection.
1776
1777 * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
1778 specified by the precision.
1779
1780 * grp/grpread.c (__grpscan): New function.
1781 * grp/grp.h (__grpscan): Declare it.
1782 * grp/getgrgid.c: Use __grpscan.
1783 * grp/getgrnam.c: Likewise.
1784 * pwd/pwdread.c (__pwdscan): New function.
1785 * pwd/pwd.h (__pwdscan): Declare it.
1786 * pwd/getpwnam.c: Use __pwdscan.
1787 * pwd/getpwuid.c: Likewise.
1788
1789Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1790
1791 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
1792 MAP_FILE.
1793
1794 * hurd/thread-cancel.c: Return EINTR when called on self.
1795 * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
1796 __data_start.
1797
3cf595e5
RM
1798Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1799
1800 * inet/netdb.h: Moved to resolv.
1801 * inet/Makefile (headers): Remove netdb.h.
1802 * resolv/Makefile (headers): Add netdb.h.
1803 * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
1804 resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
1805
1806 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
1807 resuming the thread.
1808 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
1809
1810 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
1811
1812Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1813
1814 * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
1815 relocs, and do nothing. Why the linker generates them we may
86d2c878 1816 never know.
3cf595e5 1817
3fe9de0d
RM
1818Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1819
a4bb2589
RM
1820 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
1821 `subdirs' variable.
1822
3cf595e5 1823 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
3fe9de0d
RM
1824 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
1825 "intr-msg.h" for special syscall code, instead of i386-specific asm.
1826 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
1827 machine-dependent "intr-msg.h" before mutating thread state to
1828 skip RPC.
1829
1830 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
1831 _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
1832 %ecx.
1833
1834 * Makeconfig (link-libc): New variable; use shared library if
1835 available.
1836 (+link): Use it.
1837
1838 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
1839 Instead, declare with `symbol_set_declare'.
86d2c878 1840 (fork): Use symbol_set_* macros for _hurd_fork_locks.
3fe9de0d
RM
1841 Use SS->thread instead of __mach_thread_self (). Suspend all
1842 other threads during task_create and port copying.
1843
191abc51
RM
1844Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1845
1846 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
1847
1848Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1849
1850 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
1851
1852 * hurd/Makefile (sig): Add intr-msg.
1853
54da5be3
RM
1854Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1855
1856 * hurd/thread-cancel.c: New file.
1857 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
1858 rpc_wait case, frob mach_msg args to set timeout on receive.
1859 (_hurdsig_rcv_interrupted_p): Function removed.
1860 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
1861 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
1862 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
1863 * hurd/intr-msg.c: New file.
1864 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
1865 (_hurdsig_rcv_interrupted_p): Declaration removed.
1866 (HURD_EINTR_RPC): Macro removed.
1867 (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
1868 these.
1869 * hurd/intr-rpc.h: New file.
1870 * hurd/intr-rpc.defs: Just import intr-rpc.h.
1871 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
1872 (interrupted_reply_port_location): Take new flag arg; only catch
1873 faults if it's set.
1874 (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
1875 No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
1876 &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
1877 MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
1878 callers changed.
1879 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
1880 * hurd/Makefile (distribute): Remove intr-rpc.awk.
1881 (sig): Add thread-cancel.
1882 (transform-user-stub, transform-user-stub-output): Variables removed.
1883 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
1884 `__hurd_intr_rpc_*' to `__*'.
1885 (_hurd_intr_rpc_mach_msg): New function.
1886 (_hurd_thread_sigstate): Function removed.
1887 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
1888 instead of __mach_msg inside HURD_EINTR_RPC macro.
1889
1890 * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
1891 to take ptrdiff_t arg.
1892
1893 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
1894
1895 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
1896
1897 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
1898 weak_alias): Use `extern' storage class.
1899
76894e2e
RM
1900Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
1901
1902 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
1903 port-count parameters to __auth_makeauth.
1904 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
1905
1906Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1907
1908 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
1909
1910 * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
1911
1912Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
1913
1914 * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
1915 IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
1916 layer socket options.
1917 (IPPROTO_GGP): Delete obsolote protocol.
1918 (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
1919 (struct ip_mreq): New type.
1920
99a9e88e
RM
1921Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1922
b25c5d66
RM
1923 * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
1924
1925 * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
1926 (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
1927
99a9e88e
RM
1928 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
1929 when __stdio_open fails with a code other than ENFILE or EMFILE.
1930
5e98d83c 1931Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
507fcb75 1932
5e98d83c
RM
1933 * Makefile (headers): Added gnu-versions.h.
1934
1935Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
1936
1937 * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
1938 equality, not assignment, to test bitfields.
1939
1940Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
1941
1942 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
1943 resolve AF_LOCAL addresses.
1944
1945 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
1946 can't tell us what an address means, just return a zero-length
1947 buffer instead.
1948 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
1949
1950Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
1951
1952 * sysdeps/mach/hurd/bind.c (bind): Don't use
1953 file_invoke_translator, as it doesn't work. Instead just lookup
1954 the translated node again, and hope we're not hit by any race
1955 conditions.
507fcb75 1956
958f803f
RM
1957Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1958
b8dc6a10
RM
1959 * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
1960 [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
1961 [start-installed-name-rule]: If this is defined, elide rule for
1962 $(objpfx)$(start-installed-name).
99a9e88e
RM
1963 * csu/initfini.c (SECTION): New macro, different definitions for
1964 #ifdef HAVE_ELF and not.
1965 (_init, _fini): Use that macro.
b8dc6a10
RM
1966 * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
1967 (start-installed-rule, start-installed-name-rule): New variables;
1968 specify crt1.o, created by our own rule.
1969 ($(objpfx)crt1.o): New rule.
1970 * configure.in: Require autoconf 2.4.2 or later. Change all
1971 AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
1972 prettify some messages.
1973 [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
1974 sections.
1975 * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
1976 this case rather than #ifdef HAVE_ELF.
1977 * config.h.in (HAVE_INITFINI): New macro.
99a9e88e 1978 * config.make.in (have-initfini): New variable, set by configure.
b8dc6a10 1979
4e1bac76
RM
1980 * stdio/vfscanf.c (conv_error): Simplify expression to avoid
1981 "value computed is not used" warning.
1982
1983 * Makeconfig (+gccwarn): Removed -Wconversion.
1984
1985 * csu/initfini.c (GLOBAL): Macro removed.
1986 (_init, _fini): Always define globally.
1987 * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
1988
3d61b63c
RM
1989 * asia, backward, europe, leapseconds, southamerica: New data from
1990 ADO's 95e.
1991
1992 * inet/Makefile (routines): Removed inet_addr.
1993 * inet/inet_addr.c: Moved to resolv/ subdirectory.
1994 * resolv/Makefile (routines): Added inet_addr.
1995 * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
1996 * resolv/gethnamaddr.c: Likewise.
1997 * resolv/getnetbyaddr.c: Likewise.
1998 * resolv/getnetbyname.c: Likewise.
1999 * resolv/getnetent.c: Likewise.
2000 * resolv/getnetnamadr.c: Likewise.
2001 * resolv/herror.c: Likewise.
2002 * resolv/nsap_addr.c: Likewise.
2003 * resolv/res_comp.c: Likewise.
2004 * resolv/res_debug.c: Likewise.
2005 * resolv/res_init.c: Likewise.
2006 * resolv/res_mkquery.c: Likewise.
2007 * resolv/res_query.c: Likewise.
2008 * resolv/res_send.c: Likewise.
2009 * resolv/resolv.h: Likewise.
2010 * resolv/sethostent.c: Likewise.
2011 * resolv/arpa/nameser.h: Likewise.
2012 * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
2013 [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
2014 its declarations (and doing so only #ifdef sun!).
99a9e88e 2015 * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
3d61b63c
RM
2016
2017 * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
2018 [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
2019
958f803f
RM
2020 * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
2021 if possible.
2022
2023 * mach/shortcut.awk: Emit decls for RPC.
2024
2025 * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
2026 weak_alias, strong_alias): Define using GCC __attribute__ syntax.
2027
2028 * Makerules ($(installed-libcs)): Depend on `lib' (only).
2029
874f1b9b
RM
2030Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2031
ff48a63c
RM
2032 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
2033
4356cfd7
RM
2034 * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
2035
2036 * sysdeps/unix/sysv/ftime.S: New file.
2037
2038 * locale/locfile-parse.c (categories_write): Cast "" to char *.
2039
2040 * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
2041
2042 * time/strftime.c: Use year modulo 100 for %y.
2043
2044 * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
2045
2046 * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
2047 of one, to work around bug in sunos4.1.2 sed.
2048
874f1b9b
RM
2049 * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
2050 memchr instead of strlen to limit search for NUL by precision.
2051
51813e80
RM
2052Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2053
2054 * sysdeps/posix/pathconf.c: New file.
2055
d7e16e9e
RM
2056Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2057
2058 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
2059 before @PLT.
2060 * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
2061 * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
2062 * sysdeps/i386/bsd-setjmp.S: Likewise.
2063
9c9022dd
TBB
2064Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
2065
2066 * inet/Makefile (routines): Added `ruserpass'.
2067 * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
2068 client. Modified to remove the fourth arg AACCT. Do nothing for
2069 the `account' and `macdef' keywords. Other incidental changes
2070 because we are not in the FTP source tree.
2071
439d1d45
RM
2072Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2073
9c9022dd
TBB
2074 * sysdeps/stub/init-posix.c: Removed stub warning.
2075
587dbc6f
RM
2076 * Makefile (autoconf-it): Make it executable and unwritable.
2077
2078 * configure.in (sysnames): Under --enable-debug-configure, spew
2079 potential sysnames.
2080
439d1d45
RM
2081 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
2082 #ifdef PIC.
2083 (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
2084 * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
2085 jump insn.
2086
2087 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
2088 * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
2089 * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
2090 <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
2091 stack. Use JUMPTARGET(syscall_error) in jump insn.
2092
2093 * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.
2094
2095 * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
2096 ASM_TYPE_DIRECTIVE.
2097 (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.
2098
86d2c878 2099 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
439d1d45
RM
2100 Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
2101 * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.
2102
439d1d45 2103 * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
86d2c878 2104 instead of unix/sysv.
439d1d45
RM
2105 * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
2106 socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
2107 to new directory sysdeps/unix/sysv/sysv4/linux.
2108 * sysdeps/unix/sysv/linux: Directory removed.
2109 * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
2110 to new directory sysdeps/unix/sysv/sysv4/linux/i386.
2111 * sysdeps/unix/sysv/linux/i386: Directory removed.
2112
9c9022dd
TBB
2113 Fixes to help Linux, inspired by drepper's work:
2114 * sysdeps/posix/utimes.c: New file.
2115 * sysdeps/generic/getdomain.c: New file.
2116 * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
2117 * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
2118 externals _dl_argc, _dl_argc, and _environ.
2119
584de3b9
TBB
2120Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
2121
2122 * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
2123 EOPNOTSUPP as indications that the server has died.
2124 * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
2125 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
2126
ac00263e
JM
2127Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
2128
2129 * strtol.c: Portability changes from Uli Drepper.
2130 [!STDC_HEADERS && !defined(NULL)]: Define NULL.
2131
d819080c
RM
2132Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2133
2134 * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
2135 DATA for the entry SP; DATA[-1] is always the return address
2136 location. In both cthreads and non-cthreads cases, use asm to
2137 force parameters into %eax and %ecx before return, and mutate
2138 DATA[-1] to return to specific asm code to set up the user from
2139 %eax and %ecx.
2140 [PIC] (_init): Caller changed.
2141 (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
2142 with SP unwound to argument data ptr.
2143
2144Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2145
2146 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
2147 when 0x08000000 and up are not mapped.
2148
2149 * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
2150 before touching it.
2151 (lib%.so): Use -Wl to get -soname to ld.
2152
2153 * elf/dlsym.c: Pass final arg to _dl_lookup_symbol.
2154
2155 * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
2156
487253ea
RM
2157Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2158
2159 * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
2160 library's name including $(libprefix) and major version number.
2161
2162 * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
2163 in place of xcalloc.
2164
2165 * Makeconfig (prefix, exec_prefix, libprefix): Instead of
2166 `ifndef', use the $(origin) function to only set these if they are
2167 undefined, and not if they are defined to empty.
2168
2169 * gnu-versions.h: New file.
2170 * features.h (__GNU_LIBRARY__): Increase value to 5.
2171
d6e2f671
RM
2172Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2173
2174 * stdio/stdio.h (__validfp): Use ({...}) rather than a comma
2175 expression, to avoid gcc's "value computed is not used" warning.
2176
2177 * libc-symbols.h (_elf_set_element): Give the set-element variable
2178 an `unused' attribute.
2179
2180 * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
2181 __attribute__ ((__const__)).
2182 * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
2183
2184 * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
2185 LINK->resource.next->resource.prevp when appropriate, not
2186 LINK->resource.next->thread.prevp!!!
2187
882087b9
RM
2188Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2189
df2a0c93
RM
2190 * configure.in (libc_cv_asm_set_directive): Make sure that the
2191 `.set' directive really worked by linking against a reference to
2192 the alias.
2193
882087b9
RM
2194 * sysdeps/stub/init-first.c: Don't include <hurd.h>.
2195 [PIC] (soinit): Renamed to (global) _init.
2196
1a2df358
RM
2197Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2198
882087b9
RM
2199 * malloc/Makefile (gmalloc-routines): Remove valloc.
2200 (dist-routines): Add it here.
2201
2202 * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
2203 emacs_loser_valloc to inhibit valloc declaration below.
2204
1a2df358
RM
2205 * Makerules (lib%.so: lib%_pic.a): Moved this rule to after
2206 installation rules.
2207
2208 * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
2209 it uses the `.type' directive, which is necessary for shared
2210 libraries to work properly.
2211
5bf62f2d
RM
2212Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2213
f2b0f935
RM
2214 * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
2215 from zero fill.
2216
2217 * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
2218 if nonzero, don't let *REF satisfy the reference itself.
2219 * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
2220 * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
2221 _dl_lookup_symbol.
2222 * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
2223 R->r_offset to RESOLVE callback.
2224 * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
2225 satisfy the reference itself if its value equals the reloc's
2226 offset.
2227
2228 * elf/rtld.c (dl_main): Write a newline in fatal msg.
2229
2230 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
2231
5bf62f2d
RM
2232 * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.
2233
2234 * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
2235 and user entry point addresses.
2236
2237 * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
2238 (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.
2239
2240 * Makerules (install-lib.so): Don't include libc.so.
2241 [$(build-shared)=yes] (install): Depend on the installed libc.so file.
2242 [$(build-shared)=yes] (install-no-libc.a): Make this, rather than
2243 install, depend on the installed $(install-lib.so) files.
2244 [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.
2245
2246 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
2247 allocate high addresses to avoid random mappings appearing there.
2248 (mmap): Comment out mask; always pass zero.
2249
2250Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2251
2252 * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
2253 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
2254
2255 * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
2256 when successful.
2257
2258 * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
2259 (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
2260 variables, using the `threadvars' buffer.
2261
2262 * elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
2263 * sysdeps/i386/dl-runtime.c: Likewise.
2264
2265 * elf/rtld.c (dl_main): Add missing NULL terminating argument in
2266 _dl_sysdep_fatal call.
2267 (__assert_fail): Likewise.
2268
2269 * locale/Makefile (localedef-modules): Renamed ctype to
2270 locale-ctype so as not to conflict with the object file for
2271 ctype/ctype.c in the build directory.
2272
75598ca6
RM
2273Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2274
2275 * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC
2276 insists on seeing the following E as part of hex 7FE, and
2277 complaining that is wider than a byte.
2278
ded29119
RM
2279Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2280
2281 * hurd/Makefile (sig): Added thread-self.
2282 * hurd/hurd.h: Declare hurd_thread_self.
2283 * hurd/thread-self.c: New file.
2284
2285Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2286
2287 * elf/rtld.c: Initialize RTLD_MAP.l_type.
2288 * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
2289 the dynamic linker itself.
5bf62f2d
RM
2290 * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
2291 lt_interpreter, first undo relocation done during bootstrapping.
ded29119 2292
a1a9d215
RM
2293Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2294
2295 * mach/Makefile (server-interfaces): Removed notify and
2296 device_reply. For shlibs with eager binding, libmachuser.so must
2297 not refer to any functions not defined in libc.
2298
6f6ce652
JM
2299Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
2300
2301 * sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
2302 to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
2303
7cc645ed
RM
2304Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2305
2306 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
2307 pending signals if the thread is in a critical section. It will
2308 send us a msg when it finishes.
2309
2310 * sysdeps/mach/hurd/pathconf.c: New file.
2311 * sysdeps/mach/hurd/fpathconf.c: New file.
2312
2313 * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
2314 SIGCHLD when the SA_NOCLDSTOP bit actually changes.
2315
a692d003
RM
2316Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2317
2318 * elf/Makefile (ld.so): Use -nostartfiles in addition to
2319 -nostdlib.
2320
3b5a8107
JM
2321Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
2322
2323 * sysdeps/generic/memchr.c: Don't include <string.h> at all.
2324 HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
2325 memchr unless one manually arranges for them to define __STDC__.
2326
a2fe9c76
RM
2327Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2328
2329 * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
2330 args on stack from kernel.
2331
2332 * posix/Makefile, sysdeps/alpha/Makefile,
2333 * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
2334 * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
2335 in the absence of CVS dirs.
2336
2337 * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
2338 kernel on the stack properly.
2339
2340 * set-init.c: Never call _init/_fini; just run __libc_subinit.
2341
2342 * Makerules (LDFLAGS-c.so): Add -nostartfiles.
2343 * mach/Machrules (LDFLAGS-$(interface.so)): Likewise.
2344
2345 * configure.in: Move defaulting of --with-elf and --with-gnu-*
2346 based on host os outside the AC_CACHE_VAL for the sysdirs
2347 calculation.
2348
2349 * Makeconfig (localedir, nlsdir): New variables.
2350
2351 * values.h: New file.
2352 * Makefile (headers): Add values.h.
2353
2354 * locale/Makefile (distribute): Add error.h.
2355 * locale/localedef.c: Include "error.h".
2356 (main): Use error_message_count instead of warning_cntr.
2357
2b83a2a4
RM
2358Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2359
2360 Merged 1003.2 locale and localedef programs by Ulrich Drepper.
2361 * locale/charmap.c: New file.
2362 * locale/collate.c: New file.
2363 * locale/config.h: New file.
2364 * locale/ctype.c: New file.
2365 * locale/ctypedump.c: New file.
2366 * locale/hash.c: New file.
2367 * locale/hash.h: New file.
2368 * locale/iso-4217.def: New file.
2369 * locale/keyword.gperf: New file.
2370 * locale/keyword.h: New file.
2371 * locale/libintl.h: New file.
2372 * locale/locale.c: New file.
2373 * locale/localedef.c: New file.
2374 * locale/localedef.h: New file.
2375 * locale/locfile-lex.c: New file.
2376 * locale/locfile-parse.c: New file.
2377 * locale/messages.c: New file.
2378 * locale/monetary.c: New file.
2379 * locale/numeric.c: New file.
2380 * locale/token.h: New file.
2381
2382 * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
2383 * posix/Makefile (headers): Add regex.h.
2384 (routines): Add regex.
2385 (gpl2lgpl): Add regex.c and regex.h.
2386
2387Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2388
2389 * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
2390 instead of hard-coding "/share/locale".
2391
74aa5ce5
RM
2392Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2393
2394 * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
2395
2396Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2397
2398 * elf/elf.h (ELFMAG, SELFMAG): New macros.
2399
2400Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu>
2401
2402 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
2403 the case where it starts out less than _hurd_dtablesize.
2404
2405Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2406
2407 * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
2408 make sure the new size exceeds FIRST_FD.
2409
99b306dc
RM
2410Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2411
2412 * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro.
2413
1d26b22c
RM
2414Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2415
99b306dc
RM
2416 * Makerules (install-lib.so): Add %.so for each %_pic.a.
2417
1d26b22c
RM
2418 * sysdeps/i386/elf/start.S (__data_start): Define this symbol as
2419 the first thing in .data.
2420
2421 * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf.
2422
2423 * hurd/hurdstartup.h: New file.
2424
2425 * sysdeps/i386/elf/start.S: Give two operands to `testl' when they
2426 are the same. Use `jz' instead of `jeq'.
2427
2428 * Makeconfig (config.make): Depend on config.status, and run it to
2429 update.
2430 (config.status): New target; depend on configure.
2431 If target (config.status) exists, run it with --recheck to update;
2432 if not, give error msg saying to run confiugre by hand.
2433 * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)]
2434 (sysd-Makefile-force): Set this variable to FORCE in this case, to
2435 force a rebuild of sysd-Makefile.
2436 (sysd-Makefile): Depend on $(sysd-Makefile-force).
2437 Write into the file sysd-Makefile-sysdirs:=$(sysdirs).
2438 [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this
2439 variable to FORCE in this case, to force a rebuild of sysd-rules.
2440 (sysd-rules): Depend on $(sysd-rules-force).
2441 Write into the file sysd-rules-sysdirs:=$(sysdirs).
86d2c878 2442
1d26b22c 2443 * Makerules (LDFLAGS-c.so): Change ld option -interp to
86d2c878 2444 -dynamic-linker.
1d26b22c
RM
2445
2446 * Makerules (do-install-program): New canned sequence.
2447 (install-bin, install-sbin): Use it.
2448 (install for lib*.so): Use it instead of $(do-install).
2449 Fix .so installation rules to handle lib*.so and *.so, deal with
2450 $(libprefix) right, and install *.so as *.so$($(*.so)-version);
2451 i.e. "libc.so-version = .1".
2452
2453Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2454
2455 * elf/do-rel.h: New file, split out of dynamic-link.h.
2456 * elf/Makefile (distribute): Add do-rel.h.
2457
421f82e5
RM
2458Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2459
2460 * Makeconfig (+gccwarn): Add -Winline.
2461
2462 * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
2463 set, avoid abort_rpcs, and use reply and intr ports saved in
2464 SS->context.
2465 * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
2466 from SS->context. Don't clear SS->context.
2467 * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
2468 setting SS->context. If msg_sig_post returns, re-lock and clear
2469 SS->context.
2470
2471Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2472
2473 * mach/Makefile (errsystems.c): Comment out generation rule.
2474
2475 * sysdeps/mach/_strerror.c: Consider a system unknown if its
2476 bad_sub member is null.
2477
2478 * mach/mig-alloc.c: Add weak alias to non-__ name.
2479
e4448b6f
RM
2480Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2481
2482 * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
2483
08162fa8
RM
2484Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2485
e4448b6f
RM
2486 * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE
2487 function. Duh.
2488
2489 * hurd/Makefile (distribute): Added hurdstartup.h.
2490 * hurd/hurd.h: Remove _hurd_startup decl.
2491
2492 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
2493 ((__unused__)) instead of gratuitous self reference.
2494
2495 * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
2496 table if FD2 doesn't fit.
2497
2498 * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
2499 not the current table size.
2500
d66e34cd
RM
2501 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
2502
08162fa8
RM
2503 Implemented runtime dynamic linker to support ELF shared libraries.
2504 * elf/Makefile: Added rules to make ld.so and libdl.
2505 * elf/dl-error.c: New file.
2506 * elf/dl-fini.c: New file.
2507 * elf/dl-init.c: New file.
2508 * elf/dl-load.c: New file.
2509 * elf/dl-lookup.c: New file.
2510 * elf/dl-object.c: New file.
2511 * elf/dl-reloc.c: New file.
2512 * elf/dlclose.c: New file.
2513 * elf/dlerror.c: New file.
2514 * elf/dlopen.c: New file.
2515 * elf/dlsym.c: New file.
2516 * elf/dynamic-link.h: New file.
2517 * elf/link.h: New file.
2518 * elf/rtld.c: New file.
d66e34cd
RM
2519 * sysdeps/i386/dl-machine.h: New file.
2520 * sysdeps/stub/dl-machine.h: New file.
2521 * sysdeps/i386/dl-runtime.c: New file.
2522 * sysdeps/stub/dl-runtime.c: New file.
2523 * sysdeps/i386/elf/start.S: New file.
2524 * sysdeps/generic/dl-sysdep.c: New file.
2525 * sysdeps/mach/hurd/dl-sysdep.c: New file.
99b306dc 2526 * sysdeps/mach/hurd/i386/init-first.c: New file.
e4448b6f
RM
2527 * sysdeps/i386/init-first.c: New file.
2528 * sysdeps/stub/init-first.c: New file.
86d2c878 2529
08162fa8
RM
2530Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2531
2532 * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make
2533 libc.so runnable.
2534 * version.c (__libc_print_version): Add "et al" and missing NL to
2535 author credit.
2536
b7eb8445
RM
2537Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2538
2539 * posix/glob.c (S_ISDIR): Define if undefined.
2540
10ceac89
RM
2541Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2542
2543 * configure.in: Unless --without-fp, prepend */fpu before each
2544 machine dir in $mach; don't prepend FPU dirs at end. If
2545 --with-elf, prepend MACHINE/elf directories at end; don't insert
2546 them into $mach.
2547
2548 * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
2549
2550 * sysdeps/stub/clock.c: Added stub warning.
2551 * sysdeps/stub/dirfd.c: Likewise.
2552 * sysdeps/stub/exc2signal.c: Likewise.
2553 * sysdeps/stub/fdopen.c: Likewise.
2554 * sysdeps/stub/flock.c: Likewise.
2555 * sysdeps/stub/fpathconf.c: Likewise.
2556 * sysdeps/stub/ftruncate.c: Likewise.
2557 * sysdeps/stub/gtty.c: Likewise.
2558 * sysdeps/stub/isatty.c: Likewise.
2559 * sysdeps/stub/killpg.c: Likewise.
2560 * sysdeps/stub/madvise.c: Likewise.
2561 * sysdeps/stub/mkstemp.c: Likewise.
2562 * sysdeps/stub/mktemp.c: Likewise.
2563 * sysdeps/stub/mprotect.c: Likewise.
2564 * sysdeps/stub/msync.c: Likewise.
2565 * sysdeps/stub/pathconf.c: Likewise.
2566 * sysdeps/stub/poll.c: Likewise.
2567 * sysdeps/stub/raise.c: Likewise.
2568 * sysdeps/stub/readv.c: Likewise.
2569 * sysdeps/stub/setenv.c: Likewise.
2570 * sysdeps/stub/setlogin.c: Likewise.
2571 * sysdeps/stub/sigaltstack.c: Likewise.
2572 * sysdeps/stub/sigintr.c: Likewise.
2573 * sysdeps/stub/sigstack.c: Likewise.
2574 * sysdeps/stub/sleep.c: Likewise.
2575 * sysdeps/stub/sstk.c: Likewise.
2576 * sysdeps/stub/stime.c: Likewise.
2577 * sysdeps/stub/stty.c: Likewise.
2578 * sysdeps/stub/syscall.c: Likewise.
2579 * sysdeps/stub/sysconf.c: Likewise.
2580 * sysdeps/stub/truncate.c: Likewise.
2581 * sysdeps/stub/ualarm.c: Likewise.
2582 * sysdeps/stub/usleep.c: Likewise.
2583 * sysdeps/stub/utimes.c: Likewise.
2584 * sysdeps/stub/writev.c: Likewise.
2585
2586 * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
2587
2588Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2589
2590 * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
2591
2592Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2593
2594 * posix/glob.c (glob): If GLOB_MARK set, stat names to find
2595 directories and append slashes to them in final pass before
2596 sorting.
2597 (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
2598 slash; never append it here.
2599
11872325
RM
2600Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2601
2602 * mach/Machrules [interface-library]
2603 (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to
2604 -nostdlib.
2605
2606 * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
2607 _hurd_siglock only around initial task creation in parent. Use
2608 _hurd_critical_section_unlock at end. Handle dead name rights
2609 properly, and deal with a send right dying while we try to copy
2610 it. For the time being, use assert_perror for kernel and proc RPC
2611 failures.
2612
2613Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2614
2615 * extra-lib.mk: Don't include $(o-iterator); construct it by hand
2616 using $(object-suffixes-$(lib)) instead.
2617
2618 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
2619
2620 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so).
2621 (LDFLAGS-c.so): New variable.
2622
2623 * resolv/res_init.c (res_init): Don't clobber _res.options with
2624 RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT.
2625
2626 * hurd/hurd.h: Declare _hurd_startup.
2627 * hurd/hurdstartup.c: New file.
2628 * hurd/Makefile (routines): Add hurdstartup.
2629
11d90def
RM
2630Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2631
b96bdcd7
RM
2632 * hurd/hurdsig.c: Use assert_perror for many calls which should
2633 never fail and previously were not checked.
2634
11d90def
RM
2635 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2636 Point the return address for sigreturn's frame at a "hlt" insn so
2637 it will definitely crash if sigreturn returns.
2638
0ac2e7d8
BK
2639Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org)
2640
2641 * time/tzset.c (__tzname, __daylight, __timezone): Don't check
11d90def 2642 HAVE_WEAK_SYMBOLS for doing weak_alias.
0ac2e7d8 2643
f4153e13
RM
2644Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2645
2646 * configure.in: Move $os tests to set $elf et al earlier, before
2647 construction of $sysnames. Instead of prepending MACHINE/elf to
2648 $sysnames, append &/elf after each elt appended to $mach.
65b3cbcb 2649
f4153e13 2650Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
67be1ecf 2651
65b3cbcb
RM
2652 * configure.in (libc_cv_asm_global_directive): New check to define
2653 ASM_GLOBAL_DIRECTIVE.
2654 * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE.
d02907df
RM
2655 * libc-symbols.h (strong_alias_asm, strong_alias): Use
2656 ASM_GLOBAL_DIRECTIVE on the alias.
65b3cbcb
RM
2657
2658 * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef
2659 HAVE_WEAK_SYMBOLS" #defns.
2660
5fa25886
BK
2661Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org)
2662
2663 * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
2664 of the byte that was zero, so we return a valid number.
2665
e0585da1
BK
2666Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org)
2667
5fa25886 2668 * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
e0585da1
BK
2669 NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
2670
dce38123
BK
2671Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
2672
fc40c039
BK
2673 * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
2674 [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
2675 * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
2676 [BITS_PER_MP_LIMB == 64]: Likewise.
2677
d619f2a8
BK
2678 * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
2679 * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
2680 * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
2681 * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
2682 * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
2683 * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
2684 * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
2685 * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
2686 * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
2687 * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
2688 * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
2689
2690 * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
77162807
BK
2691 * sysdeps/unix/mips/fork.S (fork): Likewise.
2692 * sysdeps/unix/mips/pipe.S (fork): Likewise.
2693 * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
2694 * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
2695 * sysdeps/unix/mips/wait.S (__handler): Likewise.
2696 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2697 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
2698 * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
2699 * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
2700 * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
2701 * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
2702 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
2703 * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
2704 * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
2705 * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
2706 instead of `zero' for the li instruction.
2707
dfd5ddb7
BK
2708 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
2709 preprocessor comments, not assembler comments.
fa21d693 2710 * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
dce38123
BK
2711 * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
2712
eb712cf1
RM
2713Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2714
2715 * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
2716 in place of inline.
2717
6e33fad3
RM
2718Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2719
e215c478 2720 * Makefile (distribute): Add ChangeLog.[0-9].
335aa320 2721
e215c478
RM
2722 * configure.in: Add check for .set directive.
2723 * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
335aa320
RM
2724 * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
2725 strong_alias_asm): Use `foo = bar' syntax instead.
e215c478
RM
2726
2727 * Makerules [! subdir] (O%-lib): Don't prepend ../.
2728
2729 * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
2730
335aa320
RM
2731 * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move
2732 $host_os checks to set gnu_ld/as and elf before sysdirs
2733 generation. Fix $with_fp test.
2734 [$elf=yes]: Prepend MACHINE/elf directory.
2735
6e33fad3
RM
2736 * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
2737 being cleared are already known to be set. Thanks Ulrich.
2738
6432a779
RM
2739Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2740
2741 * posix/environ.c: Add weak alias `_environ'.
2742
53afa8d9
RM
2743Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2744
2745 * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
2746 * sysdeps/i386/sub_n.S [PIC]: Likewise.
2747
217d85b9
RM
2748Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2749
53afa8d9
RM
2750 * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element
2751 word `const'.
2752
2753 * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to
2754 $(foo-$(suffix $@)).
2755
2756 * manual/Makefile (chapters-incl): Filter out summary.texi.
2757
217d85b9
RM
2758 * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn
2759 a weak symbol instead of literal "STRTOF".
2760
2761 * locale/setlocale.c: Work around ld bug: don't weakify refs to
2762 _nl_{current,C}_*.
2763
8c0dc19c
RM
2764Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2765
2766 * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs).
2767
2768 * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy.
2769 * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining.
2770
2771 * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these
2772 #ifdef emacs, but only #ifndef memmove.
2773 * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to
2774 safe_bcopy.
2775 (memmove): Define only if undefined.
2776
73fbb9a5
RM
2777Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2778
6aa8372e
RM
2779 * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
2780 sure these are simply-expanded variables.
2781
883bc19b
RM
2782 * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
2783 mmap call.
2784
2785 * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
2786 for these too.
2787
2788 * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
2789 set c_oflag value.
2790
2791 * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
2792
2793 * locale/Makefile (categories): Uncomment collate.
2794 * locale/lc-collate.c: New file.
2795
8ab69eb3
RM
2796 * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
2797 #ifdef emacs.
2798 * malloc/realloc.c: Likewise.
2799
8c0dc19c
RM
2800 * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
2801 (_itoa): Use it in defn.
8ab69eb3
RM
2802 * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
2803 "_itoa.h".
2804 (_itoa): Function removed.
2805
73fbb9a5
RM
2806 * malloc/free.c: Remove use of `assert'.
2807
2808 * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
2809 __malloc_safe_bcopy; #define safe_bcopy.
2810 * malloc/free.c: Cope with systems lacking `memmove'.
2811 (_free_internal): Cast result of _malloc_internal.
2812
4bca5a35
RM
2813Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2814
e627021e
RM
2815 * hurd/hurdinline.c: Include signal.h first, so we don't define
2816 its inlines too.
2817
2818 * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
2819 of -1 to avoid compiler warning.
2820
2821 * configure.in (host_os=linux*): Set elf=yes for this, not just
2822 linux*elf*.
2823
c0fef53b
RM
2824 * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
2825 and open.
2826
4bca5a35
RM
2827 * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
2828
45b28a8f
RM
2829Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2830
fa0ad204
RM
2831 * sysdeps/unix/start.c: Remove spurious decl and #endif.
2832
45b28a8f
RM
2833 * misc/progname.c (program_invocation_name,
2834 program_invocation_short_name): Make these initialized data
2835 definitions.
2836
2837 * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
2838 so gcc doesn't optimize out the function entirely.
2839
e607b492
RM
2840Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2841
c4bf5a3e
RM
2842 * posix/execvp.c: Don't use stat to search path; just try execv
2843 until it works.
2844
e607b492
RM
2845 * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
2846 SS->active_resources, so that _hurdsig_longjmp_from_handler will
2847 be called when a longjmp unwinds the signal frame.
2848 * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
2849 SS->active_resources chain added by _hurd_setup_sighandler.
2850 * hurd/sigunwind.c: New file.
2851 * hurd/Makefile (sig): Add sigunwind.
2852
2853 * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
2854
2855 * MakeTAGS (tags-sources): Include $(all-dist).
2856 [subdir] (all-dist): Define to $(distribute).
2857
2f8033d6
RM
2858Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2859
193ce8dc
RM
2860 * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
2861 parent objdirs.
2862
2863 * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
2864 filtering out $($(lib)-inhibit-o); use that instead of
2865 $(object-suffixes) in all the other variables.
2866
2f8033d6
RM
2867 * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
2868 if undefined.
2869
2870 * string/strxfrm.c: Just copy the string (for now).
2871 * string/strcoll.c: Just call strcmp (for now).
2872
2873 * mach/Makefile (lock): Add mutex-init.
2874 * mach/mutex-solid.c (_cthread_mutex_lock_routine,
2875 _cthread_mutex_unlock_routine): Variables removed.
2876 (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
2877 (__mutex_init): Function moved to new file mutex-init.c.
2878 * mach/mutex-init.c: New file, broken out of mutex-solid.c.
2879
67188fe6
BK
2880Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
2881
2882 * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
0a648051 2883 * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
67188fe6 2884
b1f11361
RM
2885Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2886
2887 * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
2888 both are zero).
2889
a9df8829
RM
2890Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2891
b1f11361
RM
2892 * elf/dlfcn.h: New file.
2893
ea7d9938
RM
2894 * Make-dist (README): Commit it to CVS if there is a CVS directory.
2895
a9df8829
RM
2896 More changes from Germano Caronni <caronni@tik.ethz.ch>:
2897 * malloc/free.c: Relocate _heapinfo when that allows us to return
2898 core to the system.
2899
2900 * malloc/malloc.c: Move #include <errno.h> outside #ifndef
2901 _MALLOC_INTERNAL.
2902
1474b80f
RM
2903Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2904
c316b486
RM
2905 * mach/Makefile (headers): Add mach/mach_traps.h.
2906
2907 * Makerules ($(installed-libcs) rule): Fix typos.
2908
342414a6
RM
2909 * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
2910 * sysdeps/stub/revoke.c: New file.
2911 * misc/Makefile (routines): Add revoke.
2912 * posix/unistd.h [__USE_BSD] (revoke): Declare it.
2913 * sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
2914 (forkpty): Declare login_tty.
2915 * misc/logwtmp.c (logwtmp): Declare to return void.
2916 * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
2917
1474b80f
RM
2918 * posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
2919
2920 * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
2921 unless L_SET already defined.
2922 * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
2923 already defined.
2924
2925 Incorporated -lutil library from 4.4-Lite.
2926 * misc/Makefile (extra-libs, libutil-routines): New variables.
2927 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
2928 sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
2929
2930 Support simple, light-weight unwind-protect mechanism for longjmp.
2931 * setjmp/longjmp.c: Call _longjmp_unwind first thing.
2932 * sysdeps/mach/hurd/jmp-unwind.c: New file.
2933 * sysdeps/stub/jmp-unwind.c: New file.
2934 * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
2935 * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
2936 * setjmp/Makefile (routines): Add jmp-unwind.
2937 * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
2938 `prevp' members into new substructure `resource'; add another such
2939 substructure `thread' and members `cleanup' (function ptr) and
2940 `cleanup_data' (generic ptr).
2941 (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
2942 into the `_hurd_self_sigstate ()->active_resources' list via the
2943 `thread' substructure.
2944 * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
2945 (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
2946 LINK->cleanup_data' to the port extracted.
2947 * hurd/hurd/signal.h (struct hurd_sigstate): New member
2948 `active_resources'.
2949 * hurd/port-cleanup.c: New file.
2950 * hurd/Makefile (routines): Add port-cleanup.
2951
2952 * malloc/malloc.c: Include errno.h.
2953
2954Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2955
2956 * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
2957
a04e7405
RM
2958Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2959
d365fd2c
RM
2960 * misc/Makefile (headers): Add utmp.h.
2961 * misc/utmp.h: New file, incorporated from 4.4-Lite.
2962
a04e7405
RM
2963 * stdio/printf-parse.h: New file, mostly written by drepper.
2964 * stdio/vfprintf.c: Rewritten, mostly by drepper.
2965 * stdio/printf-prs.c: Rewritten.
2966 * stdio/Makefile (distribute): Add printf-parse.h.
2967
2968Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2969
2970 * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
2971 with asm name. Just do a ".set start, __start".
2972
2973 * malloc/realloc.c: Call _free_internal instead of free.
2974
49e522bf
RM
2975Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2976
2977 * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
2978 directory, open LOCALE/LC_*/SYS_LC_* instead.
2979
1e9dc039
RM
2980Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2981
49e522bf
RM
2982 * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
2983 stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
2984 stdio/gen-mpn-copy: Files moved to stdlib.
2985 * stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
a04e7405 2986 * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
49e522bf
RM
2987 * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
2988 headers.
2989 * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
2990 headers.
2991
6bf02878
RM
2992 * Makefile (parent-mostlyclean): Don't use $(libc.a).
2993 (parent-clean): Use $(objpfx) to find sysd-*.
2994 * Rules (generated): Append dummy.o dummy.c.
4788ab46
RM
2995 * Makerules (lib): Depend on lib-noranlib.
2996 (lib-noranlib): Depend on $(install-lib) in objdir.
2997 (common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
2998 from objdir. Don't remove TAGS; it comes in the distribution.
2999
3000 * malloc/malloc.c (morecore): Save errno around call to
3001 _realloc_internal. Don't account for the additional new blocks of
3002 the info table itself when choosing the new table size for the
3003 first crack; if it succeeds, the new blocks will have been found
3004 in existing free space already described by the existing info
3005 table.
3006
1e9dc039
RM
3007 * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
3008 read-ahead character.
3009
be69ea41
RM
3010Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3011
1e9dc039
RM
3012 * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
3013 hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
3014 hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
3015 hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
3016 Get anal with unsigned to pacify compiler.
3017
be69ea41
RM
3018 * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
3019 means %d from 3rd arg).
3020
3021 * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
3022
3023 * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
3024 END, not GROUP.
3025
693e7b96
RM
3026Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3027
a38f13ba
RM
3028 * Makefile (subdirs): Put elf last.
3029
693e7b96
RM
3030 * sunrpc/Makefile (install-lib): Variable removed.
3031 (rpcsvc-objs): Variable removed.
3032 (extra-objs): Don't include $(rpcsvc-objs).
3033 (extra-libs): New variable, contains librpcsvc.
3034 (librpcsvc-routines): New variable.
3035 (librpcsvc-inhibit-o): New variable, contains .so.
3036 (omit-deps): Set this to $(librpcsvc-routines).
3037 ($(objpfx)rpcgen): Don't use $(libc.a).
3038 (lib, $(objpfx)librpcsvc.a): Targets removed.
3039
3040 * o-iterator.mk, extra-lib.mk: New files.
3041 * Makerules (o-iterator): New variable.
3042 [extra-libs]: Include extra-lib.mk to generate rules for each word
3043 of $(extra-libs).
3044 * Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
3045
b3fe1350
UD
3046Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3047
3048 * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
68b3ef49 3049 Handle 80-bit denormalized numbers correctly.
b3fe1350 3050
68b3ef49 3051 * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
693e7b96 3052 (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
68b3ef49
RM
3053 * stdlib/strtod.c (RETURN): Add parentheses around return value.
3054 (round_and_return): Correct handling of denormalized numbers.
b3fe1350 3055
693e7b96
RM
3056 * stdio/fpioconst.c, stdio/fpioconst.h: Don't use
3057 LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
3058 exponent.
b3fe1350 3059
f0bf9cb9
RM
3060Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3061
3062 * locale/C-ctype.c: New correct data generated by drepper.
3063
3064 * Rules: Don't use $(libc.a).
3065
3066 Parsing of grouped numbers contributed by Ulrich Drepper.
3067 * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
3068 new flag arg; if nonzero, parse locale-dependent thousands
3069 grouping and interpret only the prefix that is correctly grouped.
3070 (strtol): Define this to call _strtol_internal with zero for the flag.
3071 Use a weak symbol for the definition.
3072 * stdlib/strtod.c (strtod, __strtod_internal): Likewise.
3073 Check for the exponent of the number overflowing the float format.
3074 * stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
3075 (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
3076 [__OPTIMIZE__]: Define inline functions calling those.
c45e5aa9
RM
3077 * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
3078 (strtold): Remove weak alias.
3079 * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
3080 (strtof): Remove weak alias.
f0bf9cb9
RM
3081 * stdlib/grouping.h: New file, written by drepper.
3082 * stdlib/Makefile (distribute): Add grouping.h.
3083 * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
3084 __strtoX_internal with the grouping flag set iff the modifier is
3085 present.
3086
3087Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3088
3089 * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
3090
3091 * mach/Machrules: Produce static deps for all object flavors.
3092 [interface-library]: Remove all these variables and rules.
3093 ($(interface-library)-routines): Define this variable.
3094 (extra-libs): Append $(interface-library) to this.
3095 * mach/Makefile (interface-library): Omit .a suffix.
3096 * hurd/Makefile: Likewise.
3097
3098Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3099
3100 * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
3101 early if no new data in buffer after priming.
3102
01a36ad3
RM
3103Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3104
f0bf9cb9
RM
3105 * Makerules (object-suffixes, libtypes): Move all these variables
3106 to Makeconfig.
3107 * Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
3108
3109 * Makerules (build-extra-lib): New canned sequence.
3110
3111 * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
3112 fix uses of FILE and PORT. Remove bogus weak alias for `access'.
3113
3114 * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
3115 Add missing semicolon.
3116 * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
3117 hurd_fd *' temp var, since DIRP->__fd is a `void *'.
3118 * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
3119
3120 * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
3121 locale data format is implemented.
3122
3123 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3124 Pass &__sigreturn on the stack to the trampoline code, so it is
3125 not position-dependent.
3126
3127 * stdio/printf_fp.c (NDEBUG): Define this to disable assert.
3128 Don't include <stdarg.h>.
86d2c878 3129 (__printf_fp): Last arg ARGS is now `const void **const';
f0bf9cb9
RM
3130 dereference ARGS[0] instead of using va_arg.
3131
3132 * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
3133 loop to install data.
3134
3135 * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
3136 to extract number from item code.
3137 (_nl_load_locale): Close the descriptor when finished.
3138
3139 * malloc/realloc.c (_realloc_internal): Call _malloc_internal in
3140 place of malloc.
3141
3142 * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
3143
67a3a8ac
RM
3144 * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
3145 to avoid warning.
3146 * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
3147 int to avoid warning.
3148
51f75302
RM
3149 Support building several flavors of objects and libraries.
3150 * Makerules (libtypes, object-suffixes): New variables.
3151 (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
3152 suffix.
3153 (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
3154 (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
3155 (close-check-inhibit-asm): Append a semicolon.
3156 (sysd-rules): Generate rules for each object suffix.
3157 (compile.S, compile.c): Always assume gcc.
3158 (OUTPUT_OPTION): Define unconditionally.
3159 (+make-deps): In generated rule, produce a dependent for each
3160 object suffix.
3161 (.SUFFIXES): Add $(object-suffixes) in place of .o.
3162 (.PRECIOUS): Make all suffix flavors precious.
3163 ($(libc.a)): Target removed.
3164 (lib): Depend on each enabled libtype.
3165 (libobjs, objects, objs): Depend on all the enabled object flavors.
3166 (lib%.a): New pattern rule.
3167 [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
3168 (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
3169 to make one for each flavor; library dep rule likewise rewritten.
3170 ($(libc.a)(__.SYMDEF)): Target replaced with one target for each
3171 flavor.
3172 (symdef.%): New pattern rule; helper for __.SYMDEF targets.
3173 (installed-libcs): New variable.
3174 (install): Depend on that instead of
3175 $(libdir)/lib$(libprefix)$(libc-name).a;
3176 that file's rule rewritten to make each enabled libtype.
3177 (install-lib.so): New variable, filters lib%.so from $(install-lib).
3178 (install-lib): Filter out lib%.so after setting install-lib.so.
3179 [$(build-shared)=yes] (install): Install $(install-lib.so).
3180 (common-mostlyclean): Remove all flavors of objects.
01a36ad3
RM
3181 * Makefile ($(libc.a)(__.SYMDEF)): Target removed.
3182 [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
3183
424f8c09
RM
3184Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3185
01a36ad3
RM
3186 * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
3187 * sysdeps/stub/pause.c: Likewise.
3188 * sysdeps/stub/time.c: Likewise.
3189
3190 * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
3191 locale data format is implemented.
3192 * stdlib/wctomb.c: Likewise.
3193
3194 * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
3195 gcc bug is fixed.
3196 * mach/errsystems.c: File removed.
3197
3198 * Makeconfig (libc.a): Variable removed.
3199 (+link): Don't use it.
3200
3201 * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
3202 assuming `yes'.
3203
424f8c09
RM
3204 * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
3205 * malloc/realloc.c (_realloc_internal): Renamed from realloc;
3206 don't use __realloc_hook.
3207 (realloc): New function; call __realloc_hook ?: _realloc_internal.
3208 * malloc/malloc.c (_malloc_internal): Renamed from malloc;
3209 don't use __malloc_hook.
3210 (malloc): New function; call __malloc_hook ?: _malloc_internal.
4788ab46 3211 Changes from Germano Caronni <caronni@tik.ethz.ch>:
424f8c09
RM
3212 (initialize): Set up _heaplimit to cover the _heapinfo table.
3213 (morecore_recursing): New static variable.
3214 (morecore): If that is set, return null immediately.
3215 When growing the info table, before getting new core from the
3216 system for it, set morecore_recursing and try moving _heapinfo
3217 with _realloc_internal. When that fails and we get new core, set
3218 _heaplimit to cover the core for the new _heapinfo table.
3219 (register_heapinfo): New function. Record the _heapinfo table's
3220 own blocks in that table and in the statistics variables.
3221 (initialize, _malloc_internal): Use it after allocating new table.
3222
3223Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
3224
3225 * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
3226 by other packages.
3227 [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
3228
cfe33fd9
RM
3229Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3230
424f8c09
RM
3231 * mach/errorlib.h (errors): Use const for decl.
3232
3233 * time/tzfile.c (uc2ul, _uc2ul): Macros removed.
3234 (decode): New inline function; decode signed 32-bit integers, and
3235 sign-extend properly when long is longer than 32 bits.
3236 (__tzfile_read): Changed all uses of uc2ul to decode.
3237 Decode the transition times properly when sizeof (time_t) > 4.
3238
cfe33fd9
RM
3239 * stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
3240 (printf_function): Make last arg ARGS a vector of pointers instead of a
3241 pointer to va_list.
3242
3243Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3244
424f8c09
RM
3245 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
3246 (buffered_vfprintf): Remove line buffer when flush failed.
cfe33fd9
RM
3247
3248Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3249
3250 * time/tzfile.c (struct ttinfo): New member `isgmt'.
3251 (__tzfile_read): Read isgmt flags for each type.
3252 (__tzfile_default): When using TZDEFRULES DST rules, adjust
3253 transition times according to the isstd and isgmt flags for the
3254 types of each transition, and adjust each transition to point to
3255 type index either 0 or 1. Reset type indices 0 and 1 to describe
3256 the user's settings.
3257
d8cc5f0c
RM
3258Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3259
40deae08
RM
3260 * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
3261 into just CLASS. Add standard/optional flag to all items.
3262
3263 * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
3264
3265 * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
3266 Rearrange defn to satisfy compiler.
3267
3268 * locale/localeinfo.h: Declare _nl_current.
3269
ff3d7ed3
RM
3270 * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
3271 --enable-shared, --enable-profile, --enable-omitfp; pass settings
3272 through to config.make.
3273 * config.make.in (build-shared, build-profile, build-omitfp): New
3274 config vars.
3275
d8cc5f0c
RM
3276 * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
3277 (DT_NUM): New macro.
3278
3279 * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
3280
3281 * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
3282
3283 * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
3284 MAP_COPY to MAP_PRIVATE.
3285
222c4e71
BK
3286Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
3287
06c48879
BK
3288 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
3289 that's used inside the alpha sysdep.h.
3290
5638ea42
BK
3291 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
3292 keyword.
eded85e0 3293 * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
127b3c35 3294
222c4e71
BK
3295 * configure.in: Match `osf*', not `osf1*'.
3296 * configure: Likewise.
134c1236 3297 * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
222c4e71 3298
6c2f0507
RM
3299Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3300
3301 * posix/glob/configure.bat: Fixes from DJ.
3302
3303 * time/backward, time/europe, time/northamerica, time/pacificnew,
3304 time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
3305 time/ialloc.c: Code and data updated from ADO's 95b.
3306 * time/emkdir.c: File removed.
3307 * time/Makefile (distribute, extra-objs, zic): Omit it.
86d2c878 3308
6c2f0507
RM
3309 * time/localtime.c: Deansideclized. Never #define __tzname et al
3310 to non-__ names.
3311
3312 * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
3313 instead of short int *.
3314 * ctype/ctype-info.c: Likewise.
3315 * ctype/ctype.h: Likewise.
3316
3317 * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
3318 of EB and EL versions.
3319
28635115
RM
3320Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3321
3322 * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
3323 (_IS* enum): Use _ISbit to produce values.
3324
933e73fa
RM
3325Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3326
3327 * locale/localeinfo.h: Rewritten for new locale system, using
3328 locale data files and with <langinfo.h> interface.
3329 * locale/setlocale.c: Rewritten to use locale data files.
3330 * langinfo.h: New file.
3331 * locale/langinfo.h: New file.
3332 * locale/nl_langinfo.c: New file.
3333 * locale/loadlocale.c: New file.
3334 * locale/lc-ctype.c: New file.
3335 * locale/lc-messages.c: New file.
3336 * locale/lc-monetary.c: New file.
3337 * locale/lc-numeric.c: New file.
3338 * locale/lc-time.c: New file.
3339 * locale/categories.def: New file.
3340 * locale/Makefile (headers): Remove localeinfo.h.
3341 (distribute): New variable; put localeinfo.h here, and categories.def.
3342 (routines): Add loadlocale.
3343 (categories): New variable.
3344 (aux): Use that to get C-category and lc-category.
3345 * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
797fa620
RM
3346 * ctype/ctype-info.c: For initial tables, use
3347 _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
86d2c878 3348 locale/C-ctype.c.
933e73fa
RM
3349 * locale/C-ctype.c, locale/C-messages.c: New files.
3350 * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
3351 Default "C" locale data updated for new locale system.
3352 * locale/C-collate.c: File removed.
3353 * locale/C-ctype_ct.c: File removed.
3354 * locale/C-ctype_mb.c: File removed.
3355 * locale/C-response.c: File removed.
3356 * locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
3357 * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
3358 stdlib/strtod.c, time/asctime.c, time/strftime.c:
3359 Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
3360 locale data.
3361 * time/localtime.c: Don't include <localeinfo.h>.
3362 * time/tzset.c: Don't use locale items for default TZ value or
3363 "GMT" string (use "UTC").
3364
3365 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
3366 WIDTH>0; update DONE.
3367
3368 * malloc/malloc.c (morecore): Fix last change to calculate by
3369 blocks instead of bytes.
3370
6408bdde
RM
3371Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3372
3373 * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
3374 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3375 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3376 * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
3377 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3378 * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
3379 alias munmap.
3380 * sysdeps/unix/mman/munmap.S: Likewise.
3381 * sysdeps/mach/munmap.c: Likewise.
3382 * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
3383 alias mmap.
3384 * sysdeps/unix/mman/mmap.S: Likewise.
3385 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
3386 * sysdeps/stub/mmap.c: Likewise.
3387
3388 * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
3389
3390 * sysdeps/unix/dirfd.c: #undef dirfd before function defn.
3391
3392Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3393
3394 * misc/search.h: Add missing semicolon.
3395
3396 * sysdeps/unix/dirfd.c: Fix typo.
3397
3398 * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
3399 in decl.
3400
3401 * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
3402 WIDTH before test.
3403
30e77772
RM
3404Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3405
4933a099
RM
3406 * stdlib/strtod.c: Fixes from drepper.
3407 [IMPLICIT_ONE]: New macro, one for IEEE754 formats.
3408 * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
3409 * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
3410
3411 * stdio/vfprintf.c: Correctly notice Z modifier.
3412
30e77772
RM
3413 * misc/search.h: New file.
3414 * misc/Makefile (headers): Add search.h.
3415 * misc/insremque.c: Include search.h.
3416 (struct qelem): Type removed.
3417
e32a7957
RM
3418Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3419
3420 * elf/libelf.h: New file.
3421 * elf/elf_hash.c: New file.
3422
24b76949
RM
3423Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3424
4788ab46 3425 Changes from Germano Caronni <caronni@tik.ethz.ch>:
24b76949
RM
3426 * malloc/malloc.c (morecore): Account in NEWSIZE for the
3427 malloc_info structures for each new block.
3428
3c46a92d
RM
3429Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3430
3431 * sysdeps/mach/hurd/kill.c: When the process has no message port
3432 registered and we have its task port, translate a few signals to
3433 task_suspend/task_resume/task_terminate.
3434
e66f63fb
RM
3435Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3436
22a1292a
RM
3437 * io/Makefile (routines): Add euidaccess.
3438 * sysdeps/mach/hurd/euidaccess.c: New file.
3439 * sysdeps/stub/euidaccess.c: New file.
3440 * posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
3441
3442 * dirent/Makefile (routines): Add dirfd.
3443 * sysdeps/stub/dirfd.c: New file.
3444 * sysdeps/unix/dirfd.c: New file.
3445 * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
3446 * dirent/dirent.h (dirfd): Declare new function. Define as macro
3447 _DIR_dirfd if that is defined.
3448 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
3449 with `void *__fd'.
3450 * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
3451 Open the file with `open'; set FD_CLOEXEC on the fd.
3452 * sysdeps/mach/hurd/closedir.c: Likewise.
3453 * sysdeps/mach/hurd/readdir.c: Likewise.
3454 * sysdeps/mach/hurd/dirfd.c: New file.
3455
3456 * posix/Makefile (glob/configure): Do cvs commit if there is a CVS
3457 directory.
3458 (glob/ChangeLog): Likewise.
3459
3460 * locale/locale.h (LC_*): Use small integers instead of bit masks.
3461
e66f63fb
RM
3462 * stdio/bug4.c: Put temporary files in /tmp.
3463 * stdio/bug3.c: Likewise.
3464 * stdio/bug5.c: Likewise.
3465 * stdio/test-fseek.c: Likewise.
3466 * stdio/test-popen.c: Likewise.
3467
50843ff0
RM
3468Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3469
b5388cb6
RM
3470 * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
3471
3472 * libc-symbols.h (weak_symbol): New macro.
3473
0677a80c
RM
3474 * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
3475 elts with null handlers.
3476
50843ff0
RM
3477 * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
3478
23ad311d
RM
3479Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3480
50843ff0
RM
3481 * stdlib/random.c (__srandom): Change algorithm used to populate
3482 the state array.
3483 (randtbl): Recomputed with new algorithm.
3484
23ad311d
RM
3485 * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
3486 to original value of `crypt'.
3487 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
3488 (crypt): New variable, set to crypt.solar.
3489
daf12887
BK
3490Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
3491
d53f392b
BK
3492 * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
3493
daf12887
BK
3494 * config.h.in: Put comment around ^L to pacify Solaris as here too.
3495
37f91d33
RM
3496Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3497
67a87b93
RM
3498 * string/Makefile (distribute): Add pagecopy.h.
3499 * sysdeps/mach/pagecopy.h: New file.
3500 * sysdeps/generic/pagecopy.h: New file.
3501 * sysdeps/generic/memcpy.c: Include pagecopy.h; call
3502 PAGE_COPY_FWD_MAYBE first when word aligned.
3503 * sysdeps/generic/memmove.c: Likewise.
3504
787126fe
RM
3505 * misc/bsd-compat.c (longjmp, setjmp): Functions removed.
3506 (getpgrp): Call __getpgid instead of __getpgrp.
3507
01cc0be6
RM
3508 * Makefile (subdirs): Add elf first.
3509 * elf/Makefile: New file.
3510 * elf/elf.h: New file.
3511
8b60020b
RM
3512 * sysdeps/unix/start.c (errno): Only define if it's not #define'd
3513 as a macro.
3514 [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
3515 indirection.
3516
37f91d33
RM
3517 * csu/Makefile (crtstuff): New variable consolidates crti, crtn;
3518 add crti_s, crtn_s.
3519 (install-lib, extra-objs, generated-, omit-deps): Use that.
3520 (initfini): New canned sequence, broken out of crt[in].s rule.
3521 (crt[in].s rule): Use it.
3522 (crt[in]_s.s): New rule.
3523 * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
3524 (_init, _fini): Use GLOBAL as storage class.
3525 Add self reference to avoid GCC optimizing out the functions.
3526
3527 * Makefile (headers): Remove $(stddef.h).
3528 * Makeconfig (stddef.h): Variable removed; now require gcc version
3529 >= 2.2.
3530 * stddef.h: File removed.
3531
3532Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3533
3534 * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
3535 definition.
3536 * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
3537
3538 * stdlib/strtod.c: Allow the string to start with a decimal point
3539 without a leading zero.
3540
0923c7a5
RM
3541Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
3542
41d43dbc
RM
3543 * Makefile (subdirs): Put csu first.
3544
3545 * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
3546
96f873b9
RM
3547 * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
3548 to crt[in].o.
3549 (csu-objpfx): New variable.
3550 (+link): Use it to find start.o and $(+preinit), $(+postinit).
3551
3552 * Rules (subdir_lib, all): Depend on objs.
3553
0923c7a5
RM
3554 * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
3555
3556 * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
3557 access to float.h macros.
3558
3559 * misc/efgcvt.c: New file.
3560 * misc/Makefile (routines): Add efgcvt.
3561
5ace96c8
BK
3562Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
3563
3564 * sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
3565 * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
3566 to avoid a misreference that would override sysdeps/generic/mul.c.
3567 * sysdeps/sparc/Dist: Likewise.
3568
5f9e57ba
RM
3569Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
3570
3571 * posix/Makefile (aux): Add environ.
3572 * posix/environ.c: New file.
3573 * sysdeps/unix/sparc/start.c: Remove __environ definition.
3574 * sysdeps/unix/start.c: Likewise.
3575 * sysdeps/unix/sysv/irix4/start.c: Likewise.
3576 * sysdeps/mach/hurd/start.c: Likewise.
3577 * sysdeps/mach/start.c: Likewise.
3578 * sysdeps/stub/start.c: Likewise.
3579
3580 * sysdeps/unix/make_errlist.c: In produced program, test
3581 HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
3582 * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
3583 Remove extra weak alias.
3584
3585 * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
3586 in #include.
3587
3588 * libc-symbols.h: Put comment around ^L to pacify Solaris as.
3589
3590 * sysdeps/posix/Makefile (cded-objdir-includes): New variable
3591 replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
3592 $(CPPFLAGS).
3593 (mk-stdiolim): Use it instead.
3594
28f540f4
RM
3595Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
3596
5f9e57ba
RM
3597 * mach/mach_init.c (__vm_page_size): Make it initialized. It does
3598 not work to make a weak alias to a bss symbol.
3599
3600 * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
3601 (tests): Add test-fwrite.
3602 * stdio/test-fwrite.c: New file.
3603
3604 * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
3605 __strtold.
3606
3607 * Makefile (autoconf-it): New canned sequence. Do cvs commit if
3608 there is a CVS directory.
3609 (configure, %/configure): Use $(autoconf-it) for cmds.
3610 * Make-dist: Likewise.
28f540f4
RM
3611 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
3612 if there is a CVS directory.
3613 * sysdeps/sparc/Makefile (divrem output): Likewise.
3614 * sysdeps/alpha/Makefile (divrem output): Likewise.
5f9e57ba 3615 * Makerules ($(gpl2lgpl)): Likewise.
28f540f4
RM
3616
3617 * Makerules (rule to install lib%.a from $(install-lib)): Fix
3618 patsubst to elide ranlib for $(non-lib.a).
3619
3620 * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
3621
3622Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
3623
3624 * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
3625 * mach/mig-dealloc.c: Add weak alias mig_deallocate.
3626
3627Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3628
3629 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
3630 DEALLOC_REFPORT; deallocate the refport after use only if it
3631 evaluates to nonzero.
3632 * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
3633 * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
3634
3635 * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
3636 *STATE_CHANGE to indicate whether or not we changed *STATE and it
3637 should be committed to the thread.
3638 (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
3639 state for a thread, do thread_set_state on that thread. Don't use
3640 SS->intr_port for collecting reply ports, it is not safe to
3641 clobber that when suspending; instead, alloca a temporary array.
3642 (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
3643 zero when dying, one when suspending. Pass new arg to abort_rpcs.
3644
3645 * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
3646 HURD_FD_PORT_USE will. Don't use critical sections around
3647 HURD_FD_PORT_USE invocations.
3648
3649 * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
3650 * sysdeps/posix/stdio_init.c: Likewise.
3651
3652Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3653
3654 * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
3655 locking; don't leave the descriptor locked on return.
3656 (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
3657 Use a critical section around locking the descriptor.
3658 Check for an empty descriptor and return EBADF.
3659 * sysdeps/mach/hurd/dup2.c: Likewise.
3660 * sysdeps/mach/hurd/fcntl.c: Likewise.
3661 Use HURD_FD_PORT_USE macro for RPCs.
3662 * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
3663 using HURD_FD_PORT_USE.
3664 * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
3665 to lock the descriptor.
3666 * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
3667 locking the descriptor.
3668 * sysdeps/mach/hurd/fdopen.c: Likewise.
3669 * hurd/fd-close.c: Likewise.
3670 Don't expect the descriptor to be locked on entry.
3671 Check for empty descriptor and return EBADF.
3672
3673 Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
3674 new functions _hurd_ctty_input and _hurd_ctty_output, each
3675 called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
3676 * hurd/ctty-input.c: New file.
3677 * hurd/ctty-output.c: New file.
3678 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
3679 * hurd/fd-read.c: Use _hurd_ctty_input.
3680 * hurd/fd-write.c: Use _hurd_ctty_output.
3681 * sysdeps/mach/hurd/ioctl.c: Likewise.
3682 * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
3683
3684Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3685
3686 * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
3687 as appropriate to the type.
3688
3689 * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
3690 repeating the union.
3691 (HUGE_VAL, __huge_val): Use it.
3692 [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
3693 analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
3694 * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
3695 (STRTOF): Set to __strtold; define strtold as weak alias.
3696 * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
3697 (STRTOF): Set to __strtof; define strtof as weak alias.
3698
3699 * sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
3700 (IEEE754_FLOAT_BIAS): New macro.
3701
3702 * sysdeps/ieee754/mpn2ldbl.c: Fix typos.
3703
3704 * stdlib/testmb.c: Add tests from rfg for using normal chars as
3705 multibyte chars.
3706
3707 * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
3708 only the `defined but not used' warning, but also to avoid GCC
3709 optimizing out the entire function (!).
3710
3711 * stdlib/wctomb.c: Include ctype.h.
3712
3713 * Makerules (install-lib-non.a): Don't include $(non-lib.a).
3714
3715 * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
3716
3717Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3718
3719 * stdio/printf_fp.c: Include "fpioconst.h".
3720 (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
3721 (__printf_fp): All references changed.
3722 Don't bother computing THOUSANDS_SEP if GROUPING is empty.
3723 (group_number): Use memmove instead of memcpy, since operands overlap.
3724 * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
3725 * stdio/fpioconst.h: New file, header declaring the table data.
3726 * stdio/Makefile (aux): Add fpioconst.
3727 (distribute): Add fpioconst.h.
3728 * stdlib/strtod.c: Complete rewrite from drepper.
3729 * stdlib/strtof.c: New file.
3730 * stdlib/strtold.c: New file.
3731 * stdlib/Makefile (routines): Add strtof, strtold.
3732 * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
3733 * sysdeps/stub/mpn2flt.c: New file.
3734 * sysdeps/stub/mpn2dbl.c: New file.
3735 * sysdeps/stub/mpn2ldbl.c: New file.
3736 * sysdeps/ieee754/mpn2flt.c: New file.
3737 * sysdeps/ieee754/mpn2dbl.c: New file.
3738 * sysdeps/ieee754/mpn2ldbl.c: New file.
3739
3740 * Makerules (install-lib.a): Don't filter out $(non-lib.a).
3741 ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
3742 appears in $(non-lib.a).
3743
3744Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3745
3746 * stdlib/wctomb.c: A normal ASCII character translates to itself.
3747 * stdlib/mbtowc.c: Likewise.
3748
3749Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3750
3751 * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
3752 Remove `const' from prototypes.
3753 * sysdeps/m68k/__longjmp.c: Likewise.
3754 * setjmp/longjmp.c: Likewise.
3755 * sysdeps/i386/__longjmp.c: Likewise.
3756
3757 * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
3758 so when we return a name, it is incremented past the value that
3759 produces that same name.
3760
3761 * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
3762 * stdio/stdio.h (fgets): Likewise.
3763
3764 * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
3765
3766 * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
3767 when it's EBACKGROUND; we need to notice that it is EBACKGROUND
3768 and retry the RPC.
3769 * hurd/fd-read.c: Likewise.
3770
3771Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3772
3773 * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
3774 <mach/mig_support.h>.
3775 * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
3776 * assert/assert.c: Likewise.
3777 * sysdeps/posix/libc_fatal.c: Likewise.
3778
3779Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3780
3781 * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
3782 as macros, to satisfy ANSI pedants.
3783
3784 * stdio/internals.c (flushbuf): When there is no new data after
3785 priming the stream, return without writing out the buffer.
3786 * stdio/Makefile (tests): Add bug7.
3787 * stdio/bug7.c: New file.
3788
3789 * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
3790 S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
3791 is defined.
3792
3793 * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
3794
3795 * stdio/Makefile (tests): Add errnobug.
3796 * stdio/errnobug.c: New file.
3797
3798 * mach/mig_strncpy.c: Include string.h.
3799
3800 * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
5f9e57ba 3801 inlines cause trouble for files defining global register variables.
28f540f4
RM
3802
3803 * stdio/vfprintf.c: Use _strerror_internal for %m.
3804
3805 * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
3806
3807 * stdio/printf.h (struct printf_info): New member `group', for %' flag.
3808 * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
3809 * stdio/vfprintf.c (group_number): New function.
3810 (vfprintf): Support %' flag for integer formats, by calling
3811 group_number after formatting the number in WORK.
3812 * stdio/printf_fp.c (guess_grouping, group_number): New functions.
3813 (__printf_fp): Implement `group' flag using them.
3814
3815 * Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
3816 (parent-clean): Remove sysd-rules, not sysdirs.
3817 (distclean): Pass avoid-generated=yes to submake.
3818 (distclean-1): Remove $(sysdep-$(distclean-1)).
3819
3820 * Makerules (objects, objs): Depend on $(extra-objs) too.
3821 (include sysd-Makefile): Protect with ifndef avoid-generated.
3822
3823 * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
3824 (CPPFLAGS): Use $(defines) in place of $(+defines).
3825 Replace -D_LIBC with -include $(..)libc-symbols.h.
3826
3827 * stdio/freopen.c: Set seen bit before calling fclose.
3828
3829Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3830
3831 * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
3832 successes and each kind of failure. Return EPERM or EACCES only
3833 if every task failed that way.
3834
3835 * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
3836 correctly.
3837
3838 * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
3839 or resume the process after frobbing.
3840
3841 * hurd/hurdsig.c: Use spin lock operations on sigstate locks
3842 throughout.
3843 (_hurd_thread_sigstate): Don't lock the sigstate lock.
3844 (_hurd_internal_post_signal): New subfunction `mark_pending'; replace
3845 repeated sequences with calls to it. Don't expect the sigstate
3846 lock to be held on entry; lock it just before examining sigaction.
3847 In handler case, check SS->critical_section after calling
3848 abort_rpcs; if set, mark the signal pending and resume the thread.
3849 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
3850 (_hurd_self_sigstate): Don't lock the sigstate lock.
3851 (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
3852 _hurd_self_sigstate_unlocked.
3853 * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
3854 the sigstate lock.
3855 * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
3856 Don't expect _hurd_self_sigstate to lock it. Fix critical section
3857 locking.
3858 * hurd/hurd-raise.c: Likewise.
86d2c878 3859 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
28f540f4
RM
3860 * sysdeps/mach/hurd/sigpending.c: Likewise.
3861 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
3862 * sysdeps/mach/hurd/sigaction.c: Likewise.
3863 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
3864 * hurd/fd-write.c: Likewise.
3865 * hurd/fd-read.c: Likewise.
3866 * sysdeps/mach/hurd/ioctl.c: Likewise.
3867 * sysdeps/mach/hurd/fork.c: Likewise.
3868 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
86d2c878 3869 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
28f540f4
RM
3870 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
3871 * hurd/hurdmsg.c (get_int): Likewise.
3872
3873 * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
3874
3875 * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
3876 global.
3877 (PAD): Caller changed.
3878 * stdio/printf_fp.c (__pad): Function removed.
3879 (PAD): Use __printf_pad instead.
3880
3881Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3882
3883 Merged new FP printer by Ulrich Drepper.
3884 * stdio/printf_fp.c: Rewrite by drepper.
3885 * stdio/Makefile (routines): Add ldbl2mpn.
3886 * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
3887 member.
3888 (union ieee854_long_double): New type, from drepper.
3889 (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
3890 * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
3891 * sysdeps/stub/ldbl2mpn.c: New file.
3892 * math/Makefile (routines): Add isinfl and isnanl.
3893 * sysdeps/ieee754/isinfl.c: New file.
3894 * sysdeps/stub/isinfl.c: New file.
3895 * sysdeps/ieee754/isnanl.c: New file.
3896 * sysdeps/stub/isnanl.c: New file.
3897
3898 * malloc/malloc.c (__malloc_extra_blocks): New variable.
3899 (malloc): When getting more core, get __malloc_extra_blocks extra;
3900 put the new block at the end of the free list and let the next loop
3901 iteration use the initial portion of it.
3902 * malloc/free.c (_free_internal): Account for twice
3903 __malloc_extra_blocks in deciding if we have so much extra memory
3904 we should return it to the system.
3905 * malloc/malloc.h (__malloc_extra_blocks): Declare it.
3906 * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
3907 const in parameter decl.
3908
3909 * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
3910
3911Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3912
3913 * munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
3914
3915 * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
3916 * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
3917 * sysdeps/mips/bsd-setjmp.S: Likewise.
3918 * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
3919 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
3920 Use `long int' for sigcode. Use explicit register numbers instead
3921 of names.
3922 (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
3923 * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
3924
3925Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3926
3927 * hurd/hurdmalloc.c: Remove bogus bcopy decl.
3928
3929 * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
3930 using __stpncpy.
3931
3932 * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
3933
5f9e57ba 3934 * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
28f540f4
RM
3935
3936Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3937
3938 * mach/mig_strncpy.c: Include mach.h instead of string.h. Use
3939 vm_size_t instead of size_t for arg and return types.
3940
3941 * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
3942 already does.
3943
3944Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3945
3946 * set-hooks.h (RUN_HOOK): Dereference PTR properly.
3947
3948 * configure.in (friendly stddef.h check): Write override defn for
3949 `stddef.h' Make variable.
3950 (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
3951
3952 * configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
3953
3954 * Rules ($(objpfx)dummy.o): Write an empty function, not just an
3955 empty file.
3956
3957 * sysdeps/sparc/Makefile (sysdep-realclean): New variable.
3958
3959Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3960
3961 * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
3962
3963 * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
3964 mach/machine/syscall_sw.h with this.
3965
3966Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3967
3968 * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
3969 instead of <lock-intern.h>.
3970 (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
3971 (_hurd_critical_section_lock): Use spin lock operators.
3972 Don't hold the sigstate lock, unlock it after setting the flag.
3973 (_hurd_critical_section_unlock): Take the sigstate lock
3974 to clear the flag; while holding it, check pending signals. After
3975 unlocking, sig_post ourselves if there were pending signals.
3976
3977 * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
3978 sigstate lock. If it is locked, clear SS->critical_section and
3979 SS->context, and unlock it.
3980
3981 * sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
3982
3983 * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
3984 * munch-tmpl.c: Likewise.
3985
3986 * mach/Makefile (routines): Don't filter out syscall_% from
3987 $(mach-syscalls).
3988
3989Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
3990
3991 * posix/fnmatch.c: Declare errno if it's not defined.
3992 That's simpler than testing #if !defined(__GNU_LIBRARY__)
3993 && !defined(STDC_HEADERS).
3994
3995Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3996
3997 * csu/Makefile: New file.
3998 * csu/initfini.c: New file.
3999 * Makefile (+other_dirs): Add csu.
4000 (+init): Variable renamed to libc-init. All references changed.
4001 (aux): Remove start.
4002 (install-lib): Variable removed.
4003 (crt0.o, Mcrt1.o crt1.o): Targets removed.
4004
4005 * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
4006 and $(objpfx)config.h.
4007 (static deps of RPC alias *.o): Removed.
4008
4009 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
4010 Protect macros with this.
4011 * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
4012 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
4013 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
4014 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
4015 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
4016 * sysdeps/unix/mips/sysdep.h: Likewise.
4017
4018Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4019
4020 * Makerules (compile.[Sc]): Match gcc in $(CC) better.
4021 (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
4022
4023 * hurd/intr-rpc.awk: Emit weak alias.
4024
4025 * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
4026 __getpgrp.
4027
4028 * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
4029 this.
4030 * sysdeps/unix/i386/sysdep.h: Likewise.
4031 * sysdeps/unix/sparc/sysdep.h: Likewise.
4032
4033 * io/ftw.c: Avoid `ret' as variable name.
4034 * posix/glob.c: Likewise.
4035
4036 * ctype/ctype.h (_ISalpha): Define as its own bit.
4037 * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
4038
4039 * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
4040 DEFINE_HOOK with this.
4041
4042Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4043
4044 * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
4045 * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
4046 * mach/shortcut.awk: Emit weak alias.
4047 * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
4048 * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
4049 __ names.
4050 * mach/Makefile (lock): Remove spin-syms.
4051 (routines): Remove __ names, vm_page_size, msgserver_t.
4052 ($(mach-syscalls) rule): Generate files without __, add weak alias.
4053 Remove symbol alias file rule.
4054 ($(mach-shortcuts) rule): Likewise.
4055 [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
4056 * mach/Machrules (if-calls.c): Variable and rule removed.
4057 (interface-headers): Don't add $($(if)-calls).
4058 (transform-user-stub): Define to add weak alias.
4059 * set-hooks.h: Use new libc-symbols.h set access macros.
4060 * time/Makefile (routines): Remove __ names.
4061 (aux): Variable removed.
4062 * hurd/Makefile: Likewise.
4063 * sysdeps/unix/start.c (environ): Define as weak alias for __environ.
4064 (data_start): Define as weak alias for __data_start.
4065 * sysdeps/mach/hurd/start.c: Likewise.
4066 * sysdeps/unix/sparc/start.c: Likewise.
4067 * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
4068 sys_errlist.
4069 * sysdeps/mach/hurd/errlist.awk: Likewise.
4070 * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
4071 alias for __environ.
4072 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4073 * sysdeps/stub/setdomain.c: Use new stub_warning macro.
4074 * sysdeps/stub/getdomain.c: Likewise.
4075 * sysdeps/stub/vhangup.c: Likewise.
4076 * sysdeps/stub/swapon.c: Likewise.
4077 * sysdeps/stub/sendmsg.c: Likewise.
4078 * sysdeps/stub/recvmsg.c: Likewise.
4079 * sysdeps/stub/acct.c: Likewise.
4080 * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
4081 * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
4082 * sysdeps/posix/libc_fatal.c: Likewise.
4083 * sysdeps/i386/abort.c: Likewise.
4084 * sysdeps/i386/__longjmp.c: Likewise.
4085 * sysdeps/generic/make_siglist.c: Emit defn always for
4086 _sys_siglist. Emit weak alias to sys_siglist.
4087 * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
4088 * sysdeps/ieee754/log10.c: Likewise.
4089 * time/difftime.c: Likewise.
4090 * stdlib/random.c (srand): Define as weak alias for __srandom.
4091 * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
4092 macros for __libc_atexit.
4093 * stdlib/Makefile (routines): Remove __random, srand.
4094 * stdio/gets.c: Use new link_warning macro instead of old
4095 warn_references.
4096 * stdio/Makefile (routines): Remove __ names.
4097 (aux): Remove syms-stdio.
4098 * socket/Makefile (routines): Added e on getpeernam and getsocknam.
4099 * setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
4100 * setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
4101 * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
4102 * stdio/stdio.h: Likewise.
4103 * misc/Makefile (routines): Remove __ names.
4104 (aux): Remove data_start.
4105 * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
4106 * sysdeps/mach/hurd/brk.c: Likewise.
4107 * hurd/hurdid.c: Likewise.
4108 * hurd/hurdpid.c: Likewise.
4109 * hurd/openport.c: Likewise.
4110 * hurd/hurdsock.c: Likewise.
4111 * hurd/hurdsig.c: Likewise.
4112 * hurd/hurdrlimit.c: Likewise.
4113 * hurd/hurdmalloc.c: Likewise.
4114 * hurd/dtable.c: Likewise.
4115 * hurd/setauth.c: Likewise.
4116 * misc/progname.c: Likewise.
4117 * misc/init-misc.c: Likewise.
4118 * sysdeps/generic/vfork.c: Likewise.
4119 * sysdeps/unix/bsd/init-posix.c: Likewise.
4120 * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
4121 * time/time.h: Likewise.
4122 * math/Makefile (routines): Remove __ names.
4123 * io/Makefile: Likewise.
4124 * termios/Makefile: Likewise.
4125 * resource/Makefile: Likewise.
4126 * signal/Makefile: Likewise.
4127 * dirent/Makefile: Likewise.
4128 * assert/assert.h: Replace __NORETURN keyword with __attribute__
4129 uses. Functions return void and macros deal with this.
4130 * assert/assert-perr.c: Remove obsolete __NORETURN keyword.
4131 Return void. Don't include gnu-stabs.h.
4132 * assert/assert.c: Likewise.
4133 * posix/Makefile (routines): Remove __ names, setpgrp. Add
4134 getpgid.
4135 (aux): Remove environ.
4136 * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
4137 __attribute__ use.
4138 * posix/unistd.h (_exit): Likewise.
4139 (__getpgrp, __setpgrp): Declarations removed.
4140 (__getpgid, getpid): Declare these.
4141
4142 * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
4143 for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
4144 $libc_link_{sources,dests}.
4145 * sysdeps/unix/configure.in: Remove __ from file names. Don't
4146 create files, just add to libc_link_{dests,sources}.
4147
4148 * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
4149
4150 * config.h.in: Add #undefs used by sysdeps configures.
4151
4152 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
4153 __setpgid, __getpgid.
4154 * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
4155 from setpgrp.c.
4156 * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
4157 from __getpgrp.c.
4158 * sysdeps/unix/bsd/getpgrp.c: File removed.
4159 * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
4160 Call __getpgid with zero.
4161 * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
4162 weak aliases setpgid and setpgrp.
4163 * sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
4164 * sysdeps/unix/common/setpgid.S: Likewise.
4165 * sysdeps/mach/hurd/setpgid.c: Likewise.
4166 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
4167 Use subcall 5 to __pgrpsys.
4168 * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
4169 weak alias getpgid.
4170 * sysdeps/mach/hurd/getpgid.c: Likewise.
4171 * sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
4172 * sysdeps/unix/common/getpgid.S: Likewise.
4173 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
4174 Use subcall 4 to __pgrpsys.
4175 * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
4176 * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
4177 * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
4178 * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
4179 * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
4180 * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
4181 * sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
4182 * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
4183 * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
4184 * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
4185 * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
4186 * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
4187
4188 * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
4189 from __getdents.S.
4190
4191 * sysdeps/posix/defs.c: Don't include gnu-stabs.h.
4192 * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
4193 warning.
4194 * sysdeps/stub/fexecve.c: Likewise.
4195 * sysdeps/stub/fchdir.c: Likewise.
4196 * sysdeps/stub/fchflags.c: Likewise.
4197 * sysdeps/stub/chflags.c: Likewise.
4198
4199 * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
4200 * sysdeps/generic/abort.c: Likewise.
4201 * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
4202
4203 * hurd/hurdioctl.c: Include hurd/ioctl.h.
4204 (_hurd_ioctl_handler_lists): Define this set.
4205 (_hurd_lookup_ioctl_handler): New function.
4206 * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
4207 * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
4208 (_hurd_lookup_ioctl_handler): Declare it.
4209 (ioctl_handler_t): New typedef. Use it throughout.
4210 * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
4211 (_hurd_ioctl_handler_lists): Don't define.
4212 (__ioctl): Call _hurd_lookup_ioctl_handler.
4213
4214 * stdlib/strtol.c (maxquad): Make this const.
4215 [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
4216
4217 * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
4218 any compile tests.
4219
4220 * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
4221 __msg_sig_post_request, not __sig_post_request.
4222
4223 * misc/getusersh.c: Renamed to getusershell.c.
4224 * sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
4225 * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
4226 * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
4227 * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
4228
4229Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4230
4231 * sysdeps/stub/settod.c: Renamed to settimeofday.c.
4232 * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
4233 * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
4234 * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
4235 * sysdeps/stub/setitmr.c: Renamed to setitimer.c.
4236 * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
4237 * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
4238 * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
4239 * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
4240 * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
4241 * sysdeps/stub/getprio.c: Renamed to getpriority.c.
4242 * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
4243 * sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
4244 * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
4245 * sysdeps/stub/setprio.c: Renamed to setpriority.c.
4246 * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
4247 * sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
4248 * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
4249 * sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
4250 * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
4251 * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
4252 * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
4253 * sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
4254 * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
4255 * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
4256 * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
4257 * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
4258 * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
4259 * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
4260 * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
4261
4262 * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
4263 of __sig_post.
4264 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
4265 * sysdeps/mach/hurd/kill.c: Likewise.
4266 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
4267
4268 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
4269 [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
4270
4271 * sysdeps/stub/remove.c: New file.
4272 * sysdeps/posix/remove.c: New file.
4273
4274Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4275
4276 * time/mktime.c [weak_alias] (timelocal): Define as weak alias for
4277 mktime.
4278 * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
4279 __mig_strncpy.
4280 * mach/msg-destroy.c: Renamed from __msg_dest.c.
4281 (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
4282 * mach/setup-thread.c (mach_setup_thread): Define as weak alias.
4283 * time/tzset.c (tzname, daylight, timezone): Define as weak
4284 aliases for __ names.
4285 * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
4286 * hurd/hurdlookup.c: Add weak aliases for non-__ names.
4287 * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
4288 being defined.
4289
4290Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4291
4292 * string/Makefile (routines): Remove __ names, index, rindex, and
4293 bcmp.
4294 * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
4295 alias for strchr.
4296 * sysdeps/generic/strchr.c: Likewise.
4297 * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
4298 alias for strrchr.
4299 * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
4300 alias for memcmp.
4301
4302 * malloc/free.c (cfree): Define this function, with weak_alias if
4303 available, otherwise a C function.
4304 * malloc/Makefile (gmalloc-routines): Remove cfree.
4305
4306Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4307
4308 * stdio/fseek.c: Do move bufp by O when that puts it exactly at
4309 get_limit. This has the effect of no-op'ing properly for zero.
4310
4311 * configure.in: Add AC_CONFIG_HEADER(config.h).
4312 (--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
4313 * config.h.in: New file.
4314
4315 * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
4316 All code converted to use weak symbols, defined in the files which
4317 define the real code (with the __ names, the non-__ names are weak).
4318 All old symbol alias files removed.
4319 Many files renamed to remove __ prefix since there is now just
4320 the one file for both the __ and non-__ name for each function.
4321 * libc-symbols.h: New file.
4322 * set-hooks.h: Use libc-symbols.h macros for accessing symbol
4323 sets.
4324 * gnu-stabs.h: Prepend #error this file is obsolete.
4325 * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
4326 * sysdeps/stub/__access.c: Renamed to access.c; added weak alias
4327 access.
4328 * sysdeps/unix/common/__access.S: Likewise.
4329 * sysdeps/mach/hurd/__access.c: Likewise.
4330 * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
4331 adjtime.
4332 * sysdeps/unix/common/__adjtime.S: Likewise.
4333 * sysdeps/mach/__adjtime.c: Likewise.
4334 * sysdeps/mach/hurd/__adjtime.c: Likewise.
4335 * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
4336 * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
4337 * sysdeps/unix/bsd/vax/__brk.S: Likewise.
4338 * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
4339 * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
4340 * sysdeps/unix/i386/__brk.S: Likewise.
4341 * sysdeps/unix/sparc/__brk.S: Likewise.
4342 * sysdeps/unix/mips/__brk.S: Likewise.
4343 * sysdeps/mach/hurd/__brk.c: Likewise.
4344 * sysdeps/standalone/__brk.c: Likewise.
4345 * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
4346 * sysdeps/unix/__chdir.S: Likewise.
4347 * sysdeps/mach/hurd/__chdir.c: Likewise.
4348 * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
4349 * sysdeps/unix/__chmod.S: Likewise.
4350 * sysdeps/mach/hurd/__chmod.c: Likewise.
4351 * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
4352 * sysdeps/unix/__chown.S: Likewise.
4353 * sysdeps/mach/hurd/__chown.c: Likewise.
4354 * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
4355 * sysdeps/unix/__close.S: Likewise.
4356 * sysdeps/mach/hurd/__close.c: Likewise.
4357 * sysdeps/standalone/__close.c: Likewise.
4358 * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
4359 alias copysign.
4360 * sysdeps/ieee754/__copysign.c: Likewise.
4361 * sysdeps/alpha/__copysign.c: Likewise.
4362 * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
4363 * sysdeps/m68k/fpu/__drem.c: Likewise.
4364 * sysdeps/stub/__drem.c: Likewise.
4365 * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
4366 * sysdeps/stub/__dup.c: Likewise.
4367 * sysdeps/unix/__dup.S: Likewise.
4368 * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
4369 * sysdeps/stub/__dup2.c: Likewise.
4370 * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
4371 * sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
4372 * sysdeps/unix/common/__dup2.S: Likewise.
4373 * sysdeps/mach/hurd/__dup2.c: Likewise.
4374 * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
4375 execve.
4376 * sysdeps/unix/__execve.S: Likewise.
4377 * sysdeps/mach/hurd/__execve.c: Likewise.
4378 * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
4379 expm1.
4380 * sysdeps/m68k/fpu/__expm1.c: Likewise.
4381 * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
4382 fchmod.
4383 * sysdeps/unix/common/__fchmod.S: Likewise.
4384 * sysdeps/mach/hurd/__fchmod.c: Likewise.
4385 * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
4386 fchown.
4387 * sysdeps/unix/common/__fchown.S: Likewise.
4388 * sysdeps/mach/hurd/__fchown.c: Likewise.
4389 * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
4390 * sysdeps/unix/__fcntl.S: Likewise.
4391 * sysdeps/mach/hurd/__fcntl.c: Likewise.
4392 * math/__finite.c: Renamed to finite.c; added weak alias finite.
4393 * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
4394 * sysdeps/stub/__flock.c: Likewise.
4395 * sysdeps/unix/bsd/__flock.S: Likewise.
4396 * sysdeps/mach/hurd/__flock.c: Likewise.
4397 * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
4398 fopenport.
4399 * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
4400 * sysdeps/unix/__fork.S: Likewise.
4401 * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
4402 * sysdeps/unix/i386/__fork.S: Likewise.
4403 * sysdeps/unix/sparc/__fork.S: Likewise.
4404 * sysdeps/unix/mips/__fork.S: Likewise.
4405 * sysdeps/mach/hurd/__fork.c: Likewise.
4406 * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
4407 alias fpathconf.
4408 * sysdeps/stub/__fpathcon.c: Likewise.
4409 * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
4410 * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
4411 * sysdeps/unix/__fstat.S: Likewise.
4412 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
4413 * sysdeps/mach/hurd/__fstat.c: Likewise.
4414 * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
4415 getdelim.
4416 * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
4417 alias getdents.
4418 * sysdeps/unix/__getdents.c: Likewise.
4419 * sysdeps/unix/bsd/sun/__getdents.S: Likewise.
4420 * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
4421 * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
4422 * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
4423 * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
4424 * sysdeps/unix/sysv/__getdents.c: Likewise.
4425 * sysdeps/mach/hurd/__getdents.c: Likewise.
4426 * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
4427 * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
4428 alias getdtablesize.
4429 * sysdeps/stub/__getdtsz.c: Likewise.
4430 * sysdeps/unix/bsd/__getdtsz.S: Likewise.
4431 * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
4432 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
4433 * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
4434 getegid.
4435 * sysdeps/unix/__getegid.S: Likewise.
4436 * sysdeps/mach/hurd/__getegid.c: Likewise.
4437 * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
4438 geteuid.
4439 * sysdeps/unix/__geteuid.S: Likewise.
4440 * sysdeps/mach/hurd/__geteuid.c: Likewise.
4441 * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
4442 getgid.
4443 * sysdeps/unix/__getgid.S: Likewise.
4444 * sysdeps/mach/hurd/__getgid.c: Likewise.
4445 * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
4446 alias getgroups.
4447 * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
4448 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
4449 * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
4450 * sysdeps/unix/common/__getgrps.S: Likewise.
4451 * sysdeps/mach/hurd/__getgrps.c: Likewise.
4452 * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
86d2c878 4453 alias gethostname.
28f540f4
RM
4454 * sysdeps/unix/inet/__gethstnm.S: Likewise.
4455 * sysdeps/unix/sysv/__gethstnm.c: Likewise.
4456 * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
4457 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
4458 * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
4459 alias getitimer.
4460 * sysdeps/unix/common/__getitmr.S: Likewise.
4461 * sysdeps/mach/hurd/__getitmr.c: Likewise.
4462 * stdio/__getline.c: Renamed to getline.c; added weak alias getline.
4463 * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
4464 alias getpagesize.
4465 * sysdeps/stub/__getpgsz.c: Likewise.
4466 * sysdeps/unix/__getpgsz.c: Likewise.
4467 * sysdeps/unix/bsd/__getpgsz.S: Likewise.
4468 * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
4469 * sysdeps/mach/__getpgsz.c: Likewise.
4470 * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
4471 getpid.
4472 * sysdeps/unix/__getpid.S: Likewise.
4473 * sysdeps/mach/hurd/__getpid.c: Likewise.
4474 * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
4475 getppid.
4476 * sysdeps/unix/__getppid.S: Likewise.
4477 * sysdeps/mach/hurd/__getppid.c: Likewise.
4478 * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
4479 alias gettimeofday.
4480 * sysdeps/stub/__gettod.c: Likewise.
4481 * sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
4482 * sysdeps/unix/common/__gettod.S: Likewise.
4483 * sysdeps/mach/__gettod.c: Likewise.
4484 * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
4485 getuid.
4486 * sysdeps/unix/__getuid.S: Likewise.
4487 * sysdeps/mach/hurd/__getuid.c: Likewise.
4488 * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
4489 alias infnan.
4490 * sysdeps/ieee754/__infnan.c: Likewise.
4491 * sysdeps/vax/__infnan.c: Likewise.
4492 * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
4493 * sysdeps/unix/__ioctl.S: Likewise.
4494 * sysdeps/mach/hurd/__ioctl.c: Likewise.
4495 * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
4496 isatty.
4497 * sysdeps/stub/__isatty.c: Likewise.
4498 * sysdeps/unix/bsd/__isatty.c: Likewise.
4499 * sysdeps/mach/hurd/__isatty.c: Likewise.
4500 * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
4501 isinf.
4502 * sysdeps/m68k/fpu/__isinf.c: Likewise.
4503 * sysdeps/stub/__isinf.c: Likewise.
4504 * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
4505 isnan.
4506 * sysdeps/ieee754/__isnan.c: Likewise.
4507 * sysdeps/m68k/fpu/__isnan.c: Likewise.
4508 * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
4509 * sysdeps/unix/__kill.S: Likewise.
4510 * sysdeps/mach/hurd/__kill.c: Likewise.
4511 * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
4512 * sysdeps/unix/__link.S: Likewise.
4513 * sysdeps/mach/hurd/__link.c: Likewise.
4514 * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
4515 * sysdeps/m68k/fpu/__logb.c: Likewise.
4516 * sysdeps/stub/__logb.c: Likewise.
4517 * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
4518 * sysdeps/unix/__lseek.S: Likewise.
4519 * sysdeps/mach/hurd/__lseek.c: Likewise.
4520 * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
4521 lstat.
4522 * sysdeps/stub/__lstat.c: Likewise.
4523 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
4524 * sysdeps/unix/common/__lstat.S: Likewise.
4525 * sysdeps/mach/hurd/__lstat.c: Likewise.
4526 * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
4527 alias memccpy.
4528 * sysdeps/vax/__memccpy.c: Likewise.
4529 * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
4530 * sysdeps/unix/sysv/__mkdir.c: Likewise.
4531 * sysdeps/unix/common/__mkdir.S: Likewise.
4532 * sysdeps/mach/hurd/__mkdir.c: Likewise.
4533 * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
4534 * sysdeps/unix/__mknod.S: Likewise.
4535 * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
4536 * sysdeps/mach/hurd/__mknod.c: Likewise.
4537 * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
4538 * mach/__msgserver.c: Renamed to msgserver.c; added weak alias
4539 mach_msg_server.
4540 * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
4541 * sysdeps/unix/__open.S: Likewise.
4542 * sysdeps/mach/hurd/__open.c: Likewise.
4543 * sysdeps/standalone/__open.c: Likewise.
4544 * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
4545 alias pathconf.
4546 * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
4547 * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
4548 * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
4549 * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
4550 * sysdeps/unix/bsd/vax/__pipe.S: Likewise.
4551 * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
4552 * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
4553 * sysdeps/unix/i386/__pipe.S: Likewise.
4554 * sysdeps/unix/sparc/__pipe.S: Likewise.
4555 * sysdeps/unix/mips/__pipe.S: Likewise.
4556 * sysdeps/mach/hurd/__pipe.c: Likewise.
4557 * stdlib/__random.c: Renamed to random.c; added weak alias random.
4558 * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
4559 * sysdeps/unix/__read.S: Likewise.
4560 * sysdeps/mach/hurd/__read.c: Likewise.
4561 * sysdeps/standalone/__read.c: Likewise.
4562 * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
4563 alias readlink.
4564 * sysdeps/unix/common/__readlink.S: Likewise.
4565 * sysdeps/mach/hurd/__readlink.c: Likewise.
4566 * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
4567 * sysdeps/m68k/fpu/__rint.c: Likewise.
4568 * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
4569 * sysdeps/unix/sysv/__rmdir.c: Likewise.
4570 * sysdeps/unix/common/__rmdir.S: Likewise.
4571 * sysdeps/mach/hurd/__rmdir.c: Likewise.
4572 * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
4573 * sysdeps/stub/__sbrk.c: Likewise.
4574 * sysdeps/mach/hurd/__sbrk.c: Likewise.
4575 * math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
4576 * sysdeps/stub/__select.c: Renamed to select.c; added weak alias
4577 select.
4578 * sysdeps/unix/common/__select.S: Likewise.
4579 * sysdeps/mach/hurd/__select.c: Likewise.
4580 * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
4581 * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
4582 setgid.
4583 * sysdeps/unix/__setgid.S: Likewise.
4584 * sysdeps/unix/bsd/__setgid.c: Likewise.
4585 * sysdeps/mach/hurd/__setgid.c: Likewise.
4586 * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
86d2c878 4587 setitmr
28f540f4
RM
4588 * sysdeps/unix/common/__setitmr.S: Likewise.
4589 * sysdeps/mach/hurd/__setitmr.c: Likewise.
4590 * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
86d2c878 4591 setpgrp
28f540f4
RM
4592 * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
4593 * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
4594 * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
4595 * sysdeps/unix/common/__setpgrp.S: Likewise.
4596 * sysdeps/mach/hurd/__setpgrp.c: Likewise.
4597 * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
4598 alias setregid.
4599 * sysdeps/unix/common/__setregid.S: Likewise.
4600 * sysdeps/mach/hurd/__setregid.c: Likewise.
4601 * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
4602 alias setreuid.
4603 * sysdeps/unix/common/__setreuid.S: Likewise.
4604 * sysdeps/mach/hurd/__setreuid.c: Likewise.
4605 * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
4606 setsid.
4607 * sysdeps/unix/bsd/__setsid.c: Likewise.
4608 * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
4609 * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
4610 * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
4611 * sysdeps/unix/sysv/linux/__setsid.S: Likewise.
4612 * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
4613 * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
4614 * sysdeps/mach/hurd/__setsid.c: Likewise.
4615 * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
4616 settimeofday.
4617 * sysdeps/unix/bsd/__settod.S: Likewise.
4618 * sysdeps/unix/sysv/__settod.c: Likewise.
4619 * sysdeps/mach/hurd/__settod.c: Likewise.
4620 * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
4621 setuid.
4622 * sysdeps/unix/__setuid.S: Likewise.
4623 * sysdeps/unix/bsd/__setuid.c: Likewise.
4624 * sysdeps/mach/hurd/__setuid.c: Likewise.
4625 * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
4626 alias sigblock.
4627 * sysdeps/stub/__sigblock.c: Likewise.
4628 * sysdeps/unix/bsd/__sigblock.S: Likewise.
4629 * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
4630 * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
4631 * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
4632 alias sigpause.
4633 * sysdeps/stub/__sigpause.c: Likewise.
4634 * sysdeps/unix/bsd/__sigpause.S: Likewise.
4635 * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
4636 * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
4637 alias sigprocmask.
4638 * sysdeps/unix/bsd/__sigproc.c: Likewise.
4639 * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
4640 * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
4641 * sysdeps/mach/hurd/__sigproc.c: Likewise.
4642 * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
4643 alias sigreturn.
4644 * sysdeps/unix/bsd/sun/__sigret.S: Likewise.
4645 * sysdeps/unix/sysv/i386/__sigret.S: Likewise.
4646 * sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
4647 * sysdeps/unix/i386/__sigret.S: Likewise.
4648 * sysdeps/unix/mips/__sigret.S: Likewise.
4649 * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
4650 * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
4651 * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
4652 * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
4653 sigvec.
4654 * sysdeps/stub/__sigvec.c: Likewise.
4655 * sysdeps/unix/bsd/__sigvec.S: Likewise.
4656 * sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
4657 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
4658 * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
4659 * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
4660 * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
4661 * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
4662 * sysdeps/unix/__stat.S: Likewise.
4663 * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
4664 * sysdeps/mach/hurd/__stat.c: Likewise.
4665 * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
4666 alias stpncpy.
4667 * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
4668 symlink.
4669 * sysdeps/unix/common/__symlink.S: Likewise.
4670 * sysdeps/mach/hurd/__symlink.c: Likewise.
4671 * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
4672 alias sysconf.
4673 * sysdeps/stub/__sysconf.c: Likewise.
4674 * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
4675 * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
4676 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
4677 * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
4678 * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
4679 * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
4680 * sysdeps/unix/bsd/__times.c: Likewise.
4681 * sysdeps/unix/sysv/__times.S: Likewise.
4682 * time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
4683 * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
4684 * sysdeps/unix/__umask.S: Likewise.
4685 * sysdeps/mach/hurd/__umask.c: Likewise.
4686 * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
4687 unlink.
4688 * sysdeps/unix/__unlink.S: Likewise.
4689 * sysdeps/mach/hurd/__unlink.c: Likewise.
4690 * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
4691 utimes.
4692 * sysdeps/unix/bsd/__utimes.S: Likewise.
4693 * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
4694 * sysdeps/mach/hurd/__utimes.c: Likewise.
4695 * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
4696 vfork.
4697 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
4698 * sysdeps/unix/bsd/vax/__vfork.S: Likewise.
4699 * sysdeps/unix/bsd/i386/__vfork.S: Likewise.
4700 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
4701 * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
4702 * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
4703 * sysdeps/unix/sparc/__vfork.S: Likewise.
4704 * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
4705 * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
4706 * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
4707 * sysdeps/stub/__wait.c: Likewise.
4708 * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
4709 * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
4710 * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
4711 * sysdeps/unix/bsd/vax/__wait.S: Likewise.
4712 * sysdeps/unix/bsd/m68k/__wait.S: Likewise.
4713 * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
4714 * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
4715 * sysdeps/unix/sysv/irix4/__wait.S: Likewise.
4716 * sysdeps/unix/i386/__wait.S: Likewise.
4717 * sysdeps/unix/mips/__wait.S: Likewise.
4718 * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
4719 * sysdeps/stub/__wait3.c: Likewise.
4720 * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
4721 * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
4722 * sysdeps/unix/bsd/vax/__wait3.S: Likewise.
4723 * sysdeps/unix/bsd/i386/__wait3.S: Likewise.
4724 * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
4725 * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
4726 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
4727 * sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
4728 * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
4729 * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
4730 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
4731 * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
4732 * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
4733 * sysdeps/unix/sysv/linux/__wait4.S: Likewise.
4734 * sysdeps/mach/hurd/__wait4.c: Likewise.
4735 * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
4736 waitpid.
4737 * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
4738 * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
4739 * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
4740 * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
4741 * sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
4742 * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
4743 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
4744 * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
4745 * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
4746 * sysdeps/unix/__write.S: Likewise.
4747 * sysdeps/mach/hurd/__write.c: Likewise.
4748 * sysdeps/standalone/__write.c: Likewise.
4749 * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
4750 alias tcgetattr.
4751 * sysdeps/unix/bsd/__tcgetatr.c: Likewise.
4752 * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
4753 * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
4754 * sysdeps/unix/sysv/__tcgetatr.c: Likewise.
4755 * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
4756 alias sigaction.
4757 * sysdeps/unix/bsd/__sigact.c: Likewise.
4758 * sysdeps/unix/sysv/__sigact.c: Likewise.
4759 * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
4760 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
4761 * sysdeps/mach/hurd/__sigact.c: Likewise.
4762 * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
4763 alias sigsetmask.
4764 * sysdeps/stub/__sigstmsk.c: Likewise.
4765 * sysdeps/unix/bsd/__sigstmsk.S: Likewise.
4766 * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
4767 * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
4768 * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
4769 alias getrusage.
4770 * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
4771 * sysdeps/unix/common/__getrusag.S: Likewise.
4772 * hurd/task2pid.c: File removed.
4773 * hurd/setauth.c: File removed.
4774 * hurd/pid2task.c: File removed.
4775 * hurd/hurdsyms.c: File removed.
4776 * hurd/getdport.c: File removed.
4777 * hurd/fopenport.c: File removed.
4778 * mach/thread-sym.c: File removed.
4779 * mach/spin-syms.c: File removed.
4780 * mach/msgserver_t.c: File removed.
4781 * mach/msgserver.c: File removed.
4782 * mach/msg.c: File removed.
4783 * mach/mig_syms.c: File removed.
4784 * malloc/mcheck-init.c: File removed.
4785 * malloc/cfree.c: File removed.
4786 * io/flock.c: File removed.
4787 * io/write.c: File removed.
4788 * io/unlink.c: File removed.
4789 * io/umask.c: File removed.
4790 * io/symlink.c: File removed.
4791 * io/rmdir.c: File removed.
4792 * io/readlink.c: File removed.
4793 * io/read.c: File removed.
4794 * io/pipe.c: File removed.
4795 * io/open.c: File removed.
4796 * io/mkdir.c: File removed.
4797 * io/lstat.c: File removed.
4798 * io/lseek.c: File removed.
4799 * io/link.c: File removed.
4800 * io/isatty.c: File removed.
4801 * io/stat.c: File removed.
4802 * io/fstat.c: File removed.
4803 * io/fchown.c: File removed.
4804 * io/fchmod.c: File removed.
4805 * io/dup2.c: File removed.
4806 * io/dup.c: File removed.
4807 * io/close.c: File removed.
4808 * io/fcntl.c: File removed.
4809 * io/chmod.c: File removed.
4810 * io/chdir.c: File removed.
4811 * io/access.c: File removed.
4812 * io/chown.c: File removed.
4813 * time/tzset.c: File removed.
4814 * time/timelocal.c: File removed.
4815 * time/syms-time.c: File removed.
4816 * time/settod.c: File removed.
4817 * time/setitmr.c: File removed.
4818 * time/gettod.c: File removed.
4819 * time/getitmr.c: File removed.
4820 * time/adjtime.c: File removed.
4821 * termios/tcgetattr.c: File removed.
4822 * string/stpncpy.c: File removed.
4823 * string/rindex.c: File removed.
4824 * string/memccpy.c: File removed.
4825 * string/index.c: File removed.
4826 * string/bcmp.c: File removed.
4827 * stdlib/srand.c: File removed.
4828 * stdlib/random.c: File removed.
4829 * stdio/vsscanf.c: File removed.
4830 * stdio/vfscanf.c: File removed.
4831 * stdio/syms-stdio.c: File removed.
4832 * stdio/remove.c: File removed.
4833 * stdio/getline.c: File removed.
4834 * stdio/getdelim.c: File removed.
4835 * signal/ssignal.c: File removed.
4836 * signal/sigvec.c: File removed.
4837 * signal/sigsetmask.c: File removed.
4838 * signal/sigret.c: File removed.
4839 * signal/sigproc.c: File removed.
4840 * signal/sigpause.c: File removed.
4841 * signal/sigblock.c: File removed.
4842 * signal/sigaction.c: File removed.
4843 * signal/kill.c: File removed.
4844 * signal/gsignal.c: File removed.
4845 * setjmp/siglongjmp.c: File removed.
4846 * setjmp/_longjmp.c: File removed.
4847 * resource/getrusage.c: File removed.
4848 * posix/waitpid.c: File removed.
4849 * posix/wait4.c: File removed.
4850 * posix/wait3.c: File removed.
4851 * posix/wait.c: File removed.
4852 * posix/times.c: File removed.
4853 * posix/sysconf.c: File removed.
4854 * posix/setuid.c: File removed.
4855 * posix/setsid.c: File removed.
4856 * posix/setpgrp.c: File removed.
4857 * posix/setpgid.c: File removed.
4858 * posix/setgid.c: File removed.
4859 * posix/pathconf.c: File removed.
4860 * posix/getuid.c: File removed.
4861 * posix/getppid.c: File removed.
4862 * posix/getpid.c: File removed.
4863 * posix/getgrps.c: File removed.
4864 * posix/getgid.c: File removed.
4865 * posix/geteuid.c: File removed.
4866 * posix/getegid.c: File removed.
4867 * posix/fpathcon.c: File removed.
4868 * posix/fork.c: File removed.
4869 * posix/execve.c: File removed.
4870 * posix/environ.c: File removed.
4871 * misc/utimes.c: File removed.
4872 * misc/setreuid.c: File removed.
4873 * misc/setregid.c: File removed.
4874 * misc/select.c: File removed.
4875 * misc/sbrk.c: File removed.
4876 * misc/mknod.c: File removed.
4877 * misc/ioctl.c: File removed.
4878 * misc/getpgsz.c: File removed.
4879 * misc/gethstnm.c: File removed.
4880 * misc/getdtsz.c: File removed.
4881 * misc/data_start.c: File removed.
4882 * misc/brk.c: File removed.
4883 * math/scalb.c: File removed.
4884 * math/rint.c: File removed.
4885 * math/logb.c: File removed.
4886 * math/isnan.c: File removed.
4887 * math/isinf.c: File removed.
4888 * math/infnan.c: File removed.
4889 * math/finite.c: File removed.
4890 * math/expm1.c: File removed.
4891 * math/drem.c: File removed.
4892 * math/copysign.c: File removed.
4893 * math/__scalb.c: File removed.
4894 * dirent/getdents.c: File removed.
4895
4896Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4897
4898 * sysdeps/generic/morecore.c (__default_morecore): Use
4899 __malloc_ptrdiff_t; don't cast arg to int.
4900
4901 * resolv/getnetnamadr.c: Include "conf/portability.h".
4902
4903Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4904
4905 * stdlib/strtol.c: Include errno.h.
4906 [QUAD] (ULONG_MAX): Define to a static variable initialized to
4907 ULONG_LONG_MAX. This is to work around a GCC bug in using the
4908 constant in arithmetic.
4909
4910 * posix/unistd.h (daemon): Declare it.
4911
4912 * malloc/mcheck-init.c: Remove GNU ld hacks.
4913 (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
4914 * malloc/malloc.c (__malloc_initialize_hook): New hook variable.
4915 (initialize): Call the hook if set.
4916 * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
4917 (__malloc_initialize_hook): Declare new hook variable.
4918
4919Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4920
4921 * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
4922 * hurd/hurdpid.c: Likewise.
4923 * hurd/hurdauth.c: Likewise.
4924
4925Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4926
4927 * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
4928 if any are successful.
4929
4930 * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
86d2c878 4931 (_S_msg_get_exec_flags, _S_msg_set_exec_flags,
28f540f4
RM
4932 _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
4933 functions.
4934 (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
4935
4936 * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
4937 * hurd/hurd-raise.c: Likewise.
4938 * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
4939
4940 * sysdeps/mach/hurd/ptrace.c: New file.
4941
4942 * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
4943 interface, which has normal EINTR semantics. Instead of waiting
4944 for io_select_done notification messages, send io_select messages
4945 with short reply timeout and then wait for io_select_reply
4946 messages.
4947
4948 * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
4949 EXEC_INHERITED) to file_exec.
4950
4951 * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
4952 use sig_post_untraced_reply. All callers changed.
86d2c878 4953 (abort_thread, abort_rpcs): Take same new arg and pass it through.
28f540f4
RM
4954 All callers changed.
4955 (_hurd_internal_post_signal): Take new arg UNTRACED.
4956 If zero and process is traced, stop with SIGNO as stop signal. If
4957 nonzero, resume process before delivering signal (unless
4958 ACT==stop). Expand local fn sigwakeup into block at end taken iff
4959 SIGNO!=0.
4960 (signal_allowed): New function, broken out of _S_sig_post.
4961 (_S_sig_post): Call it. Pass UNTRACED arg of false to
4962 _hurd_internal_post_signal.
4963 (_S_sig_post_untraced): New function. Just like _S_sig_post, but
4964 pass true for UNTRACED.
4965 * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
4966 UNTRACED.
4967 * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
4968 to _hurd_internal_post_signal (value zero).
4969
4970Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4971
4972 * hurd/hurdinit.c (_hurd_exec_flags): New variable.
4973 (_hurd_init): Initialize it from FLAGS arg.
4974 (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
4975 raise a SIGTRAP signal (with a sigcode of zero).
4976 * hurd/hurd.h (_hurd_exec_flags): Declare it.
4977
4978 * Version 1.09.5.
4979
4980Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4981
4982 * malloc/malloc.c (malloc): Fix 1-off in previous change.
4983
4984Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4985
4986 * posix/glob/Makefile.in: Remove config.h and config.log.
4987
4988Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4989
4990 * posix/glob/configure.in: Add AC_CONST check.
4991
4992 * conf/portability.h: #undef sun.
4993 * resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
4994 * resolv/getnetnamadr.c: Likewise.
4995
4996 * socket/Makefile (headers): Add sockaddrcom.h.
4997 * inet/netinet/in.h: Include <sockaddrcom.h>.
4998 (struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
4999 * socket/sys/un.h (struct sockaddr_in): Likewise.
5000 * socket/sys/socket.h (struct sockaddr): Likewise.
5001 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
5002 * sysdeps/generic/sockaddrcom.h: New file.
5003
5004 * sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
5005 * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
5006 F_FREESP): New macros.
5007 * sysdeps/posix/truncate.c: New file.
5008
5009 * malloc/malloc.c (malloc): Fix typos in RMS's change.
5010
5011 * malloc/Makefile (dist-routines): Add malloc-find.
5012 * malloc/malloc.h (malloc_find_object_address): Declare it.
5013 * malloc/malloc-find.c: New file.
5014
5015 * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
5016 __malloc_size_t.
5017 (malloc_info): Use that type for member `busy.info.size'.
5018
5019 * stdlib/strtol.c: Change uses of `long' keyword throughout to use
5020 `LONG' macro.
5021 [! QUAD] (LONG): Define as long.
5022 [QUAD] (LONG): Define as long long.
5023 [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
5024 versions.
5025 [QUAD] (strtoul, strtol): Define to strtouq, strtoq.
5026 * stdlib/Makefile (routines): Add strtoq and strtouq.
5027 * stdlib/strtoq.c, stdlib/strtouq.c: New files.
5028 * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
5029 Declare them.
5030
5031 * stdio/vfprintf.c: If there was a precision specified, ignore the
5032 0 flag and always pad with spaces.
5033
5034 * stdio/vfprintf.c: Don't use strchr to skip text until next %.
5035 Use a loop and also stop on first !isascii char.
5036
5037Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5038
5039 * malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
5040
5041 * malloc/malloc.c (malloc): For a multi-block object, store a
5042 negative number into the busy.info.size of all but the first block.
5043
5044Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
5045
5046 * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
5047 instead of t0, t1, and t2.
5048
5049Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5050
5051 * malloc/memalign.c (__memalign_hook): New variable.
5052 (memalign): Call it if set.
5053 * malloc/malloc.h (__memalign_hook): Declare new variable.
5054
5055Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5056
5057 * conf/portability.h: Include string.h and stdlib.h.
5058 * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
5059 * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
5060 resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
5061 resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
5062 resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
5063
5064 * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
5065 all uses of `extern __inline' with `__m81_inline'.
5066
5067 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
5068 * sysdeps/unix/__fork.S: Swap args in subl.
5069
5070 * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
5071 compatibility.
5072
5073Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
5074
5075 * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
5076 of swtch.
5077 * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
5078 * mach/spin-solid.c (__spin_lock_solid): Likewise.
5079
5080Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5081
5082 * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
5083 for PBUF.
5084 (__ivaliduser): Use getline instead of fgets with fixed-size buffer.
5085
5086 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
5087
5088Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5089
5090 * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
5091 in `bis' insn; immediate must be second.
5092
5093 * sysdeps/unix/__fork.S: Use subl instead of decl.
5094 * sysdeps/unix/i386/__fork.S: New file.
5095
5096 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
5097 Remove A macro; just use `asm volatile' with proper quotes in each
5098 line.
5099 * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
5100 jmp target register.
5101
5102 * time/africa, time/asia, time/australasia, time/emkdir.c,
5103 time/europe, time/ialloc.c, time/northamerica, time/private.h,
5104 time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
5105 and data from ADO 94h distribution.
5106
5107 * sysdeps/sparc/setjmp.S: Use sethi and or to put address of
5108 __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
5109 absolute pointer. Put second store in jmp delay slot.
5110
5111Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5112
5113 * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
5114 __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
5115 absolute pointer.
5116 * sysdeps/sparc/bsd-setjmp.S: Likewise.
5117
5118 * configure.in: Use ; before } in { ... } exprs.
5119
e215c478 5120\f
28f540f4 5121
e215c478 5122See ChangeLog.4 for earlier changes.
This page took 0.602161 seconds and 5 git commands to generate.