]> sourceware.org Git - glibc.git/blame - ChangeLog
(libc.so): Add AS_NEEDED line for dynamic linker.
[glibc.git] / ChangeLog
CommitLineData
f9ab9ba9
UD
12005-02-22 Ulrich Drepper <drepper@redhat.com>
2
094d3c54
UD
3 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
4 slotinfo array.
611eb946 5 (__libc_setup_tls): Initialize length of DTV based on array length.
094d3c54
UD
6 * elf/dl-load.c: Revert last change.
7 * sysdeps/generic/dl-tls.c: Revert last change.
8
f9ab9ba9
UD
9 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
10 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
11 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
12 * posix/tst-execl1.c: New file.
13 * posix/tst-execl2.c: New file.
14 * posix/tst-execle1.c: New file.
15 * posix/tst-execle2.c: New file.
16 * posix/tst-execlp1.c: New file.
17 * posix/tst-execlp2.c: New file.
18 * posix/tst-execv1.c: New file.
19 * posix/tst-execv2.c: New file.
20 * posix/tst-execve1.c: New file.
21 * posix/tst-execve2.c: New file.
22 * posix/tst-execvp1.c: New file.
23 * posix/tst-execvp2.c: New file.
24
b17ebefa
RM
252005-02-22 Roland McGrath <roland@redhat.com>
26
27 * include/signal.h: Revert last change.
28 (__sigemptyset): Use __builtin_memset instead of memset.
29
262b5730
UD
302005-02-22 Ulrich Drepper <drepper@redhat.com>
31
32 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
33 non-cancelable I/O functions.
34
d2dc7d84
UD
352005-02-22 Jakub Jelinek <jakub@redhat.com>
36
37 * nscd/nscd-client.h: Include sys/uio.h.
38 (__readall, __readvall, writeall): New prototypes.
39 * nscd/connections.c (writeall): New function.
40 (handle_request): Use it.
41 * nscd/aicache.c (addhstaiX): Likewise.
42 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43 * nscd/hstcache.c (cache_addhst): Likewise.
44 * nscd/grpcache.c (cache_addgr): Likewise.
45 * nscd/pwdcache.c (cache_addpw): Likewise.
46 * nscd/nscd_helper.c (__readall, __readvall): New functions.
47 * nscd/nscd_getai.c (__nscd_getai): Use them.
48 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
49 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
50 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
51 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52
a2274a08
RM
532005-02-22 Roland McGrath <roland@redhat.com>
54
55 * include/sys/socket.h: Declare __recv.
56 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
57 * sysdeps/mach/hurd/recv.c: Likewise.
58
59 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
60 __backtrace_* decls.
61
62 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65
66 * include/signal.h: Include <string.h> for memset decl.
67
c5e57303
UD
682005-02-22 Andreas Schwab <schwab@suse.de>
69
70 * posix/execvp.c (execvp): Fix invalid free.
71
c6359097
UD
722005-02-22 Jakub Jelinek <jakub@redhat.com>
73
74 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
75 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
76 librpcsvc.a objects.
77
137e6462
UD
782005-02-21 Ulrich Drepper <drepper@redhat.com>
79
80 * iconvdata/ibm930.h: Correct Yen mapping.
81 * iconvdata/ibm939.h: Likewise.
82 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
83 * iconvdata/testdata/IBM939..UTF8: Likewise.
84 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
85
86 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
87 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
88 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
89 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
90 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
91 ibm1158.c, and ibm1158.h.
92 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
93 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
94 * iconvdata/gconv-modules: Likewise.
95 * iconvdata/ibm1025.c: New file.
96 * iconvdata/ibm1025.h: New file.
97 * iconvdata/ibm1122.c: New file.
98 * iconvdata/ibm1122.h: New file.
99 * iconvdata/ibm1137.c: New file.
100 * iconvdata/ibm1137.h: New file.
101 * iconvdata/ibm1153.c: New file.
102 * iconvdata/ibm1153.h: New file.
103 * iconvdata/ibm1154.c: New file.
104 * iconvdata/ibm1154.h: New file.
105 * iconvdata/ibm1155.c: New file.
106 * iconvdata/ibm1155.h: New file.
107 * iconvdata/ibm1156.c: New file.
108 * iconvdata/ibm1156.h: New file.
109 * iconvdata/ibm1157.c: New file.
110 * iconvdata/ibm1157.h: New file.
111 * iconvdata/ibm1158.c: New file.
112 * iconvdata/ibm1158.h: New file.
113 * iconvdata/testdata/IBM1025: New file.
114 * iconvdata/testdata/IBM1025..UTF8: New file.
115 * iconvdata/testdata/IBM1122: New file.
116 * iconvdata/testdata/IBM1122..UTF8: New file.
117 * iconvdata/testdata/IBM1137: New file.
118 * iconvdata/testdata/IBM1137..UTF8: New file.
119 * iconvdata/testdata/IBM1153: New file.
120 * iconvdata/testdata/IBM1153..UTF8: New file.
121 * iconvdata/testdata/IBM1154: New file.
122 * iconvdata/testdata/IBM1154..UTF8: New file.
123 * iconvdata/testdata/IBM1155: New file.
124 * iconvdata/testdata/IBM1155..UTF8: New file.
125 * iconvdata/testdata/IBM1156: New file.
126 * iconvdata/testdata/IBM1156..UTF8: New file.
127 * iconvdata/testdata/IBM1157: New file.
128 * iconvdata/testdata/IBM1157..UTF8: New file.
129 * iconvdata/testdata/IBM1158: New file.
130 * iconvdata/testdata/IBM1158..UTF8: New file.
131 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
132
744eb12b
UD
1332005-02-10 Paolo Bonzini <bonzini@gnu.org>
134
135 * posix/regcomp.c (lower_subexp): Do not optimize empty
136 subexpressions even with REG_NOSUB.
137 * posix/rxspencer/tests: Add a previously failing testcase.
138
e13e33e2
UD
1392005-02-21 Alan Modra <amodra@bigpond.net.au>
140
141 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
142 array index is within bounds.
143
af272d4f
UD
1442005-02-21 Ulrich Drepper <drepper@redhat.com>
145
e13e33e2
UD
146 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
147 linked code.
148 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
149 * elf/Makefile: Remove rules to build and run tst-tls9-static.
150
af272d4f
UD
151 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
152 THREAD_DTV multiple times, this minimally reduces code size on
153 some archs.
154
4379b403
UD
1552005-02-21 Jakub Jelinek <jakub@redhat.com>
156
157 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
158 NETDB_INTERNAL if buffer is too small.
159
160 * nscd/hstcache.c (INCR): Remove.
161 (addhstbyX): Double buflen in each iteration rather than add INCR.
162 * nscd/grpcache.c: Likewise.
163 * nscd/pwdcache.c: Likewise.
164
553cc5f9
UD
1652005-02-21 Ulrich Drepper <drepper@redhat.com>
166
167 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
168 map if requested.
169 * debug/chk_fail.c: Request backtrace and memory map dump.
170
171 * Versions.def: Add GLIBC_2.4 for libc.
172 * debug/fgets_chk.c: New file.
173 * debug/fgets_u_chk.c: New file.
174 * debug/getcwd_chk.c: New file.
175 * debug/getwd_chk.c: New file.
176 * debug/readlink_chk.c: New file.
177 * debug/read_chk.c: New file.
178 * debug/pread_chk.c: New file.
179 * debug/pread64_chk.c: New file.
180 * debug/recv_chk.c: New file.
181 * debug/recvfrom_chk.c: New file.
182 * debug/Versions: Add all new functions with version GLIBC_2.4.
183 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
184 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
185 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
186 * debug/tst-chk1.c: Add more tests.
187 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
188 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
189 * posix/unistd.h: Include <bits/unistd.h> for fortification.
190 * posix/bits/unistd.h: New file.
191 * posix/Makefile (headers): Add bits/unistd.h.
192 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
193 * socket/bits/socket2.h: New file.
194 * socket/Makefile (headers): Add bits/socket2.h.
195
196 * string/bits/string3.h: Extend memset macro to check for zero 3rd
197 parameter and use __memset_zero_constant_len_parameter in that case.
198 * sysdeps/generic/memset_chk.c: Add
199 __memset_zero_constant_len_parameter alias and linker warning.
200 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
201 with version GLIBC_2.4.
202
203 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
204 in __STD_TYPE definition.
205
2062005-02-21 Jakub Jelinek <jakub@redhat.com>
207
208 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
209 the error message rather than program name.
210
53360aa1
UD
2112005-02-21 Ulrich Drepper <drepper@redhat.com>
212
213 * posix/unistd.h: symlink and readlink are unconditionally
214 available in the 2001 spec.
215
9cfe5381
RM
2162005-02-16 Roland McGrath <roland@redhat.com>
217
218 * intl/dcigettext.c (_nl_find_msg): Add a cast.
219
220 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
221 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
222 * nis/nis_clone_res.c (nis_clone_result): Likewise.
223
224 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
225 for END_OF_MESSAGE and CP.
226
227 * resolv/res_send.c (send_dg): Add else branch for case impossible
228 unless `poll' is buggy.
229
230 * crypt/crypt_util.c (__setkey_r): Add a cast.
231
232 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
233 NBYTES, and unsigned char * for BYTES.
234
235 * locale/programs/charmap.c (charmap_new_char): Use size_t and
236 unsighed char * for NBYTES, BYTES parameters.
237
238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
239 and cast it.
240 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
241
242 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
243
244 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
245
246 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
247 (authdes_marshal): Don't use unsigned int for LEN.
248 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
249 (xdr_u_hyper): Likewise.
250 (xdr_u_short): Don't use u_long for L.
251 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
252
253 * inet/rexec.c (rexec_af): Use socklen_t.
254 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
255 * sunrpc/rtime.c (rtime): Likewise.
256 * resolv/res_send.c (send_vc, send_dg): Likewise.
257 * nis/nis_callback.c (__nis_create_callback): Likewise.
258
259 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
260
261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
262
263 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
264
265 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
266 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
267 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
268 * intl/bindtextdom.c (INTUSE): Macro removed.
269 (_nl_default_dirname): Use libc_hidden_proto.
270 (set_binding_values): Don't use INTUSE.
271 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
272 (_libc_intl_domainname): Use libc_hidden_proto.
273 * posix/regex_internal.h (gettext): Remove INTUSE on it.
274 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
275 rather than INTDEF.
276 * include/libintl.h (_): Don't use *_internal name.
277
278 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
279 not uint32_t.
280 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
281
282 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
283
284 [BZ #721]
285 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
286 of [RESOLVE_MAP].
287 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
288 * sysdeps/powerpc/powerpc32/dl-machine.h
289 (elf_machine_rel, elf_machine_rel_relative): Removed.
290 * sysdeps/powerpc/powerpc64/dl-machine.h
291 (elf_machine_rel, elf_machine_rel_relative): Removed.
292
2932005-02-03 Alexandre Oliva <aoliva@redhat.com>
294
295 [BZ #721]
296 * elf/dynamic-link.h: Don't declare nested auto functions that are
297 not going to be defined.
298
2992004-07-23 Jakub Jelinek <jakub@redhat.com>
300
301 [BZ #284]
302 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
303 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
304
4f657581
RM
3052005-02-16 Roland McGrath <roland@redhat.com>
306
307 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
308 inside [! SHARED] where it's used.
309
477495be
UD
3102005-02-15 Ulrich Drepper <drepper@redhat.com>
311
312 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
313 functions and macros is unsigned.
314
0d7344df
RM
3152005-02-11 Barry deFrese <bddebian@comcast.net>
316
317 [BZ #722]
318 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
319 * sysdeps/mach/hurd/setresuid.c: Likewise.
320
951718bd
RM
3212005-02-14 GOTO Masanori <gotom@debian.or.jp>
322
323 * misc/sys/syslog.h: Fix typo in comment.
324
00a78f67
RM
3252005-02-14 Roland McGrath <roland@redhat.com>
326
327 [BZ #720]
328 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
329 if it wasn't originally.
330
804dc8a8
RM
3312005-02-14 GOTO Masanori <gotom@debian.or.jp>
332
333 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
334 getpeername entry.
335 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
336 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
337
3220ccb6
RM
3382005-02-11 Jakub Jelinek <jakub@redhat.com>
339
340 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
341 matching line.
342
7de00121
RM
3432005-02-14 Alan Modra <amodra@bigpond.net.au>
344
345 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
346 with auto inline, and attribute always_inline.
347 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
348 (elf_machine_rel, elf_machine_rel_relative): Likewise.
349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
350 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
351 (elf_machine_rel, elf_machine_rel_relative): Likewise.
352 (elf_machine_tprel): Likewise.
353
c56f532f
RM
3542005-02-14 Andreas Schwab <schwab@suse.de>
355
356 * manual/filesys.texi (Random Access Directory): Fix type of file
357 position value for telldir and seekdir.
358 (Attribute Meanings): Fix typo.
359
43c59a70
UD
3602005-02-14 H.J. Lu <hongjiu.lu@intel.com>
361
362 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
363 isn't defined.
364 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
365 if SHARED isn't defined.
366 * elf/Makefile (tests-static): Add tst-array1-static.
367 ($(objpfx)tst-array1-static.out): New target.
368 * elf/tst-array1-static.c: New file.
369
e38c954b
UD
3702005-02-11 Jakub Jelinek <jakub@redhat.com>
371
372 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
373 __libc_message to kill GCC warning about noreturn function returning.
374
375 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
376 before relocating ld.so again.
377
378 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
379 for already prelinked ld.so.
380
9b382805
RM
3812005-02-11 Roland McGrath <roland@redhat.com>
382
3e1e123d
RM
383 [BZ #715]
384 * Makefile (installed-stubs): New variable.
385 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
386 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
387 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
388 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
389 rule's target.
390 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
391 * include/stubs-biarch.h: New file.
392
393 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
394
395 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
396 Emit defn for variable `biarch'.
397
398 * include/stub-tag.h: Update comment.
399
9b382805
RM
400 * scripts/soversions.awk: Fix default version set handling.
401
0a38b835
RM
4022005-02-10 Roland McGrath <roland@redhat.com>
403
561bcb80
RM
404 [BZ #157]
405 * include/libc-symbols.h (stub_warning): Emit a marker section called
406 .gnu.glibc-stub.NAME.
407 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
408 Use objdump to collect those marker section names.
409 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
410
5d9e8991
RM
411 * Rules (subdir_objs, subdir_stubs): New phony targets.
412 * Makefile (+subdir_targets): Add them.
413
9d0547ce
RM
414 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
415 soversions.i.
416
a078a7ee
RM
417 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
418 Reported by H.J. Lu <hongjiu.lu@intel.com>.
419
0a38b835
RM
420 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
421 doing two.
422
1d3be038
RM
4232005-02-10 Jakub Jelinek <jakub@redhat.com>
424
425 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
426 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
427 * sysdeps/powerpc/bits/link.h: ... here. New file.
428
f17c2202
RM
4292005-02-09 Jakub Jelinek <jakub@redhat.com>
430
431 [BZ #710]
432 * stdlib/random_r.c (__initstate_r): Save old state.
433 * stdlib/Makefile (tests): Add tst-random2.
434 * stdlib/tst-random2.c: New test.
435 Reported by Peter Bergner <bergner@vnet.ibm.com>.
436
1a53c052
RM
4372005-01-25 H.J. Lu <hongjiu.lu@intel.com>
438
439 * dlfcn/dlfcn.c (init): Put it in .init_array section.
440
91adb529
RM
4412005-02-10 Roland McGrath <roland@redhat.com>
442
443 [BZ #632]
444 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
445 from command line.
446 Grok shlib-versions lines with WORDSIZE* in second column.
447 Add new leading column to output, DEFAULT for existing output lines.
448 Also emit lines with WORDSIZE* for alternate configurations.
449 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
450 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
451 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
452 of soversions.mk; replace inline shell script with use of ...
453 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
454 emit multiple sets of macros under #if.
455 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
456 (s390x-.*-.*): Likewise for s390.
457 (powerpc64-.*-.*): Likewise for powerpc.
458 (sparc64-.*-.*): Likewise for sparc.
f17c2202
RM
459 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
460 for these mapping back to the above.
91adb529 461
0fe86f96
UD
4622005-02-08 Jakub Jelinek <jakub@redhat.com>
463
464 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
465
4f0af30d
AS
4662005-02-08 Andreas Schwab <schwab@suse.de>
467
468 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
469 RESOLVE.
470
4bae262d
UD
4712005-02-07 Richard Henderson <rth@redhat.com>
472
473 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
474
606832e6
UD
4752005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
476
477 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
478 RESOLVE.
479
4802005-02-07 Ulrich Drepper <drepper@redhat.com>
481
611eb946 482 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
606832e6
UD
483 set correctly.
484
bc82059d
RH
4852005-01-07 Richard Henderson <rth@redhat.com>
486
487 * math/math_private.h (__copysign): Define as builtin for gcc 4.
488 (__copysignf, __copysignl): Likewise.
489 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
490 for gcc 4.0.
491 (copysignf, copysignl, fabsf, fabs): Likewise.
492 (__copysign, __copysignf, __copysignl): Remove.
493 (__fabs, __fabsf): Remove.
494
ecc1d0c3
UD
4952005-01-07 Jakub Jelinek <jakub@redhat.com>
496
a0b64216 497 [BZ #738]
ecc1d0c3
UD
498 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
499 avoid writing to it if none of the standard search directories exist.
500
16cc1800
UD
5012005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
502
503 [BZ #700]
504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
505 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
506 Load MSR as a doubleword.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
508 (__novec_swapcontext, __swapcontext): Likewise.
509
dd1e8878
UD
5102005-02-07 Ulrich Drepper <drepper@redhat.com>
511
512 * iconv/iconv_prog.c (main): Provide more help in case on an error.
513
606832e6
UD
514 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
515
6aa10807
UD
5162005-02-07 Jakub Jelinek <jakub@redhat.com>
517
a0b64216 518 [BZ #741]
6aa10807
UD
519 * nscd/nscd.c (termination_handler): Avoid segfault if some database
520 is not enabled.
521
a0b64216 522 [BZ #741]
6aa10807
UD
523 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
524 __nss_not_use_nscd_hosts and return -1.
525 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
526 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
527 Avoid leaking sockets.
528
5292005-01-28 Andreas Schwab <schwab@suse.de>
530 H.J. Lu <hongjiu.lu@intel.com>
531
532 [BZ #677]
533 * elf/dl-runtime.c (fixup): Change return type to
534 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
535 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
536 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
537 store and retrieve relocation values.
538 (profile_fixup): Likewise.
539 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
540 l_reloc_result.
541 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
542 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
543 (DL_FIXUP_MAKE_VALUE): Likewise.
544 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
545 (DL_FIXUP_VALUE_ADDR): Likewise.
546 (DL_FIXUP_ADDR_VALUE): Likewise.
547 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
548 (DL_FIXUP_VALUE_TYPE): New.
549 (DL_FIXUP_MAKE_VALUE): Likewise.
550 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
551 (DL_FIXUP_VALUE_ADDR): Likewise.
552 (DL_FIXUP_ADDR_VALUE): Likewise.
553 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
554 (elf_machine_profile_plt): Removed.
555 (elf_machine_fixup_plt): Change return type and type of value
556 parameter to struct fdesc.
557 (elf_machine_plt_value): Likewise.
558 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
559 argument for elf_machine_fixup_plt.
560
58954d49
RM
5612005-02-07 Jakub Jelinek <jakub@redhat.com>
562
a0b64216 563 [BZ #742]
58954d49
RM
564 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
565 after the status string printed by killproc.
566
9f2b2e4c
RM
5672004-11-18 Alexandre Oliva <aoliva@redhat.com>
568
569 * manual/.cvsignore: Add dir-add.texi.
570
a6e73dea
RH
5712005-02-06 Richard Henderson <rth@redhat.com>
572
573 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
574 all the time.
575
75df54b7
RM
5762004-11-03 Marcus Brinkmann <marcus@gnu.org>
577
578 * configure.in (sysnames): Append sysdeps/generic for each add-on.
579 * configure: Regenerated.
580
69553a9b
RM
5812005-02-02 Alfred M. Szmidt <ams@gnu.org>
582
583 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
584 (dtv_t): Change pointer type to be a struct which also contains
585 information whether the memory pointed to is static TLS or not.
586
587 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
588
589 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
590 (FALSEP): ... this. Updated all references.
591
592 * libio/fmemopen.c: Include <stdint.h>.
593
6925ef9a
UD
5942005-01-30 Ulrich Drepper <drepper@redhat.com>
595
596 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
597 * nscd/connections.c (send_ro_fd): Likewise.
598
2af40494
UD
5992005-01-28 H.J. Lu <hongjiu.lu@intel.com>
600
601 * elf/tst-auditmod1.c: Add ia64 entries.
602 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
603 (La_ia64_retval): New.
604 (audit_ifaces): Add ia64 entries.
605 * sysdeps/ia64/bits/link.h: New file.
606 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
607 for dl_profile non-null.
608 (ARCH_LA_PLTENTER): New.
609 (ARCH_LA_PLTEXIT): New.
610 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
611 only 2 output registers. Allocate stack to save/restore
612 8 incoming fp registers. Call _dl_fixup instead of fixup.
613 (_dl_runtime_profile): Rewrite.
614
d749c5b7
RM
6152005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
616
bb38d32c
UD
617 * sysdeps/s390/bits/link.h: New file.
618 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
619 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
620 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
621 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
622 relocation code.
623 (elf_machine_runtime_setup): Test for dl_profile non-null.
624 (elf_machine_rela): Remove code using RESOLVE.
625 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
626 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
627 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
628 La_s390_64_regs, La_s390_64_retval): New.
629 * elf/tst-auditmod1.c: Add s390 entries.
630
a0b64216 631 [BZ #743]
d749c5b7
RM
632 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
633 strncat, memchr, strcmp): Add missing memory clobber.
634
566511f0
UD
6352005-01-27 Ulrich Drepper <drepper@redhat.com>
636
637 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
638 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
639
963d8d78
UD
6402005-01-27 Paolo Bonzini <bonzini@gnu.org>
641
642 [BZ #558]
643 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
644 Initialize the node sets in dfa->inveclosures.
645 (analyze): Initialize inveclosures only if it is needed.
646 Check errors from calc_inveclosure.
647 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
648 the inveclosure node set.
649 * posix/regexec.c (re_search_internal): If nmatch includes unused
650 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
651
652 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
653 Do build a SIMPLE_BRACKET token.
654
655 * posix/regexec.c (transit_state_mb): Do not examine nodes
656 where ACCEPT_MB is not set.
657
717ecb1f
UD
6582005-01-27 Jakub Jelinek <jakub@redhat.com>
659
660 * stdlib/tst-fmtmsg.c: Include stdlib.h.
661 * stdio-common/tst-fmemopen2.c: Include string.h.
662 * posix/execvp.c: Include stdbool.h.
663
02f3550c
UD
6642004-12-13 Paolo Bonzini <bonzini@gnu.org>
665
666 Separate parsing and creation of the NFA. Avoided recursion on
667 the (very unbalanced) parse tree.
668 [BZ #611]
669 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
670 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
671 (optimize_subexps, duplicate_tree, calc_first, calc_next,
672 mark_opt_subexp): Rewritten.
673 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
674 create_token_tree, free_tree, free_token): New.
675 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
676 postorder generic visitors. Do not initialize the fields in the
677 re_dfa_t that represent the transitions.
678 (free_dfa_content): Use free_token.
679 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
680 include optimization of subexpressions.
681 (create_initial_state): Fetch the DFA node index from the first node's
682 bin_tree_t *.
683 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
684 Return on COMPLEX_BRACKET.
685 (duplicate_node_closure): Fix comment.
686 (duplicate_node): Do not initialize the fields in the
687 re_dfa_t that represent the transitions.
688 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
689 (create_tree): Remove final argument. All callers adjusted. Rewritten
690 to use create_token_tree.
691 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
692 build_charclass_op): Use create_tree or create_token_tree instead
693 of re_dfa_add_tree_node.
694 (parse_dup_op): Likewise. Also free the tree using free_tree for
695 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
696 to "a|". Adjust invocation of mark_opt_subexp.
697 (parse_sub_exp): Create a single SUBEXP node.
698 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
699 always perform as if it was 1. Do not initialize OPT_SUBEXP and
700 DUPLICATED, and initialize the DFA fields representing the transitions.
701 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
702 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
703 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
704 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
705 NEXT into pointers to trees. Remove ECLOSURE.
706
7072004-12-28 Paolo Bonzini <bonzini@gnu.org >
708
709 [BZ #605]
710 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
711 that were already created.
712 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
713 in the token if needed.
714 (create_ci_newstate, create_cd_newstate): Set accept_mb field
715 from the tokens' field.
716 * posix/regex_internal.h (re_token_t): Add accept_mb field.
717 (ACCEPT_MB_NODE): Removed.
718 * posix/regexec.c (proceed_next_node, transit_states_mb,
719 build_sifted_states, check_arrival_add_next_nodes): Use
720 accept_mb instead of ACCEPT_MB_NODE.
721
ea9c93cc
UD
7222005-01-26 Ulrich Drepper <drepper@redhat.com>
723
629311b7
UD
724 * debug/chk_fail.c (__chk_fail): Print program name in final message.
725
ea9c93cc
UD
726 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
727 MSG_NOSIGNAL being in 2.2 kernels.
728
24992143
UD
7292005-01-26 Jakub Jelinek <jakub@redhat.com>
730
731 * sysdeps/unix/sysv/linux/i386/sysdep.h
732 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
733
734 [BZ #693]
735 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
736 (WORD_DELIM_CONSTRAINT): ...this.
737 (NOT_WORD_DELIM_CONSTRAINT): Define.
738 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
739 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
740 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
741 anchor instead of INSIDE_WORD.
742 (parse_expression): Handle NOT_WORD_DELIM constraint.
743 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
744 being inside word instead of not word delim.
745 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
746 characters.
747 * posix/rxspencer/tests: Add some new tests.
748
d6868416
RM
7492005-01-14 GOTO Masanori <gotom@debian.or.jp>
750
c7adcc24
RM
751 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
752 irrespective of Cflag.
753
d6868416
RM
754 * manual/memory.texi (sbrk): Fix definition.
755 * manual/string.texi (strcasestr): Fix example typo.
756
7572005-01-25 Roland McGrath <roland@redhat.com>
758
759 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
760
edd806d2
RM
7612005-01-23 Roland McGrath <roland@redhat.com>
762
a0b64216 763 [BZ #737]
edd806d2
RM
764 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
765 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
766 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
767 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
768 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
769 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
770
792dcd77
UD
7712005-01-25 Jakub Jelinek <jakub@redhat.com>
772
a0b64216 773 [BZ #731]
792dcd77
UD
774 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
775 (free_mem): Don't free string.
776 * stdlib/tst-fmtmsg.c: Include string.h.
777 (main): Add some more tests.
778
7792005-01-25 Andreas Schwab <schwab@suse.de>
780
a0b64216 781 [BZ #736]
792dcd77
UD
782 * timezone/asia: Update from tzdata2005c.
783 * timezone/backward: Likewise.
a0b64216 784 * timezone/europe: Likewise.
792dcd77
UD
785 * timezone/leapseconds: Likewise.
786 * timezone/northamerica: Likewise.
787 * timezone/southamerica: Likewise.
788
a0b64216 789 [BZ #736]
792dcd77
UD
790 * timezone/private.h: Update from tzcode2005c.
791 * timezone/tzfile.h: Likewise.
792 * timezone/zdump.c: Likewise.
793 * timezone/zic.c: Likewise.
794
1f25bddd
UD
7952005-01-25 Ulrich Drepper <drepper@redhat.com>
796
797 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
798 RESOLVE.
799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
800 using RESOLVE.
801 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
802
d026cf5f
UD
8032005-01-25 Alan Modra <amodra@bigpond.net.au>
804
cb7c7a9f 805 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
d026cf5f
UD
806 sym_map, not sym, against zero.
807
790aa1f2
UD
8082005-01-24 Ulrich Drepper <drepper@redhat.com>
809
a0b64216 810 [BZ #671]
790aa1f2
UD
811 * misc/syslog.c: Moved to...
812 * sysdeps/generic/syslog.c: ...here.
813 [NO_SIGIPE]: Don't install SIGPIPE handler.
814 * sysdeps/unix/sysv/linux/syslog.c: New file.
815 * sysdeps/unix/sysv/linux/kernel-features.h: Define
816 __ASSUME_MSG_NOSIGNAL.
817
57c6c64a
RH
8182005-01-22 Richard Henderson <rth@redhat.com>
819
820 * sysdeps/alpha/dl-trampoline.S: New file.
821 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
822 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
823 (elf_machine_runtime_setup): Test for dl_profile non-null.
824 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
825 * sysdeps/alpha/bits/link.h: New file.
826 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
827 (struct audit_ifaces): Add alpha entries.
828 * elf/tst-auditmod1.c: Add alpha entries.
829
70fb71fd
UD
8302005-01-22 Ulrich Drepper <drepper@redhat.com>
831
4bf1073d
UD
832 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
833 * sysdeps/ia64/dl-trampoline.S: New file.
834
9c9628d9
UD
835 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
836 La_x86_64_xmm definition.
837
70fb71fd
UD
838 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
839 pointer option.
70fb71fd
UD
840 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
841 CFLAGS-system.c for frame pointer option.
842
cd7129c9
RM
8432005-01-21 Roland McGrath <roland@redhat.com>
844
845 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
846 * sysdeps/i386/dl-machine.h: Update decl.
847
be184b1d
UD
8482005-01-21 Jakub Jelinek <jakub@redhat.com>
849
a0b64216 850 [BZ #735]
be184b1d
UD
851 * elf/Makefile: Add rules to build and run tst-align2.
852 * elf/tst-align2.c: New test.
853 * elf/tst-alignmod2.c: New file.
854 * sysdeps/powerpc/tst-stack-align.h: New file.
855 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
856 pointer before calling _dl_init.
857 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
858
57b47af9
UD
8592005-01-20 Ulrich Drepper <drepper@redhat.com>
860
861 * posix/execl.c: Do not allocate potentially large buffers on the
862 stack.
863 * posix/execle.c: Likewise.
864 * posix/execlp.c: Likewise.
8b3d4e0b 865 * posix/execvp.c: Likewise.
57b47af9
UD
866 (script_execute): Removed.
867 (allocate_scripts_argv): New function. Called at most once to
868 allocate memory, not every time a script is run. Adjust caller.
869
870 * sysdeps/generic/wordexp.c (exec_comm): Add a few
871 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
872 exec_comm_child.
873 (exec_comm_child): Can now be inlined.
874
875 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
876 * stdlib/Makefile: Likewise.
877
8d33466f
RM
8782005-01-19 Roland McGrath <roland@redhat.com>
879
880 [BZ #681]
881 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
882 argument to execlp.
883 Reported by Marcus Meissner <meissner@suse.de>.
884
f9f7fcbe
RM
8852005-01-19 Jakub Jelinek <jakub@redhat.com>
886
887 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
888 in assert.
889 * iconv/strtab.c (strtabfinalize): Likewise.
890
891 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
892
1d038b6b
RM
8932005-01-17 Roland McGrath <roland@redhat.com>
894
a0b64216 895 [BZ #745]
1d038b6b
RM
896 * nscd/Makefile (LDLIBS-nscd): New variable.
897 ($(objpfx)nscd): Use that instead of selinux-LIBS.
898
899 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
900 (link-extra-libs-static): Define to $(link-extra-libs).
901 (link-extra-libs-bounded): Likewise.
902
0af42c25
UD
9032005-01-17 Ulrich Drepper <drepper@redhat.com>
904
905 * include/link.h: Remove stray definition of pltenter.
906
125a8cf7
UD
9072005-01-16 GOTO Masanori <gotom@debian.or.jp>
908
a0b64216 909 [BZ #734]
125a8cf7
UD
910 * sysdeps/unix/rewinddir.c: Reset filepos.
911 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
912
9132005-01-15 Ulrich Drepper <drepper@redhat.com>
914
915 * elf/tst-auditmod1.c: Reduce duplication.
916
b92f2d04
AS
9172005-01-16 Andreas Schwab <schwab@suse.de>
918
919 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
920 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
921 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
922 GLRO(dl_profile) != NULL.
923 * sysdeps/m68k/dl-trampoline.S: New file.
924 * sysdeps/m68k/bits/link.h: New file.
925 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
926 variants.
927 * elf/tst-auditmod1.c: Add m68k support.
928
ea161661
UD
9292005-01-14 Ulrich Drepper <drepper@redhat.com>
930
931 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
932 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
933
a0b64216 934 [BZ #731]
ea161661
UD
935 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
936 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
937
1b85ed0c
UD
9382005-01-12 Ulrich Drepper <drepper@redhat.com>
939
3e539cb4
UD
940 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
941 callers from libc anymore.
942
943 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
944 to _dl_map_object_deps.
945 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
946 protections when loading auditing modules.
947
948 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
949
1b85ed0c
UD
950 * posix/getconf.c: Update copyright year.
951 * nss/getent.c: Likewise.
952 * nscd/nscd_nischeck.c: Likewise.
953 * iconv/iconvconfig.c: Likewise.
954 * iconv/iconv_prog.c: Likewise.
955 * elf/ldconfig.c: Likewise.
956 * catgets/gencat.c: Likewise.
957 * csu/version.c: Likewise.
958 * elf/ldd.bash.in: Likewise.
959 * elf/sprof.c (print_version): Likewise.
960 * locale/programs/locale.c: Likewise.
961 * locale/programs/localedef.c: Likewise.
962 * nscd/nscd.c (print_version): Likewise.
963 * debug/xtrace.sh: Likewise.
964 * malloc/memusage.sh: Likewise.
965 * malloc/mtrace.pl: Likewise.
966 * debug/catchsegv.sh: Likewise.
967
537e7234
UD
9682005-01-11 Thorsten Kukuk <kukuk@suse.de>
969
a0b64216 970 [BZ #733]
a3a449c1
UD
971 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
972 as backlog.
973 * sunrpc/svc_unix.c (svcunix_create): Likewise.
974
537e7234
UD
975 * grp/putgrent.c (putgrent): Don't write 0 as group
976 ID if groupname starts with + or -.
977 * pwd/putpwent.c (putpwent): Don't write 0 as user or
978 group ID if user name starts with + or -.
979
9802005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
981
982 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
983 * sysdeps/elf/tst-auditmod1.c: Add sh support.
984 * sysdeps/sh/bits/link.h: New.
985 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
986 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
987 (RTLD_START): Define __fpscr_values.
988 * sysdeps/sh/dl-trampoline.S: New file.
989 * sysdeps/sh/sh4/dl-trampoline.S: New file.
990 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
991 * sysdeps/sh/sh4/dl-machine.h: Remove.
992
9932005-01-10 Jakub Jelinek <jakub@redhat.com>
994
a0b64216 995 [BZ #732]
537e7234
UD
996 * time/tst-strptime.c (day_tests): Add 2 new tests.
997 (test_tm, main): Issue an error instead of segfaulting if
998 strptime returns NULL.
999
10002005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1003 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1004
8bf139c9
UD
10052005-01-11 Ulrich Drepper <drepper@redhat.com>
1006
1007 * malloc/malloc.h: Remove no-glibc support.
1008
10092005-01-12 GOTO Masanori <gotom@debian.or.jp>
1010
1011 [BZ #650]
1012 * malloc/malloc.h: Always include features.h.
1013
849a8a3b
RM
10142005-01-10 Roland McGrath <roland@redhat.com>
1015
5d3d59a1
RM
1016 * sysdeps/ia64/fpu/e_logl.c: File removed.
1017
849a8a3b
RM
1018 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1019
73102f50
UD
10202005-01-10 Ulrich Drepper <drepper@redhat.com>
1021
1022 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1023 recognition of last entry.
1024
9fbdeb41
UD
10252005-01-09 Ulrich Drepper <drepper@redhat.com>
1026
5d3d59a1 1027 * elf/dl-runtime.c: Include <sys/param.h>.
9fbdeb41
UD
1028
1029 * elf/Makefile (headers): Add bits/link.h.
1030
10312005-01-09 Andreas Schwab <schwab@suse.de>
1032
1033 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1034
10352005-01-09 Andreas Jaeger <aj@suse.de>
1036
a0b64216 1037 [BZ #732]
9fbdeb41
UD
1038 * time/strptime_l.c (__strptime_internal): Add braces to avoid
1039 warning.
1040
1041 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1042
1043 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1044
10452005-01-08 Jakub Jelinek <jakub@redhat.com>
1046
1047 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1048
29f97654
UD
10492005-01-09 Ulrich Drepper <drepper@redhat.com>
1050
e145f1cc
UD
1051 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1052 those of all the regular objects.
1053
29f97654
UD
1054 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1055 use it to select the r_debug structure for that namespace.
1056 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1057 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1058 * elf/dl-open.c (_dl_open): Likewise.
1059 * elf/rtld.c (dl_main): Likewise.
1060 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1061 member.
1062 (_dl_debug_initialize): Add new parameter in declaration.
1063
1064 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1065 called for the auditing objects themselves.
1066 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1067
e2070ca2
UD
10682005-01-07 Ulrich Drepper <drepper@redhat.com>
1069
4e2d5491
UD
1070 * sysdeps/powerpc/powerpc64/dl-machine.h
1071 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1072 GLRO(dl_profile) != NULL.
1073 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1074 padding.
1075 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1076 Extend _dl_prof_resolve to add pass extra parameters to
1077 _dl_profile_fixup and set up structure with register content.
1078
70cd1f97
UD
1079 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1080 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
85555eeb
UD
1081 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1082 Extend _dl_prof_resolve to add pass extra parameters to
1083 _dl_profile_fixup and set up structure with register content.
70cd1f97
UD
1084 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1085 the register and result structures.
1086 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1087 in the 32-bit register and result structures.
85555eeb 1088
2413fdba
UD
1089 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1090
1091 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1092 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1093 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1094 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1095 * elf/tst-auditmod1.c: Add ppc32 support.
1096 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1097 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1098
ae7f5313
UD
1099 * malloc/malloc.c (malloc_printerr): Print program name as part of
1100 error message.
1101
9ee4c017
UD
1102 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1103 * stdlib/stdlib.h: Make realloc with
1104 __attribute_warn_unused_result__ instead of __wur.
1105 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1106 markers as in <stdlib.h>.
1107
e2070ca2
UD
1108 * libio/stdio.h: Remove __wur from rename and remove.
1109 * posix/unistd.h: Remove __wur from dup2.
1110
883faf82
AJ
11112005-01-03 Andreas Jaeger <aj@suse.de>
1112
1113 * elf/Makefile (tests): Revert patch from 2005-01-03.
1114
82221992
UD
11152005-01-07 Ulrich Drepper <drepper@redhat.com>
1116
3ded7036
UD
1117 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
1118 make __libc_init_first hidden.
1119
82221992
UD
1120 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
1121 l_relocated of rtld map.
1122 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
1123 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
1124 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1b80bbc1 1125 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
82221992
UD
1126 * elf/tst-auditmod1.c: Add ppc64 support.
1127 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
1128
1e6a5f2f
RM
11292005-01-06 Roland McGrath <roland@redhat.com>
1130
1131 [BZ #633]
1132 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
1133 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
1134
f14038f2
UD
11352005-01-06 Ulrich Drepper <drepper@redhat.com>
1136
2c11e7f3
UD
1137 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
1138 * sysdeps/generic/libc-start.c: Don't register program destructor here.
1139
1140 * dlfcn/Makefile: Add rules to build dlfcn.c.
1141 (LDFLAGS-dl.so): Removed.
1142 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
1143 table.
1144 * dlfcn/dlmopen.c: Likewise for _dl_open.
1145 * dlfcn/dlopen.c: Likewise.
1146 * dlfcn/dlopenold.c: Likewise.
1147 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
1148 * elf/Makefile (routines): Remove dl-open and dl-close.
1149 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
1150 Add rules to build and run tst-audit1.
1151 * elf/tst-audit1.c: New file.
1152 * elf/tst-auditmod1.c: New file.
1153 * elf/Versions [libc]: Remove _dl_open and _dl_close.
1154 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1155 * elf/dl-open.c: Likewise.
1156 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1157 signaled by nonzero parameter.
1158 * elf/dl-init.c: Fix use of r_state.
1159 * elf/dl-load.c: Likewise.
1160
1161 * elf/dl-close.c: Add auditing checkpoints.
1162 * elf/dl-open.c: Likewise.
1163 * elf/dl-fini.c: Likewise.
1164 * elf/dl-load.c: Likewise.
1165 * elf/dl-sym.c: Likewise.
1166 * sysdeps/generic/libc-start.c: Likewise.
1167 * elf/dl-object.c: Allocate memory for auditing information.
1168 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
1169 Correctly initialize slotinfo.
1170 * elf/dynamic-link.h: Adjust after removal of RESOLV.
1171 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1172 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1173 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1174 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1175 (_dl_profile_fixup): New parameters to point to register struct and
1176 variable for frame size.
1177 Add auditing checkpoints.
1178 (_dl_call_pltexit): New function.
1179 Don't define trampoline code here.
1180 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
1181 Remove all the functions from _rtld_global_ro which only _dl_open
1182 and _dl_close needed.
1183 Add auditing checkpoints.
1184 * elf/link.h: Define symbols for auditing interfaces.
1185 * include/link.h: Likewise.
1186 * include/dlfcn.h: Define __RTLD_AUDIT.
1187 Remove prototypes for _dl_open and _dl_close.
1188 Adjust access to argc and argv in libdl.
1189 * dlfcn/dlfcn.c: New file.
1190 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1191 is gone.
1192 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1193 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1194 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1195 Adjust for removal of RESOLVE.
1196 * sysdeps/x86_64/dl-machine.h: Likewise.
1197 * sysdeps/generic/dl-trampoline.c: New file.
1198 * sysdeps/i386/dl-trampoline.c: New file.
1199 * sysdeps/x86_64/dl-trampoline.c: New file.
1200
1201 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
1202 Fix updating of DTV.
1203 * sysdeps/generic/libc-tls.c: Likewise.
1204
1205 * sysdeps/arm/bits/link.h: Renamed to ...
5d09cc15 1206 * sysdeps/arm/bits/linkmap.h: ...this.
2c11e7f3
UD
1207 * sysdeps/generic/bits/link.h: Renamed to...
1208 * sysdeps/generic/bits/linkmap.h: ...this.
1209 * sysdeps/hppa/bits/link.h: Renamed to...
1210 * sysdeps/hppa/bits/linkmap.h: ...this.
5d09cc15
RM
1211 * sysdeps/i386/bits/link.h: Renamed to...
1212 * sysdeps/i386/bits/linkmap.h: ...this.
1213 * sysdeps/ia64/bits/link.h: Renamed to...
1214 * sysdeps/ia64/bits/linkmap.h: ...this.
1215 * sysdeps/s390/bits/link.h: Renamed to...
1216 * sysdeps/s390/bits/linkmap.h: ...this.
1217 * sysdeps/sh/bits/link.h: Renamed to...
1218 * sysdeps/sh/bits/linkmap.h: ...this.
1219 * sysdeps/x86_64/bits/link.h: Renamed to...
1220 * sysdeps/x86_64/bits/linkmap.h: ...this.
2c11e7f3 1221
f14038f2
UD
1222 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
1223
4d37c8aa
UD
12242004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
1225
a0b64216 1226 [BZ #602]
4d37c8aa
UD
1227 * math/libm-test.inc (rint_test_tonearest): New test.
1228 (rint_test_towardzero): New test.
1229 (rint_test_downward): New test.
1230 (rint_test_upward): New test.
1231 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1232 Remove redundant const values.
1233 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1234 Remove redundant const values. Use float const.
1235 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1236 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1237 Use float const.
1238 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1239 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1240 Use float const.
1241 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1242 Remove redundant const values.
1243 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1244 Remove redundant const values. Use float const.
1245 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1246 Remove redundant const values.
1247 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1248 Remove redundant const values. Use float const.
1249 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1250 alignment. Fix -0.0 case. Remove redundant const values.
1251 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1252 alignment. Fix -0.0 case. Remove redundant const values.
1253 Use float const.
1254 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1255 alignment. Fix -0.0 case.
1256 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1257 alignment. Fix -0.0 case. Use float const.
1258 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1259 alignment. Fix -0.0 case.
1260 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1261 alignment. Fix -0.0 case. Use float const.
1262 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1263 alignment. Fix -0.0 case. Remove redundant const values.
1264 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1265 alignment. Fix -0.0 case. Remove redundant const values.
1266 Use float const.
1267 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1268 alignment. Fix -0.0 case.
1269 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1270 alignment. Fix -0.0 case. Remove redundant const values.
1271 Use float const.
1272
5cf53cc2
UD
12732005-01-06 Ulrich Drepper <drepper@redhat.com>
1274
1275 * misc/sys/cdefs.h: Define __wur.
1276 * libio/stdio.h: Use __wur for a number of interfaces.
1277 * posix/unistd.h: Likewise.
0476597b 1278 * stdlib/stdlib.h: Likewise.
5cf53cc2 1279
bb803bff
UD
12802004-12-29 Jakub Jelinek <jakub@redhat.com>
1281
a0b64216 1282 [BZ #592]
bb803bff
UD
1283 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1284 libc_hidden_proto instead of HIDDEN_PROTO.
1285 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1286 (__libm_error_support): If ASSEMBLER and in libc, define to
1287 HIDDEN_JUMPTARGET(__libm_error_support).
1288
12892004-12-28 David Mosberger <davidm@hpl.hp.com>
1290
a0b64216 1291 [BZ #592]
bb803bff
UD
1292 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1293 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1294 with $(duplicated-routines).
1295 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1296 "m_" prefix.
1297
12982004-12-27 David Mosberger <davidm@hpl.hp.com>
1299
a0b64216 1300 [BZ #592]
bb803bff
UD
1301 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1302 undefine "ret" macro. Add __libm_error_support hidden definitions.
1303
a0b64216 1304 [BZ #592]
bb803bff
UD
1305 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
1306 missing portion of copyright statement.
1307 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1308 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1309
a0b64216 1310 [BZ #592]
bb803bff
UD
1311 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
1312 missing portion of copyright statement.
1313 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
1314 (__ieee754_gamma): Likewise.
1315 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1316 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1317
13182004-12-09 H. J. Lu <hjl@lucon.org>
1319
a0b64216 1320 [BZ #592]
bb803bff
UD
1321 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1322 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1323 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1324 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1325 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1326 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1327
13282004-11-18 David Mosberger <davidm@hpl.hp.com>
1329
a0b64216 1330 [BZ #592]
bb803bff
UD
1331 * sysdeps/ia64/fpu/README: New file.
1332 * sysdeps/ia64/fpu/gen_import_file_list: New file.
1333 * sysdeps/ia64/fpu/import_check: Likewise.
1334 * sysdeps/ia64/fpu/import_diffs: Likewise.
1335 * sysdeps/ia64/fpu/import_file.awk: Likewise.
1336 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1337 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1338
a0b64216 1339 [BZ #592]
bb803bff
UD
1340 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1341 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1342 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1343 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1344 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1345 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1346 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1347 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1348 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1349 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1350 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1351 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1352 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1353 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1354 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1355 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1356 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1357 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1358 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1359 * sysdeps/ia64/fpu/e_log.S: Likewise.
1360 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1361 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1362 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1363 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1364 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1365 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1366 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1367 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1368 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1369 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1370 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1371 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1372 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1373 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1374 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1375 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1376 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1377 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1378 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1379 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1380 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1381 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1382 * sysdeps/ia64/fpu/s_atan.S: Likewise.
1383 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1384 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1385 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1386 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1387 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1388 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1389 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1390 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1391 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1392 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1393 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1394 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1395 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1396 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1397 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1398 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1399 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1400 * sysdeps/ia64/fpu/s_floor.S: Likewise.
1401 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1402 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1403 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1404 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1405 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1406 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1407 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1408 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1409 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1410 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1411 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1412 * sysdeps/ia64/fpu/s_logb.S: Likewise.
1413 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1414 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1415 * sysdeps/ia64/fpu/s_modf.S: Likewise.
1416 * sysdeps/ia64/fpu/s_modff.S: Likewise.
1417 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
1418 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1419 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1420 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1421 * sysdeps/ia64/fpu/s_rint.S: Likewise.
1422 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
1423 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
1424 * sysdeps/ia64/fpu/s_round.S: Likewise.
1425 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1426 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1427 * sysdeps/ia64/fpu/s_significand.S: Likewise.
1428 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
1429 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
1430 * sysdeps/ia64/fpu/s_tan.S: Likewise.
1431 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1432 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1433 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
1434 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
1435 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
1436
a0b64216 1437 [BZ #592]
bb803bff
UD
1438 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
1439 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1440 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1441 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1442 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1443 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1444 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1445 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1446 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1447 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1448 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1449 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1450 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
1451 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
1452 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
1453 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1454 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
1455 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
1456 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
1457 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1458 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1459 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1460 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1461 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1462 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1463 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1464 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1465 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1466 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1467 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1468 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1469 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1470 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1471 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1472 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
1473 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1474 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1475 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1476 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1477 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1478 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1479 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1480 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1481 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1482 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1483 * sysdeps/ia64/fpu/s_fma.S: Likewise.
1484 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
1485 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
1486 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
1487 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
1488 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
1489 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1490 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1491 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1492 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1493 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1494 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1495 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1496 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1497 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1498 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1499 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1500 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1501 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1502 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1503 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1504 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1505 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1506 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1507 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1508
a0b64216 1509 [BZ #592]
bb803bff
UD
1510 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
1511 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
1512 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
1513 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1514 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1515 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1516 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1517 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1518 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1519 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1520 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1521 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1522 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1523 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1524 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1525 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1526 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1527 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1528 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1529 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1530 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1531 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1532 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1533 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1534 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1535 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1536
a0b64216 1537 [BZ #592]
bb803bff
UD
1538 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
1539 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
1540 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
1541 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
1542 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
1543 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
1544 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
1545
a0b64216 1546 [BZ #592]
bb803bff
UD
1547 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
1548 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
1549 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
1550
a0b64216 1551 [BZ #592]
bb803bff
UD
1552 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
1553
a0b64216 1554 [BZ #592]
bb803bff
UD
1555 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
1556 alias for use by libm_error.c
1557
a0b64216 1558 [BZ #592]
bb803bff
UD
1559 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
1560 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
1561 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
1562 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
1563 libm_scalbn{,f,l}, libm_scalblnf.
1564 (sysdep_routines): Remove libm_frexp4{,f,l}.
1565 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
1566 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
1567 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
1568 -DSIZE_LONG_LONG_INT_64.
1569
ef07fd10
UD
15702005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
1571
a0b64216 1572 [BZ #729]
ef07fd10
UD
1573 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
1574 l_text_end are set for a VDSO with a single PT_LOAD entry.
1575
6c4b3f16
UD
15762005-01-05 Ulrich Drepper <drepper@redhat.com>
1577
a0b64216 1578 [BZ #730]
1e7cceb9
UD
1579 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
1580 invalid to disable optimizations in fileops which won't work here.
1581 (_IO_cookie_jumps): Use it.
1582 (_IO_old_cookie_jumps): Likewise.
1583 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
1584 not the return value.
1585 * stdio-common/Makefile (tests): Add tst-fmemopen2.
1586 * stdio-common/tst-fmemopen2.c: New file.
1587
6c4b3f16
UD
1588 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
1589
dabacd06
RM
15902005-01-05 Roland McGrath <roland@redhat.com>
1591
1592 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
1593 * sysdeps/i386/configure.in: ... here. New file.
dabacd06 1594
d410d5dc
UD
15952005-01-03 Ulrich Drepper <drepper@redhat.com>
1596
a0b64216 1597 [BZ #727]
3fb2606a
UD
1598 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
1599 initialize __environ again.
574b268e
UD
1600 * stdlib/Makefile: Add rules to build and run tst-putenv.
1601 * stdlib/tst-putenv.c: New file.
1602 * stdlib/tst-putenvmod.c: New file.
3fb2606a 1603
d410d5dc
UD
1604 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
1605 define unnecessary wrappers or aliases of static functions.
1606
a1194e83
AJ
16072005-01-03 Andreas Jaeger <aj@suse.de>
1608
1609 * csu/Makefile (generated): Add start.os and start.ob.
1610
1611 * elf/Makefile (tests): Change rule for tst-pie1 so that make
1612 clean works.
1613
37c6165d
RM
16142004-12-29 Roland McGrath <roland@redhat.com>
1615
1616 [BZ #626]
1617 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
1618 than always up; when nearest is zero, round up to one.
1619
ab4bc713
UD
16202004-12-28 Ulrich Drepper <drepper@redhat.com>
1621
6bddccf2
UD
1622 * po/es.po: Update from translation team.
1623
a0b64216 1624 [BZ #726]
ab4bc713
UD
1625 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
1626
a71c152c
UD
16272004-12-27 Ulrich Drepper <drepper@redhat.com>
1628
a0b64216 1629 [BZ #744]
a71c152c
UD
1630 * include/signal.h: Define __sigemptyset.
1631
ab4b89fe
UD
16322004-04-27 Paolo Bonzini <bonzini@gnu.org>
1633
1634 * posix/regex_internal.h (struct re_dfastate_t): Make
1635 word_trtable a pointer to the 512-item transition table.
1636 * posix/regexec.c (build_trtable): Fill in either state->trtable
1637 or state->word_trtable. Return a boolean indicating success.
1638 (transit_state): Expect state->trtable to be a 256-item
1639 transition table. Reorganize code to have less tests in
1640 the common case, and to save an indentation level.
5cf53cc2 1641 * posix/regex_internal.c (free_state): Free word_trtable.
ab4b89fe 1642
d143c49e
UD
16432004-12-21 Jakub Jelinek <jakub@redhat.com>
1644
a0b64216 1645 [BZ #723]
d143c49e
UD
1646 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
1647 calling fn is 16 byte aligned.
1648 * sysdeps/i386/tst-stack-align.h: New file.
1649
a0b64216 1650 [BZ #725]
d143c49e
UD
1651 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1652 (ecvt_r): Special case denormals.
1653 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1654 * misc/tst-efgcvt.c: Include float.h.
1655 (ecvt_tests): Add 2 new tests.
1656
a334319f 16572004-12-20 Roland McGrath <roland@frob.com>
3b7a95fb 1658
a334319f
UD
1659 * version.h (RELEASE, VERSION): development, 2.3.90
1660 * include/features.h (__GLIBC_MINOR__): Now 4.
3b7a95fb 1661
5d37289a 1662
15e3f6f6 1663See ChangeLog.15 for earlier changes.
This page took 0.225252 seconds and 5 git commands to generate.