]>
Commit | Line | Data |
---|---|---|
9813e103 RM |
1 | 2002-02-06 Roland McGrath <roland@frob.com> |
2 | ||
3 | * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE. | |
4 | ||
3fb55878 UD |
5 | 2002-02-06 Ulrich Drepper <drepper@redhat.com> |
6 | ||
7 | * Versions.def [ld]: Add GLIBC_2.3. | |
8 | * elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3. | |
9 | * elf/Makefile (dl-routines): Add dl-tls. | |
10 | (distribute): Add dl-tls.h. | |
11 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove | |
12 | _dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. | |
13 | Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset. | |
14 | * elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement | |
15 | along with the other info in the link map. Change queueing of init | |
16 | images for double linked list. Use _dl_next_tls_modid to compute | |
17 | l_tls_modid. | |
18 | * elf/rtld.c (_dl_start_final): Store alignment requirement | |
19 | along with the other info in rtld map and executable map. | |
20 | (dl_main): Add ld.so to the init image list if necessary. Compute | |
21 | final module ID with _dl_next_tls_modid. | |
22 | * include/link.h (struct link_map): Add l_tls_previmage and | |
23 | l_tls_align. | |
24 | * eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. | |
25 | * sysdeps/i386/elf/Versions: New file. | |
26 | * sysdeps/generic/dl-tls.c: New file. | |
27 | * sysdeps/generic/dl-tls.h: New file. | |
28 | * sysdeps/i386/dl-tls.h: New file. | |
29 | ||
333f8fbe RM |
30 | 2002-02-06 Roland McGrath <roland@frob.com> |
31 | ||
32 | * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ... | |
33 | * sysdeps/generic/netinet/ip.h: ... here, replacing old file. | |
34 | ||
fb190a04 RM |
35 | 2002-01-05 Roland McGrath <roland@frob.com> |
36 | ||
37 | * sysdeps/mach/configure.in: New file. | |
38 | * sysdeps/mach/configure: New generated file. | |
39 | ||
40 | * mach/Makefile (user-interfaces): Remove default_pager_helper. | |
41 | It has never been used by anything. | |
42 | ||
2c1a22e1 AJ |
43 | 2002-02-06 H.J. Lu <hjl@gnu.org> |
44 | ||
45 | * sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h> | |
46 | is included. | |
47 | ||
0796ef15 UD |
48 | 2002-02-06 Ulrich Drepper <drepper@redhat.com> |
49 | ||
50 | * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add | |
3fb55878 | 51 | attribute((packed)) to counter stupid people misusing gcc options. |
0796ef15 UD |
52 | (struct stat64): Likewise. |
53 | ||
54 | 2002-02-05 Ulrich Drepper <drepper@redhat.com> | |
55 | ||
56 | * elf/rtld.c (dl_main): Correct indentation. Use bool as type for | |
57 | the variables which are used as booleans. | |
58 | ||
cff26a3e AJ |
59 | 2002-02-06 Andreas Jaeger <aj@suse.de> |
60 | ||
61 | * include/libc-symbols.h (INTUSE): Renamed from INT. | |
62 | * elf/dl-deps.c: Change users. | |
63 | * sysdeps/generic/dl-sysdep.c: Likewise. | |
64 | * sysdeps/generic/dl-cache.c: Likewise. | |
65 | * elf/dl-reloc.c: Likewise. | |
66 | * elf/rtld.c: Likewise. | |
67 | * elf/dl-version.c: Likewise. | |
68 | * elf/dl-load.c: Likewise. | |
69 | * elf/dl-dst.h: Likewise. | |
70 | * elf/dl-init.c: Likewise. | |
64b6bd34 AJ |
71 | * elf/dl-error.c: Likewise. |
72 | * elf/dl-fini.c: Likewise. | |
73 | * elf/dl-runtime.c: Likewise. | |
74 | * elf/do-lookup.h: Likewise. | |
4d559293 AJ |
75 | |
76 | * stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate | |
77 | definition. | |
78 | * stdio-common/_itowa.h: Likewise. | |
79 | ||
f2b98f97 UD |
80 | 2002-02-05 Ulrich Drepper <drepper@redhat.com> |
81 | ||
37beecf7 UD |
82 | * elf/dl-minimal.c: Define _itoa_lower_digits. |
83 | ||
84 | * elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have | |
85 | DT_FLAGS set. | |
86 | ||
ec70c011 UD |
87 | * elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically |
88 | loading modules with the DF_STATIC_TLS flag set. | |
89 | * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags | |
90 | element. | |
91 | * include/link.h (struct link_map): Add l_flags field. | |
92 | * elf/elf.h (DF_STATIC_TLS): New definition. | |
93 | ||
472d82fc UD |
94 | * dlfcn/Makefile: Add rules to build and run bug-dlopen1. |
95 | * dlfcn/bug-dlopen1.c: New file. By Bruno Haible. | |
96 | ||
37d8b778 UD |
97 | * elf/rtld.c (process_dl_debug): Correct printing help message. |
98 | * elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling | |
99 | for %s. | |
100 | ||
f2b98f97 UD |
101 | * inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct |
102 | definition and pass &errno in use of this variable. | |
103 | Reported by Simon Wilkinson <simon@sxw.org.uk> [PR libc/2911]. | |
104 | ||
105 | 2002-02-04 Andreas Schwab <schwab@suse.de> | |
106 | ||
107 | * locale/programs/localedef.h (WITH_CUR_LOCALE): Define. | |
108 | * locale/programs/charmap-dir.c: Wrap calls that output messages | |
109 | with WITH_CUR_LOCALE. Include "localedef.h" first. | |
110 | * locale/programs/charmap.c: Likewise. | |
111 | * locale/programs/ld-address.c: Likewise. | |
112 | * locale/programs/ld-collate.c: Likewise. | |
113 | * locale/programs/ld-ctype.c: Likewise. | |
114 | * locale/programs/ld-identification.c: Likewise. | |
115 | * locale/programs/ld-measurement.c: Likewise. | |
116 | * locale/programs/ld-messages.c: Likewise. | |
117 | * locale/programs/ld-monetary.c: Likewise. | |
118 | * locale/programs/ld-name.c: Likewise. | |
119 | * locale/programs/ld-numeric.c: Likewise. | |
120 | * locale/programs/ld-paper.c: Likewise. | |
121 | * locale/programs/ld-telephone.c: Likewise. | |
122 | * locale/programs/ld-time.c: Likewise. | |
123 | * locale/programs/linereader.c: Likewise. | |
124 | * locale/programs/linereader.h: Likewise. | |
125 | * locale/programs/localedef.c: Likewise. | |
126 | * locale/programs/locfile.c: Likewise. | |
127 | * locale/programs/repertoire.c: Likewise. | |
128 | ||
a2f1f5cb UD |
129 | 2002-02-05 Ulrich Drepper <drepper@redhat.com> |
130 | ||
47536120 UD |
131 | * elf/rtld.c (_dl_start_final): Determine load address to locate |
132 | ehdr with GL(dl_rtld_map).l_map_start. | |
133 | ||
31e592f7 UD |
134 | * po/ca.po: Update from translation team. |
135 | ||
a2f1f5cb | 136 | * elf/rtld.c (dl_main): Read PT_TLS entry of the executable. |
96f208a4 UD |
137 | * elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program |
138 | header entry. | |
a2f1f5cb UD |
139 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add |
140 | _dl_tls_module_cnt. | |
96f208a4 | 141 | * elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt. |
a2f1f5cb | 142 | |
67ddea92 UD |
143 | 2002-02-04 Ulrich Drepper <drepper@redhat.com> |
144 | ||
5d6feea8 UD |
145 | * elf/rtld.c (_dl_start): Fill TLS values in link map for rtld. |
146 | * include/link.h (struct link_map): Add various members for TLS | |
147 | information. | |
148 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove | |
149 | _rtld_tlsoffset, add _dl_initimage_list. | |
150 | * sysdeps/i386/dl-lookupcfg.h: New file. | |
151 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing | |
152 | TLS relocation. When using TLS we now use RESOLVE_MAP. | |
153 | (elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS | |
154 | is used. | |
155 | ||
156 | * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly | |
157 | unused. | |
158 | ||
535b764d UD |
159 | * elf/rtld.c (_dl_start_final): Allocate TLS and initialize |
160 | thread-pointer as soon as possible. | |
161 | * sysdeps/generic/ldsodefs.h: Include <tls.h>. Define first TLS | |
162 | elements in rtld_global. | |
163 | * sysdeps/generic/tls.h: New file. | |
164 | * elf/Makefile (distribute): Add tls.h. | |
165 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS | |
166 | relocations. Not complete yet. | |
167 | ||
168 | * resolv/resolv.h: Allow user to define __need_res_state and only | |
169 | define __res_start structure then. | |
170 | * include/resolv.h: Only declare functions if _RESOLV_H_ is defined. | |
171 | ||
67ddea92 UD |
172 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move |
173 | dl_cpuclock_offset initialization to _dl_start_final. | |
174 | (_dl_show_auxv): Avoid unnecessary sign extension. | |
175 | * elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset. | |
176 | ||
e23f8d20 UD |
177 | 2002-02-03 Ulrich Drepper <drepper@redhat.com> |
178 | ||
179 | * config.h.in: Add HAVE_TLS_SUPPORT. | |
180 | * sysdeps/i386/elf/configure.in: New file. | |
181 | ||
9710f75d UD |
182 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
183 | ||
184 | * sysdeps/posix/readv.c: Use ssize_t for bytes_read. | |
185 | * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment. | |
186 | ||
187 | 2002-02-03 Thorsten Kukuk <kukuk@suse.de> | |
188 | ||
189 | * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use | |
190 | alloca if the memory reqirements are too high. | |
191 | ||
192 | 2002-02-03 Ulrich Drepper <drepper@redhat.com> | |
193 | ||
194 | * elf/dl-load.c (decompose_rpath): Avoid using strstr. | |
195 | * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since | |
196 | the former is available anyway and speed isn't important here. | |
197 | * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. | |
198 | * elf/dl-version.c (match_symbol): Likewise. | |
199 | (_dl_check_map_versions): Likewise. | |
200 | * elf/rtld.c (process_envvars): Likewise. | |
201 | (print_statistics): Likewise. | |
202 | * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise. | |
203 | * elf/dl-minimal.c (_itoa): Always define it. Make it work for all | |
204 | bases. Add assert to catch uses of unimplemented features. | |
205 | (__strsep): Add assert to catch uses of unimplemented features. | |
206 | * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr | |
207 | and avoid inline optimization. | |
208 | * elf/rtld.c (process_envvars): Likewise. | |
209 | * elf/dl-open.c: Don't include <stdio-common/_itoa.h>. | |
210 | * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs. | |
211 | * elf/rtld.c (dl_main): Avoid strsep inline optimization. | |
212 | ||
654a7a0c UD |
213 | 2002-02-02 Ulrich Drepper <drepper@redhat.com> |
214 | ||
9710f75d UD |
215 | * stdio-common/_itoa.h: Minor simplifications of the code. |
216 | * stdio-common/_itoa.c: Likewise. | |
217 | ||
218 | * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf | |
219 | instead of _dl_printf for debugging info output. | |
220 | ||
654a7a0c UD |
221 | * manual/examples/mkfsock.c (make_named_socket): Make sure name is |
222 | always NUL-terminated. Patch by Chris D. Sloan <cds@cs.hmc.edu>. | |
223 | ||
5c1159b6 UD |
224 | 2002-02-01 H.J. Lu <hjl@gnu.org> |
225 | ||
9710f75d | 226 | * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely. |
5c1159b6 UD |
227 | (atomic_add): Likewise. |
228 | (compare_and_swap): Return 0 only when failed to compare. Use | |
229 | branch likely. | |
230 | ||
231 | * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use | |
232 | branch likely. | |
233 | ||
234 | 2002-02-03 kaz Kojima <kkojima@rr.iij4u.or.jp> | |
235 | ||
236 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo. | |
237 | ||
238 | 2002-02-02 Ulrich Drepper <drepper@redhat.com> | |
239 | ||
240 | * elf/dl-minimal.c (__strsep): New minimal implementation. | |
241 | ||
b5ef404e UD |
242 | 2002-02-02 Paul Eggert <eggert@twinsun.com> |
243 | ||
244 | * src/mktime.c [defined DEBUG && STDC_HEADERS]: Include <string.h>. | |
245 | (__mktime_internal): If no tm_isdst is requested, prefer solutions | |
246 | with tm_isdst > 0 when the requested time falls within a | |
247 | spring-forward gap [PR libc/2894]. | |
248 | ||
352b06fd UD |
249 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
250 | ||
251 | * stdio-common/tst-rndseek.c: Increase timeout. | |
252 | ||
379d4ec4 UD |
253 | 2002-02-02 Ulrich Drepper <drepper@redhat.com> |
254 | ||
7969407a UD |
255 | Change ld.so to not use functions which are exported. One cannot |
256 | interpose them anyway. Use INT() to mark uses, INTDEF() to mark | |
257 | definitions. | |
258 | * include/libc-symbols.h: Define INT and INTDEF. | |
259 | * sysdeps/generic/ldsodefs.h: Declare _dl_debug_printf_internal, | |
260 | _dl_signal_error_internal, _dl_map_object_internal, | |
261 | _dl_map_object_deps_internal, _dl_lookup_symbol_internal, | |
262 | _dl_lookup_versioned_symbol_internal, | |
263 | _dl_relocate_object_internal, _dl_debug_state_internal, | |
264 | _dl_start_profile_internal, and _dl_unload_cache_internal. | |
265 | * include/dlfcn.h: Declare _dl_catch_error_internal. | |
266 | * elf/rtld.c: Use INT for calls to any of the *_internal functions | |
267 | above. Add INTDEF to function definitions. | |
268 | * elf/dl-debug.c: Likewise. | |
269 | * elf/dl-deps.c: Likewise. | |
270 | * elf/dl-dst.h: Likewise. | |
271 | * elf/dl-error.c: Likewise. | |
272 | * elf/dl-fini.c: Likewise. | |
273 | * elf/dl-init.c: Likewise. | |
274 | * elf/dl-load.c: Likewise. | |
275 | * elf/dl-lookup.c: Likewise. | |
276 | * elf/dl-misc.c: Likewise. | |
277 | * elf/dl-open.c: Likewise. | |
278 | * elf/dl-profile.c: Likewise. | |
279 | * elf/dl-reloc.c: Likewise. | |
280 | * elf/dl-runtime.c: Likewise. | |
281 | * elf/dl-version.c: Likewise. | |
282 | * elf/do-lookup.h: Likewise. | |
283 | * sysdeps/generic/dl-cache.c: Likewise. | |
284 | * sysdeps/generic/dl-sysdep.c: Likewise. | |
285 | * sysdeps/alpha/dl-machine.h (RTLD_START): Call _dl_init_internal | |
286 | instead of _dl_init. | |
287 | * sysdeps/arm/dl-machine.h: Likewise. | |
288 | * sysdeps/cris/dl-machine.h: Likewise. | |
289 | * sysdeps/hppa/dl-machine.h: Likewise. | |
290 | * sysdeps/i386/dl-machine.h: Likewise. | |
291 | * sysdeps/ia64/dl-machine.h: Likewise. | |
292 | * sysdeps/m68k/dl-machine.h: Likewise. | |
293 | * sysdeps/mips/dl-machine.h: Likewise. | |
294 | * sysdeps/mips/mips64/dl-machine.h: Likewise. | |
295 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
296 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
297 | * sysdeps/sh/dl-machine.h: Likewise. | |
298 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
299 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
300 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
301 | * sysdeps/powerpc/dl-start.S (_dl_start_user): Likewise. | |
302 | ||
303 | * elf/Versions: Don't export _dl_check_all_versions, _dl_sysdep_start, | |
304 | and _dl_debug_initialize. | |
305 | ||
88794e30 UD |
306 | * elf/dl-object.c (_dl_new_object): Avoid using strrchr. We have |
307 | more information. | |
308 | * elf/rtld.c (dl_main): Avoid strrchr. | |
309 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use the | |
310 | result of readlink. Search from the back for '/'. | |
311 | ||
1e823b7d UD |
312 | * elf/dl-profile.c (_dl_start_profile): Help the compiler to avoid |
313 | strncpy if possible. | |
314 | ||
379d4ec4 UD |
315 | * sysdeps/generic/dl-environ.c (unsetenv): Optimize. Don't use |
316 | strncmp. | |
317 | * elf/dl-load.c (is_dst): Optimize. Don't call strncmp twice. | |
318 | * elf/rtld.c (process_dl_debug): Optimize. Avoid calls to strncmp, | |
319 | strspn, and strcspn. | |
320 | (process_envvars): Don't use strcspn. | |
321 | ||
322 | * elf/dl-load.c (_dl_dst_count): Fix possible endless loop. | |
323 | (_dl_dst_substitute): Likewise. | |
324 | ||
56c57442 UD |
325 | 2002-02-01 Ulrich Drepper <drepper@redhat.com> |
326 | ||
e0f41886 UD |
327 | * elf/do-rel.h (elf_dynamic_do_rel): Help the compiler recognize |
328 | code which is never used when relocating ld.so itself. | |
329 | ||
56c57442 UD |
330 | * elf/dynamic-link.h (elf_get_dynamic_info): Optimize a bit for |
331 | starting ld.so itself. Move l_addr variable initialization closer | |
332 | to use. | |
e0f41886 | 333 | (_ELF_DYNAMIC_DO_RELOC): Help the compiler optimize a bit. |
56c57442 | 334 | |
fb23eb25 UD |
335 | 2002-02-01 Jakub Jelinek <jakub@redhat.com> |
336 | ||
337 | * Versions.def (libc): Add GLIBC_PRIVATE. | |
338 | (libdb, libnss_db, libdb1): Remove. | |
339 | (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis, | |
340 | libnss_nisplus): Move all symbols to GLIBC_PRIVATE. | |
341 | (libpthread): Add GLIBC_PRIVATE. | |
342 | (libresolv): Likewise, remove GLIBC_2.1. | |
343 | (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1, | |
344 | GLIBC_2.2.3, GLIBC_2.3. | |
345 | * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE. | |
346 | * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first, | |
347 | _dl_sym, _dl_vsym): Likewise. | |
348 | (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error, | |
349 | _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize, | |
350 | _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute, | |
351 | _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip, | |
352 | _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip, | |
353 | _dl_map_object, _dl_map_object_deps, _dl_out_of_memory, | |
354 | _dl_relocate_object, _dl_signal_error, _dl_start_profile, | |
355 | _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global): | |
356 | Likewise. | |
357 | (_dl_object_relocation_scope): Remove. | |
358 | * hesiod/Versions: Move all symbols to GLIBC_PRIVATE. | |
359 | * iconv/Versions (__gconv_alias_db, __gconv_modules_db, | |
360 | __gconv_cache): Move to GLIBC_PRIVATE. | |
361 | * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r, | |
362 | __internal_setnetgrent): Likewise. | |
363 | * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write, | |
364 | __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise. | |
365 | * locale/Versions (__collate_element_hash, __collate_element_strings, | |
366 | __collate_symbol_classes, __collate_symbol_hash, | |
367 | __collate_symbol_strings, _nl_current_LC_COLLATE, | |
368 | _nl_current_LC_CTYPE): Likewise. | |
369 | * misc/Versions (__libc_fsync, __libc_msync): Likewise. | |
370 | * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE. | |
371 | (libnss_nis, libnss_nisplus): Likewise. | |
372 | * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent, | |
373 | _nss_files_parse_spent): Move to GLIBC_PRIVATE. | |
374 | (libnss_files): Move all symbols to GLIBC_PRIVATE. | |
375 | * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause, | |
376 | __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64, | |
377 | __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE. | |
378 | * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop, | |
379 | __ns_get16, __ns_samename): Likewise. | |
380 | (libnss_dns): Move all symbols to GLIBC_PRIVATE. | |
381 | * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to | |
382 | GLIBC_PRIVATE. | |
383 | * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom, | |
384 | __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto, | |
385 | __libc_connect): Likewise. | |
386 | * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits): | |
387 | Likewise. | |
388 | * stdlib/Versions (__libc_system): Likewise. | |
389 | * sunrpc/Versions (__rpc_thread_destroy): Likewise. | |
390 | * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE. | |
391 | * sysdeps/ia64/fpu/Versions: Likewise. | |
392 | * sysdeps/ia64/Versions: Likewise. | |
393 | * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. | |
394 | * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move | |
395 | to GLIBC_PRIVATE. | |
396 | * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise. | |
397 | * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo, | |
398 | __libc_sigaction): Likewise. | |
399 | * termios/Versions (__libc_tcdrain): Likewise. | |
400 | ||
401 | * misc/sys/cdefs (__attribute_noinline__): Define. | |
402 | * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add | |
403 | __attribute_noinline__. | |
404 | ||
405 | * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64. | |
406 | * elf/dl-xstat64.c: New file. | |
407 | * elf/dl-fxstat64.c: New file. | |
408 | * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined, | |
409 | don't export __fxstat64 at multiple versions. | |
410 | * sysdeps/unix/sysv/linux/lxstat64.c: Similarly. | |
411 | * sysdeps/unix/sysv/linux/xstat64.c: Similarly. | |
412 | ||
9c1084a3 UD |
413 | 2002-01-18 Isamu Hasegawa <isamu@yamato.ibm.com> |
414 | ||
415 | * locale/program/ld-collate.c (collate_finish): Assign a wide | |
416 | char collation sequence value to multi character collating | |
417 | elements, and avoid over writing by non-character elements. | |
418 | ||
635f35fc UD |
419 | 2002-02-01 Ulrich Drepper <drepper@redhat.com> |
420 | ||
421 | * elf/Makefile (distribute): Add dl-procinfo.c. | |
422 | * sysdeps/unix/sysv/linux/i386/Dist: Remove dl-procinfo.c. | |
423 | * sysdeps/unix/sysv/linux/arm/Dist: Likewise. | |
424 | ||
27ef89fb UD |
425 | 2002-02-01 Jakub Jelinek <jakub@redhat.com> |
426 | ||
427 | * sysdeps/generic/ldsodefs.h (_dl_load_lock): Remove duplicate | |
428 | definition. | |
429 | * sysdeps/ia64/hp-timing.h: Move _dl_hp_timing_overhead in | |
430 | _rtld_global struct. | |
431 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. | |
432 | * sysdeps/sparc/sparc64/hp-timing.c: Likewise. | |
433 | * sysdeps/sparc/sparc64/hp-timing.h: Likewise. | |
434 | * sysdeps/sparc/sparc64/Makefile: Make hp-timing static only. | |
435 | * sysdeps/unix/sysv/aix/init-first.c (_dl_fpu_control, | |
436 | _dl_fpu_control_set): Remove unused externs. | |
437 | * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: New file. | |
438 | * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: New file. | |
439 | * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Move procinfo | |
440 | related variables in _rtld_global struct. | |
441 | * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. | |
442 | * sysdeps/unix/sysv/linux/init-first.c (_dl_fpu_control_set): Remove | |
443 | unused extern. | |
444 | ||
a3a4f249 UD |
445 | 2002-02-01 Ulrich Drepper <drepper@redhat.com> |
446 | ||
447 | * sysdeps/generic/dl-procinfo.c: New file. | |
448 | ||
78ce3057 AS |
449 | 2002-02-01 Andreas Schwab <schwab@suse.de> |
450 | ||
451 | * sysdeps/m68k/dl-machine.h: Don't use multi-line string literals. | |
452 | ||
50746436 UD |
453 | 2002-02-01 Ulrich Drepper <drepper@redhat.com> |
454 | ||
455 | * elf/rtld.c (_dl_start): Mark as internal_function. | |
456 | * sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start | |
457 | in register. | |
458 | (elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP. | |
459 | General pretty printing. | |
460 | ||
5688da55 UD |
461 | 2002-01-31 Ulrich Drepper <drepper@redhat.com> |
462 | ||
ccdf0cab UD |
463 | * elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing. |
464 | * elf/dl-reloc.c: Pretty printing. | |
465 | * sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and | |
466 | procinfo-related variables in rtld_global struct. | |
467 | * elf/dl-support.c: Likewise. | |
468 | * elf/rtld.c: Likewise. | |
469 | * sysdeps/i386/i686/Makefile: Likewise. | |
470 | * sysdeps/i386/i686/hp-timing.c: Likewise. | |
471 | * sysdeps/i386/i686/hp-timing.h: Likewise. | |
472 | * sysdeps/ia64/Makefile: Likewise. | |
473 | * sysdeps/ia64/hp-timing.c: Likewise. | |
474 | * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. | |
475 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. | |
476 | * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise. | |
477 | * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. | |
478 | * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. | |
479 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise. | |
480 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. | |
481 | * sysdeps/x86_64/Makefile: Likewise. | |
482 | ||
5688da55 UD |
483 | * sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy, |
484 | _dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and | |
485 | _dl_debug_fd to rtld_global. | |
486 | * elf/Versions: Likewise. | |
487 | * elf/dl-close.c: Likewise. | |
488 | * elf/dl-iteratephdr.c: Likewise. | |
489 | * elf/dl-lookup.c: Likewise. | |
490 | * elf/dl-misc.c: Likewise. | |
491 | * elf/dl-open.c: Likewise. | |
492 | * elf/dl-support.c: Likewise. | |
493 | * elf/do-lookup.h: Likewise. | |
494 | * elf/rtld.c: Likewise. | |
495 | * sysdeps/generic/dl-cache.c: Likewise. | |
496 | * sysdeps/generic/dl-sysdep.c: Likewise. | |
497 | * sysdeps/ia64/Versions: Likewise. | |
498 | * sysdeps/unix/clock_gettime.c: Likewise. | |
499 | * sysdeps/unix/clock_settime.c: Likewise. | |
500 | * sysdeps/unix/sysv/linux/init-first.c: Likewise. | |
501 | * sysdeps/sparc/Versions: Removed. | |
502 | * sysdeps/i386/i686/Versions : Removed. | |
503 | * sysdeps/x86_64/Versions: Removed. | |
504 | * configure.in: Define HAVE_PROTECTED if .protected is available. | |
505 | * config.h.in: Add entry for HAVE_PROTECTED. | |
506 | ||
507 | 2002-01-31 Jakub Jelinek <jakub@redhat.com. | |
508 | ||
509 | * sysdeps/alpha/dl-machine.h: Move global variables for SHARED | |
510 | code in struct _rtld_global. Export this struct, remove all | |
511 | exports for the signal variables. | |
512 | * sysdeps/arm/dl-machine: Likewise. | |
513 | * sysdeps/generic/dl-origin: Likewise. | |
514 | * sysdeps/generic/dl-sysdep: Likewise. | |
515 | * sysdeps/generic/dl-cache: Likewise. | |
516 | * sysdeps/hppa/dl-fptr: Likewise. | |
517 | * sysdeps/hppa/dl-machine: Likewise. | |
518 | * sysdeps/cris/dl-machine: Likewise. | |
519 | * sysdeps/i386/dl-machine: Likewise. | |
520 | * sysdeps/ia64/dl-machine: Likewise. | |
521 | * sysdeps/m68k/dl-machine: Likewise. | |
522 | * sysdeps/mach/hurd/dl-sysdep: Likewise. | |
523 | * sysdeps/mips/mips64/dl-machine: Likewise. | |
524 | * sysdeps/mips/dl-machine: Likewise. | |
525 | * sysdeps/powerpc/elf/libc-start: Likewise. | |
526 | * sysdeps/powerpc/dl-machine: Likewise. | |
527 | * sysdeps/powerpc/dl-start: Likewise. | |
528 | * sysdeps/sparc/sparc32/dl-machine: Likewise. | |
529 | * sysdeps/sparc/sparc64/dl-machine: Likewise. | |
530 | * sysdeps/sh/dl-machine: Likewise. | |
531 | * sysdeps/s390/s390-32/dl-machine: Likewise. | |
532 | * sysdeps/s390/s390-64/dl-machine: Likewise. | |
533 | * sysdeps/unix/sysv/aix/libc-start: Likewise. | |
534 | * sysdeps/unix/sysv/aix/start-libc: Likewise. | |
535 | * sysdeps/unix/sysv/linux/ia64/dl-static: Likewise. | |
536 | * sysdeps/unix/sysv/linux/m68k/getpagesize: Likewise. | |
537 | * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize: Likewise. | |
538 | * sysdeps/x86_64/dl-machine: Likewise. | |
539 | ||
a204ea36 UD |
540 | 2002-01-31 Ulrich Drepper <drepper@redhat.com> |
541 | ||
542 | * sysdeps/posix/readv.c: Don't use alloca if the memory requirements | |
543 | are too high. | |
544 | ||
545 | 2002-01-31 Andreas Schwab <schwab@suse.de> | |
546 | ||
547 | * sysdeps/posix/readv.c: Check for ssize_t overflow. | |
548 | ||
549 | 2002-01-31 Andreas Schwab <schwab@suse.de> | |
550 | ||
551 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover | |
552 | reference to _dl_pagesize. | |
553 | ||
d6b5d570 UD |
554 | 2002-01-30 Ulrich Drepper <drepper@redhat.com> |
555 | ||
556 | * Versions.def [ld]: Add GLIBC_2.3. | |
557 | * elf/dl-addr.c: Move global variables for SHARED code in struct | |
558 | _rtld_global. Export this struct, remove all exports for the | |
559 | signal variables. | |
560 | * elf/dl-close.c: Likewise. | |
561 | * elf/dl-conflict.c: Likewise. | |
562 | * elf/dl-debug.c: Likewise. | |
563 | * elf/dl-deps.c: Likewise. | |
564 | * elf/dl-dst.h: Likewise. | |
565 | * elf/dl-error.c: Likewise. | |
566 | * elf/dl-fini.c: Likewise. | |
567 | * elf/dl-init.c: Likewise. | |
568 | * elf/dl-iteratephdr.c: Likewise. | |
569 | * elf/dl-libc.c: Likewise. | |
570 | * elf/dl-load.c: Likewise. | |
571 | * elf/dl-lookup.c: Likewise. | |
572 | * elf/dl-minimal.c: Likewise. | |
573 | * elf/dl-object.c: Likewise. | |
574 | * elf/dl-open.c: Likewise. | |
575 | * elf/dl-profile.c: Likewise. | |
576 | * elf/dl-profstub.c: Likewise. | |
577 | * elf/dl-reloc.c: Likewise. | |
578 | * elf/dl-runtime.c: Likewise. | |
579 | * elf/dl-support.c: Likewise. | |
580 | * elf/dl-sym.c: Likewise. | |
581 | * elf/dl-version.c: Likewise. | |
582 | * elf/do-lookup.h: Likewise. | |
583 | * elf/do-rel.h: Likewise. | |
584 | * elf/dynamic-link.h: Likewise. | |
585 | * elf/rtld.c: Likewise. | |
586 | * sysdeps/generic/dl-cache.c: Likewise. | |
587 | * sysdeps/generic/dl-sysdep.c: Likewise. | |
588 | * sysdeps/generic/ldsodefs.h: Likewise. | |
589 | * sysdeps/generic/libc-start.c: Likewise. | |
590 | * sysdeps/i386/dl-machine.h: Likewise. | |
591 | * sysdeps/ia64/dl-fptr.c: Likewise. | |
592 | * sysdeps/ia64/dl-machine.h: Likewise. | |
593 | * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. | |
594 | * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. | |
595 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. | |
596 | * sysdeps/unix/sysv/linux/getclktck.c: Likewise. | |
597 | * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. | |
598 | * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. | |
599 | * sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise. | |
600 | * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. | |
601 | ||
e66d0a4c UD |
602 | 2002-01-29 Ulrich Drepper <drepper@redhat.com> |
603 | ||
1b4575ae UD |
604 | * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast |
605 | to avoid warning | |
606 | (DL_STATIC_FUNCTION_ADDRESS): Likewise. | |
607 | ||
be4b5a95 UD |
608 | * elf/dl-lookup.c: Only define or handle _dl_num_relocations for the |
609 | SHARED version. | |
610 | * elf/dl-reloc.c: Likewise for _dl_num_cache_relocations. | |
611 | ||
e66d0a4c UD |
612 | * elf/rtld.c (_dl_start): Use __builtin_memset if available. |
613 | ||
9d7810d8 UD |
614 | 2002-01-29 Ben Collins <bcollins@debian.org> |
615 | ||
616 | * string/bits/string2.h (__mempcpy): Protect size arg for | |
617 | addition when using __builtin_memcpy. | |
618 | ||
92f120d4 UD |
619 | 2002-01-29 Ulrich Drepper <drepper@redhat.com> |
620 | ||
207b66ce UD |
621 | * stdlib/Makefile (tests): Add tst-qsort. |
622 | * stdlib/tst-qsort.c: New file. Written by Paul Eggert. | |
623 | ||
afdef815 UD |
624 | * manual/signal.texi (Process Signal Mask): Document that |
625 | pthread_sigmask, not sigprocmask, must be used in MT programs. | |
626 | Patch by Bertold Kolics <Bertold.Kolics@Sun.COM>. | |
627 | ||
92f120d4 UD |
628 | * misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is |
629 | found. | |
630 | * misc/Makefile (tests): Add tst-hsearch. | |
631 | * misc/tst-hsearch.c: New file. | |
632 | ||
fa8d436c UD |
633 | 2002-01-18 Wolfram Gloger <wg@malloc.de> |
634 | ||
635 | * malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c. | |
636 | * malloc/malloc.h: Likewise. | |
d6b5d570 | 637 | * malloc/thread-m.h: Spinlock definitions for x86/x86_64. |
fa8d436c UD |
638 | * malloc/arena.c: New file. |
639 | * malloc/hooks.c: New file. | |
640 | * malloc/tst-mallocstate.c: New file. | |
641 | * malloc/Makefile: Add new testcase tst-mallocstate. | |
642 | Add arena.c and hooks.c to distribute. Fix commented CPPFLAGS. | |
643 | ||
644 | 2002-01-28 Ulrich Drepper <drepper@redhat.com> | |
645 | ||
646 | * stdlib/msort.c: Remove last patch. The optimization violates the | |
647 | same rule which qsort.c had problems with. | |
648 | ||
649 | 2002-01-27 Paul Eggert <eggert@twinsun.com> | |
650 | ||
651 | * stdlib/qsort.c (_quicksort): Do not apply the comparison function | |
652 | to a pivot element that lies outside the array to be sorted, as | |
653 | ISO C99 requires that the comparison function be called only with | |
654 | addresses of array elements [PR libc/2880]. | |
655 | ||
b45b9457 UD |
656 | 2002-01-28 Ulrich Drepper <drepper@redhat.com> |
657 | ||
db2ebcef UD |
658 | * elf/dl-load.c (_dl_map_object): Remove incorrect optimization |
659 | for SHARED code. Reported by Ben Collins <bcollins@debian.org>. | |
660 | ||
b45b9457 UD |
661 | * timezone/asia: Update from tzdata2002b. |
662 | * timezone/australasia: Likewise. | |
663 | * timezone/backward: Likewise. | |
664 | * timezone/europe: Likewise. | |
665 | * timezone/leapseconds: Likewise. | |
666 | * timezone/iso3166.tab: Likewise. | |
667 | * timezone/zone.tab: Likewise. | |
668 | ||
0295d266 UD |
669 | 2002-01-23 Richard Henderson <rth@redhat.com> |
670 | ||
671 | * sysdeps/alpha/Makefile (pic-ccflag): New variable. | |
672 | ||
673 | 2002-01-28 Ulrich Drepper <drepper@redhat.com> | |
674 | ||
675 | * string/strxfrm.c: Allocate one more byte for rulearr and clear | |
676 | this element [PR libc/2855]. | |
677 | ||
678 | * string/strcoll.c: Handle zero-length arguments specially | |
679 | [PR libc/2856]. | |
680 | ||
681 | 2002-01-23 Jakub Jelinek <jakub@redhat.com> | |
682 | ||
683 | * string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use | |
684 | __mempcpy_small but instead use __builtin_memcpy ( , , n) + n for | |
685 | short lengths and constant src. | |
686 | (strcpy): Don't optimize for gcc 3.0+. | |
687 | (__stpcpy): For gcc 3.0+, don't use | |
688 | __stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src) | |
689 | for short string literal src. | |
690 | ||
691 | 2002-01-23 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
692 | ||
693 | * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): | |
694 | Set for arm, too. | |
695 | ||
696 | 2001-01-22 Paul Eggert <eggert@twinsun.com> | |
697 | ||
698 | * manual/llio.texi (Linked Channels, Cleaning Streams): | |
699 | Make it clearer that a just-opened input stream might need cleaning. | |
700 | ||
701 | 2002-01-21 H.J. Lu <hjl@gnu.org> | |
702 | ||
703 | * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): | |
704 | Don't use label at end of compound statement. | |
705 | ||
2b94dab6 AJ |
706 | 2002-01-28 Stephen L Moshier <moshier@mediaone.net> |
707 | ||
708 | * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): | |
709 | Remove test for negative integer arg; sin_pi does it correctly. | |
710 | ||
fbee8a1e UD |
711 | 2002-01-20 Ulrich Drepper <drepper@redhat.com> |
712 | ||
713 | * nscd/Makefile (distribute): Filter out xmalloc.c. | |
714 | ||
284749da UD |
715 | 2002-01-19 Ulrich Drepper <drepper@redhat.com> |
716 | ||
717 | * libio/fileops.c (_IO_file_underflow_mmap): Don't define as static. | |
718 | Set offset if read end wasn't the buffer end. | |
719 | (_IO_file_seekoff_mmap): New function. | |
720 | (_IO_file_xsgetn_mmap): New function. | |
721 | (_IO_file_jumps_mmap): Use the two new functions. | |
722 | * libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer | |
723 | != end buffer. | |
724 | * libio/libioP.h: Declare _IO_file_seekoff_mmap and | |
725 | _IO_file_underflow_mmap. | |
726 | * libio/iofopen.c: Don't position file descriptor at end of file. | |
727 | * libio/tst-widetext.c: Improve error messages. | |
728 | * stdio-common/tst-rndseek.c: Likewise. | |
729 | ||
d7a746fc UD |
730 | 2002-01-18 Ulrich Drepper <drepper@redhat.com> |
731 | ||
53e9699b UD |
732 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at |
733 | end of enum for !_GNU_SOURCE. | |
734 | * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. | |
735 | * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. | |
736 | * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. | |
737 | * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* | |
738 | values unless _GNU_SOURCE. | |
739 | ||
d7a746fc UD |
740 | * iconvdata/tcvn5712-1.c: Minor cleanups. |
741 | ||
a5a8c34e AS |
742 | 2002-01-18 Andreas Schwab <schwab@suse.de> |
743 | ||
744 | * sysdeps/unix/sysv/linux/configure.in | |
745 | (libc_cv_gcc_unwind_find_fde): Set for m68k, too. | |
746 | ||
b750d5e7 UD |
747 | 2002-01-16 Roger Sayle <roger@eyesopen.com> |
748 | ||
749 | * stdlib/msort.c (msort_with_tmp): Replace implementation with | |
750 | more efficient "Towers of Hanoi" mergesort. | |
751 | (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions, | |
752 | for generic, sizeof(int) and sizeof(long) variants respectively. | |
753 | ||
057685e4 UD |
754 | 2002-01-17 Ulrich Drepper <drepper@redhat.com> |
755 | ||
fbee8a1e | 756 | * manual/syslog.texi (openlog): Describe possible problems with |
b750d5e7 UD |
757 | first parameter. |
758 | Patch by Christopher Allen Wing <wingc@engin.umich.edu>. | |
759 | ||
057685e4 UD |
760 | * nscd/nscd.c (drop_privileges): Removed. Adjust caller. |
761 | * nscd/connections.c (begin_drop_privileges): New function. | |
762 | (finish_drop_privileges): New function. | |
763 | (nscd_init): Call the new functions which also install all groups | |
764 | for the server user. | |
c3ea7bee | 765 | * nscd/Makefile (nscd-modules): Add xmalloc for nscd. |
e093e5b9 | 766 | Patch by Christopher Allen Wing <wingc@engin.umich.edu>. |
057685e4 UD |
767 | |
768 | 2002-01-17 H.J. Lu <hjl@gnu.org> | |
769 | ||
770 | * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove | |
771 | `const' from `got'. | |
772 | ||
52831fb8 UD |
773 | 2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
774 | ||
775 | * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit | |
776 | instructions for pointer operations. | |
777 | * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. | |
778 | ||
38aaf876 AJ |
779 | 2002-01-17 Andreas Jaeger <aj@suse.de> |
780 | ||
d425aefc AJ |
781 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has |
782 | __uint128_t build-in. | |
783 | ||
38aaf876 AJ |
784 | * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and |
785 | PowerPC, sync with 2.2 branch. | |
786 | ||
0308a475 UD |
787 | 2002-01-16 Ulrich Drepper <drepper@redhat.com> |
788 | ||
789 | * posix/getconf.c: Update copyright year. | |
790 | * nss/getent.c: Likewise. | |
791 | * nscd/nscd_nischeck.c: Likewise. | |
792 | * iconv/iconvconfig.c: Likewise. | |
793 | * iconv/iconv_prog.c: Likewise. | |
794 | * elf/ldconfig.c: Likewise. | |
795 | * catgets/gencat.c: Likewise. | |
796 | * csu/version.c: Likewise. | |
797 | * elf/ldd.bash.in: Likewise. | |
798 | * elf/sprof.c (print_version): Likewise. | |
799 | * locale/programs/locale.c: Likewise. | |
800 | * locale/programs/localedef.c: Likewise. | |
801 | * nscd/nscd.c (print_version): Likewise. | |
802 | * debug/xtrace.sh: Likewise. | |
803 | * malloc/memusage.sh: Likewise. | |
804 | * malloc/mtrace.pl: Likewise. | |
805 | ||
806 | 2002-01-16 Andreas Schwab <schwab@suse.de> | |
807 | ||
808 | * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to | |
809 | reliably remove "-ia64" from rtld name. | |
810 | ||
067c6a6d UD |
811 | 2002-01-16 Ulrich Drepper <drepper@redhat.com> |
812 | ||
813 | * iconvdata/gb18030.c: Bug fixes and support for more characters. | |
814 | Patch by Yu Shao <yshao@redhat.com>. | |
815 | ||
816 | 2002-01-16 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
817 | ||
818 | * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove. | |
819 | * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file. | |
820 | * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file. | |
821 | ||
822 | 2002-01-14 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
823 | ||
824 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
825 | ||
6c69f24a UD |
826 | 2002-01-11 Ulrich Drepper <drepper@redhat.com> |
827 | ||
828 | * elf/elf.h: Update x86 relocations. | |
829 | ||
e57372d1 UD |
830 | 2002-01-10 Ulrich Drepper <drepper@redhat.com> |
831 | ||
832 | * locale/programs/charmap.c (new_width): Check whether byte | |
833 | sequences for both ends of range have the same length. | |
834 | ||
d77a71c5 UD |
835 | 2002-01-09 Jakub Jelinek <jakub@redhat.com> |
836 | ||
837 | * elf/elf.h (SHN_UNDEF): Remove duplicate definition. | |
838 | ||
839 | 2002-01-09 Jakub Jelinek <jakub@redhat.com> | |
840 | ||
841 | * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line | |
842 | string literals. | |
843 | (__full_ieee754_sqrt): Add __attribute_used__. | |
844 | ||
845 | 2002-01-10 Ulrich Drepper <drepper@redhat.com> | |
846 | ||
847 | * sysdeps/generic/group_member.c (__group_member): Also check | |
848 | groups[0] [PR libc/2781]. | |
849 | ||
ab92bebd UD |
850 | 2002-01-08 Ulrich Drepper <drepper@redhat.com> |
851 | ||
852 | * Makefile (distribute): Add scripts/cpp. | |
853 | * elf/Makefile (distribute): Add reldep6mod[01234].c, | |
854 | unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h, | |
855 | unwind-dw2-fde.h, and dwarf2.h. | |
856 | * sysdeps/unix/bsd/bsd4.4/Dist: New file. | |
857 | * sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c. | |
858 | * sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed. | |
859 | * sysdeps/unix/sysv/linux/s390/Dist: Likewise. | |
860 | ||
49fb04c2 RM |
861 | 2002-01-07 Roland McGrath <roland@frob.com> |
862 | ||
863 | * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use | |
864 | volatile on type of ARGC so the compiler doesn't get clever. | |
865 | ||
8e504786 AJ |
866 | 2002-01-07 Andreas Jaeger <aj@suse.de> |
867 | ||
868 | * sysdeps/generic/bits/byteswap.h: Prevent double inclusion. | |
869 | * sysdeps/i386/bits/byteswap.h: Likewise. | |
870 | * sysdeps/ia64/bits/byteswap.h: Likewise. | |
871 | * sysdeps/m68k/bits/byteswap.h: Likewise. | |
872 | * sysdeps/s390/s390-32/bits/byteswap.h: Likewise. | |
873 | * sysdeps/s390/s390-64/bits/byteswap.h: Likewise. | |
874 | ||
8e57fc70 UD |
875 | 2002-01-02 Bruno Haible <bruno@clisp.org> |
876 | ||
877 | * intl/plural.y: Fix %expect count. | |
878 | ||
a0dcb689 UD |
879 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
880 | ||
881 | * elf/Makefile (routines, shared-only-routines): Add | |
882 | unwind-dw2-fde-glibc instead of unwind-dw2-fde. | |
883 | * elf/elf.h (PT_GNU_EH_FRAME): Define. | |
884 | * sysdeps/generic/unwind-dw2-fde-glibc.c: New file. | |
885 | * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases): | |
886 | Optimize if .eh_frame section contains no FDEs. | |
887 | (__register_frame, __deregister_frame_info_bases, | |
888 | __deregister_frame): Likewise. | |
889 | * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix | |
890 | DW_CFA_restore handling. | |
891 | ||
892 | 2002-01-07 Stephen L Moshier <moshier@mediaone.net> | |
c195dcdd AJ |
893 | |
894 | * sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header. | |
895 | ||
896 | * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test | |
897 | for x < 0.25 and restore original range reduction method. | |
898 | (__ieee754_lgammal_r): Make sure signgam is set before returning. | |
899 | ||
0469311e UD |
900 | 2002-01-07 Ulrich Drepper <drepper@redhat.com> |
901 | ||
902 | * libio/fileops.c (_IO_file_underflow_mmap): New function. | |
903 | (_IO_file_close_mmap): New function. | |
904 | (_IO_file_jumps_mmap): New variable. | |
905 | * libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before | |
906 | trying to convert rest of byte buffer. | |
907 | (_IO_wfile_underflow_mmap): New function. | |
908 | (_IO_wfile_jumps_mmap): New variable. | |
909 | * libio/iofopen.c (__fopen_maybe_mmap): New function. | |
910 | (__fopen_internal): New function. Split out from _IO_new_fopen. | |
911 | (_IO_new_fopen): Call __fopen_internal. | |
912 | * libio/iofopen64.c: Just call __fopen_internal. | |
913 | * libio/iofdopen.c: Call __fopen_maybe_mmap before returning | |
914 | successfully. | |
915 | * libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap. | |
916 | * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap, | |
917 | _IO_file_close_mmap. | |
918 | ||
919 | * sysdeps/gnu/_G_config.h: Define _G_MMAP64. | |
920 | * sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise. | |
921 | ||
922 | * stdio-common/Makefile (tests): Add tst-rndseek. | |
923 | * stdio-common/tst-rndseek.c: New file. | |
924 | ||
93da2f2a RM |
925 | 2002-01-05 Roland McGrath <roland@frob.com> |
926 | ||
927 | * config.h.in (HAVE_MIG_RETCODE): New #undef. | |
928 | * sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro | |
929 | swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE. | |
930 | * sysdeps/mach/hurd/configure: Regenerated. | |
931 | ||
34263e4d UD |
932 | 2002-01-03 Ulrich Drepper <drepper@redhat.com> |
933 | ||
934 | * elf/elf.h: Add more TLS definitions. | |
935 | ||
184cbb9a UD |
936 | 2002-01-02 Ulrich Drepper <drepper@redhat.com> |
937 | ||
938 | * include/features.h (__GLIBC_MINOR__): Bump to 3. | |
939 | ||
f58f41f1 RM |
940 | 2002-01-02 Roland McGrath <roland@frob.com> |
941 | ||
05dea6d1 RM |
942 | * sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset, |
943 | __sigisemptyset. Don't use MASK uninitialized. | |
944 | ||
945 | * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset. | |
946 | * hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset. | |
947 | * hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember, | |
948 | __sigdelset, __sigaddset, __sigorset. | |
949 | ||
6ede11aa RM |
950 | * sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t. |
951 | * sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t. | |
952 | ||
2fee5d8b RM |
953 | * hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when |
954 | _hurd_ports is null. | |
7595ddb8 RM |
955 | |
956 | * hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup | |
957 | for old CMU and new OSF Mach interface flavors. | |
958 | * hurd/hurdfault.c (_hurdsig_fault_init): Likewise. | |
959 | * sysdeps/mach/hurd/fork.c (__fork): Likewise. | |
960 | ||
961 | * hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset. | |
962 | ||
963 | * sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]: | |
964 | Pass extra arguments to task_create for OSF variant. | |
965 | * sysdeps/mach/hurd/fork.c (__fork): Likewise. | |
966 | ||
f58f41f1 RM |
967 | * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code |
968 | conditional on [HAVE_AUX_VECTOR]. | |
969 | ||
970 | * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use | |
971 | mach_msg_timeout_t as type of final argument. | |
972 | ||
973 | * hurd/privports.c (__get_privileged_ports): | |
974 | Change host_priv_t to mach_port_t in argument type. | |
975 | * hurd/hurd.h (get_privileged_ports, __get_privileged_ports): | |
976 | Update decls. | |
977 | ||
978 | * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from | |
979 | multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H]. | |
980 | * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. | |
981 | * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. | |
982 | * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. | |
983 | * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. | |
984 | ||
d244fd73 RM |
985 | 2002-01-01 Roland McGrath <roland@frob.com> |
986 | ||
987 | * sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching. | |
988 | ||
3327b955 UD |
989 | 2002-01-01 Ulrich Drepper <drepper@redhat.com> |
990 | ||
991 | * include/stdlib.h: Define inlines for the _l variants of the strto* | |
992 | functions. | |
993 | ||
dcb00da6 RM |
994 | 2002-01-01 Roland McGrath <roland@frob.com> |
995 | ||
996 | * sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash. | |
997 | ||
998 | * mach/Machrules (MIG): Set CPP as well as CC. | |
999 | ||
84fb7c8c UD |
1000 | 2001-12-31 Ulrich Drepper <drepper@redhat.com> |
1001 | ||
1002 | * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C | |
dc2fcb0a | 1003 | locale to parse /proc/loadavg [PR libc/2760]. |
84fb7c8c UD |
1004 | |
1005 | 2001-12-31 Jakub Jelinek <jakub@redhat.com> | |
1006 | ||
1007 | * elf/dl-conflict.c: Include sys/param.h. | |
1008 | (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr). | |
1009 | * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid | |
1010 | warning. | |
1011 | (TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string | |
1012 | literals to avoid warnings. | |
1013 | ||
c7e23b4b AJ |
1014 | 2001-12-31 Andreas Jaeger <aj@suse.de> |
1015 | ||
84fb7c8c | 1016 | * configure.in: Don't check for gsed since we do not use it anywhere. |
c7e23b4b | 1017 | |
2903810a UD |
1018 | 2001-12-25 Dmitry V. Levin <ldv@alt-linux.org> |
1019 | ||
1020 | * io/fts.c: Update from BSD to fix memory leaks. | |
1021 | ||
c2f5916e UD |
1022 | 2001-12-25 Dmitry V. Levin <ldv@alt-linux.org> |
1023 | ||
1024 | * crypt/md5-crypt.c: Realloc error handling memory leak fix. | |
1025 | * elf/chroot_canon.c: Likewise. | |
1026 | * elf/dl-object.c: Likewise. | |
1027 | * iconv/iconv_charmap.c: Likewise. | |
1028 | * iconv/iconv_prog.c: Likewise. | |
1029 | * libio/iogetdelim.c: Likewise. | |
1030 | * locale/lc-time.c: Likewise. | |
1031 | * stdlib/canonicalize.c: Likewise. | |
1032 | * sunrpc/svc.c: Likewise. | |
1033 | * sysdeps/generic/glob.c: Likewise. | |
1034 | ||
961d4a2e UD |
1035 | 2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1036 | ||
1037 | * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ... | |
1038 | * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here, | |
1039 | remove high order bit from the program counter. | |
1040 | * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here. | |
1041 | ||
1042 | 2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
1043 | ||
1044 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove | |
1045 | unnecessary code and add missing reloc types. | |
1046 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty | |
1047 | case for reloc type R_390_NONE. | |
1048 | ||
98519d62 AJ |
1049 | 2001-12-28 Andreas Jaeger <aj@suse.de> |
1050 | ||
1051 | * io/bug-ftw3.c: Include string.h for prototypes. | |
1052 | ||
1053 | * crypt/md5test.c (main): Remove unused variable. | |
1054 | ||
98519d62 AJ |
1055 | * dlfcn/modstatic.c: Add prototype to avoid warning. |
1056 | ||
362f8329 RM |
1057 | 2001-12-26 Roland McGrath <roland@frob.com> |
1058 | ||
1059 | * sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately, | |
1060 | check only (SS->pending & MASK) for the signal to return. | |
1061 | From Jeroen Dekkers <jeroen@dekkers.cx>. | |
1062 | ||
43134040 RM |
1063 | 2001-12-22 Roland McGrath <roland@frob.com> |
1064 | ||
362f8329 RM |
1065 | * iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]: |
1066 | Use preprocessor #if conditionals instead of `if' to avoid | |
1067 | warnings about divide by zero in dead code. | |
1068 | ||
a5eb7027 RM |
1069 | * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set, |
1070 | _hurd_port_init, and __hurd_self_sigstate. | |
1071 | ||
43134040 | 1072 | * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. |
43134040 | 1073 | |
53c9459f AJ |
1074 | 2001-12-21 Andreas Jaeger <aj@suse.de> |
1075 | ||
1076 | * elf/dblloadmod1.c: Add prototype to avoid warning. | |
1077 | * elf/dblloadmod2.c: Likewise. | |
1078 | * elf/dblloadmod3.c: Likewise. | |
1079 | * elf/reldepmod5.c: Likewise. | |
1080 | * elf/reldepmod6.c: Likewise. | |
1081 | ||
1082 | * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute | |
1083 | for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not | |
1084 | used on all architectures. | |
1085 | ||
1086 | * sunrpc/svc_tcp.c: Add noreturn attribute for | |
1087 | svctcp_rendezvous_abort. | |
1088 | * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. | |
1089 | ||
1090 | * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment | |
1091 | to avoid warning. | |
1092 | ||
37de3d55 UD |
1093 | 2001-12-19 Jakub Jelinek <jakub@redhat.com> |
1094 | ||
1095 | * manual/llio.texi (aio_fsync): Fix a typo. | |
1096 | Patch by Tammy Fox <tfox@redhat.com>. | |
1097 | ||
9cddf9de UD |
1098 | 2001-12-18 Jakub Jelinek <jakub@redhat.com> |
1099 | ||
1100 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract | |
1101 | stack bias from child stack pointer before passing it to clone syscall. | |
1102 | ||
1103 | 2001-12-18 Ulrich Drepper <drepper@redhat.com> | |
1104 | ||
1105 | * sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for | |
1106 | _SC_TZNAME_MAX. | |
1107 | * sysdeps/generic/sysconf.c (__sysconf): Likewise. | |
1108 | Reported by Thorsten Kukuk <kukuk@suse.de>. | |
1109 | ||
1110 | * sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and | |
1111 | add some casts. | |
1112 | ||
1113 | * sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static. | |
1114 | ||
1115 | 2001-12-18 Thorsten Kukuk <kukuk@suse.de> | |
1116 | ||
1117 | * sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard | |
1118 | conforming: return EBADF if file descriptor is invalid and EINVAL | |
1119 | if file descriptor is no valid tty. | |
1120 | * login/tst-grantpt.c: New file. | |
1121 | * login/Makefile (tests): Add tst-grantpt. | |
1122 | ||
46089c83 UD |
1123 | 2001-12-17 Ulrich Drepper <drepper@redhat.com> |
1124 | ||
1125 | * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir | |
1126 | different than implemented in last patch. | |
1127 | * io/bug-ftw3.c: Adjust test for changed handling of | |
1128 | inaccessibility of toplevel dir. | |
1129 | ||
a51751c2 RM |
1130 | 2001-12-16 Roland McGrath <roland@frob.com> |
1131 | ||
79dbd981 RM |
1132 | * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal. |
1133 | * grp/initgroups.c (internal_getgrouplist): Likewise. | |
1134 | ||
ca18306b RM |
1135 | * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after |
1136 | `default:' to silence new GCC warning. | |
1137 | Rewrite cast of lvalue to silence new GCC warning. | |
1138 | ||
1139 | * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm. | |
1140 | ||
a51751c2 RM |
1141 | * sysdeps/mach/hurd/spawni.c: New file, by me with a |
1142 | couple fixes by Neal H Walfield <neal@cs.uml.edu>. | |
1143 | ||
0ce9cf88 UD |
1144 | 2001-12-14 Ulrich Drepper <drepper@redhat.com> |
1145 | ||
638621af | 1146 | * sysdeps/generic/strstr.c (strstr): Update. New optimized version. |
8eadd4f3 | 1147 | Patch by Stephen R. van den Berg. |
638621af | 1148 | |
0ce9cf88 UD |
1149 | * crypt/md5.h: Define md5_uintptr. |
1150 | ||
13c5a442 UD |
1151 | 2001-12-13 Ulrich Drepper <drepper@redhat.com> |
1152 | ||
2e22fed2 UD |
1153 | * libio/tst_swprintf.c (main): Add test for string argument with |
1154 | zero precision. | |
30bce7b6 | 1155 | * stdio-common/Makefile (tests): Add tst-sprintf. |
13c5a442 UD |
1156 | * stdio-common/tst-sprintf.c: New file. |
1157 | ||
1158 | 2001-12-13 Andreas Schwab <schwab@suse.de> | |
1159 | ||
1160 | * stdio-common/vfprintf.c (process_string_arg): Correctly handle | |
1161 | zero precision with wide character string format. | |
1162 | ||
9b63f5b4 UD |
1163 | 2001-12-13 Thorsten Kukuk <kukuk@suse.de> |
1164 | ||
1165 | * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID, | |
1166 | but have a user supplied buffer, return the empty buffer, not NULL. | |
1167 | ||
0838e0b9 UD |
1168 | 2001-12-13 Ulrich Drepper <drepper@redhat.com> |
1169 | ||
1170 | * crypt/md5.c (md5_process_bytes): Correct handling of alignment. | |
1171 | Patch by Eric Sharkey <sharkey@netrics.com>. | |
1172 | ||
1173 | * crypt/md5test.c (main): Add test for multiple calls to | |
1174 | __md5_process_bytes to itererate over input string. | |
1175 | ||
495818ce UD |
1176 | 2001-12-12 Ulrich Drepper <drepper@redhat.com> |
1177 | ||
1178 | * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code | |
1179 | from __nis_findfastest. Take timeout value from parameter. | |
1180 | (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly. | |
7afc5947 UD |
1181 | * nis/nis_intern.h: Define parameters controlling __nis_findfastest |
1182 | [PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>. | |
495818ce | 1183 | |
35cd3c97 AJ |
1184 | 2001-12-12 Andreas Jaeger <aj@suse.de> |
1185 | ||
1186 | * configure.in: Use -nostartfiles -nostdlib for linker tests, fix | |
1187 | combreloc test so that it works in this case. | |
1188 | ||
495818ce | 1189 | * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch. |
35cd3c97 | 1190 | |
2bfe5fd1 UD |
1191 | 2001-12-12 NIIBE Yutaka <gniibe@m17n.org> |
1192 | ||
1193 | * sysdeps/sh/Makefile: New file. | |
1194 | * sysdeps/sh/_mcount.S: New file. | |
1195 | * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented. | |
1196 | * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready. | |
1197 | ||
88a96b81 UD |
1198 | 2001-12-11 Ulrich Drepper <drepper@redhat.com> |
1199 | ||
1200 | * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS | |
1201 | limitation [PR libc/2564]. | |
1202 | ||
32e6df36 UD |
1203 | 2001-12-11 Jakub Jelinek <jakub@redhat.com> |
1204 | ||
1205 | * elf/Makefile (dl-routines): Add conflict. | |
1206 | (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove. | |
1207 | (ld.so): Add _begin local symbol. | |
1208 | * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM): | |
1209 | Define. | |
1210 | * elf/dl-deps.c (_dl_build_local_scope): New. | |
1211 | (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes | |
1212 | of all libraries. | |
1213 | * elf/do-rel.h (VALIDX): Define. | |
1214 | (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do | |
1215 | lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations | |
1216 | can be skipped. | |
1217 | * elf/dl-conflict.c: New file. | |
1218 | * elf/dl-lookup.c (_dl_debug_bindings): New. | |
1219 | (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always | |
1220 | non-NULL. | |
1221 | (_dl_lookup_symbol_skip): Likewise. | |
1222 | (_dl_lookup_versioned_symbol): Likewise. | |
1223 | (_dl_lookup_versioned_symbol_skip): Likewise. | |
1224 | * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined, | |
1225 | define to ElfW(Rel). | |
1226 | * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic | |
1227 | tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI | |
1228 | ranges. | |
1229 | Don't adjust address dynamic tags if l_addr is 0. | |
1230 | * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables. | |
1231 | (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked. | |
1232 | (VALIDX, ADDRIDX): Define. | |
1233 | (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end. | |
1234 | (dl_main): Print library list for LD_TRACE_PRELINKING. | |
1235 | If prelinking information can be used, skip relocating libraries and | |
1236 | call _dl_resolve_conflicts instead. | |
1237 | (process_envvars): Handle LD_TRACE_PRELINKING envvar. | |
1238 | * elf/dl-load.c (_dl_map_object): Don't create fake libs | |
1239 | if LD_TRACE_PRELINKING. | |
1240 | * include/link.h (struct link_map) [l_info]: Add DT_VALNUM | |
1241 | + DT_ADDRNUM. | |
1242 | * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration. | |
1243 | (DL_DEBUG_PRELINK): Define. | |
1244 | (_dl_resolve_conflicts): Add prototype. | |
1245 | ||
1246 | * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize | |
1247 | .plt for prelinked libraries where prelinking info cannot be used. | |
1248 | (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict | |
1249 | section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map. | |
1250 | * sysdeps/arm/bits/link.h: New file. | |
1251 | * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original | |
1252 | content of .got[1]. | |
1253 | (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. | |
1254 | (ELF_MACHINE_PLT_REL): Define. | |
1255 | (elf_machine_rela, elf_machine_rela_relative): New. | |
1256 | (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead | |
1257 | of adjusting it if prelinked and prelinking cannot be used. | |
1258 | * sysdeps/i386/bits/link.h: New file. | |
1259 | * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original | |
1260 | content of .got[1]. | |
1261 | (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. | |
1262 | (ELF_MACHINE_PLT_REL): Define. | |
1263 | (elf_machine_rela, elf_machine_rela_relative): New. | |
1264 | (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead | |
1265 | of adjusting it if prelinked and prelinking cannot be used. | |
1266 | * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating | |
1267 | conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP | |
1268 | to find out map for R_PPC_JMP_SLOT relocs. | |
1269 | * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define. | |
1270 | (OPCODE_BA): Define. | |
1271 | (elf_machine_runtime_setup): Reinitialize .plt for prelinked | |
1272 | libraries where prelinking info cannot be used. | |
1273 | (sparc_fixup_plt): Renamed from elf_machine_fixup_plt. | |
1274 | (elf_machine_fixup_plt): Call sparc_fixup_plt. | |
1275 | (elf_machine_rela): Set value to 0 if relocating conflicts. | |
1276 | Call sparc_fixup_plt for R_SPARC_JMP_SLOT. | |
1277 | * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define. | |
1278 | (sparc64_fixup_plt): Fix a typo. | |
1279 | (elf_machine_rela): Set value to 0 if relocating conflicts. | |
1280 | Handle R_SPARC_JMP_SLOT relocs when relocating conflicts. | |
1281 | (elf_machine_runtime_setup): Reinitialize .plt for prelinked | |
1282 | libraries where prelinking info cannot be used. | |
1283 | * sysdeps/sh/bits/link.h: New file. | |
1284 | * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original | |
1285 | content of .got[1]. | |
1286 | (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead | |
1287 | of adjusting it if prelinked and prelinking cannot be used. | |
1288 | * sysdeps/s390/s390-32/bits/link.h: New file. | |
1289 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): | |
1290 | Save original content of .got[1]. | |
1291 | (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead | |
1292 | of adjusting it if prelinked and prelinking cannot be used. | |
1293 | * sysdeps/s390/s390-64/bits/link.h: New file. | |
1294 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup): | |
1295 | Save original content of .got[1]. | |
1296 | (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead | |
1297 | of adjusting it if prelinked and prelinking cannot be used. | |
1298 | * sysdeps/x86_64/bits/link.h: New file. | |
1299 | * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): | |
1300 | Save original content of .got[1]. | |
1301 | (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead | |
1302 | of adjusting it if prelinked and prelinking cannot be used. | |
1303 | ||
4be601a1 UD |
1304 | 2001-12-11 Ulrich Drepper <drepper@redhat.com> |
1305 | ||
1306 | * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof | |
1307 | where appropriate instead of numbers. Little optimizations. | |
1308 | ||
4b08e10a RM |
1309 | 2001-12-10 Roland McGrath <roland@frob.com> |
1310 | ||
a4969614 RM |
1311 | * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never |
1312 | set it. | |
1313 | ||
c3853534 RM |
1314 | * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default |
1315 | set to GLIBC_2.2.5, not GLIBC_2.2.4. | |
1316 | ||
4b08e10a RM |
1317 | * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): |
1318 | Fix conditionals so this is set by default for stdio and not for libio. | |
1319 | * sysdeps/mach/hurd/configure: Regenerated. | |
1320 | ||
1b113598 UD |
1321 | 2001-12-10 Thorsten Kukuk <kukuk@suse.de> |
1322 | ||
1323 | * io/ftw.c (ftw_startup): Check, if the path is search and readable. | |
1324 | ||
870a4e12 UD |
1325 | 2001-12-10 Ulrich Drepper <drepper@redhat.com> |
1326 | ||
1b113598 UD |
1327 | * io/Makefile (tests): Add bug-ftw3. |
1328 | * io/bug-ftw3.c: New file. | |
1329 | ||
870a4e12 UD |
1330 | * sysdeps/generic/glob.c (glob): Return only pattern if nothing |
1331 | matches and GLOB_NOCHECK is set. | |
1332 | * posix/globtest.sh: Correct expected result for NOCHECK test. | |
1333 | ||
1334 | * po/ca.po: Update from translation team. | |
1335 | ||
47e8b443 UD |
1336 | 2001-12-09 Ulrich Drepper <drepper@redhat.com> |
1337 | ||
1338 | Implement transliteration of characters in strings of the locale | |
1339 | definitions. | |
1340 | * locale/programs/linereader.c: Adjust for additional parameter to | |
1341 | lr_token. | |
1342 | (get_string): If character <Uxxxx> is not found try to transliterate | |
1343 | it. | |
1344 | * locale/programs/ld-ctype.c: Adjust for additional parameter to | |
1345 | lr_token. Add const to charmap parameter of all functions. | |
1346 | (find_translit, find_translit2): New functions. | |
1347 | * locale/programs/charmap.c: Adjust for additional parameter to | |
1348 | lr_token. | |
1349 | * locale/programs/repertoire.c: Likewise. | |
1350 | * locale/programs/linereader.h: Likewise. | |
1351 | * locale/programs/ld-address.c: Likewise. Add const to charmap | |
1352 | parameter of all functions. | |
1353 | * locale/programs/ld-collate.c: Likewise. | |
1354 | * locale/programs/ld-identification.c: Likewise. | |
1355 | * locale/programs/ld-measurement.c: Likewise. | |
1356 | * locale/programs/ld-messages.c: Likewise. | |
1357 | * locale/programs/ld-monetary.c: Likewise. | |
1358 | * locale/programs/ld-name.c: Likewise. | |
1359 | * locale/programs/ld-numeric.c: Likewise. | |
1360 | * locale/programs/ld-paper.c: Likewise. | |
1361 | * locale/programs/ld-paper.c: Likewise. | |
1362 | * locale/programs/ld-telephone.c: Likewise. | |
1363 | * locale/programs/ld-time.c: Likewise. | |
1364 | * locale/programs/locfile.c: Likewise. | |
1365 | * locale/programs/localedef.c: Likewise. | |
1366 | * locale/programs/localedef.h: Likewise. | |
1367 | * locale/programs/locfile.h: Likewise. Add declaration for | |
1368 | find_translit. | |
1369 | * locale/programs/simple-hash.c: Add const to first parameter of | |
1370 | find_entry, iterate_table, and lookup. | |
1371 | * locale/programs/simple-hash.h: Likewise. | |
1372 | * locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h> | |
1373 | instead. | |
1374 | * include/locale.h: Define __LC_LAST. | |
1375 | * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION. | |
1376 | ||
ba2dfdef GK |
1377 | 2001-12-07 Geoff Keating <geoffk@redhat.com> |
1378 | ||
1379 | * sysdeps/powerpc/Dist: Update for recent FP changes. | |
1380 | * sysdeps/powerpc/fpu/Dist: Likewise. | |
1381 | ||
36855318 AS |
1382 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
1383 | ||
1384 | * sysdeps/unix/sysv/linux/opensock.c: Include <string.h>. | |
1385 | ||
6f064efa GK |
1386 | 2001-12-06 Geoff Keating <geoffk@redhat.com> |
1387 | ||
1388 | * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr | |
1389 | save/restore functions here. | |
1390 | (libm-support): Don't define these functions here. | |
1391 | * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore | |
1392 | functions here. | |
1393 | * sysdeps/powerpc/fe_nomask.c: Move to... | |
1394 | * sysdeps/powerpc/fpu/fe_nomask.c: ... here. | |
1395 | * sysdeps/powerpc/fprrest.S: Move to... | |
1396 | * sysdeps/powerpc/fpu/fprrest.S: ... here. | |
1397 | * sysdeps/powerpc/fprsave.S: Move to... | |
1398 | * sysdeps/powerpc/fpu/fprsave.S: ... here. | |
1399 | ||
23134045 UD |
1400 | 2001-12-06 Ulrich Drepper <drepper@redhat.com> |
1401 | ||
1402 | * sysdeps/unix/sysv/linux/opensock.c: New file. | |
1403 | ||
675322a5 GK |
1404 | 2001-12-06 Geoff Keating <geoffk@redhat.com> |
1405 | ||
1406 | * config.make.in (with-fp): Define from configure. | |
1407 | * configure.in: Substitute with_fp. | |
1408 | * configure: Regenerate. | |
1409 | * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is | |
1410 | specified, and don't change FPU environment. | |
1411 | ||
383bd1c5 UD |
1412 | 2001-12-06 Ulrich Drepper <drepper@redhat.com> |
1413 | ||
1414 | * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure. | |
1415 | * assert/assert.c: Check result of __asprintf call and don't use | |
1416 | string if it failed. | |
1417 | * assert/assert-perr.c: Likewise. | |
1418 | * inet/rcmd.c: Likewise. | |
1419 | * locale/programs/localedef.c (main): Check result of | |
1420 | construct_output_path and exit if it failed. | |
1421 | (construct_output_path): Check result of asprintf and mkdir calls and | |
1422 | fail if they failed. | |
1423 | * posix/getopt.c: Check result of __asprintf calls and fail if | |
1424 | they failed. | |
1425 | Patch by Dmitry V. Levin <ldv@alt-linux.org>. | |
1426 | ||
c7b4c95c UD |
1427 | 2001-12-05 Ulrich Drepper <drepper@redhat.com> |
1428 | ||
1429 | * sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance | |
1430 | patch. | |
f5e6e2ee | 1431 | * sysdeps/generic/strncase.c: Likewise. |
1e06620a | 1432 | * string/tester.c: Add tests for strcasecmp and strncasecmp. |
c7b4c95c | 1433 | |
57861839 GK |
1434 | 2001-12-05 Geoff Keating <geoffk@redhat.com> |
1435 | ||
71ede9a8 GK |
1436 | * scripts/cpp: Test the exit status from 'type', not 'awk'. |
1437 | ||
57861839 GK |
1438 | * sysdeps/powerpc/__longjmp.S: Don't restore FP registers. |
1439 | * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers. | |
1440 | * sysdeps/powerpc/setjmp.S: Don't save FP registers. | |
1441 | * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers. | |
1442 | * sysdeps/powerpc/fclrexcpt.c: Move to... | |
1443 | * sysdeps/powerpc/fpu/fclrexcpt.c: ... here. | |
1444 | * sysdeps/powerpc/fpu_control.h: Move to... | |
1445 | * sysdeps/powerpc/fpu/fpu_control.h: ... here. | |
1446 | ||
350b053a UD |
1447 | 2001-12-05 Ulrich Drepper <drepper@redhat.com> |
1448 | ||
29132b91 UD |
1449 | * iconvdata/ibm1129.h: Remove duplicate mappings. |
1450 | * iconvdata/ibm937.c: Handle overflow errors. Handle new tables. | |
1451 | * iconvdata/ibm937.h: Reorganize table to safe a lot of space. | |
1452 | Patch by Masahide Washizawa <WASHI@jp.ibm.com>. | |
1453 | ||
1454 | * timezone/zic.c: Fix handling of turnaround times. | |
1455 | Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>. | |
1456 | ||
1457 | 2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com> | |
1458 | ||
1459 | * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix | |
1460 | overflow problem. | |
1461 | ||
1462 | 2001-12-05 Ulrich Drepper <drepper@redhat.com> | |
1463 | ||
1464 | * posix/regex.c: For use outside glibc defined bounded pointer | |
1465 | macros here. Patch by Jim Meyering <jim@meyering.net>. | |
1466 | ||
350b053a UD |
1467 | * iconvdata/Makefile (modules): Add TCVN5712-1. |
1468 | * iconvdata/TESTS: Add TCVN5712-1. | |
1469 | * iconvdata/gconv-modules: Likewise. | |
1470 | * iconvdata/tcvn5712-1.c: New file. | |
d8031326 UD |
1471 | * iconvdata/testdata/TCVN-5712: New file. |
1472 | * iconvdata/testdata/TCVN-5712..UTF8: New file. | |
350b053a | 1473 | |
aaa19e67 UD |
1474 | 2001-12-04 Ulrich Drepper <drepper@redhat.com> |
1475 | ||
1476 | * iconvdata/cp1258.c: Optimize conversion from UCS4. | |
1477 | ||
ce944fef RM |
1478 | 2001-12-02 Roland McGrath <roland@frob.com> |
1479 | ||
c337dc4c RM |
1480 | * mach/Makefile, mach/Machrules: Move comments out of \ continuations. |
1481 | ||
4f904363 RM |
1482 | * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning. |
1483 | Reported by Jeff Bailey <jbailey@nisa.net>. | |
1484 | ||
5ca3ec06 | 1485 | * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl. |
4f904363 | 1486 | Reported by Jeff Bailey <jbailey@nisa.net>. |
5ca3ec06 | 1487 | |
ce944fef RM |
1488 | * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC). |
1489 | * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise. | |
1490 | Reported by Jeff Bailey <jbailey@nisa.net>. | |
1491 | ||
c21b1e2f RM |
1492 | 2001-12-01 Roland McGrath <roland@frob.com> |
1493 | ||
1494 | * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add | |
1495 | missing backslash in test arguments. | |
1496 | * sysdeps/mach/hurd/configure: Regenerated. | |
1497 | ||
1498 | 2001-11-26 Roland McGrath <roland@frob.com> | |
1499 | ||
1500 | * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null. | |
1501 | Reported by John Tobey <jtobey@john-edwin-tobey.org>. | |
1502 | ||
f67125e3 UD |
1503 | 2001-11-30 Ulrich Drepper <drepper@redhat.com> |
1504 | ||
1505 | * iconvdata/Makefile (modules): Add ARMSCII-8. | |
1506 | * iconvdata/gconv-modules: Add entries for ARMSCII-8. | |
1507 | * iconvdata/armscii-8.c: New file. | |
1508 | ||
096f1151 UD |
1509 | 2001-11-29 Jakub Jelinek <jakub@redhat.com> |
1510 | ||
1511 | * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces | |
1512 | don't match, fix {{a,b},c} globbing, clean up. | |
1513 | Patch by Flavio Veloso <flaviovs@magnux.com>. | |
1514 | * posix/globtest.sh: Add new tests. | |
1515 | ||
42060dad AJ |
1516 | 2001-11-29 Andreas Jaeger <aj@suse.de> |
1517 | ||
64753027 | 1518 | * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl. |
f67125e3 | 1519 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call. |
a47fd681 | 1520 | |
42060dad AJ |
1521 | * sysdeps/generic/abort.c: Include libioP.h for |
1522 | _IO_flush_all_lockp prototype. | |
1523 | ||
8343eaee UD |
1524 | 2001-11-29 Ulrich Drepper <drepper@redhat.com> |
1525 | ||
1526 | * posix/regex.h: Define __restrict_arr correctly. | |
1527 | ||
c6baa867 UD |
1528 | 2001-11-28 Ulrich Drepper <drepper@redhat.com> |
1529 | ||
03a2c647 UD |
1530 | * iconvdata/ibm1163.c: New file. |
1531 | * iconvdata/ibm1163.h: New file. | |
1532 | * iconvdata/ibm1164.c: New file. | |
1533 | * iconvdata/ibm1164.h: New file. | |
1534 | * iconvdata/TESTS: Add entries for IBM1163 and IBM1164. | |
1535 | * iconvdata/Makefile: Likewise. | |
1536 | * iconvdata/testdata/IBM1163: New file. | |
1537 | * iconvdata/testdata/IBM1163..UTF8: New file. | |
1538 | * iconvdata/testdata/IBM1164: New file. | |
1539 | * iconvdata/testdata/IBM1164..UTF8: New file. | |
1540 | Patch by Masahide Washizawa <WASHI@jp.ibm.com>. | |
1541 | ||
1542 | * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings. | |
1543 | * iconvdata/ibm1124.h: Likewise. | |
1544 | * iconvdata/ibm1132.h: Likewise. | |
1545 | * iconvdata/ibm1133.h: Likewise. | |
1546 | * iconvdata/ibm1160.h: Likewise. | |
1547 | * iconvdata/ibm1161.h: Likewise. | |
1548 | * iconvdata/ibm1162.h: Likewise. | |
1549 | * iconvdata/ibm856.h: Likewise. | |
1550 | * iconvdata/ibm922.h: Likewise. | |
1551 | * iconvdata/ibm930.h: Likewise. | |
1552 | * iconvdata/ibm932.h: Likewise. | |
1553 | * iconvdata/ibm933.h: Likewise. | |
1554 | * iconvdata/ibm935.h: Likewise. | |
1555 | * iconvdata/ibm937.h: Likewise. | |
1556 | * iconvdata/ibm939.h: Likewise. | |
1557 | * iconvdata/ibm943.h: Likewise. | |
1558 | * iconvdata/ibm930.c: Pretty printing. | |
1559 | * iconvdata/ibm937.c: Avoid access accross array boundary. | |
1560 | ||
e0e86ccb UD |
1561 | * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using |
1562 | the current locale's codeset. | |
1563 | * iconv/iconv_open.c (iconv_open): Don't strip out everything for | |
1564 | empty input string. | |
1565 | * iconv/iconv_prog.c: Pass empty strings as default value for to- | |
1566 | and from-charset. Don't determine locale's charset here. | |
1567 | ||
c6baa867 UD |
1568 | * libio/genops.c (_IO_flush_all_lockp): New function. The same code |
1569 | as the old _IO_flush_all but lock only if parameter is nonzero. | |
1570 | (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter. | |
1571 | * libio/libioP.h: Add prototype for _IO_flush_all_lockp. | |
1572 | * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0) | |
e0e86ccb | 1573 | if libio is used [PR libc/2575]. |
c6baa867 | 1574 | |
4e735c9a UD |
1575 | 2001-11-28 Jakub Jelinek <jakub@redhat.com> |
1576 | ||
1577 | * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit, | |
1578 | __signbitl): Only define for ISO C99. | |
1579 | ||
04484feb UD |
1580 | 2001-11-22 Thorsten Kukuk <kukuk@suse.de> |
1581 | ||
1582 | * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set | |
1583 | herrnop to NETDB_INTERNAL if we run out of buffer space. | |
1584 | ||
3fd13f9e UD |
1585 | 2001-11-28 Ulrich Drepper <drepper@redhat.com> |
1586 | ||
1587 | * nss/nss_files/files-XXX.c (internal_getent): Correct input | |
1588 | overflow test for platforms with signed char. | |
1589 | Reported by Andrew Haley <aph@cambridge.redhat.com>. | |
1590 | ||
cd0392d8 UD |
1591 | 2001-11-28 Bruno Haible <bruno@clisp.org> |
1592 | ||
1593 | * locale/programs/simple-hash.c (lookup_2): Remove function. | |
1594 | (insert_entry_2): Call lookup instead of lookup_2. | |
1595 | ||
0555fcce UD |
1596 | 2001-03-04 Bruno Haible <bruno@clisp.org> |
1597 | ||
1598 | * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally. | |
1599 | ||
1600 | 2001-10-31 Bruno Haible <bruno@clisp.org> | |
1601 | ||
1602 | * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc. | |
1603 | ||
1604 | 2001-03-21 Bruno Haible <bruno@clisp.org> | |
1605 | ||
1606 | * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc | |
1607 | chokes on empty macro arguments. | |
1608 | * intl/plural.y: Add #pragma for alloca on AIX 3. | |
1609 | ||
1610 | 2001-11-27 Ulrich Drepper <drepper@redhat.com> | |
1611 | ||
1612 | * intl/dcigettext.c (guess_category_value): Only implement for | |
1613 | glibc. Otherwise rely on function _nl_locale_name which isn't | |
1614 | present in the glibc sources. | |
1615 | ||
1616 | 2001-09-24 Bruno Haible <bruno@clisp.org> | |
1617 | ||
1618 | * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable | |
1619 | transliteration when building on a glibc system but outside glibc. | |
1620 | ||
1621 | 2001-09-22 Bruno Haible <bruno@clisp.org> | |
1622 | ||
1623 | * intl/plural-eval.c: New file, extracted from dcigettext.c. | |
1624 | * intl/dcigettext.c (plural_eval): Remove function, moved to | |
1625 | intl/plural-eval.c. | |
1626 | (plural_lookup): Call PLURAL_EVAL instead of plural_eval. | |
1627 | Include plural-eval.c. | |
1628 | ||
1629 | 2001-09-22 Bruno Haible <bruno@clisp.org> | |
1630 | ||
1631 | * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that | |
1632 | don't start with a digit; nplurals must be positive. | |
1633 | ||
1634 | 2001-09-02 Bruno Haible <bruno@clisp.org> | |
1635 | ||
1636 | * intl/plural-exp.h: New file, extracted from gettextP.h. | |
1637 | * intl/plural-exp.c: New file, extracted from loadmsgcat.c. | |
1638 | * intl/gettextP.h (struct expression, struct parse_args, | |
1639 | __gettext_free_exp, __gettextparse): Move to plural-exp.h. | |
1640 | * intl/loadmsgcat.c: Include plural-exp.h. | |
1641 | (PLURAL_PARSE): Move macro to plural-exp.h. | |
1642 | (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to | |
1643 | plural-exp.c. | |
1644 | (_nl_load_domain): Move plural handling code to plural-exp.c. Call | |
1645 | EXTRACT_PLURAL_EXPRESSION. | |
1646 | (_nl_unload_domain): Update. | |
1647 | * intl/dcigettext.c: Include plural-exp.h. | |
1648 | * intl/plural.y: Include plural-exp.h, not gettextP.h. | |
1649 | (FREE_EXPRESSION): Move macro to plural-exp.h. | |
1650 | * intl/Makefile (routines): Add plural-exp. | |
1651 | (distribute): Add plural-exp.h. | |
1652 | ||
1653 | 2001-07-28 Bruno Haible <bruno@clisp.org> | |
1654 | ||
1655 | * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, | |
1656 | isdigit, tolower argument to 'unsigned char'. | |
1657 | * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to | |
1658 | 'unsigned char'. | |
1659 | * intl/localealias.c (read_alias_file): Cast isspace argument to | |
1660 | 'unsigned char'. | |
1661 | ||
1662 | 2001-10-20 Bruno Haible <bruno@clisp.org> | |
1663 | ||
1664 | Assume strchr() exists. (Without it, intl/explodename.c wouldn't link | |
1665 | anyway.) | |
1666 | * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts | |
1667 | with the variable 'index' in plural_lookup. | |
1668 | * intl/l10nflist.c (strchr): Likewise. | |
1669 | * intl/localealias.c (strchr): Likewise. | |
1670 | ||
1671 | Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist. | |
1672 | * intl/bindtextdom.c: Likewise. | |
1673 | * intl/dcigettext.c: Likewise. | |
1674 | * intl/dgettext.c: Likewise. | |
1675 | * intl/dngettext.c: Likewise. | |
1676 | * intl/explodename.c: Likewise. | |
1677 | * intl/finddomain.c: Likewise. | |
1678 | * intl/gettext.c: Likewise. | |
1679 | * intl/l10nflist.c: Likewise. | |
1680 | * intl/loadmsgcat.c: Likewise. | |
1681 | * intl/localealias.c: Likewise. | |
1682 | * intl/ngettext.c: Likewise. | |
1683 | * intl/textdomain.c: Likewise. | |
1684 | * intl/gettext.h: Assume <limits.h> exists. | |
1685 | ||
8a207204 UD |
1686 | 2001-11-27 Ulrich Drepper <drepper@redhat.com> |
1687 | ||
1688 | * stdio-common/Makefile (tests): Add scanf11. | |
1689 | * stdio-common/scanf11.c: New file. | |
1690 | ||
120aad54 UD |
1691 | 2001-11-26 Ulrich Drepper <drepper@redhat.com> |
1692 | ||
1693 | * version.h (RELEASE): Define as development. | |
1694 | (VERSION): Set to 2.2.90. | |
1695 | ||
1696 | 2001-11-22 Thorsten Kukuk <kukuk@suse.de> | |
1697 | ||
1698 | * nis/nss_compat/compat-grp.c: Print group id as unsigned long. | |
1699 | * nis/nss_nis/nis-grp.c: Likewise. | |
1700 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
1701 | ||
1702 | * nis/nss_compat/compat-pwd.c: Print user id as unsigned long. | |
1703 | * nis/nss_nis/nis-pwd.c: Likewise. | |
1704 | * nis/nss_nisplus/nisplus-pwd.c: Likewise. | |
1705 | ||
1706 | * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi. | |
1707 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
1708 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
1709 | ||
1710 | * nscd/grpcache.c: Use strtoul instead of atol. | |
1711 | * nscd/pwdcache.c: Likewise. | |
1712 | * nss/getent.c: Likewise. | |
1713 | ||
1714 | 2001-11-27 Paul Eggert <eggert@twinsun.com> | |
1715 | ||
1716 | * sysdeps/posix/tempname.c (__gen_tempname): Try at least | |
1717 | ATTEMPTS_MIN or TMP_MAX times, whichever is greater. | |
1718 | ||
1719 | 2001-11-19 Bruno Haible <bruno@clisp.org> | |
1720 | ||
1721 | * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not | |
1722 | 90%. | |
1723 | (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically | |
1724 | improves the quality of the hash function, especially for short | |
1725 | strings. | |
1726 | ||
f4efd068 UD |
1727 | 2001-11-26 Ulrich Drepper <drepper@redhat.com> |
1728 | ||
1729 | * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings | |
1730 | are found call conv_error and not input_error [PR libc/2669]. | |
1731 | ||
1732 | * math/bits/mathcalls.h: Mark ceil and floor as const. | |
1733 | Reported by David Mosberger. | |
1734 | ||
1735 | 2001-11-21 Jim Meyering <meyering@lucent.com> | |
1736 | ||
1737 | * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]: | |
1738 | Define to be __-prefixed. | |
1739 | Remove unnecessary duplication in `#ifdef _LIBC' blocks. | |
1740 | ||
dd09c3dc AJ |
1741 | 2001-11-26 Andreas Jaeger <aj@suse.de> |
1742 | ||
1743 | * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias, | |
1744 | avoid warning. | |
1745 | ||
60a06b7c AJ |
1746 | 2001-11-26 Stephen L Moshier <moshier@mediaone.net> |
1747 | ||
1748 | * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in | |
1749 | initialization. | |
1750 | ||
1751 | * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove | |
1752 | unused variables. Fix threshold for returning 1.0. | |
1753 | ||
1754 | * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify | |
1755 | argument. | |
1756 | ||
1757 | * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and | |
1758 | remove unused variables. | |
1759 | ||
1760 | * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise. | |
1761 | ||
1762 | * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and | |
1763 | include local math header files. | |
1764 | ||
91eaf586 AJ |
1765 | 2001-11-22 Andreas Jaeger <aj@suse.de> |
1766 | ||
1767 | * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to | |
1768 | avoid warning. | |
1769 | ||
d987f926 AJ |
1770 | 2001-11-21 Andreas Jaeger <aj@suse.de> |
1771 | ||
1772 | * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file. | |
1773 | ||
1774 | * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add | |
1775 | sys/debugreg.h | |
1776 | ||
df0a1a7f AJ |
1777 | 2001-11-15 Andreas Jaeger <aj@suse.de> |
1778 | ||
1779 | * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for | |
1780 | compilers that support it. | |
1781 | ||
1782 | * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. | |
1783 | * sysdeps/unix/sysv/linux/bits/types.h: Likewise. | |
1784 | * stdlib/stdlib.h: Likewise. | |
1785 | ||
a41179fd UD |
1786 | 2001-11-17 Ulrich Drepper <drepper@redhat.com> |
1787 | ||
1788 | * posix/regex.c (byte_re_match_2_internal): For gcc replace switch | |
1789 | statement with gotos. | |
1790 | Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>. | |
1791 | ||
1792 | 2001-11-16 Stephen L Moshier <moshier@mediaone.net> | |
c83a3aeb AJ |
1793 | |
1794 | * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header. | |
1795 | ||
5ff4a0aa UD |
1796 | 2001-11-15 Ulrich Drepper <drepper@redhat.com> |
1797 | ||
1798 | * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes. | |
1799 | ||
74bd2300 UD |
1800 | 2001-10-02 Jakub Jelinek <jakub@redhat.com> |
1801 | H.J. Lu <hjl@gnu.org> | |
1802 | ||
1e06620a | 1803 | * Versions.def (libc): Add GCC_3.0. |
74bd2300 UD |
1804 | * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc |
1805 | if gcc supports this flag. | |
1806 | (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it. | |
1807 | (gcc3): Allow glibc to be compiled with gcc 3.x. | |
1808 | * config.h.in (EXPORT_UNWIND_FIND_FDE): Add. | |
1809 | * config.make.in (static-libgcc, unwind-find-fde): Add. | |
1810 | * Makerules (build-shlib-helper, build-module-helper): Use it. | |
1811 | * scripts/versions.awk: Make sure GLIBC_ versions come first. | |
1812 | * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if | |
1813 | necessary. | |
1814 | (_fini): Call __deregister_frame_info_bases if | |
1815 | __register_frame_info_bases was used to register. | |
1816 | * elf/Versions (__register_frame_info, __deregister_frame_info): Add | |
1817 | for GLIBC_2.0. | |
1818 | (__register_frame_info_bases, __register_frame_info_table_bases, | |
1e06620a | 1819 | __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0. |
74bd2300 UD |
1820 | * elf/Makefile (routines): Add unwind-dw2-fde. |
1821 | (shared-only-routines): Add unwind-dw2-fde. | |
1822 | * sysdeps/alpha/gccframe.h: New file. | |
1823 | * sysdeps/arm/gccframe.h: New file. | |
1824 | * sysdeps/generic/framestate.c: New file. | |
1825 | * sysdeps/generic/dwarf2.h: New file. | |
1826 | * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0. | |
1827 | * sysdeps/generic/unwind-dw2-fde.c: New file. | |
1828 | * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file. | |
1829 | * sysdeps/generic/unwind-dw2-fde.h: New file. | |
1830 | * sysdeps/generic/unwind-dw2.c: New file. | |
1831 | * sysdeps/generic/unwind-pe.h: New file. | |
1832 | * sysdeps/generic/unwind.h: New file. | |
1833 | * sysdeps/hppa/gccframe.h: New file. | |
1834 | * sysdeps/i386/gccframe.h: New file. | |
1835 | * sysdeps/m68k/gccframe.h: New file. | |
1836 | * sysdeps/mips/gccframe.h: New file. | |
1837 | * sysdeps/powerpc/gccframe.h: New file. | |
1838 | * sysdeps/s390/gccframe.h: New file. | |
1839 | * sysdeps/sh/gccframe.h: New file. | |
1840 | * sysdeps/sparc/gccframe.h: New file. | |
1841 | * sysdeps/vax/gccframe.h: New file. | |
1842 | * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): | |
1843 | Set on all architectures except ia64. | |
1844 | * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set | |
1845 | for i386. | |
1846 | * sysdeps/mach/hurd/i386/Versions (__register_frame_info, | |
1847 | __deregister_frame_info): Move to elf/Versions. | |
1848 | * sysdeps/unix/sysv/linux/m68k/Versions: Likewise. | |
1849 | * sysdeps/unix/sysv/linux/arm/Versions: Likewise. | |
1850 | * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. | |
1851 | * sysdeps/unix/sysv/linux/i386/Versions: Likewise. | |
1852 | * sysdeps/unix/sysv/linux/mips/Versions: Likewise. | |
1853 | * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. | |
1854 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. | |
1855 | * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. | |
1856 | * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. | |
1857 | * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate. | |
1858 | * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. | |
1859 | * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. | |
1860 | * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. | |
1861 | * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. | |
1862 | * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. | |
1863 | * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. | |
1864 | * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. | |
1865 | * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. | |
1866 | ||
f6b20a36 UD |
1867 | 2001-11-15 Jeff Law <law@redhat.com> |
1868 | ||
1869 | * posix/regex.c (uintptr_t): Do not provide a definition if the | |
1870 | system provided one. | |
1871 | ||
27114e20 RM |
1872 | 2001-11-13 Roland McGrath <roland@frob.com> |
1873 | ||
1874 | * stdio-common/tmpfile.c: Moved to ... | |
1875 | * sysdeps/generic/tmpfile.c: ... here. | |
1876 | * sysdeps/mach/hurd/tmpfile.c: New file. | |
1877 | ||
1878 | * hurd/fopenport.c (__fopenport): Renamed from fopenport. | |
1879 | [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie. | |
1880 | (fopenport): Define as weak alias. | |
1881 | ||
1882 | * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... | |
1883 | * libio/libioP.h: ... to here. | |
1884 | ||
f133c097 UD |
1885 | 2001-11-12 Ulrich Drepper <drepper@redhat.com> |
1886 | ||
1887 | * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over | |
1888 | program header twice. Construct list with the needed information. | |
1889 | ||
9d63abbc UD |
1890 | 2001-11-10 Ulrich Drepper <drepper@redhat.com> |
1891 | ||
e5b27fe5 UD |
1892 | * po/ca.po: Update from translation team. |
1893 | ||
9d63abbc UD |
1894 | * elf/dl-load.c (_dl_map_object_from_fd): Remove use of |
1895 | _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro. | |
1896 | * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro. | |
1897 | * elf/dl-reloc.c (_dl_relocate_object): Likewise. | |
1898 | ||
76321a25 AJ |
1899 | 2001-11-10 Andreas Jaeger <aj@suse.de> |
1900 | ||
1901 | * sysdeps/ieee754/ldbl-128/e_log2l.c: New file. | |
1902 | * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. | |
1903 | Contributed by Stephen L Moshier <moshier@mediaone.net>. | |
1904 | ||
6d5d3ae3 UD |
1905 | 2001-11-09 Ulrich Drepper <drepper@redhat.com> |
1906 | ||
1907 | * elf/dl-minimal.c (realloc): Handle NULL for first parameter | |
1908 | correctly. | |
1909 | * elf/dl-load.c (is_dst): New function. | |
1910 | (_dl_dst_count): Use is_dst to check for DST variable. | |
1911 | (_dl_dst_substitute): Likewise. | |
1912 | ||
d0bf7991 RM |
1913 | 2001-11-09 Roland McGrath <roland@frob.com> |
1914 | ||
7d0c5823 | 1915 | Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>. |
7d0c5823 RM |
1916 | * sysdeps/mach/hurd/powerpc/exc2signal.c: New file. |
1917 | * sysdeps/mach/hurd/powerpc/init-first.c: New file. | |
1918 | * sysdeps/mach/hurd/powerpc/intr-msg.h: New file. | |
1919 | * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file. | |
1920 | * sysdeps/mach/hurd/powerpc/register-dump.h: New file. | |
1921 | * sysdeps/mach/hurd/powerpc/sigreturn.c: New file. | |
1922 | * sysdeps/mach/hurd/powerpc/static-start.S: New file. | |
1923 | * sysdeps/mach/hurd/powerpc/trampoline.c: New file. | |
1924 | * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file. | |
1925 | * sysdeps/mach/hurd/powerpc/Dist: New file. | |
1926 | ||
d0bf7991 RM |
1927 | * hurd/privports.c (__get_privileged_ports): |
1928 | Only contact the proc server if necessary for this call. | |
1929 | Suggested by Neal H Walfield <neal@cs.uml.edu>. | |
1930 | Check error return for mach_port_mod_refs. | |
1931 | ||
50e79604 AS |
1932 | 2001-11-09 Andreas Schwab <schwab@suse.de> |
1933 | ||
1934 | * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file. | |
1935 | ||
d3205950 UD |
1936 | 2001-11-09 Ulrich Drepper <drepper@redhat.com> |
1937 | ||
7fd52cc8 UD |
1938 | * elf/dl-load.c (lose): Remove some unnecessary code. The new |
1939 | object is always the last in the list. | |
1940 | (_dl_map_object_from_fd): Delete code to remove from object list | |
1941 | when DF_1_NOOPEN is seen. This is done in lose. | |
d3205950 | 1942 | |
7bccbc05 UD |
1943 | 2001-11-08 Ulrich Drepper <drepper@redhat.com> |
1944 | ||
1945 | * elf/dl-object.c (_dl_new_object): Various small optimizations. | |
1946 | ||
6ed623f8 UD |
1947 | 2001-11-07 Ulrich Drepper <drepper@redhat.com> |
1948 | ||
40b07f5b UD |
1949 | * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and |
1950 | HWCAP_CHECK macro code. | |
1951 | ||
1952 | * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit. | |
1953 | Now returns MAP_FAILED on error. | |
1954 | * elf/rtld.c: Adjust caller. | |
1955 | * sysdeps/generic/dl-cache.c: Likewise. | |
1956 | * sysdeps/generic/ldsodefs.h: Adjust description. | |
1957 | ||
6ed623f8 UD |
1958 | * elf/dl-version.c (match_symbol): Optimize error handling for size. |
1959 | (_dl_check_map_versions): Likewise. | |
1960 | ||
fb0356b9 UD |
1961 | 2001-11-06 Ulrich Drepper <drepper@redhat.com> |
1962 | ||
1963 | * elf/dl-load.c (_dl_map_object_from_fd): Don't call | |
1964 | _dl_signal_error directly, always use lose. Set fd to -1 after | |
1965 | file is closed. | |
1966 | (lose): Don't call close if fd == -1. | |
1967 | ||
bd3916e8 UD |
1968 | 2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp> |
1969 | ||
1970 | * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}. | |
1971 | Also fix typo @code {mbsinit} to @code{mbsinit}. | |
1972 | ||
39b3385d UD |
1973 | 2001-11-06 Ulrich Drepper <drepper@redhat.com> |
1974 | ||
7982ecfe UD |
1975 | * elf/dl-profile.c: Replace state variable with simple flag named |
1976 | running. Remove commented-out code. | |
1977 | ||
39b3385d UD |
1978 | * elf/dl-load.c (decompose_rpath): Optimize error handling for size. |
1979 | (_dl_init_paths): Likewise. | |
1980 | (_dl_map_object_from_fd): Likewise. | |
7982ecfe | 1981 | * elf/dl-reloc.c (_dl_relocate_object): Likewise. |
39b3385d | 1982 | |
995c9bd4 RM |
1983 | 2001-11-06 Roland McGrath <roland@frob.com> |
1984 | ||
b1ac1b8c RM |
1985 | * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h |
1986 | instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h. | |
1987 | ||
995c9bd4 RM |
1988 | * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include |
1989 | sysdeps/powerpc/elf/sysdep.h. | |
1990 | Reported by Kaoru Fukui <k_fukui@highway.ne.jp>. | |
1991 | ||
3abe7c31 UD |
1992 | 2001-11-05 Ulrich Drepper <drepper@redhat.com> |
1993 | ||
3e2040c8 UD |
1994 | * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not |
1995 | speed. | |
007e4682 | 1996 | (process_envvars): Some more optimizations. |
2e8c7d64 | 1997 | * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro. |
3e2040c8 | 1998 | |
c95f3fd4 UD |
1999 | * elf/elf.h: Add dynamic tag definitions for prelinking. |
2000 | ||
2001 | * elf/rtld.c (process_envvars): Avoid using array of string pointers. | |
2002 | Rewrite code to remove environment varables for SUID binaries. | |
2003 | Small optimization in LD_PROFILE handling. | |
2004 | * sysdeps/generic/unsecvars.h: Adjust format for process_envvars | |
2005 | changes. | |
2006 | * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. | |
2007 | ||
2008 | * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset. | |
2009 | ||
ea41b926 UD |
2010 | * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable |
2011 | strings. Change type of second parameter. | |
2012 | * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype | |
2013 | for last change. | |
2014 | ||
3abe7c31 UD |
2015 | * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64. |
2016 | ||
2017 | 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk> | |
2018 | ||
2019 | * manual/string.texi: Fix typos. | |
2020 | * manual/examples/argp-ex2.c: Likewise. | |
2021 | ||
79a89641 RM |
2022 | 2001-11-05 Roland McGrath <roland@frob.com> |
2023 | ||
2024 | * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides | |
2025 | the more-specific unix/sysv/linux/powerpc file and breaks everything. | |
2026 | * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE, | |
2027 | ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET, | |
2028 | PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here | |
2029 | here, put under [__ELF__]. | |
2030 | ||
0b2b18a2 UD |
2031 | 2001-11-05 Ulrich Drepper <drepper@redhat.com> |
2032 | ||
2033 | * manual/charset.texi: Extensive editing work. | |
2034 | * manual/nss.texi: Likewise. | |
2035 | Changes by Dennis Grace <dgrace@us.ibm.com>. | |
2036 | ||
50d274e5 RM |
2037 | 2001-11-04 Roland McGrath <roland@frob.com> |
2038 | ||
2039 | * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags | |
2040 | parameter to dir_mkfile. | |
2041 | ||
fb4fb542 UD |
2042 | 2001-11-02 Jakub Jelinek <jakub@redhat.com> |
2043 | ||
2044 | * string/bits/string2.h (__strndup): If n is smaller than len, set | |
2045 | len to n + 1. | |
2046 | * string/tester.c (test_strndup): New function. | |
2047 | (main): Call it. | |
2048 | ||
2f653c01 UD |
2049 | 2001-11-01 Ulrich Drepper <drepper@redhat.com> |
2050 | ||
fb4fb542 | 2051 | * sunrpc/rpc_main.c: Optimize variable definitions a bit. |
5f73e771 | 2052 | |
980c4d04 UD |
2053 | * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls. |
2054 | * scripts/cpp: New file. | |
2055 | ||
2f653c01 UD |
2056 | * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB |
2057 | for rtld_search_dirs content. Minor optimizations. | |
2058 | ||
95589177 UD |
2059 | 2001-10-31 Ulrich Drepper <drepper@redhat.com> |
2060 | ||
2061 | * elf/dl-load.c (_dl_map_object): Make code a bit more compact by | |
2062 | avoiding unnecessary duplication. | |
2063 | ||
2064 | 2001-10-31 Jakub Jelinek <jakub@redhat.com> | |
2065 | ||
2066 | * elf/dl-load.c (_dl_map_object): If library was found using | |
2067 | LD_LIBRARY_PATH, don't try RUNPATH list. | |
2068 | ||
a8128923 UD |
2069 | 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2070 | ||
3abe7c31 | 2071 | * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP): |
a8128923 | 2072 | Correct second argument of register_dump call. |
3abe7c31 | 2073 | * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP): |
a8128923 UD |
2074 | Likewise. |
2075 | ||
557a9213 UD |
2076 | 2001-10-31 Ulrich Drepper <drepper@redhat.com> |
2077 | ||
2078 | * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162 | |
2079 | modules. | |
2080 | * iconvdata/TESTS: Likewise. | |
2081 | * iconvdata/gconv-modules: Likewise. | |
2082 | * iconvdata/ibm1132.c: New file. | |
2083 | * iconvdata/ibm1132.h: New file. | |
2084 | * iconvdata/ibm1133.c: New file. | |
2085 | * iconvdata/ibm1133.h: New file. | |
2086 | * iconvdata/ibm1162.c: New file. | |
2087 | * iconvdata/ibm1162.h: New file. | |
2088 | * iconvdata/testdata/IBM1132: New file. | |
2089 | * iconvdata/testdata/IBM1132..UTF8: New file. | |
2090 | * iconvdata/testdata/IBM1133: New file. | |
2091 | * iconvdata/testdata/IBM1133..UTF8: New file. | |
2092 | * iconvdata/testdata/IBM1162: New file. | |
2093 | * iconvdata/testdata/IBM1162..UTF8: New file. | |
2094 | Patches by Masahide Washizawa <WASHI@jp.ibm.com>. | |
2095 | ||
2096 | * string/string.h: Fix typo in comment. | |
2097 | * wcsmbs/wchar.h: Likewise. | |
2098 | ||
2099 | 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk> | |
2100 | ||
2101 | * manual/getopt.texi (getopt_long, getopt_long_only): Include | |
2102 | const in type of longopts parameter. | |
2103 | ||
1d052247 AJ |
2104 | 2001-10-29 Andreas Jaeger <aj@suse.de> |
2105 | ||
557a9213 | 2106 | * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions. |
1d052247 | 2107 | |
95589177 | 2108 | 2001-10-29 Kevin Ryde <user42@zip.com.au> |
d075e3ef | 2109 | |
557a9213 | 2110 | * manual/stdio.texi (Integer Conversions): Corrections to sample printf |
d075e3ef AJ |
2111 | output, clarify `#' behaviour on 0. |
2112 | (Floating-Point Conversions): Clarify that %g only uses %e when | |
2113 | the exponent would be greater than 1. | |
2114 | ||
ec448f66 RM |
2115 | 2001-10-28 Roland McGrath <roland@frob.com> |
2116 | ||
d3b82fcc RM |
2117 | Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>. |
2118 | * sysdeps/mach/powerpc/machine-sp.h: New file. | |
2119 | * sysdeps/mach/powerpc/sysdep.h: New file. | |
2120 | * sysdeps/mach/powerpc/thread_state.h: New file. | |
2121 | ||
2122 | * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ... | |
2123 | * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can | |
2124 | expect to need the same thing on every platform. | |
2125 | ||
2126 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ... | |
2127 | * sysdeps/generic/sys/ucontext.h: ... to replace this one. | |
2128 | ||
ab0a3efc RM |
2129 | * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG, |
2130 | ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, | |
2131 | DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): | |
2132 | Move all these assembly-related definitions to ... | |
2133 | * sysdeps/powerpc/elf/sysdep.h: ... this new file. | |
2134 | ||
2135 | * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten | |
2136 | by Peter Bruin <pjbruin@dds.nl>. | |
2137 | ||
ec448f66 RM |
2138 | * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when |
2139 | packing results for a `poll' call. | |
2140 | ||
ca6c7389 UD |
2141 | 2001-10-26 Ulrich Drepper <drepper@redhat.com> |
2142 | ||
be29c482 UD |
2143 | * posix/fnmatch_loop.c: Recognize - at end of bracket expression |
2144 | correctly. | |
95eaff64 UD |
2145 | * posix/tst-fnmatch.input: Add tests for - at beginning and end of |
2146 | bracket expression. | |
be29c482 | 2147 | |
ca6c7389 UD |
2148 | * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get |
2149 | nrules value. | |
95eaff64 | 2150 | * string/tst-strxfrm.c (test): Also test __strxfrm_l. |
ca6c7389 UD |
2151 | |
2152 | 2001-10-24 H.J. Lu <hjl@gnu.org> | |
2153 | ||
2154 | * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *. | |
2155 | Use __BEGIN_DECLS/__END_DECLS around prototypes. | |
2156 | * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise. | |
2157 | ||
2158 | 2001-10-21 Jim Meyering <meyering@lucent.com> | |
2159 | ||
2160 | * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, | |
2161 | this code would end up calling gettext even in packages built | |
2162 | with --disable-nls. | |
2163 | * posix/getopt.c (_): Likewise. | |
2164 | * posix/regex.c (_): Likewise. | |
2165 | ||
2166 | 2001-10-26 Ulrich Drepper <drepper@redhat.com> | |
2167 | ||
2168 | * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse | |
2169 | lookup not ip6.int. | |
2170 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. | |
2171 | Reported by Martin.v.Loewis@t-online.de [PR libc/2598]. | |
2172 | ||
2173 | 2001-10-19 Jakub Jelinek <jakub@redhat.com> | |
2174 | ||
2175 | * misc/sys/cdefs.h (__attribute_used__): Define. | |
2176 | * elf/rtld.c (_dl_start): Add __attribute_used__. | |
2177 | * elf/dl-runtime.c (fixup, profile_fixup): Likewise. | |
2178 | ||
a5fcd166 AS |
2179 | 2001-10-25 Andreas Schwab <schwab@suse.de> |
2180 | ||
2181 | * stdlib/a64l.c: Expect least significant digit first. | |
2182 | * stdlib/l64a.c: Produce least significant digit first. | |
2183 | * stdlib/Makefile (tests): Add test-a64l. | |
2184 | * stdlib/test-a64l.c: New file. | |
2185 | Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>. | |
2186 | ||
412420ee UD |
2187 | 2001-10-21 Ulrich Drepper <drepper@redhat.com> |
2188 | ||
2189 | * po/sk.po: Update from translation team. | |
2190 | ||
fceffbe0 UD |
2191 | 2001-10-18 Ulrich Drepper <drepper@redhat.com> |
2192 | ||
2193 | * sysdeps/i386/elf/start.S (_fp_hw): Define object type. | |
2194 | ||
303f1335 AS |
2195 | 2001-10-18 Andreas Schwab <schwab@suse.de> |
2196 | ||
2197 | * math/libm-test.inc (print_ulps): Print ulp values rounded to | |
2198 | next whole number. | |
2199 | (print_function_ulps): Likewise. | |
2200 | (print_complex_function_ulps): Likewise. | |
2201 | (print_max_error): Likewise. | |
2202 | (print_complex_max_error): Likewise. Handle ignore_max_ulp. | |
2203 | ||
9963f6ff AS |
2204 | 2001-10-16 Andreas Schwab <schwab@suse.de> |
2205 | ||
692acf37 AS |
2206 | * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl |
2207 | implementation. | |
2208 | ||
9963f6ff AS |
2209 | * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if |
2210 | BSD_SETJMP or BSD__SETJMP is defined, resp. | |
2211 | * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making | |
2212 | a tail call to __sigsetjmp that would require extending the | |
2213 | caller's frame. | |
2214 | * sysdeps/m68k/bsd-_setjmp.c: Likewise. | |
2215 | * sysdeps/m68k/bsd-setjmp.S: Deleted. | |
2216 | * sysdeps/m68k/bsd-_setjmp.S: Deleted. | |
2217 | Reported by Jes Sorensen <jes@trained-monkey.org>. | |
2218 | ||
5d964acf AJ |
2219 | 2001-10-16 Andreas Jaeger <aj@suse.de> |
2220 | ||
2221 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix | |
fceffbe0 UD |
2222 | parentheses. Reported by David Byron <dbyron@porto.coactive.com>, |
2223 | close PR libc/2589. | |
5d964acf | 2224 | |
3a0b7473 UD |
2225 | 2001-10-15 Ulrich Drepper <drepper@redhat.com> |
2226 | ||
2227 | * po/ca.po: New file. Contributed by the translation team. | |
2228 | ||
5d964acf | 2229 | 2001-10-15 Ralf Baechle <ralf@gnu.org> |
ee88e457 | 2230 | |
3a0b7473 UD |
2231 | * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype |
2232 | a varargs prototype. Remove dependency from kernel header files. | |
ee88e457 AJ |
2233 | |
2234 | * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use | |
2235 | __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. | |
2236 | ||
1f5649f8 UD |
2237 | 2001-10-14 Ulrich Drepper <drepper@redhat.com> |
2238 | ||
2239 | * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx | |
2240 | to generate hexadecimal identifier. | |
2241 | Patch by Jungshik Shin <jungshik.shin@yale.edu>. | |
2242 | ||
2243 | 2001-10-09 Stephen L Moshier <moshier@mediaone.net> | |
2244 | ||
2245 | * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm. | |
2246 | ||
2247 | 2001-10-14 Ulrich Drepper <drepper@redhat.com> | |
2248 | ||
2249 | * sysdeps/ieee754/ldbl-128/e_powl.c: New file. | |
2250 | * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file. | |
2251 | Contributed by Stephen L Moshier <moshier@mediaone.net>. | |
2252 | ||
2253 | * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables. | |
2254 | * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. | |
2255 | * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise | |
2256 | * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise | |
2257 | * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise | |
2258 | * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise | |
2259 | ||
2260 | * timezone/africa: Update from tzdata2001d. | |
2261 | * timezone/asia: Likewise. | |
2262 | * timezone/australasia: Likewise. | |
2263 | * timezone/backward: Likewise. | |
2264 | * timezone/europe: Likewise. | |
2265 | * timezone/leapseconds: Likewise. | |
2266 | * timezone/northamerica: Likewise. | |
2267 | * timezone/southamerica: Likewise. | |
2268 | * timezone/zone.tab: Likewise. | |
2269 | ||
2270 | 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
2271 | ||
2272 | * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef. | |
2273 | * sysdeps/s390/s390-64/sys/ucontext.h: Likewise. | |
2274 | ||
459a3163 UD |
2275 | 2001-10-12 Ulrich Drepper <drepper@redhat.com> |
2276 | ||
2277 | * elf/elf.h (PT_TLS): New definition. | |
2278 | ||
0dc87bc6 RM |
2279 | 2001-10-10 Jeff Bailey <jbailey@nisa.net> |
2280 | ||
459a3163 UD |
2281 | * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of |
2282 | bits/errno.h | |
0dc87bc6 RM |
2283 | |
2284 | 2001-10-07 Roland McGrath <roland@frob.com> | |
2285 | ||
2286 | * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS. | |
2287 | ||
1c92cebb UD |
2288 | 2001-10-10 Ulrich Drepper <drepper@redhat.com> |
2289 | ||
2290 | * elf/elf.h: Add more ELFOSABI_* constants. | |
2291 | ||
b61345a1 UD |
2292 | 2001-10-04 Ben Collins <bcollins@debian.org> |
2293 | ||
2294 | * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in | |
2295 | decleration of __need_wchar_t. | |
2296 | ||
2297 | 2001-10-03 Jakub Jelinek <jakub@redhat.com> | |
2298 | ||
2299 | * string/bits/string2.h (__strsep_g): Add prototype. | |
2300 | (__strsep): Use it. | |
2301 | * string/Versions (__strsep): Remove. | |
2302 | * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep. | |
2303 | ||
2304 | 2001-10-07 Ulrich Drepper <drepper@redhat.com> | |
2305 | ||
2306 | * manua/llio.texi: Clarify file references added by mmap. | |
2307 | Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>. | |
2308 | ||
c47e78b1 UD |
2309 | 2001-09-29 Jes Sorensen <jes@trained-monkey.org> |
2310 | ||
2311 | * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): | |
2312 | Add sc_loadrs and sc_rbs_bas to match current kernel. | |
2313 | ||
2314 | 2001-09-27 Jakub Jelinek <jakub@redhat.com> | |
2315 | ||
2316 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. | |
2317 | ||
2318 | * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf). | |
2319 | ||
2320 | 2001-09-27 Jakub Jelinek <jakub@redhat.com> | |
2321 | ||
2322 | * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded | |
2323 | object has been bumped because of relocation dependency, avoid | |
2324 | duplicates in l_scope. | |
2325 | (show_scope): Fix typos. | |
2326 | * elf/Makefile: Add rules to build and run reldep6. | |
2327 | * elf/reldep6.c: New file. | |
2328 | * elf/reldep6mod0.c: New file. | |
2329 | * elf/reldep6mod1.c: New file. | |
2330 | * elf/reldep6mod2.c: New file. | |
2331 | * elf/reldep6mod3.c: New file. | |
2332 | * elf/reldep6mod4.c: New file. | |
2333 | ||
2334 | 2001-09-26 Jakub Jelinek <jakub@redhat.com> | |
2335 | ||
2336 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call | |
2337 | sparc64_fixup_plt. | |
1c92cebb | 2338 | (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize |
c47e78b1 UD |
2339 | near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety |
2340 | for non-lazy binding. Fix .plt[32768+] handling. | |
2341 | (elf_machine_plt_value): Don't add addend. | |
2342 | (elf_machine_rela): Call sparc64_fixup_plt instead of | |
2343 | elf_machine_fixup_plt. | |
2344 | (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for | |
2345 | dynamic linker at 0xfffff800XXXXXXXX. | |
2346 | ||
2347 | * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. | |
2348 | ||
ddb96b7d UD |
2349 | 2001-09-28 Ulrich Drepper <drepper@redhat.com> |
2350 | ||
2351 | * elf/elf.h: Define SHF_GROUP and SHF_TLS. | |
2352 | ||
23ac6e3a UD |
2353 | 2001-09-25 Jakub Jelinek <jakub@redhat.com> |
2354 | ||
2355 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't | |
2356 | declare __cmsg_data field if its size would be bigger than 0. | |
2357 | (CMSG_DATA): Adjust accordingly. | |
2358 | * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. | |
2359 | * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise. | |
2360 | * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. | |
2361 | * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. | |
2362 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
2363 | * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. | |
2364 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. | |
2365 | ||
d7bc0053 UD |
2366 | 2001-09-25 Ulrich Drepper <drepper@redhat.com> |
2367 | ||
2368 | * iconvdata/TESTS: Add entries for IBM1160 and IBM1161. | |
2369 | * iconvdata/testdata/IBM1160: New file. | |
2370 | * iconvdata/testdata/IBM1160..UTF8: New file. | |
2371 | * iconvdata/testdata/IBM1161: New file. | |
2372 | * iconvdata/testdata/IBM1161..UTF8: New file. | |
2373 | Patch by Masahide Washizawa <WASHI@jp.ibm.com>. | |
2374 | ||
61423e13 UD |
2375 | 2001-09-24 Ulrich Drepper <drepper@redhat.com> |
2376 | ||
a4fe3ea6 UD |
2377 | * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in |
2378 | UL_SETFSIZE computations better. | |
2379 | ||
84e4ff7b UD |
2380 | * rt/Makefile: Remove use of filter for librt again. |
2381 | ||
61423e13 UD |
2382 | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in |
2383 | UL_SETFSIZE computations better. | |
2384 | ||
2385 | * string/Versions: Export __strsep for GLIBC_2.2.5. | |
2386 | * string/bits/string2.h: Define all __STRING_INLINE functions if | |
2387 | _FORCE_INLINES is defined. | |
2388 | Use int instead of char of parameter types. | |
2389 | (__strsep): Don't use __strsep_g. Don't define it. | |
2390 | (__strsep_1c, __strsep_2c, __strsep_3c): Optimize. | |
2391 | * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from | |
2392 | __strcpy_small. | |
2393 | (__stpcpy_a_small): Renamed from __stpcpy_small. | |
2394 | (__strcspn_c1): Don't define if _FORCE_INLINES. | |
2395 | (__strspn_c1): Likewise. | |
2396 | ||
2397 | 2001-09-22 Ben Collins <bcollins@debian.org> | |
2398 | ||
2399 | * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when | |
2400 | _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h. | |
2401 | * sysdeps/ia64/bits/sigaction.h: Likewise. | |
2402 | * sysdeps/s390/s390-64/bits/sigaction.h: Likewise. | |
2403 | ||
2404 | 2001-09-24 Andrew Haley <aph@cambridge.redhat.com> | |
2405 | ||
2406 | * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h. | |
2407 | ||
2408 | 2001-09-24 Jakub Jelinek <jakub@redhat.com> | |
2409 | ||
2410 | * elf/dl-open.c (dl_open_worker): Update l_scope_max. | |
2411 | ||
8db6604d UD |
2412 | 2001-09-24 Ulrich Drepper <drepper@redhat.com> |
2413 | ||
2414 | * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype. | |
2415 | ||
9d0881aa UD |
2416 | 2001-09-20 H.J. Lu <hjl@gnu.org> |
2417 | ||
2418 | * include/dlfcn.h (__RTLD_SPROF): New definiton. | |
2419 | * elf/dl-open.c (dl_open_worker): Return immediately after loading | |
2420 | for __RTLD_SPROF. | |
2421 | * elf/sprof.c (main): Default to the filename if soname doesn't exist. | |
8db6604d | 2422 | (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'. |
9d0881aa UD |
2423 | |
2424 | 2001-09-20 H.J. Lu <hjl@gnu.org> | |
2425 | ||
2426 | * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc, | |
2427 | don't add 1. | |
2428 | ||
2429 | 2001-09-22 Ulrich Drepper <drepper@redhat.com> | |
2430 | ||
2431 | * nss/getent.c: Accept -s parameter to overwrite rules in | |
2432 | nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>. | |
2433 | ||
2434 | * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string | |
2435 | with as many ".0" as necessary to form a complete address | |
2436 | inet_network understands. | |
2437 | ||
2438 | * nss/getent.c: Various cleanups. Use simpler and fewer function | |
2439 | calls. | |
2440 | ||
2441 | 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
2442 | ||
2443 | * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in | |
2444 | _JMPBUF_UNWINDS. | |
2445 | * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. | |
2446 | ||
2447 | 2001-09-22 Ulrich Drepper <drepper@redhat.com> | |
2448 | ||
2449 | * iconvdata/Makefile: Add rules to build and distribute IBM1160 and | |
2450 | IBM1161. | |
2451 | * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161. | |
2452 | * iconvdata/ibm1160.c: New file. | |
2453 | * iconvdata/ibm1160.h: New file. | |
2454 | * iconvdata/ibm1161.c: New file. | |
2455 | * iconvdata/ibm1161.h: New file. | |
799ea679 | 2456 | Patch by Masahide Washizawa <WASHI@jp.ibm.com>. |
9d0881aa UD |
2457 | |
2458 | 2001-09-19 Jakub Jelinek <jakub@redhat.com> | |
2459 | ||
2460 | * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the | |
2461 | difference between base address and first PT_LOAD's virtual address, | |
2462 | not the base address. | |
2463 | ||
2464 | 2001-09-11 Tom Rix <trix@redhat.com> | |
2465 | ||
2466 | * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG | |
2467 | ifdef for __getopt_clean_environment. | |
2468 | * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation. | |
2469 | ||
8101ca20 AJ |
2470 | 2001-09-22 Andreas Jaeger <aj@suse.de> |
2471 | ||
9fb957cd AJ |
2472 | * elf/reldep4.c (main): Add proper prototype to fix warning. |
2473 | ||
2474 | * elf/reldep5.c (main): Remove unused variable. | |
2475 | ||
8101ca20 AJ |
2476 | * math/math_private.h: Add prototypes. |
2477 | ||
ede503f7 AJ |
2478 | 2001-09-21 Andreas Jaeger <aj@suse.de> |
2479 | ||
9d0881aa UD |
2480 | * sysdeps/unix/sysv/linux/x86_64/Dist: New file. |
2481 | * sysdeps/x86_64/Dist: New file. | |
2482 | * sysdeps/x86_64/soft-fp/Dist: New file. | |
ede503f7 AJ |
2483 | |
2484 | * sysdeps/gnu/Dist: Remove eval.c. | |
2485 | ||
f4cc201e UD |
2486 | 2001-09-20 Ulrich Drepper <drepper@redhat.com> |
2487 | ||
d3acfb61 UD |
2488 | * malloc/memusage.c (realloc): Don't count already allocated |
2489 | memory in the sums. | |
2490 | (me): Always use dlsym() to find the real implementations. | |
0e21f776 | 2491 | |
f4cc201e UD |
2492 | * malloc/memusage.sh: Make -n option actually do something. |
2493 | ||
8bbbd5d0 AJ |
2494 | 2001-09-20 Andreas Jaeger <aj@suse.de> |
2495 | ||
2496 | * elf/elf.h (R_390_NUM): Correct value. | |
85458ce9 AJ |
2497 | |
2498 | * Versions.def: Add missing versions 2.2.3 for libthread_db and | |
2499 | libpthread. | |
2500 | ||
2501 | * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version | |
2502 | for x86-64, install x86-64 into */lib64. | |
2503 | ||
2504 | * shlib-versions: Add x86-64. | |
2505 | ||
2506 | * elf/elf.h: Add x86-64 relocations. | |
2507 | ||
8d4aaf8a UD |
2508 | 2001-09-19 Ulrich Drepper <drepper@redhat.com> |
2509 | ||
2510 | * po/fr.po: Update from translation team. | |
2511 | ||
71ad6ad2 AJ |
2512 | 2001-09-19 Andreas Jaeger <aj@suse.de> |
2513 | ||
c9cf6dde AJ |
2514 | * sysdeps/unix/sysv/linux/x86_64/Makefile: New file. |
2515 | * sysdeps/unix/sysv/linux/x86_64/Versions: New file. | |
2516 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file. | |
2517 | * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file. | |
2518 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file. | |
2519 | * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file. | |
2520 | * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file. | |
2521 | * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file. | |
2522 | * sysdeps/unix/sysv/linux/x86_64/brk.c: New file. | |
2523 | * sysdeps/unix/sysv/linux/x86_64/clone.S: New file. | |
2524 | * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file. | |
2525 | * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file. | |
2526 | * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file. | |
2527 | * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file. | |
2528 | * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file. | |
2529 | * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file. | |
2530 | * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file. | |
2531 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file. | |
2532 | * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file. | |
2533 | * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file. | |
2534 | * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file. | |
2535 | * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file. | |
2536 | * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file. | |
2537 | * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file. | |
2538 | * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file. | |
2539 | * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file. | |
2540 | * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file. | |
2541 | * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file. | |
2542 | * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file. | |
2543 | * sysdeps/unix/sysv/linux/x86_64/recv.c: New file. | |
2544 | * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file. | |
2545 | * sysdeps/unix/sysv/linux/x86_64/send.c: New file. | |
2546 | * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file. | |
2547 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file. | |
2548 | * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file. | |
2549 | * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file. | |
2550 | * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file. | |
2551 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file. | |
2552 | * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file. | |
2553 | * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file. | |
2554 | * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file. | |
2555 | * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file. | |
2556 | * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file. | |
2557 | * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file. | |
2558 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file. | |
2559 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file. | |
2560 | * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file. | |
2561 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file. | |
2562 | * sysdeps/unix/sysv/linux/x86_64/time.c: New file. | |
2563 | * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file. | |
2564 | * sysdeps/unix/sysv/linux/x86_64/umount.c: New file. | |
2565 | * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file. | |
2566 | * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file. | |
2567 | * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file. | |
2568 | * sysdeps/unix/x86_64/sysdep.S: New file. | |
2569 | * sysdeps/unix/x86_64/sysdep.h: New file. | |
2570 | * sysdeps/x86_64/Implies: New file. | |
2571 | * sysdeps/x86_64/Makefile: New file. | |
2572 | * sysdeps/x86_64/Versions: New file. | |
2573 | * sysdeps/x86_64/__longjmp.S: New file. | |
2574 | * sysdeps/x86_64/abort-instr.h: New file. | |
2575 | * sysdeps/x86_64/atomicity.h: New file. | |
2576 | * sysdeps/x86_64/bits/endian.h: New file. | |
2577 | * sysdeps/x86_64/bits/setjmp.h: New file. | |
2578 | * sysdeps/x86_64/bits/string.h: New file. | |
2579 | * sysdeps/x86_64/bp-asm.h: New file. | |
2580 | * sysdeps/x86_64/bsd-_setjmp.S: New file. | |
2581 | * sysdeps/x86_64/bsd-setjmp.S: New file. | |
2582 | * sysdeps/x86_64/dl-machine.h: New file. | |
2583 | * sysdeps/x86_64/elf/initfini.c: New file. | |
2584 | * sysdeps/x86_64/elf/start.S: New file. | |
2585 | * sysdeps/x86_64/ffs.c: New file. | |
2586 | * sysdeps/x86_64/ffsll.c: New file. | |
2587 | * sysdeps/x86_64/fpu/bits/fenv.h: New file. | |
2588 | * sysdeps/x86_64/fpu/bits/mathdef.h: New file. | |
2589 | * sysdeps/x86_64/fpu/e_acosl.c: New file. | |
2590 | * sysdeps/x86_64/fpu/e_atan2l.c: New file. | |
2591 | * sysdeps/x86_64/fpu/e_exp2l.S: New file. | |
2592 | * sysdeps/x86_64/fpu/e_expl.c: New file. | |
2593 | * sysdeps/x86_64/fpu/e_fmodl.S: New file. | |
2594 | * sysdeps/x86_64/fpu/e_log10l.S: New file. | |
2595 | * sysdeps/x86_64/fpu/e_log2l.S: New file. | |
2596 | * sysdeps/x86_64/fpu/e_logl.S: New file. | |
2597 | * sysdeps/x86_64/fpu/e_powl.S: New file. | |
2598 | * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file. | |
2599 | * sysdeps/x86_64/fpu/e_scalbl.S: New file. | |
2600 | * sysdeps/x86_64/fpu/e_sqrtl.c: New file. | |
2601 | * sysdeps/x86_64/fpu/fclrexcpt.c: New file. | |
2602 | * sysdeps/x86_64/fpu/fedisblxcpt.c: New file. | |
2603 | * sysdeps/x86_64/fpu/feenablxcpt.c: New file. | |
2604 | * sysdeps/x86_64/fpu/fegetenv.c: New file. | |
2605 | * sysdeps/x86_64/fpu/fegetexcept.c: New file. | |
2606 | * sysdeps/x86_64/fpu/fegetround.c: New file. | |
2607 | * sysdeps/x86_64/fpu/feholdexcpt.c: New file. | |
2608 | * sysdeps/x86_64/fpu/fesetenv.c: New file. | |
2609 | * sysdeps/x86_64/fpu/fesetround.c: New file. | |
2610 | * sysdeps/x86_64/fpu/fgetexcptflg.c: New file. | |
2611 | * sysdeps/x86_64/fpu/fraiseexcpt.c: New file. | |
2612 | * sysdeps/x86_64/fpu/fsetexcptflg.c: New file. | |
2613 | * sysdeps/x86_64/fpu/ftestexcept.c: New file. | |
2614 | * sysdeps/x86_64/fpu/libm-test-ulps: New file. | |
2615 | * sysdeps/x86_64/fpu/math_ldbl.h: New file. | |
2616 | * sysdeps/x86_64/fpu/printf_fphex.c: New file. | |
2617 | * sysdeps/x86_64/fpu/s_atanl.c: New file. | |
2618 | * sysdeps/x86_64/fpu/s_cosl.S: New file. | |
2619 | * sysdeps/x86_64/fpu/s_expm1l.S: New file. | |
2620 | * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file. | |
2621 | * sysdeps/x86_64/fpu/s_isinfl.c: New file. | |
2622 | * sysdeps/x86_64/fpu/s_isnanl.c: New file. | |
2623 | * sysdeps/x86_64/fpu/s_log1pl.S: New file. | |
2624 | * sysdeps/x86_64/fpu/s_logbl.c: New file. | |
2625 | * sysdeps/x86_64/fpu/s_nextafterl.c: New file. | |
2626 | * sysdeps/x86_64/fpu/s_nexttoward.c: New file. | |
2627 | * sysdeps/x86_64/fpu/s_nexttowardf.c: New file. | |
2628 | * sysdeps/x86_64/fpu/s_rintl.c: New file. | |
2629 | * sysdeps/x86_64/fpu/s_significandl.c: New file. | |
2630 | * sysdeps/x86_64/fpu/s_sincosl.S: New file. | |
2631 | * sysdeps/x86_64/fpu/s_sinl.S: New file. | |
2632 | * sysdeps/x86_64/fpu/s_tanl.S: New file. | |
2633 | * sysdeps/x86_64/gmp-mparam.h: New file. | |
2634 | * sysdeps/x86_64/hp-timing.c: New file. | |
2635 | * sysdeps/x86_64/hp-timing.h: New file. | |
2636 | * sysdeps/x86_64/htonl.S: New file. | |
2637 | * sysdeps/x86_64/memusage.h: New file. | |
2638 | * sysdeps/x86_64/setjmp.S: New file. | |
2639 | * sysdeps/x86_64/soft-fp/sfp-machine.h: New file. | |
2640 | * sysdeps/x86_64/stackinfo.h: New file. | |
2641 | * sysdeps/x86_64/sysdep.h: New file. | |
2642 | * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file. | |
2643 | ||
71ad6ad2 AJ |
2644 | * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen |
2645 | L Moshier. | |
2646 | ||
9596d0dd UD |
2647 | 2001-09-18 Ulrich Drepper <drepper@redhat.com> |
2648 | ||
2649 | * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL. | |
2650 | Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541]. | |
2651 | ||
2652 | 2001-09-18 Andreas Schwab <schwab@suse.de> | |
2653 | ||
2654 | * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope | |
2655 | list, now that l_scope is a pointer. | |
2656 | ||
2657 | * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the | |
2658 | scope list. | |
2659 | ||
2660 | 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp> | |
2661 | ||
2662 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition. | |
2663 | (elf_machine_rela_relative): Add a missing declaration. | |
2664 | ||
2665 | 2001-09-18 Jakub Jelinek <jakub@redhat.com> | |
2666 | ||
74bd2300 UD |
2667 | * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file. |
2668 | * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file. | |
9596d0dd UD |
2669 | * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390 |
2670 | ldd-rewrite scripts. | |
2671 | ||
2672 | 2001-09-18 Ulrich Drepper <drepper@redhat.com> | |
2673 | ||
2674 | * elf/ldd.bash.in: Update copyright message. | |
2675 | ||
2676 | 2001-09-17 H.J. Lu <hjl@gnu.org> | |
2677 | ||
2678 | * hurd/hurdmalloc.c (bcopy): Removed. | |
2679 | (realloc): Replace bcopy with memcpy. | |
2680 | * hurd/path-lookup.c (file_name_path_scan): Likewise. | |
2681 | * resolv/gethnamaddr.c (map_v4v6_address): Likewise. | |
2682 | * sunrpc/rpcinfo.c (pmapdump): Likewise. | |
2683 | ||
2684 | * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove. | |
2685 | (gethostbyaddr): Likewise. | |
2686 | * sunrpc/rpcinfo.c (get_inet_address): Likewise. | |
2687 | ||
2688 | 2001-09-18 Ulrich Drepper <drepper@redhat.com> | |
2689 | ||
2690 | * sysdeps/gnu/eval.c: Removed. | |
2691 | ||
51e59281 AJ |
2692 | 2001-09-18 Andreas Jaeger <aj@suse.de> |
2693 | ||
2694 | * sysdeps/i386/fpu/s_logbl.S: Move to ... | |
2695 | * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler. | |
2696 | ||
2697 | * sysdeps/i386/fpu/s_rintl.S: Move to ... | |
2698 | * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler. | |
2699 | ||
2700 | * sysdeps/i386/fpu/s_significandl.S: Move to ... | |
2701 | * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler. | |
2702 | ||
d8877d65 UD |
2703 | 2001-09-16 Ulrich Drepper <drepper@redhat.com> |
2704 | ||
d4d6b072 | 2705 | * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get |
d8877d65 UD |
2706 | nrules value. |
2707 | ||
69880d12 UD |
2708 | 2001-09-14 H.J. Lu <hjl@gnu.org> |
2709 | ||
2710 | * sysdeps/mips/fpu/libm-test-ulps: Updated. | |
2711 | ||
0991cbf6 UD |
2712 | 2001-09-14 Ulrich Drepper <drepper@redhat.com> |
2713 | ||
69880d12 UD |
2714 | * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo. |
2715 | Patch by Florian La Roche <laroche@redhat.com>. | |
2716 | ||
29215bbd UD |
2717 | * string/bits/string2.h (__strtok_r_1c): Optimize a bit. |
2718 | ||
0991cbf6 UD |
2719 | * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to |
2720 | ETHER_CRC_LEN. | |
2721 | ||
66f05d22 AS |
2722 | 2001-09-14 Andreas Schwab <schwab@suse.de> |
2723 | ||
2724 | * posix/execl.c: Fix last argument of memcpy. Reported by Brian | |
2725 | Sumner <bls@sgi.com>. | |
2726 | * posix/execlp.c: Likewise. | |
2727 | ||
23382b36 UD |
2728 | 2001-09-13 Jakub Jelinek <jakub@redhat.com> |
2729 | ||
2730 | * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter | |
2731 | is already found earlier in the search scope. | |
2732 | ||
2733 | 2001-09-12 Jakub Jelinek <jakub@redhat.com> | |
2734 | ||
2735 | * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's | |
2736 | filter. | |
2737 | ||
31a54688 UD |
2738 | 2001-09-13 Ulrich Drepper <drepper@redhat.com> |
2739 | ||
2740 | * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0. | |
2741 | ||
d322efa8 UD |
2742 | 2001-09-12 Ulrich Drepper <drepper@redhat.com> |
2743 | ||
2744 | * config.h.in: Enforce optimization to be used. | |
e69924e3 UD |
2745 | * Makeconfig (preprocess-versions): Define ASSEMBLER. |
2746 | * stdlib/Makefile (isomac-CFLAGS): Define to -O. | |
2747 | * posix/Makefile (annexc-CFLAGS): Define to -O. | |
7aba050d | 2748 | * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP. |
d322efa8 | 2749 | |
57642a78 UD |
2750 | 2001-09-11 Ulrich Drepper <drepper@redhat.com> |
2751 | ||
2752 | * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup. | |
2753 | Patch by Stephan Kulow. | |
2754 | ||
455e8060 UD |
2755 | 2001-09-08 Ben Collins <bcollins@debian.org> |
2756 | ||
2757 | * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in | |
2758 | usage of RESOLVE() (r_type, not reloc->r_type). | |
2759 | ||
11810621 UD |
2760 | 2001-09-08 Ulrich Drepper <drepper@redhat.com> |
2761 | ||
2762 | * elf/dl-object.c: Avoid allocating extra memory block for name. | |
beac809a | 2763 | * elf/dl-close.c (_dl_close): Don't free l_libname if it is not |
11810621 UD |
2764 | allocated separately. |
2765 | * elf/dl-load.c (_dl_map_object_from_fd): Likewise. | |
2766 | ||
f6233fe0 UD |
2767 | 2001-09-08 H.J. Lu <hjl@gnu.org> |
2768 | ||
2769 | * po/zh_TW.po: Fix a typo. | |
2770 | ||
84aafa91 UD |
2771 | 2001-09-07 Tom Rix <trix@redhat.com> |
2772 | ||
2773 | * sysdeps/unix/sysv/aix/sysv_termio.h: New file. | |
2774 | ||
2775 | 2001-08-26 Tom Rix <trix@redhat.com> | |
2776 | ||
2777 | * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker | |
2778 | command line options. | |
2779 | * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c | |
2780 | * sysdeps/unix/sysv/aix/start.c: Removed. | |
2781 | * sysdeps/unix/sysv/aix/start-libc.c: New file. | |
2782 | * sysdeps/unix/sysv/aix/init-first.c: New file. | |
2783 | * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl. | |
2784 | ||
2785 | 2001-09-08 Ben Collins <bcollins@debian.org> | |
2786 | ||
2787 | * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format. | |
2788 | * sysdeps/generic/dl-machine.h: Likewise. | |
2789 | * sysdeps/hppa/dl-fptr.c: Likewise. | |
2790 | * sysdeps/ia64/dl-fptr.c: Likewise. | |
2791 | * sysdeps/mach/hurd/dl-sysdep.c: Likewise. | |
2792 | * sysdeps/mips/dl-machine.h: Likewise. | |
2793 | * sysdeps/mips/mips64/dl-machine.h: Likewise. | |
2794 | * sysdeps/powerpc/dl-machine.c: Likewise. | |
2795 | ||
2796 | 2001-09-07 Ben Collins <bcollins@debian.org> | |
2797 | ||
2798 | * sysdeps/sparc/sparc32/dl-machine.h: Fix typo. | |
2799 | ||
2800 | * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map. | |
2801 | ||
c4bb124a UD |
2802 | 2001-09-08 Ulrich Drepper <drepper@redhat.com> |
2803 | ||
84aafa91 UD |
2804 | * elf/dl-lookup.c (add_dependency): Bump l_opencount of all |
2805 | dependencies if necessary. | |
2806 | ||
c4bb124a UD |
2807 | * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't |
2808 | loaded directly) determine length if l_initfini list by iterating | |
2809 | over its elements. Minor optimizations. | |
2810 | * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini | |
2811 | for dependency objects. | |
2812 | If object was already loaded check whether any of the dependencies | |
2813 | is already on the relocation dependency list. If yes, remove the | |
2814 | latter. Minor optimizations. | |
2815 | * elf/dl-lookup.c (add_dependency): Add check for self reference of | |
2816 | maps here. Search l_initfini list only if the object was loaded | |
2817 | directly and not only as a dependency. | |
2818 | (_dl_lookup_symbol): Add relocation dependency also if object | |
2819 | is not in global scope. Remove test for self-reference here. | |
2820 | (_dl_lookup_versioned_symbol): Likewise. | |
2821 | * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free | |
2822 | element of first name record. | |
2823 | * elf/loadtest.c: Add some more test to recognize early if an object | |
2824 | wasn't unloaded. | |
2825 | * elf/Makefile: Add rules to build and run reldep5. | |
2826 | * elf/reldep5.c: New file. | |
2827 | * elf/reldepmod5.c: New file. | |
2828 | * elf/reldepmod6.c: New file. | |
2829 | ||
2830 | * elf/reldep2.c: Fix typo. | |
2831 | ||
5a21d307 UD |
2832 | 2001-09-07 Ulrich Drepper <drepper@redhat.com> |
2833 | ||
2834 | * include/link.h (struct link_map): Add l_scope_mem and l_scope_max | |
2835 | elements. Change l_scope to be a pointer only. | |
c4bb124a | 2836 | * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max. |
5a21d307 UD |
2837 | * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened |
2838 | here add searchlist of newly open file to the dependency's scope. | |
2839 | * elf/dl-close.c (_dl_close): If dependency is used otherwise remove | |
2840 | only searchlist from its scope. Free own scope array if necessary. | |
2841 | * elf/Makefile (tests): Add dblload and dblunload now. | |
2842 | ||
7d25e927 AJ |
2843 | 2001-09-06 Andreas Jaeger <aj@suse.de> |
2844 | ||
2845 | * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed | |
2846 | Stephen L Moshier. | |
2847 | ||
3fac0001 UD |
2848 | 2001-09-05 Ulrich Drepper <drepper@redhat.com> |
2849 | ||
2850 | * elf/Makefile: Add rules to build new tests. Don't run them yet since | |
2851 | they both fail. | |
2852 | * elf/dblload.c: New file. | |
2853 | * elf/dblloadmod1.c: New file. | |
2854 | * elf/dblloadmod2.c: New file. | |
2855 | * elf/dblloadmod3.c: New file. | |
2856 | * elf/dblunload.c: New file. | |
2857 | ||
9cd9ea10 UD |
2858 | 2001-09-04 Richard Henderson <rth@redhat.com> |
2859 | ||
2860 | * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove. | |
2861 | (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16. | |
2862 | ||
407fe3bb UD |
2863 | 2001-09-04 Ulrich Drepper <drepper@redhat.com> |
2864 | ||
2865 | Correct very misleading message for error in failed runtime relocation. | |
2866 | * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe | |
2867 | place of the error. | |
2868 | (_dl_signal_cerror): Likewise. | |
2869 | * sysdeps/generic/ldsodefs.h: Adjust prototypes. | |
2870 | * elf/dl-close.c: Likewise. | |
2871 | * elf/dl-deps.c: Likewise. | |
2872 | * elf/dl-load.c: Likewise. | |
2873 | * elf/dl-lookup.c: Likewise. | |
2874 | * elf/dl-open.c: Likewise. | |
2875 | * elf/dl-reloc.c: Likewise. | |
2876 | * elf/dl-sym.c: Likewise. | |
2877 | * elf/dl-version.c: Likewise. | |
2878 | * sysdeps/generic/dl-sysdep.c: Likewise. | |
2879 | ||
71ce28fd UD |
2880 | 2001-09-04 Jakub Jelinek <jakub@redhat.com> |
2881 | ||
2882 | * iconv/strtab.c (strtabinit): Initialize null Strent. | |
2883 | (newstring): Move len == 0 handling... | |
2884 | (strtabadd): ...here. | |
2885 | If len == 1, return null Strent. | |
2886 | When inserting a suffix of an existing string, check if | |
2887 | it is not equal to some suffix already recorded. | |
2888 | Copy left and right members over if adding longer string. | |
2889 | ||
2890 | 2001-09-04 Jakub Jelinek <jakub@redhat.com> | |
2891 | ||
2892 | * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'. | |
2893 | ||
2894 | * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>. | |
2895 | (__syscall_gethostname): Add prototype. | |
2896 | ||
903244ac UD |
2897 | 2001-09-04 Ulrich Drepper <drepper@redhat.com> |
2898 | ||
2899 | * elf/dl-object.c (_dl_new_object): Remove unnecessary if. | |
2900 | ||
0668d223 UD |
2901 | 2001-09-02 Ulrich Drepper <drepper@redhat.com> |
2902 | ||
2903 | * elf/rtld.c (dl_main): Increment l_opencount for main binary. | |
2904 | ||
d447d70d RM |
2905 | 2001-08-27 Roland McGrath <roland@frob.com> |
2906 | ||
2907 | * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too | |
2908 | short, copy that much into NAME anyway before returning error. | |
2909 | ||
1bc83d2b UD |
2910 | 2001-09-01 Richard Henderson <rth@redhat.com> |
2911 | ||
2912 | * sysdeps/alpha/elf/Dist: Remove file. | |
2913 | * sysdeps/alpha/elf/Makefile: Remove file. | |
2914 | * sysdeps/alpha/elf/crtbegin.S: Remove file. | |
2915 | * sysdeps/alpha/elf/crtend.S: Remove file. | |
2916 | * sysdeps/alpha/elf/initfini.c: New file. | |
2917 | ||
2918 | 2001-09-01 Mark Kettenis <kettenis@gnu.org> | |
2919 | ||
2920 | * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t. | |
2921 | * iconv/tst-iconv3.c: Likewise. | |
2922 | ||
2923 | 2001-09-01 Jakub Jelinek <jakub@redhat.com> | |
2924 | ||
2925 | * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++. | |
2926 | ||
9a1f71a7 UD |
2927 | 2001-09-01 Ulrich Drepper <drepper@redhat.com> |
2928 | ||
2929 | * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and | |
2930 | export it. | |
2931 | * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache. | |
2932 | * iconv/iconv_prog.c (insert_cache): New function. | |
2933 | (print_known_names): If cache is used call insert_cache to use the | |
2934 | information from the cache [PR libc/2509]. | |
2935 | ||
45e0579f UD |
2936 | 2001-08-31 Ulrich Drepper <drepper@redhat.com> |
2937 | ||
2938 | * time/strptime.c (strptime_internal): Recognize 'l' format and | |
1bc83d2b | 2939 | handle it like 'I' for symmetry with strftime. |
45e0579f | 2940 | |
eaad82e0 UD |
2941 | 2001-08-31 Richard Henderson <rth@redhat.com> |
2942 | ||
2943 | * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL. | |
2944 | (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present. | |
2945 | * elf/rtld.c (HP_TIMING_AVAIL): Likewise. | |
2946 | (print_statistics): Make scalar unsigned long long. | |
2947 | * sysdeps/alpha/hp-timing.h: New file. | |
2948 | ||
2949 | 2001-08-31 Jakub Jelinek <jakub@redhat.com> | |
2950 | ||
2951 | * stdio-common/perror.c (perror): Save errno early, pass it | |
2952 | down to perror_internal. | |
2953 | (perror_internal): Add errnum argument. | |
2954 | ||
2955 | 2001-08-31 Jakub Jelinek <jakub@redhat.com> | |
2956 | ||
2957 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code. | |
2958 | Don't add old memory content for R_ALPHA_REFQUAD. | |
2959 | ||
5a3fba99 UD |
2960 | 2001-08-30 Ulrich Drepper <drepper@redhat.com> |
2961 | ||
cb2391e1 UD |
2962 | * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required |
2963 | memory correctly. | |
2964 | ||
90d40ab5 UD |
2965 | * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open |
2966 | instead of open, __close instead of close, __getpagesize instead | |
2967 | of getpagesize. | |
2968 | ||
5a3fba99 UD |
2969 | * string/argz-stringify.c (__argz_stringify): Use __strnlen |
2970 | instead of strnlen. | |
2971 | * include/string.h (strndupa): Redefine here to use __strnlen | |
2972 | instead of strnlen. | |
2973 | * string/strndup.c (__strndup): Use __strnlen not strnlen. | |
2974 | ||
2975 | * misc/syslog.c (vsyslog): Fix typo in last change (connect -> | |
2976 | connected). | |
2977 | ||
ee0cb67e UD |
2978 | 2001-08-30 Jakub Jelinek <jakub@redhat.com> |
2979 | ||
2980 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle | |
90d40ab5 UD |
2981 | R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check |
2982 | for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. | |
ee0cb67e UD |
2983 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly. |
2984 | * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly. | |
2985 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly. | |
2986 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly. | |
2987 | ||
628880cb UD |
2988 | 2001-08-30 Ulrich Drepper <drepper@redhat.com> |
2989 | ||
2990 | * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs. | |
2991 | ||
47491479 AJ |
2992 | 2001-08-30 Andreas Jaeger <aj@suse.de> |
2993 | ||
2994 | * sysdeps/ieee754/ldbl-128/e_jnl.c: New file, | |
2995 | contributed Stephen L Moshier. | |
2996 | ||
f314b5cb UD |
2997 | 2001-08-30 Jakub Jelinek <jakub@redhat.com> |
2998 | ||
2999 | * sunrpc/etc.rpc (sgi_fam): Add. | |
3000 | ||
a37844f4 UD |
3001 | 2001-08-30 Ulrich Drepper <drepper@redhat.com> |
3002 | ||
3003 | * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file. | |
3004 | ||
6c3ebebd UD |
3005 | 2001-08-29 Ulrich Drepper <drepper@redhat.com> |
3006 | ||
3007 | * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received | |
3008 | first is from a previous call. | |
3009 | Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670]. | |
3010 | ||
3011 | 2001-08-29 Andreas Schwab <schwab@suse.de> | |
3012 | ||
3013 | * sysdeps/ia64/fpu/libm-test-ulps: Updated. | |
3014 | ||
3015 | 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> | |
3016 | ||
3017 | * config.make.in (INSTALL_SCRIPT): Define. | |
3018 | * Makeconfig (INSTALL_SCRIPT): Define. | |
3019 | * Makerules (do-install-script): New macro to install scripts using | |
3020 | INSTALL_SCRIPT. | |
3021 | (install-bin-script): New rule to install scripts with | |
3022 | do-install-script. | |
3023 | (install-bin-script-nosubdir): New rule. | |
3024 | (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir. | |
3025 | (distinfo-vars): Add $(install-bin-script). | |
3026 | * Rules (others): Likewise. | |
3027 | * Makefile (glibcbug): Install with install-bin-script. | |
3028 | * debug/Makefile (xtrace): Likewise. | |
3029 | (catchsegv): Likewise. | |
3030 | * elf/Makefile (ldd): Likewise. | |
3031 | * malloc/Makefile (mtrace): Likewise. | |
3032 | * timezone/Makefile (tzselect): Likewise. | |
3033 | ||
3034 | 2001-08-29 H.J. Lu <hjl@gnu.org> | |
3035 | ||
3036 | * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass | |
3037 | ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to | |
3038 | _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). | |
3039 | ||
f8122690 AS |
3040 | 2001-08-29 Andreas Schwab <schwab@suse.de> |
3041 | ||
3042 | * sysdeps/m68k/fpu/libm-test-ulps: Updated. | |
3043 | ||
f13df7c7 UD |
3044 | 2001-08-28 H.J. Lu <hjl@gnu.org> |
3045 | ||
3046 | * Makeconfig (combreloc-LDFLAGS): New variable. | |
6c3ebebd | 3047 | Add it to LDFLAGS.so, LDFLAGS-rtld, and +link. |
f13df7c7 UD |
3048 | * config.make.in (have-z-combreloc): New variable. |
3049 | * configure.in: Substitute libc_cv_z_combreloc. | |
3050 | ||
5df485ce UD |
3051 | 2001-08-29 Ulrich Drepper <drepper@redhat.com> |
3052 | ||
3053 | * po/sv.po: Update from translation team. | |
3054 | * po/fr.po: Likewise. | |
3d49d03c | 3055 | * po/da.po: Likewise. |
5df485ce | 3056 | |
0ca2a569 AJ |
3057 | 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
3058 | ||
3059 | * Makerules: Fix a typo: MD% -> MD5. | |
3060 | ||
ff507be8 UD |
3061 | 2001-08-28 Ulrich Drepper <drepper@redhat.com> |
3062 | ||
3063 | * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object. | |
3064 | Patch by Patrick Duval <Patrick.Duval@devinci.fr>. | |
3065 | ||
c920378b AJ |
3066 | 2001-08-28 Andreas Jaeger <aj@suse.de> |
3067 | ||
3068 | * manual/libc-texinfo.sh: Add entry about free manuals. | |
3069 | ||
3070 | * manual/contrib.texi (Contributors): Fix cross reference. | |
3071 | ||
3072 | * manual/libc.texinfo (Copying): Include freemanuals. | |
3073 | ||
3074 | * manual/Makefile (appendices): Add freemanuals. | |
3075 | ||
3076 | * manual/freemanuals.texi: New file. | |
3077 | Patch by Brian Youmans <3diff@gnu.org>. | |
3078 | ||
3079 | * manual/libm-err-tab.pl: Pretty print more platforms, print a | |
3080 | smaller table. | |
3081 | ||
3082 | * manual/math.texi (Errors in Math Functions): Fix grammar, start | |
3083 | table on separate page. | |
3084 | Patch by Brian Youmans <3diff@gnu.org>. | |
3085 | ||
c06a49c5 UD |
3086 | 2001-08-27 Ulrich Drepper <drepper@redhat.com> |
3087 | ||
3088 | * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If | |
3089 | the connection went down after we first used it try to connect | |
3090 | again and resend the message before printing to the console. | |
3091 | Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>. | |
3092 | ||
3093 | 2001-08-27 Jakub Jelinek <jakub@redhat.com> | |
3094 | ||
3095 | * string/tst-strlen.c (main): Test strnlen (, -1) too. | |
3096 | * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top | |
3097 | bit set. | |
3098 | ||
3099 | 2001-08-27 Ulrich Drepper <drepper@redhat.com> | |
3100 | ||
f13df7c7 | 3101 | * iconv/strtab.c (searchstring): Use correct length for comparison. |
c06a49c5 UD |
3102 | (strtabadd): Account total size correct if new string has old string as |
3103 | substring. | |
3104 | ||
497b760b UD |
3105 | 2001-08-27 Jakub Jelinek <jakub@redhat.com> |
3106 | ||
3107 | * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol. | |
3108 | ||
f909a88c AJ |
3109 | 2001-08-27 Andreas Jaeger <aj@suse.de> |
3110 | ||
3111 | * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests. | |
3112 | ||
3113 | * math/libm-test.inc (j0_test): Add extra tests. | |
3114 | * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|, | |
3115 | not x, in Hankel approximation. | |
3116 | Patches by Stephen L Moshier. | |
3117 | ||
092243fa UD |
3118 | 2001-08-26 Ulrich Drepper <drepper@redhat.com> |
3119 | ||
51df989e UD |
3120 | * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct |
3121 | link_map. | |
3122 | ||
fdde8349 UD |
3123 | * configure.in: Fix test for .rela.dyn section. |
3124 | ||
092243fa UD |
3125 | * elf/dl-runtime.c: Update calls to _dl_lookup_*. |
3126 | ||
cf5a372e UD |
3127 | 2001-08-26 Jakub Jelinek <jakub@redhat.com> |
3128 | ||
3129 | * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class | |
3130 | instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p. | |
3131 | Pass type_class to _dl_lookup_*. | |
23ac6e3a | 3132 | * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now. |
cf5a372e UD |
3133 | Pass around just type_class instead of noexec, noplt pair. |
3134 | (_dl_lookup_versioned_symbol): Likewise. | |
3135 | (_dl_lookup_symbol_skip): Pass around just type_class instead of | |
3136 | noexec, noplt pair. | |
3137 | (_dl_lookup_versioned_symbol_skip): Likewise. | |
3138 | (_dl_do_lookup, _dl_do_lookup_versioned): Likewise. | |
3139 | * elf/do-lookup.h (do_lookup): Likewise. | |
3140 | * include/link.h (struct link_map): Replace noexec and noplt fields | |
3141 | in l_lookup_cache with type_class field. | |
3142 | * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT, | |
3143 | ELF_RTYPE_CLASS_COPY): Define. | |
3144 | Adjust prototypes for _dl_lookup_symbol and | |
3145 | _dl_lookup_versioned_symbol. | |
3146 | * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p, | |
3147 | elf_machine_lookup_noexec_p): Remove. | |
3148 | (elf_machine_type_class): Define. | |
3149 | * sysdeps/arm/dl-machine.h: Likewise. | |
3150 | * sysdeps/hppa/dl-machine.h: Likewise. | |
3151 | * sysdeps/cris/dl-machine.h: Likewise. | |
3152 | * sysdeps/i386/dl-machine.h: Likewise. | |
3153 | * sysdeps/ia64/dl-machine.h: Likewise. | |
3154 | * sysdeps/m68k/dl-machine.h: Likewise. | |
3155 | * sysdeps/mips/mips64/dl-machine.h: Likewise. | |
3156 | * sysdeps/mips/dl-machine.h: Likewise. | |
3157 | * sysdeps/powerpc/dl-machine.h: Likewise. | |
3158 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
3159 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
3160 | * sysdeps/sh/dl-machine.h: Likewise. | |
3161 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
3162 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
3163 | ||
107d41a9 UD |
3164 | 2001-08-26 Ulrich Drepper <drepper@redhat.com> |
3165 | ||
3166 | * manual/message.texi (Advanced gettext functions): Change | |
3167 | description of plural forms for Slovak. | |
3168 | Reported by Marcel Telka <marcel@telka.sk>. | |
3169 | ||
3170 | * manuaL/time.texi (Low-Level Time String Parsing): Fix description of | |
3171 | %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>. | |
3172 | ||
3173 | 2001-08-26 Jakub Jelinek <jakub@redhat.com> | |
3174 | ||
3175 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a | |
3176 | typo. Patch by Florian La Roche <laroche@redhat.com>. | |
3177 | ||
a711b01d UD |
3178 | 2001-08-26 Ulrich Drepper <drepper@redhat.com> |
3179 | ||
680254fe UD |
3180 | * include/link.h (struct link_map): Add l_lookup_cache element. |
3181 | * elf/dl-reloc.c (RESOLVE): Add symbol caching here. | |
3182 | (RESOLVE_MAP): Likewise. | |
3183 | (_dl_relocate_object): Remove cache initialization. | |
3184 | * elf/dl-lookup.c: Rip out cache handling code. | |
3185 | * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable | |
3186 | declarations. | |
3187 | ||
3188 | * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and | |
3189 | remove some __builtin_expect. | |
3190 | (_dl_lookup_versioned_symbol): Likewise. | |
3191 | ||
a711b01d UD |
3192 | * config.h.in: Add HAVE_Z_COMBRELOC. |
3193 | * configure.in: Add test for -z combreloc. | |
3194 | ||
3195 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and | |
3196 | optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of | |
680254fe UD |
3197 | R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP |
3198 | case to almost no code. | |
a711b01d | 3199 | |
c126cf66 UD |
3200 | 2001-08-25 Ulrich Drepper <drepper@redhat.com> |
3201 | ||
3202 | * po/tr.po: Update from translation team. | |
3203 | ||
9de30651 AJ |
3204 | 2001-08-24 Andreas Jaeger <aj@suse.de> |
3205 | ||
3206 | * iconv/Makefile (extra-objs): Add iconvconfig-modules so that | |
3207 | make clean works. | |
3208 | ||
cf44e2dd UD |
3209 | 2001-08-24 Ulrich Drepper <drepper@redhat.com> |
3210 | ||
3211 | * elf/rtld.c (print_statistics): Printf % after percent values. | |
3212 | * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%. | |
3213 | ||
3214 | * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we | |
3215 | don't have to compute the hash value and initialize current_value. | |
3216 | Move reference_name variable to where it is needed. | |
3217 | (_dl_lookup_versioned_symbol): Likewise. | |
3218 | ||
fb2c7eab RM |
3219 | 2001-08-24 Roland McGrath <roland@frob.com> |
3220 | ||
3221 | * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr. | |
3222 | Just test that strerror returns non-null for a few errno codes. | |
3223 | ||
f0b1a6c8 RM |
3224 | 2001-08-23 Roland McGrath <roland@frob.com> |
3225 | ||
3226 | * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal, | |
3227 | _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor. | |
3228 | ||
3229 | * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink. | |
3230 | ||
3231 | * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, | |
3232 | __mach_reply_port. | |
3233 | ||
c35eb5b0 UD |
3234 | 2001-08-24 Ulrich Drepper <drepper@redhat.com> |
3235 | ||
bb84d3b3 UD |
3236 | * nss/test-netdb.c (test_hosts): Don't segfault if gethostname |
3237 | returns NULL. | |
3238 | ||
c35eb5b0 UD |
3239 | * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so |
3240 | startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc | |
3241 | doesn't do it. | |
af8bf6bd UD |
3242 | * elf/rtld.c: Include <sys/param.h>. |
3243 | * elf/dl-reloc.c: Likewise. | |
c35eb5b0 | 3244 | |
77c88899 AJ |
3245 | 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
3246 | ||
3247 | * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to | |
3248 | empty to prevent junk from being generated. | |
3249 | * sysdeps/unix/sysv/linux/mips/configure: Regenerated. | |
3250 | ||
95c78350 UD |
3251 | 2001-08-24 Jakub Jelinek <jakub@redhat.com> |
3252 | ||
3253 | * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative | |
3254 | records. Rename endrel to relative, initialize it to r, and use it | |
3255 | in elf_machine_rel_relative calls. Point r after relative relocs. | |
3256 | ||
3dc51a93 UD |
3257 | 2001-08-24 Ulrich Drepper <drepper@redhat.com> |
3258 | ||
3259 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction | |
3260 | of R_386_NONE. | |
3261 | ||
1f2a1df3 UD |
3262 | 2001-08-24 Jakub Jelinek <jakub@redhat.com> |
3263 | ||
3264 | * elf/do-rel.h (elf_machine_rel_relative): Define for rela if | |
3265 | necessary. Undefine newly defined macros at the end. | |
3266 | * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative): | |
3267 | Rename from elf_machine_rel_relative. | |
3268 | * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise. | |
3269 | * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise. | |
3270 | * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise. | |
7c69dc8b UD |
3271 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative): |
3272 | Likewise. | |
3273 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative): | |
3274 | Likewise. | |
1f2a1df3 UD |
3275 | * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise. |
3276 | Fix argument types. | |
3277 | * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise. | |
3278 | Fix argument types. | |
3279 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative): | |
3280 | Likewise. Fix argument types. | |
3281 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative): | |
3282 | Likewise. Fix argument types. | |
3283 | * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise. | |
3284 | Fix argument types. | |
3285 | * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use | |
3286 | ElfW(Rel) in argument. | |
3287 | * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New | |
3288 | function. | |
3289 | ||
a4c4e6db UD |
3290 | 2001-08-24 Alexandre Oliva <aoliva@redhat.com> |
3291 | ||
3292 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo. | |
3293 | ||
bc7d63ea AJ |
3294 | 2001-08-24 Andreas Jaeger <aj@suse.de> |
3295 | ||
3296 | * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by | |
3297 | Stephen L Moshier <moshier@mediaone.net>. | |
3298 | ||
1721af3f UD |
3299 | 2001-08-24 Ulrich Drepper <drepper@redhat.com> |
3300 | ||
a4c4e6db UD |
3301 | * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes |
3302 | first if RELCOUNT is set. | |
3303 | ||
1721af3f UD |
3304 | * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't |
3305 | call elf_machine_rel for the last DT_RELCOUNT relocations but instead | |
3306 | elf_machine_rel_relative. | |
3307 | * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative. | |
3308 | Minor optimizations. | |
3309 | * sysdeps/arm/dl-machine.h: Likewise. | |
3310 | * sysdeps/cris/dl-machine.h: Likewise. | |
3311 | * sysdeps/hppa/dl-machine.h: Likewise. | |
3312 | * sysdeps/i386/dl-machine.h: Likewise. | |
3313 | * sysdeps/ia64/dl-machine.h: Likewise. | |
3314 | * sysdeps/m68k/dl-machine.h: Likewise. | |
3315 | * sysdeps/mips/dl-machine.h: Likewise. | |
3316 | * sysdeps/powerpc/dl-machine.h: Likewise. | |
3317 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
3318 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
3319 | * sysdeps/sh/dl-machine.h: Likewise. | |
3320 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
3321 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
3322 | ||
0dce3d15 RM |
3323 | 2001-08-23 Roland McGrath <roland@frob.com> |
3324 | ||
37d8d362 RM |
3325 | * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1. |
3326 | ||
0dce3d15 RM |
3327 | * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from |
3328 | sysdeps/mach version. Implement counting ("recursive") mutexes | |
3329 | on top of cthreads mutexes. | |
3330 | * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works. | |
3331 | ||
3332 | * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to | |
3333 | _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. | |
3334 | (__libc_cleanup_region_start, __libc_cleanup_region_end, | |
3335 | __libc_clean_end): Define these to call the cleanup function after | |
3336 | normal exit when they're supposed to. | |
3337 | ||
3338 | * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): | |
3339 | Take new first arg DOIT, a boolean saying whether to really install | |
3340 | any cleanup handler. | |
3341 | (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. | |
3342 | (__libc_cleanup_end): Likewise. | |
edb63884 | 3343 | * sysdeps/generic/bits/libc-lock.h: Same changes. |
0dce3d15 RM |
3344 | * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. |
3345 | * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. | |
3346 | * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): | |
3347 | Likewise. | |
3348 | * misc/syslog.c (vsyslog, openlog, closelog): Likewise. | |
3349 | * sysdeps/generic/bits/stdio-lock.h | |
3350 | (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise. | |
3351 | ||
647eb037 UD |
3352 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> |
3353 | ||
3354 | * elf/ldconfig.c (search_dir): Remove stale symlinks. | |
3355 | ||
3356 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> | |
3357 | ||
3358 | * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New. | |
3359 | (_dl_lookup_symbol): Lookup relocations in cache and store successfull | |
3360 | lookups in cache. | |
3361 | (_dl_lookup_versioned_symbol): Likewise. | |
3362 | * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for | |
3363 | relocation lookup. | |
3364 | * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations. | |
3365 | * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition. | |
3366 | (lookup_cache, lookup_cache_versioned): Add declarations. | |
3367 | ||
3368 | 2001-08-23 Ulrich Drepper <drepper@redhat.com> | |
3369 | ||
3370 | * stdlib/tst-random.c (main): Swap parameters in fail call. | |
3371 | Patch by Pete Bevin <pete@petebevin.com>. | |
3372 | ||
3373 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> | |
3374 | ||
3375 | * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t. | |
3376 | ||
e515fbc5 UD |
3377 | 2001-08-23 Ulrich Drepper <drepper@redhat.com> |
3378 | ||
647eb037 UD |
3379 | * malloc/obstack.c: Indent preprocessor directives. |
3380 | Patch by Jim Meyering <meyering@ascend.com>. | |
3381 | ||
e515fbc5 UD |
3382 | * po/ja.po: Update from translation team. |
3383 | ||
9efc8b95 RM |
3384 | 2001-08-23 Roland McGrath <roland@frob.com> |
3385 | ||
3386 | * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. | |
3387 | ||
3388 | * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN. | |
3389 | Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error. | |
3390 | ||
8179dcc1 RM |
3391 | 2001-08-22 Roland McGrath <roland@frob.com> |
3392 | ||
c12aa801 RM |
3393 | * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with |
3394 | __libc_lock_define_recursive. | |
3395 | * elf/dl-open.c: Don't declare it here any more. | |
3396 | * elf/dl-close.c: Likewise. | |
3397 | * elf/dl-lookup.c: Likewise. | |
3398 | * elf/dl-iteratephdr.c: Likewise. | |
3399 | * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and | |
3400 | __libc_lock_unlock_recursive. | |
3401 | * elf/dl-close.c (_dl_close): Likewise | |
3402 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise | |
3403 | * elf/dl-open.c (_dl_open): Likewise | |
3404 | ||
3405 | * sysdeps/generic/bits/libc-lock.h | |
3406 | (__libc_lock_define_recursive): New macro. | |
3407 | * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it. | |
3408 | (_IO_lock_lock): Use __libc_lock_lock_recursive. | |
3409 | (_IO_lock_unlock): Use __libc_lock_unlock_recursive. | |
3410 | ||
8179dcc1 RM |
3411 | * conform/conformtest.pl (checknamespace): Sort the output list. |
3412 | ||
3413 | * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. | |
3414 | (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these | |
3415 | definitions conditional on [__USE_XOPEN]. | |
3416 | ||
3417 | * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define | |
3418 | these unconditionally, not only use [__USE_BSD], so as to match | |
3419 | the sysdeps/unix/sysv/linux files. | |
3420 | ||
5cd6f8f7 UD |
3421 | 2001-08-22 Ulrich Drepper <drepper@redhat.com> |
3422 | ||
3423 | * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to | |
3424 | avoid warnings. | |
3425 | ||
3426 | * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using | |
3427 | DL_LOOKUP_ADDRESS. | |
3428 | ||
319a82b0 RM |
3429 | 2001-08-22 Roland McGrath <roland@frob.com> |
3430 | ||
3431 | * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up | |
3432 | conditionalization of sa_handler/sa_sigaction member types to | |
3433 | match the sysdeps/unix/sysv/linux file. | |
3434 | ||
4d0923e8 UD |
3435 | 2001-08-22 Ulrich Drepper <drepper@redhat.com> |
3436 | ||
40b145c4 UD |
3437 | * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero |
3438 | symbol sizes a bit better. | |
3439 | ||
c5d8d555 UD |
3440 | * sysdeps/ia64/strncpy.S: Complete rewrite. |
3441 | Contributed by Jakub Jelinek <jakub@redhat.com>. | |
3442 | ||
4d0923e8 UD |
3443 | * string/stratcliff.c (main): Add strncpy test. |
3444 | ||
c3201035 RM |
3445 | 2001-08-22 Roland McGrath <roland@frob.com> |
3446 | ||
3447 | * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>, | |
3448 | and don't declare unsetenv or _environ directly. | |
3449 | (unsetenv): Return int, not void. Use __environ instead of _environ. | |
3450 | ||
38bb8feb MK |
3451 | 2001-08-01 Mark Kettenis <kettenis@gnu.org> |
3452 | ||
3453 | * sysdeps/unix/bsd/bsd4.4/Makefile: New file. | |
3454 | * sysdeps/unix/bsd/bsd4.4/Versions: New file. | |
3455 | * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file. | |
3456 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct | |
3457 | test for cmsg struct size. | |
3458 | ||
6106611a RM |
3459 | 2001-04-23 Paul Eggert <eggert@twinsun.com> |
3460 | ||
f95ada81 UD |
3461 | * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): |
3462 | Rename __argc to ___argc in prototypes to avoid compatibility | |
3463 | problems with systems that reserve the identifier "__argc". | |
3464 | Similarly for __argv. | |
6106611a RM |
3465 | |
3466 | 2001-08-21 Roland McGrath <roland@frob.com> | |
3467 | ||
3468 | * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration. | |
3469 | ||
3470 | * mach/Makefile (tests): Removed. | |
3471 | * mach/hello.c: File removed. | |
3472 | ||
46b05e5d UD |
3473 | 2001-08-22 Ulrich Drepper <drepper@redhat.com> |
3474 | ||
ea015eac UD |
3475 | * po/sv.po: Update from translation team. |
3476 | ||
bed38142 UD |
3477 | * stdio-common/vfscanf.c: Fix handling of %l[]. |
3478 | Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>. | |
3479 | ||
c7509e31 UD |
3480 | * libio/Makefile (tests): Add tst-sscanf. |
3481 | * libio/tst-sscanf.c: New file. | |
3482 | ||
46b05e5d UD |
3483 | * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname. |
3484 | * malloc/mtrace.c (tr_where): dli_sname always points to a | |
30c8be92 | 3485 | non-empty string if != NULL. |
46b05e5d UD |
3486 | Reported by Tim Janik <timj@gtk.org>. |
3487 | ||
2e3e5db6 UD |
3488 | 2001-08-22 Jakub Jelinek <jakub@redhat.com> |
3489 | ||
3490 | * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating | |
3491 | buf. Free resources on failure. | |
3492 | * sunrpc/svc_unix.c (svcunix_create): Free resources on failure. | |
3493 | (makefd_xprt): Likewise. | |
3494 | * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. | |
3495 | * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise. | |
3496 | * sunrpc/auth_unix.c (authunix_create): Likewise. | |
3497 | ||
3498 | 2001-08-21 Jakub Jelinek <jakub@redhat.com> | |
3499 | ||
3500 | * string/strnlen.c: Remove. | |
74bd2300 | 3501 | * sysdeps/generic/strnlen.c: New file. |
2e3e5db6 UD |
3502 | * sysdeps/i386/i486/bits/string.h (strnlen): Remove. |
3503 | ||
88e7ba6a RM |
3504 | 2001-08-21 Roland McGrath <roland@frob.com> |
3505 | ||
3506 | * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this | |
3507 | as a macro, not an extern inline function. | |
3508 | ||
3509 | * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. | |
3510 | * Versions.def (libc): Add GLIBC_2.2.5 set. | |
3511 | * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. | |
3512 | (__hurd_fail): Use that instead of _EXTERN_INLINE in decl. | |
3513 | ||
3514 | 2001-08-20 Roland McGrath <roland@frob.com> | |
3515 | ||
3516 | * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". | |
3517 | (__hurd_file_name_split, __hurd_directory_name_split): Likewise. | |
3518 | ||
6c6bb055 UD |
3519 | 2001-08-21 Ulrich Drepper <drepper@redhat.com> |
3520 | ||
3521 | * string/bits/string2.h: Remove strnlen optimization here. | |
3522 | * sysdeps/i386/i486/bits/string.h: Add it here. | |
3523 | ||
3524 | 2001-08-21 Wolfram Gloger <wg@malloc.de> | |
3525 | ||
3526 | * malloc/malloc.c: Make access to ..._hook pointers thread-safe. | |
3527 | ||
425966d0 UD |
3528 | 2001-08-21 Ulrich Drepper <drepper@redhat.com> |
3529 | ||
3530 | * po/gl.po: Update from translation team. | |
3531 | ||
34ef548a UD |
3532 | 2001-08-20 Ulrich Drepper <drepper@redhat.com> |
3533 | ||
3534 | * misc/error.c (error_tail): Use fputws_unlocked instead of fputws. | |
3535 | * misc/err.c (convert_and_print): Likewise. | |
3536 | ||
3537 | * malloc/obstack.c (print_and_abort): Use fprintf instead of two | |
3538 | function calls. | |
3539 | ||
62ed552b UD |
3540 | 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3541 | ||
3542 | * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the | |
3543 | change of the gregset_t type. | |
3544 | * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. | |
3545 | ||
3546 | 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp> | |
3547 | ||
3548 | * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno. | |
3549 | ||
3f1c767d UD |
3550 | 2001-08-20 Ulrich Drepper <drepper@redhat.com> |
3551 | ||
62ed552b UD |
3552 | * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb. |
3553 | ||
3f1c767d UD |
3554 | * string/strnlen.c: Fix the implementation. We cannot use memchr. |
3555 | ||
16195d20 MK |
3556 | 2001-08-18 Mark Kettenis <kettenis@gnu.org> |
3557 | ||
3558 | * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ | |
3559 | before calling the cthreads initialization code. | |
3560 | ||
0028f16e UD |
3561 | 2001-08-20 Ulrich Drepper <drepper@redhat.com> |
3562 | ||
29f0517d UD |
3563 | * argp/argp-help.c: Fix two problems introduced in last change. |
3564 | ||
0028f16e UD |
3565 | * include/dirent.h: Include <dirstream.h> first. |
3566 | ||
9af652f6 UD |
3567 | 2001-08-19 Ulrich Drepper <drepper@redhat.com> |
3568 | ||
faf4c7f0 UD |
3569 | * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat. |
3570 | ||
9af652f6 UD |
3571 | * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy. |
3572 | * sunrpc/xdr_rec.c: Likewise. | |
3573 | * sunrpc/xdr_mem.c: Likewise. | |
3574 | * sunrpc/svc_authux.c (_svcauth_unix): Likewise. | |
3575 | * sunrpc/rpc_cmsg.c: Likewise. | |
3576 | * sunrpc/getrpcport.c (getrpcport): Likewise. | |
3577 | * sunrpc/clnt_simp.c (callrpc): Likewise. | |
3578 | * sunrpc/clnt_gen.c (clnt_create): Likewise. | |
3579 | * string/envz.c: Likewise. | |
3580 | ||
3581 | * po/ko.po: Update from translation team. | |
3582 | ||
3583 | * argp/argp-help.c: Handle wide oriented stderr stream. | |
3584 | ||
9c777dfe UD |
3585 | 2001-08-18 Ulrich Drepper <drepper@redhat.com> |
3586 | ||
091b8955 UD |
3587 | * sysdeps/generic/strtol.c: Little optimizations. Add some |
3588 | __builtin_expect. | |
3589 | ||
9af652f6 | 3590 | * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>. |
668770fc | 3591 | |
b6d64fb0 UD |
3592 | * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t. |
3593 | * wcsmbs/wcwidth.c (wcwdith): Likewise. | |
3594 | * wcsmbs/wcwidth.h (internal_wcwdith): Likewise. | |
3595 | ||
3596 | * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS. | |
3597 | ||
3598 | * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests. | |
3599 | ||
68984987 UD |
3600 | * time/time.h (struct timespec): Use __time_t for tv_sec element. |
3601 | ||
3602 | * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of | |
3603 | wchar_t for function declarations and defintions. | |
3604 | ||
3605 | * misc/sys/select.h: Define __need_time_t before including <time.h>. | |
3606 | Define suseconds_t if it hasn't happened yet. | |
3607 | ||
3608 | * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>. | |
3609 | ||
3610 | * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined. | |
3611 | ||
3612 | * sysdeps/generic/stdint.h: Don't get definition of wchar_t from | |
3613 | <stddef.h>. | |
3614 | ||
3615 | * conform/data/stddef.h-data: Remove wint_t. | |
3616 | ||
9c777dfe UD |
3617 | * conform/conformtest.pl: Change namespace test to take #undef |
3618 | lines into account. | |
3619 | ||
3620 | * conform/data/netinet/in.h-data: Fix typo in allow-header line. | |
3621 | ||
3622 | * conform/data/sys/socket.h-data: Add sockatmark. | |
3623 | ||
4c3902f9 UD |
3624 | 2001-08-17 Ulrich Drepper <drepper@redhat.com> |
3625 | ||
3626 | * io/fts.c: Update from recent BSD source. | |
3627 | ||
c3151cca RM |
3628 | 2001-08-17 Roland McGrath <roland@frob.com> |
3629 | ||
3630 | * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide. | |
3631 | * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]: | |
3632 | Likewise. | |
3633 | ||
0f4b99a6 UD |
3634 | 2001-08-17 Ulrich Drepper <drepper@redhat.com> |
3635 | ||
89f29a07 UD |
3636 | * locale/duplocale.c (__duplocale): Also initialize the special |
3637 | __ctype_* elements. | |
3638 | ||
0f4b99a6 UD |
3639 | * conform/data/netdb.h-data: Adjust gai_strerror return type. |
3640 | ||
1d388457 AJ |
3641 | 2001-08-17 Andreas Jaeger <aj@suse.de> |
3642 | ||
0f4b99a6 UD |
3643 | * misc/getpass.c: Include wchar.h for prototypes. |
3644 | * malloc/obstack.c: Likewise. | |
1d388457 | 3645 | |
6293b803 UD |
3646 | 2001-08-17 Ulrich Drepper <drepper@redhat.com> |
3647 | ||
3648 | * sunrpc/svc_simple.c (universal): Use __write instead of write. | |
3649 | ||
3650 | * wcsmbs/wcscoll.c: Also define __wcscoll. | |
3651 | * include/wchar.h: Declare __wcscoll. | |
3652 | ||
3653 | * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf. | |
3654 | * libio/vwprintf.c: Likewise. | |
3655 | * libio/wprintf.c: Likewise. | |
3656 | ||
3657 | * iconv/gconv_cache.c: Use __munmap instead of munmap. | |
3658 | ||
a2635361 UD |
3659 | 2001-08-16 Ulrich Drepper <drepper@redhat.com> |
3660 | ||
6293b803 UD |
3661 | * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc |
3662 | instead of mbrtowc. | |
3663 | [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of | |
3664 | wcslen, and __wcscoll instead of wcscoll. | |
3665 | ||
3666 | * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl. | |
3667 | ||
3668 | * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use | |
3669 | __getuid instead of getuid. | |
3670 | ||
3671 | * stdio-common/perror.c (perror): Use __close instead of close. | |
3672 | * iconv/gconv_cache.c (__gconv_load_cache): Likewise. | |
3673 | * libio/freopen.c (freopen): Likewise. | |
3674 | * libio/freopen64.c (freopen64): Likewise. | |
3675 | ||
51028f34 UD |
3676 | * libio/tst-ungetwc2.c (main): Define str const. |
3677 | ||
3678 | * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf. | |
3679 | * libio/fwprintf.c: Also define __fwprintf. | |
3680 | * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf. | |
3681 | * argp/argp-fmtstream.c: Handle wide oriented stderr stream. | |
3682 | * assert/assert-perr.c: Likewise. | |
3683 | * assert/assert.c: Likewise. | |
3684 | * gmon/gmon.c: Likewise. | |
3685 | * inet/rcmd.c: Likewise. | |
3686 | * malloc/obstack.c: Likewise. | |
3687 | * misc/err.c: Likewise. | |
3688 | * misc/error.c: Likewise. | |
3689 | * misc/getpass.c: Likewise. | |
3690 | * posix/getopt.c: Likewise. | |
3691 | * resolv/res_hconf.c: Likewise. | |
3692 | * stdio-common/perror.c: Likewise. | |
3693 | * stdio-common/psignal.c: Likewise. | |
3694 | * stdlib/fmtmsg.c: Likewise. | |
3695 | * sunrpc/auth_unix.c: Likewise. | |
3696 | * sunrpc/clnt_perr.c: Likewise. | |
3697 | * sunrpc/clnt_tcp.c: Likewise. | |
3698 | * sunrpc/clnt_udp.c: Likewise. | |
3699 | * sunrpc/clnt_unix.c: Likewise. | |
3700 | * sunrpc/svc_simple.c: Likewise. | |
3701 | * sunrpc/svc_tcp.c: Likewise. | |
3702 | * sunrpc/svc_udp.c: Likewise. | |
3703 | * sunrpc/svc_unix.c: Likewise. | |
3704 | * sunrpc/xdr.c: Likewise. | |
3705 | * sunrpc/xdr_array.c: Likewise. | |
3706 | * sunrpc/xdr_rec.c: Likewise. | |
3707 | * sunrpc/xdr_ref.c: Likewise. | |
3708 | * sysdeps/generic/wordexp.c: Likewise. | |
3709 | ||
d79e5553 UD |
3710 | * po/it.po: Update from translation team. |
3711 | ||
51028f34 | 3712 | * misc/err.c: Handle wide oriented stderr stream. |
a2635361 | 3713 | |
8e294940 UD |
3714 | 2001-08-14 Tom Rix <trix@redhat.com> |
3715 | ||
3716 | * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV. | |
3717 | * iconv/Makefile: Fix gconv_cache.c CFLAGS. | |
3718 | ||
3719 | 2001-08-13 Tom Rix <trix@redhat.com> | |
3720 | ||
3721 | * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols. | |
3722 | * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t | |
3723 | and __intptr_t. | |
3724 | ||
3725 | 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3726 | ||
3727 | * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext): | |
3728 | Store the access registers to the ucontext structure. | |
3729 | * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext): | |
3730 | Likewise. | |
3731 | ||
3732 | * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext): | |
3733 | Load the access registers from the ucontext structure. | |
3734 | * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext): | |
3735 | Likewise. | |
3736 | ||
3737 | * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx | |
3738 | offsets to the new ucontext layout. | |
3739 | * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise. | |
3740 | ||
3741 | * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout | |
3742 | of the ucontext structure. | |
3743 | * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. | |
3744 | ||
c0fd6e1d UD |
3745 | 2001-08-15 Ulrich Drepper <drepper@redhat.com> |
3746 | ||
1fc0e331 UD |
3747 | * misc/error.c (error): Handle wide oriented stderr stream correctly. |
3748 | (error_at_line): Likewise. | |
c7ecdbda | 3749 | |
1fc0e331 UD |
3750 | * stdio-common/perror.c (perror): Implement according to standard. |
3751 | The stream orientation must not be changed if the stream was not | |
3752 | oriented before the call. | |
3753 | * stdio-common/Makefile (tests): Add tst-perror. | |
3754 | * stdio-common/tst-perror.c: New file. | |
9b51f431 | 3755 | |
d59e49d8 | 3756 | |
1fc0e331 | 3757 | See ChangeLog.12 for earlier changes. |