]>
Commit | Line | Data |
---|---|---|
bbde8527 UD |
1 | 2003-06-17 Ulrich Drepper <drepper@redhat.com> |
2 | ||
60d73a7a UD |
3 | * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep |
4 | takes care of enabling cancellation. | |
5 | ||
6 | * sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend | |
7 | cancelable. It's not correct to disable cancellation. Instead of | |
8 | a cleanup handler. | |
9 | ||
aa3cee21 UD |
10 | * sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined |
11 | and part of the incoming set, create a temporary set without this | |
12 | signal. | |
13 | * sysdeps/unix/sysv/linux/sigwait.c: Likewise. | |
14 | * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. | |
15 | ||
bbde8527 | 16 | * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before |
aa3cee21 | 17 | returning because seconds==0. Add __builtin_expect. |
bbde8527 | 18 | |
f60db8ed UD |
19 | 2003-06-16 Ulrich Drepper <drepper@redhat.com> |
20 | ||
21 | * sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information. | |
22 | ||
23 | * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result | |
24 | variable. | |
25 | ||
2f7f7bc6 UD |
26 | 2003-06-16 Thorsten Kukuk <kukuk@suse.de> |
27 | ||
28 | * include/libc-symbols.h: Add static_link_warning macro. | |
29 | * grp/initgroups.c: Print linker warning if this function | |
30 | is called in a static linked binary. | |
31 | * nss/getXXbyYY.c: Likewise. | |
32 | * nss/getXXbyYY_r.c: Likewise. | |
33 | * nss/getXXent.c: Likewise. | |
34 | * nss/getXXent_r.c: Likewise. | |
35 | * sysdeps/posix/getaddrinfo.c: Likewise. | |
36 | ||
37 | 2003-06-16 Bruno Haible <bruno@clisp.org> | |
38 | ||
39 | * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, | |
40 | LATIN-9. | |
41 | (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. | |
42 | (IBM1047): Add alias IBM-1047. | |
43 | (GBK): Add aliases MS936, WINDOWS-936. | |
44 | ||
45 | 2003-06-16 Jakub Jelinek <jakub@redhat.com> | |
46 | ||
47 | * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if | |
48 | defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. | |
49 | (__xstat64_conv): Change xstat_conv to __xstat_conv. | |
50 | ||
301a6724 UD |
51 | 2003-06-16 Ulrich Drepper <drepper@redhat.com> |
52 | ||
90a2545a UD |
53 | * locale/iso-639.def: Update from current official ISO 639. |
54 | ||
301a6724 UD |
55 | * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed. |
56 | ||
57 | 2003-06-15 Andreas Jaeger <aj@suse.de> | |
58 | ||
59 | * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting | |
60 | of MXCSR. | |
61 | * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
62 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. | |
2f7f7bc6 | 63 | Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>. |
301a6724 UD |
64 | |
65 | * math/tgmath.h (carg): Handle real arguments. | |
66 | (conj): Likewise. | |
67 | (cproj): Likewise. | |
68 | (cimag): Likewise. | |
69 | (creal): Likewise. | |
70 | ||
71 | * math/Makefile (CFLAGS-test-tgmath-ret.c): New. | |
72 | (tests): Add test-tgmath-ret. | |
73 | * math/test-tgmath-ret.c: New file. | |
74 | ||
75 | * math/tgmath.h (ilogb): Return always an int. | |
76 | ||
4cfde896 UD |
77 | 2003-06-16 Ulrich Drepper <drepper@redhat.com> |
78 | ||
79 | * elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr | |
301a6724 | 80 | computation so that prelinking works. |
4cfde896 | 81 | |
7a114794 UD |
82 | 2003-06-15 Ulrich Drepper <drepper@redhat.com> |
83 | ||
553eca26 UD |
84 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic |
85 | linker's map. | |
86 | * elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the | |
87 | dynamic linker's map. | |
88 | ||
7a114794 UD |
89 | Fix cancellation point handling wrt exception based cleanup. |
90 | * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions. | |
91 | * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c | |
92 | with exceptions. | |
93 | * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c, | |
94 | sleep.c, wait.c, waitid.c, and waitpid.c with exceptions. | |
95 | * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with | |
96 | exceptions. | |
97 | * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c, | |
98 | sigwait.c, and sigwaitinfo.c with exceptions. | |
99 | * stdlib/Makefile: Compile system.c with exceptions. | |
100 | * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions. | |
101 | * termios/Makefile: Compile tcdrain.c with exceptions. | |
102 | * sysdeps/generic/lockf.c: Add comment explaining the cancellation | |
103 | situation. | |
104 | * sysdeps/generic/pselect.c: Likewise. | |
105 | * sysdeps/posix/sigpause.c: Likewise. | |
106 | * sysdeps/posix/system.c: Likewise. | |
107 | * sysdeps/posix/waitid.c: Likewise. | |
108 | * sysdeps/unix/sysv/linux/sleep.c: Likewise. | |
109 | * sysdeps/unix/sysv/linux/usleep.c: Likewise. | |
110 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of | |
111 | INTERNAL_SYSCALL to not use push inside asm statement so that | |
112 | unwind info is correct around the syscall. | |
113 | * sysdeps/unix/clock_nanosleep.c: Add cancellation support. | |
114 | * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. | |
115 | ||
2b450048 AJ |
116 | 2003-06-15 Andreas Jaeger <aj@suse.de> |
117 | ||
118 | * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): | |
119 | Add CFI directives. | |
120 | ||
05c49e6f AJ |
121 | 2003-06-15 Guido Guenther <agx@sigxcpu.org> |
122 | ||
123 | * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and | |
124 | create $(objpfx). | |
125 | ||
a4596570 UD |
126 | 2003-06-14 Ulrich Drepper <drepper@redhat.com> |
127 | ||
8ba1d429 UD |
128 | * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close, |
129 | not close. | |
130 | ||
131 | * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def. | |
132 | * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto | |
133 | definition. | |
134 | ||
4cfde896 | 135 | * inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define. |
a4596570 UD |
136 | * inet/netinet/in.h: Add prototypes for inet6_option_* functions. |
137 | * inet/Makefile (routines): Add inet6_option. | |
138 | * inet/inet6_option.c: New file. | |
139 | * inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space, | |
140 | inet6_option_init, inet6_option_append, inet6_option_alloc, | |
141 | inet6_option_next, and inet6_option_find. | |
142 | ||
25337753 UD |
143 | 2003-06-13 Ulrich Drepper <drepper@redhat.com> |
144 | ||
a4596570 UD |
145 | * inet/netinet/ip6.h (struct ip6_ext): Define. |
146 | ||
da4fef4b UD |
147 | * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc. |
148 | ||
25337753 UD |
149 | Fixing gcc 3.3 warnings, part II. |
150 | * argp/argp-help.c (hol_entry_long_iterate): Always inline. | |
151 | * elf/dl-load.c (cache_rpath): Don't inline. | |
152 | * iconvdata/cns11642l2.h: Always inline all functions. | |
153 | * iconvdata/iso-ir-165.h: Likewise. | |
154 | * locale/Makefile (aux): Add coll-lookup. | |
155 | * locale/coll-lookup.c: New file. | |
156 | * locale/coll-lookup.h (collidx_table_lookup): Do not define here. | |
157 | (collseq_table_lookup): Likewise. | |
158 | * locale/weightwc.h: Adjust collidx_table_lookup calls for name change. | |
159 | * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name | |
160 | change. | |
161 | * posix/regcomp.c: Likewise. | |
162 | * posix/regexec.c: Likewise. | |
163 | * locale/programs/3level.h (*_get): Always inline. | |
164 | * locale/programs/locfile.h: Move definition of handle_copy to... | |
165 | * locale/programs/locfile.c: ...here. | |
166 | * locale/programs/ld-collate.c (obstack_int32_grow): Always inline. | |
167 | (obstack_int32_grow_fast): Likewise. | |
168 | (utf8_encode): Likewise. | |
169 | (find_element): Avoid aliasing problems. | |
170 | (insert_value): Likewise. | |
171 | (collate_read): Likewise. | |
172 | * nss/getent.c (print_hosts): Don't inline | |
173 | (print_networks): Likewise. | |
174 | (print_shadow): Likewise. | |
175 | (build_doc): Likewise. | |
176 | * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't | |
177 | inline. | |
178 | * posix/regcomp.c (re_set_fastmap): Always inline. | |
179 | (seek_collating_symbol_entry): Likewise. | |
180 | (lookup_collation_sequence_value): Likewise. | |
181 | (build_range_exp): Likewise. | |
182 | (build_collating_symbol): Likewise. | |
183 | * posix/regexec.c (acquire_init_state_context): Don't inline. | |
184 | (clean_state_log_if_need): Likewise. | |
185 | * resolv/res_send.c (eConsIovec): Rewrite to not return struct and | |
186 | adjust all callers. | |
187 | (evConsTime): Likewise. | |
188 | (evAddTime): Likewise. | |
189 | (evSubTime): Likewise. | |
190 | (evNowTime): Likewise. | |
191 | (evTimeSpec): Removed. | |
192 | (__libc_res_nsend): Avoid aliasing problem. | |
193 | * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to.. | |
194 | * sysdeps/unix/sysv/linux/ifreq.c: ...here. | |
195 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap): | |
196 | Always inline. | |
197 | (_dl_string_platform): Likewise. | |
198 | * wctype/wchar-lookup.h (wctype_table_lookup): Always inline. | |
199 | (wcwidth_table_lookup): Likewise. | |
200 | (wctrans_table_lookup): Likewise. | |
201 | ||
202 | * sysdeps/unix/sysv/linux/sys/epoll.h: Include <stdint.h>. | |
203 | ||
e6d32996 UD |
204 | 2003-06-12 Ulrich Drepper <drepper@redhat.com> |
205 | ||
206 | * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034]. | |
207 | ||
b54aa55d UD |
208 | 2003-05-29 Jim Meyering <jim@meyering.net> |
209 | ||
210 | * time/strftime.c (my_strftime) [!defined _NL_CURRENT | |
211 | && HAVE_STRFTIME]: Use underlying_strftime for %r. | |
212 | Suggested by Daniel Yacob <locales@geez.org>. | |
213 | ||
9d1e8e8e UD |
214 | 2003-06-12 Steven Munroe <sjmunroe@us.ibm.com> |
215 | ||
216 | * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace | |
217 | @got notation with @toc. | |
218 | * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise. | |
219 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise. | |
220 | ||
ad316adf UD |
221 | 2003-06-12 Ulrich Drepper <drepper@redhat.com> |
222 | ||
f60db8ed | 223 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also |
2ce1a10f UD |
224 | if only PF_INET address is needed. |
225 | ||
226 | * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in | |
227 | case of an error. | |
228 | ||
ad316adf UD |
229 | * scripts/config.guess: Update from upstream version. |
230 | * scripts/config.sub: Likewise. | |
231 | ||
232 | 2003-06-12 Jakub Jelinek <jakub@redhat.com> | |
233 | ||
234 | * locale/programs/ld-time.c (time_output): Also copy the era format, | |
235 | not only the name. | |
236 | ||
66b110e8 UD |
237 | 2003-06-12 H.J. Lu <hongjiu.lu@intel.com> |
238 | ||
239 | * posix/transbug.c (run_test): Return 1 for failure. | |
240 | (do_test): Compare only if run_test is successful. | |
241 | ||
242 | 2003-06-12 Simon Josefsson <jas@extundo.com> | |
243 | ||
244 | * argp/argp.h [!__THROW]: Define if undefined. | |
245 | ||
3bbbaea9 UD |
246 | 2003-06-12 Ulrich Drepper <drepper@redhat.com> |
247 | ||
248 | * sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with | |
249 | more than four parameters. | |
250 | Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>. | |
251 | ||
252 | 2003-06-12 Jakub Jelinek <jakub@redhat.com> | |
253 | ||
254 | * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. | |
255 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. | |
256 | * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file. | |
257 | ||
258 | * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h. | |
259 | ||
693ca688 RM |
260 | 2003-06-12 Roland McGrath <roland@redhat.com> |
261 | ||
262 | * Makerules ($(objpfx)stubs): Rewrite sed magic. | |
263 | ||
45ec72e8 UD |
264 | 2003-02-28 Isamu Hasegawa <isamu@yamato.ibm.com> |
265 | ||
266 | * posix/regcomp.c (parse_expression): Deliver translation to | |
267 | build_word_op, and build_charclass. | |
268 | (build_charclass): Apply translation for character classes too. | |
269 | (build_word_op): Deliver translation to build_charclass. | |
66b110e8 | 270 | * posix/transbug.c: New file. |
45ec72e8 UD |
271 | * posix/Makefile (tests): Add transbug. |
272 | ||
273 | 2003-06-04 Paolo Bonzini <bonzini@gnu.org> | |
274 | ||
275 | * posix/regexec.c (group_nodes_into_DFAstates): Check for | |
276 | NEXT_ENDBUF_CONSTRAINT. Move check for constraints which do a | |
277 | 'continue' before the others. | |
278 | ||
9c7ff11a UD |
279 | 2003-06-11 Ulrich Drepper <drepper@redhat.com> |
280 | ||
70e1c930 UD |
281 | * dirent/scandir.c (SCANDIR): Reset errno after calling selector |
282 | function [PR libc/5045]. | |
283 | ||
2236d6e1 UD |
284 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction |
285 | also for P4. | |
286 | ||
9c7ff11a UD |
287 | * time/tzfile.c: Add a couple of __builtin_expect. |
288 | ||
289 | Remove warnings gcc 3.3 shows. | |
290 | * argp/argp-help.c (hol_entry_short_iterate): Don't inline. | |
291 | * elf/dl-load.c (fillin_rpath): Likewise. | |
292 | (add_path): Likewise. | |
293 | * elf/dl-version.c (find_needed): Always inline. | |
294 | * elf/do-lookup.c (FCT): Don't inline. | |
295 | * iconv/Makefile: Extend vpath to intl subdir. | |
296 | (iconvconfig-modules): Add hash-string. | |
297 | * iconv/gconv_charset.h (strip): Don't inline. | |
298 | (upstr): Always inline. | |
299 | Move __gconv_compare_alias prototype to... | |
300 | * iconv/gconv_int.h: ...here. | |
301 | * iconv/gconv_db.c: Don't include gconv_charset.h. | |
302 | * iconv/gconv_conf.c (add_alias): Don't inline. | |
303 | (insert_module): Likewise. | |
304 | * iconv/gconv_simple.c (internal_ucs4_loop): Always inline. | |
305 | (internal_ucs4_loop_unaligned): Likewise. | |
306 | (internal_ucs4_loop_single): Likewise. | |
307 | (ucs4_internal_loop): Likewise. | |
308 | (ucs4_internal_loop_unaligned): Likewise. | |
309 | (ucs4_internal_loop_single): Likewise. | |
310 | (internal_ucs4le_loop): Always inline. | |
311 | (internal_ucs4le_loop_unaligned): Likewise. | |
312 | (internal_ucs4le_loop_single): Likewise. | |
313 | (ucs4le_internal_loop): Likewise. | |
314 | (ucs4le_internal_loop_unaligned): Likewise. | |
315 | (ucs4le_internal_loop_single): Likewise. | |
316 | * iconv/loop.c: Always inline the defined functions. | |
317 | * iconvdata/cns11642.h: Likewise. | |
318 | * iconvdata/cns11642l1.h: Likewise. | |
319 | * iconvdata/euc-kr.c: Likewise. | |
320 | * iconvdata/gb2312.h: Likewise. | |
321 | * iconvdata/jis0201.h: Likewise. | |
322 | * iconvdata/jis0208.h: Likewise. | |
323 | * iconvdata/jis0212.h: Likewise. | |
324 | * iconvdata/jisx0213.h: Likewise. | |
325 | * iconvdata/ksc5601.h: Likewise. | |
326 | * iconvdata/utf-7.c (base64): Don't inline. | |
327 | * include/libc-symbols.h (symbol_set_first_element): Add cast | |
328 | (symbol_set_end_p): Likewise. | |
329 | * include/set-hooks (RUN_HOOK): Likewise. | |
330 | * inet/Makefile (aux): Add ifreq. | |
331 | * intl/Makefile (aux): Add some entries from routines. Add | |
332 | hash-string. | |
333 | * intl/hash-string.c: New file. | |
334 | * intl/hash-string.h: Remove hash_string definition. Declare | |
335 | __hash_string. | |
336 | * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller. | |
337 | * iconv/iconvconfig.c (new_name): Likewise. | |
338 | * intl/dcigettext.c (_nl_find_msg): Likewise. | |
339 | * intl/loadmsgcat.c (_nl_load_domain): Likewise. | |
340 | * io/ftw.c (open_dir_stream): Always inline. | |
341 | (process_entry): Don't inline. | |
342 | * locale/findlocale.c: Include gconv_int.h. | |
343 | * locale/setlocale.c (new_composite_name): Don't inline. | |
344 | * locale/weight.h (findidx): Always inline. | |
345 | * locale/weightwc.h (findidx): Likewise. | |
346 | * locale/programs/linereader.c (lr_ignore_rest): Define here. | |
347 | * locale/programs/linereader.h (lr_ignore_rest): Don't define here, | |
348 | just declare it. | |
349 | (lr_getc): Always inline. | |
350 | (lr_ungetc): Likewise. | |
351 | * nss/nss_files/files-parse.c (parse_list): Likewise. | |
352 | * stdio-common/Makefile (aux): Add printf-parsemb and | |
353 | printf-parsewc. | |
354 | * stdio-common/_itoa.h (_itoa_word): Always inline. | |
355 | (_fitoa_word, _fitoa): Don't define here, only declare. | |
356 | * stdio-common/_itoa.c (_iftoa_word): Add here. | |
357 | (_fitoa): Likewise. | |
358 | * stdio-common/_itowa.h (_itowa_word): Always inline. | |
359 | * stdio-common/printf-parse.h (read_int): Don't inline. | |
360 | (find_spec): Don't define. | |
361 | Declare __find_specmb and __find_specwc. | |
362 | (parse_one_spec): Don't define. | |
363 | Declare __parse_one_specmb and __parse_one_specwc. | |
364 | * stdio-common/printf-parsemb.c: New file. | |
365 | * stdio-common/printf-parsewc.c: New file. | |
366 | * stdio-common/vfprintf.c: Update calls to find_spec and | |
367 | parse_one_spec for new names. | |
368 | * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT. | |
369 | * stdlib/Makefile (aux): Add grouping and groupingwc. | |
370 | * stdlib/grouping.c: New file. | |
371 | * stdlib/groupingwc.c: New file. | |
372 | * stdlib/grouping.h (correctly_grouped_prefix): Don't define here. | |
373 | Just prototype. | |
374 | * stdlib/rpmatch.c (try): Don't inline. | |
375 | * stdlib/strtod.c (round_and_return): Don't line. | |
376 | (str_to_mpn): Likewise. | |
377 | (__mpn_lshift_1): Always inline. Optimize only for constant count. | |
378 | Adjust for name change of correctly_grouped_prefix. | |
379 | * sysdeps/generic/strtol.c: Adjust for name change of | |
380 | correctly_grouped_prefix. | |
381 | * string/strxfrm.c (utf8_encode): Don't inline. | |
382 | * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp. | |
383 | * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp. | |
384 | * sysdeps/generic/ifreq.c: New file. | |
385 | * sysdeps/unix/sysv/linux/ifreq.c: New file. | |
386 | * sysdeps/generic/ifreq.h (__ifreq): Only declare here. | |
387 | * sysdeps/unix/sysv/linux/ifreq.h: Likewise. | |
388 | * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline. | |
389 | * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline. | |
390 | (fde_split): Likewise. | |
391 | (fde_merge): Likewise. | |
392 | (end_fde_sort): Likewise. | |
393 | (init_object): Likewise. | |
394 | (binary_search_unencoded_fdes): Likewise. | |
395 | (binary_search_single_encoding_fdes): Likewise. | |
396 | (binary_search_mixed_encoding_fdes): Likewise. | |
397 | * sysdeps/generic/wordexp.c (w_addchar): Don't inline. | |
398 | * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline. | |
399 | * sysdeps/posix/sprofil.c (profil_count): Don't inline. | |
400 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
401 | Add xstatconv. | |
402 | * sysdeps/unix/sysv/linux/xstatconv.h: New file. | |
403 | * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function. | |
404 | Export them. Prepend __ to name. | |
405 | * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h. | |
406 | * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of | |
407 | conversion functions. | |
408 | * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. | |
409 | * sysdeps/unix/sysv/linux/lxstat.c: Likewise. | |
410 | * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. | |
411 | * sysdeps/unix/sysv/linux/xstat.c: Likewise. | |
412 | * sysdeps/unix/sysv/linux/xstat64.c: Likewise. | |
413 | * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. | |
414 | * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. | |
415 | * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. | |
416 | * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max, | |
417 | __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended | |
418 | to name. Change callers. | |
419 | * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max, | |
420 | __statfs_filesize_max, __statfs_symlinks): Don't define here, just | |
421 | declare. | |
422 | * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers. | |
423 | * time/tzfile.c (decode): Always inline. | |
424 | * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*. | |
425 | Remove cast in tomb function call. | |
426 | * wcsmbs/wcsrtombs.c Likewise. | |
427 | * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in | |
428 | tomb function call. | |
429 | ||
c98d505c UD |
430 | 2003-06-10 Ulrich Drepper <drepper@redhat.com> |
431 | ||
432 | * po/zh_CN.po: Update from translation team. | |
433 | ||
434 | 2003-06-10 Jakub Jelinek <jakub@redhat.com> | |
435 | ||
436 | * sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST, | |
437 | IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define. | |
438 | ||
06120d79 UD |
439 | 2003-06-10 Ulrich Drepper <drepper@redhat.com> |
440 | ||
66b110e8 UD |
441 | * inet/Makefile (aux): Add check_pf. |
442 | * include/ifaddrs.h: Add prototype for __check_pf. | |
443 | * sysdeps/generic/check_pf.c: New file. | |
444 | * sysdeps/unix/sysv/linux/check_pf.c: New file. | |
1dc869d1 UD |
445 | * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed |
446 | from no_netlink_support. Export. | |
447 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs, | |
448 | call __check_pf. | |
449 | ||
450 | * sysdeps/generic/ifaddrs.h: Add libc_hidden_def. | |
451 | ||
06120d79 UD |
452 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory |
453 | from getifaddr calls. | |
454 | ||
54c92465 UD |
455 | 2003-06-09 Jakub Jelinek <jakub@redhat.com> |
456 | ||
457 | * sysdeps/unix/sysv/linux/kernel-features.h | |
458 | (__ASSUME_SETRESGID_SYSCALL): Define. | |
459 | * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL | |
460 | instead of __ASSUME_SETRESUID_SYSCALL. | |
461 | (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is | |
462 | defined. | |
463 | * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32 | |
464 | inline syscall if __NR_setresuid32 is defined. | |
465 | * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use | |
466 | __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL. | |
467 | * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes. | |
468 | * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. | |
469 | * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect | |
470 | code handling non-existant setresgid32 syscall with | |
471 | #if __ASSUME_SETRESGID_SYSCALL == 0. | |
472 | ||
473 | 2003-06-09 Andreas Schwab <schwab@suse.de> | |
474 | ||
475 | * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d. | |
476 | ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on | |
477 | $(objpfx)rpc-proto.d. | |
478 | (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include | |
479 | $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d. | |
480 | ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules. | |
481 | ||
bcd5f356 UD |
482 | 2003-06-08 Ulrich Drepper <drepper@redhat.com> |
483 | ||
eae59a56 UD |
484 | * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32 |
485 | syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is | |
486 | defined drop compatibility code. | |
487 | * sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32 | |
488 | syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is | |
489 | defined drop compatibility code. | |
490 | * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use | |
491 | setresuid32 syscall directly if possible. | |
492 | * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use | |
493 | setresgid32 syscall directly if possible. | |
f0da6a7d UD |
494 | * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX |
495 | compliant. Don't change sgid. | |
496 | * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX | |
497 | compliant. Don't change suid. | |
498 | ||
bcd5f356 UD |
499 | * config.h.in: Add have-forced-unwind. |
500 | * configure.in: Add AC_SUBST(libc_cv_forced_unwind). | |
501 | ||
e1d8e1b7 UD |
502 | 2003-06-07 Ulrich Drepper <drepper@redhat.com> |
503 | ||
ede0f73a UD |
504 | * test-skeleton.c (main): If EXPECTED_STATUS is defined check that |
505 | returned status from child matches. | |
506 | ||
e1d8e1b7 UD |
507 | * Makeconfig (gnulib): Add -lgcc_eh once again. |
508 | ||
3a370de8 UD |
509 | 2003-06-06 Ulrich Drepper <drepper@redhat.com> |
510 | ||
53854476 UD |
511 | * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid. |
512 | ||
3a370de8 UD |
513 | * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow |
514 | %edx for first parameter. This means no pushl and therefore the | |
515 | unwind info isn't screwed up. | |
516 | ||
6f1e513d RH |
517 | 2003-06-04 Richard Henderson <rth@redhat.com> |
518 | ||
bcd5f356 UD |
519 | * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. |
520 | * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. | |
521 | * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation. | |
522 | * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp | |
523 | entry sequence and explicit relocs. Add unwind info for sigreturn | |
524 | and rt_sigreturn. | |
525 | * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state. | |
f212e8dc | 526 | |
bcd5f356 UD |
527 | * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. |
528 | Annotate some parameters. | |
529 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New. | |
a56e4568 | 530 | |
bcd5f356 | 531 | * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion. |
44c7664f | 532 | |
bcd5f356 UD |
533 | * include/libc-symbols.h (symbol_set_declare): Use arrays |
534 | of unspecified size. | |
6f1e513d | 535 | |
cc7ee408 UD |
536 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> |
537 | ||
538 | * config.make.in (ASFLAGS-config): New. | |
539 | * Makeconfig (ASFLAGS): Append $(ASFLAGS-config). | |
540 | * configure.in (libc_cv_as_noexecstack): New check. | |
541 | (ASFLAGS_config): Substitute. | |
542 | ||
543 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> | |
544 | ||
545 | * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, | |
546 | hypot, logb): Protect with #ifdef __FAST_MATH__. | |
547 | ||
548 | 2003-06-04 Thorsten Kukuk <kukuk@suse.de> | |
549 | ||
550 | * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with | |
551 | #ifdef __FAST_MATH__. | |
552 | ||
1fb2614a UD |
553 | 2003-06-03 Ulrich Drepper <drepper@redhat.com> |
554 | ||
555 | * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow | |
556 | DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043]. | |
557 | * posix/globtest.sh: Adjust for this change. | |
558 | ||
332afd9e UD |
559 | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname |
560 | to get the actual PID value used in the records passed up. | |
561 | (getifaddrs): Don't initialize nh.pid here. | |
562 | ||
bb958f59 UD |
563 | 2003-06-02 Ulrich Drepper <drepper@redhat.com> |
564 | ||
7aebf855 UD |
565 | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor |
566 | optimization. | |
567 | ||
63ae67a9 UD |
568 | * po/zh_CN.po: Update from translation team. |
569 | ||
bb958f59 | 570 | * posix/getconf.c (main): Also recognize names without the |
cc7ee408 | 571 | _POSIX_ prefix. |
bb958f59 UD |
572 | |
573 | * elf/Makefile (CFLAGS-dl-lookup.c): Define. | |
574 | ||
051ed63d UD |
575 | 2003-06-02 Bernd Schmidt <bernds@redhat.com> |
576 | ||
577 | * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp, | |
578 | ldexpf, ldexpl): Only define if __FAST_MATH__. | |
579 | ||
0f501b7f RM |
580 | 2003-06-02 Richard C. Bilson <rcbilson@plg.uwaterloo.ca> |
581 | ||
582 | Replace hard-coded offsets into struct sigcontext with generated file. | |
583 | * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. | |
584 | * sysdeps/unix/sysv/linux/ia64/Makefile | |
585 | [$(subdir) = stdlib] (gen-as-const-headers): Add it. | |
586 | * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of | |
587 | defining SC_* macros here. | |
588 | ||
4a5f21e4 RM |
589 | 2003-06-02 Jakub Jelinek <jakub@redhat.com> |
590 | ||
591 | * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove. | |
592 | ||
32c1ba12 RM |
593 | 2003-06-01 Jakub Jelinek <jakub@redhat.com> |
594 | ||
595 | * sysdeps/i386/dl-machine.h: Include <sysdep.h>. | |
596 | ||
80b54217 UD |
597 | 2003-06-01 Ulrich Drepper <drepper@redhat.com> |
598 | ||
6f1acb30 UD |
599 | * test-skeleton.c (main): Request getopt to not reorder the |
600 | command line. | |
601 | ||
80b54217 UD |
602 | * elf/Makefile (CFLAGS-dl-runtime.c): Define. |
603 | ||
604 | * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match | |
605 | stpncpy. | |
606 | ||
31195be2 UD |
607 | 2003-05-31 Ulrich Drepper <drepper@redhat.com> |
608 | ||
609 | * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define. | |
610 | ||
06e2e0a7 UD |
611 | 2003-05-31 Jakub Jelinek <jakub@redhat.com> |
612 | ||
613 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict): | |
614 | New function. | |
615 | (elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid | |
616 | RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined, | |
617 | call elf_machine_plt_conflict instead of elf_machine_fixup_plt. | |
618 | ||
49b65043 UD |
619 | 2003-05-31 Ulrich Drepper <drepper@redhat.com> |
620 | ||
06e2e0a7 UD |
621 | * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add |
622 | CFI directives. | |
623 | ||
624 | * csu/Makefile: Fix Makefile warnings regarding Scrt1.o. | |
b6da933b | 625 | |
49b65043 UD |
626 | * libio/fileops.c (_IO_file_open): Don't mark as inline. |
627 | ||
b6da933b | 628 | * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with |
49b65043 UD |
629 | attribute used. |
630 | ||
5d4f57bd UD |
631 | 2003-05-30 Ulrich Drepper <drepper@redhat.com> |
632 | ||
633 | * scripts/config.guess: Update from master copy. | |
634 | * scripts/config.sub: Likewise. | |
635 | ||
d38145ff AJ |
636 | 2003-05-30 Guido Guenther <agx@sigxcpu.org> |
637 | ||
638 | * sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for | |
639 | SETUP_GP64 and friends. | |
640 | * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register | |
641 | names in internal_syscall{6,7}. | |
642 | * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. | |
643 | * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix | |
644 | number of syscall arguments. | |
645 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
646 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
647 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
648 | ||
2b1c0eea AJ |
649 | 2003-05-30 Andreas Jaeger <aj@suse.de> |
650 | ||
651 | * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): | |
652 | Add CFI directives. | |
653 | ||
654 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI | |
655 | directives. | |
656 | ||
657 | * sysdeps/generic/sysdep.h: Add CFI_* macros for C files. | |
658 | ||
659 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): | |
660 | Add CFI directives. | |
661 | ||
284bdc42 UD |
662 | 2003-05-30 Jakub Jelinek <jakub@redhat.com> |
663 | ||
664 | * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with | |
665 | SHARED. | |
666 | ||
73f082a2 RM |
667 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
668 | ||
669 | * Makerules: Always use -MP together with -MD. | |
670 | (sed-remove-dotot): Substitute $(..) also at start of line. | |
671 | ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. | |
672 | Generated defines with a single compiler call. | |
673 | Use $(sed-remove-dotdot). | |
674 | * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead | |
675 | of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). | |
676 | * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): | |
677 | Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). | |
678 | * sysdeps/unix/sysv/linux/mips/Makefile | |
679 | ($(objpfx)syscall-%.h): Likewise. | |
680 | ||
862ef982 RM |
681 | 2003-05-28 Roland McGrath <roland@redhat.com> |
682 | ||
683 | * malloc/malloc.h [! __GNUC__] (__const): Define if undefined. | |
684 | ||
fe2dcbcc RM |
685 | 2003-05-26 Aldy Hernandez <aldyh@redhat.com> |
686 | ||
687 | * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0. | |
688 | ||
f85a9e61 RM |
689 | 2003-05-28 Roland McGrath <roland@redhat.com> |
690 | ||
691 | * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to | |
692 | rt_sigprocmask system call. | |
693 | * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. | |
694 | From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>. | |
695 | ||
bc4647a1 UD |
696 | 2003-05-28 Ulrich Drepper <drepper@redhat.com> |
697 | ||
698 | * include/libc-symbols.h: Define hidden attribute for real also if | |
699 | LIBC_NONSHARED is defined. Patch by Jakub Jelinek. | |
700 | ||
701 | * csu/Makefile: Add rules to build Scrt1.o. | |
702 | * sysdeps/i386/elf/start.S: Make code compilable with SHARED. | |
2bcba929 | 703 | * sysdeps/x86_64/elf/start.S: Likewise. |
bc4647a1 | 704 | |
40a54e4d UD |
705 | 2003-05-27 Jakub Jelinek <jakub@redhat.com> |
706 | ||
707 | * stdio-common/vfprintf.c (process_arg, process_string_arg): Use | |
708 | pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char. | |
709 | * stdio-common/printf-parse.h (union printf_arg): Remove pa_char, | |
710 | pa_short_int, pa_u_short_int and pa_float. | |
711 | ||
712 | 2003-05-26 Jakub Jelinek <jakub@redhat.com> | |
713 | ||
714 | * libio/strops.c (_IO_str_init_static): Change into a wrapper around | |
715 | _IO_str_init_static_internal. | |
716 | (_IO_str_init_static_internal): Moved from _IO_str_init_static, | |
717 | change size argument to _IO_size_t, don't limit sprintf to 64M. | |
718 | (_IO_str_init_readonly): Call _IO_str_init_static_internal. | |
719 | * libio/wstrops.c (_IO_wstr_init_static): Change size argument to | |
720 | _IO_size_t, don't limit swprintf to 256M. | |
721 | (_IO_wstr_init_readonly): Remove. | |
722 | * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static): | |
723 | Adjust prototypes. | |
724 | (_IO_wstr_init_readonly): Remove prototype. | |
725 | * libio/iovsprintf.c (_IO_vsprintf): Use | |
726 | _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static). | |
727 | * libio/iovsscanf.c (_IO_vsscanf): Likewise. | |
728 | * libio/memstream.c (open_memstream): Likewise. | |
729 | * libio/obprintf.c (_IO_obstack_vfprintf): Likewise. | |
730 | * libio/vasprintf.c (_IO_vasprintf): Likewise. | |
731 | * libio/vsnprintf.c (_IO_vsnprintf): Likewise. | |
732 | * stdio-common/tst-sprintf.c (main): Add new test. | |
733 | ||
6458d814 UD |
734 | 2003-05-26 Ulrich Drepper <drepper@redhat.com> |
735 | ||
736 | * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some | |
737 | other implementation in respect of multiple uses of parameter with | |
738 | different types. | |
739 | ||
69431c9a UD |
740 | 2003-05-25 Ulrich Drepper <drepper@redhat.com> |
741 | ||
742 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
743 | __ASSUME_FUTEX_REQUEUE for >= 2.5.70. | |
744 | ||
5550a8fa AJ |
745 | 2003-05-22 Andreas Jaeger <aj@suse.de> |
746 | ||
747 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI | |
748 | directives. | |
749 | * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. | |
750 | * sysdeps/x86_64/strtok.S: Likewise. | |
751 | ||
3087604f AJ |
752 | 2003-05-20 Guido Guenther <agx@sigxcpu.org> |
753 | ||
754 | * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL | |
755 | to -60 and define SI_TKILL. | |
756 | ||
cca4aa58 UD |
757 | 2003-05-21 H.J. Lu <hongjiu.lu@intel.com> |
758 | ||
69431c9a | 759 | * math/test-fenv.c (feexcp_nomask_test): Fix comment. |
cca4aa58 UD |
760 | (feexcp_mask_test): Likewise. |
761 | ||
6d1d0720 UD |
762 | 2003-05-21 Ulrich Drepper <drepper@redhat.com> |
763 | ||
84c9409e UD |
764 | * locale/programs/locale.c (main): Fix typo in last patch. |
765 | ||
6d1d0720 UD |
766 | * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, |
767 | __init_array_start, __init_array_end, __fini_array_start, and | |
768 | __fini_array_end as hidden. | |
769 | ||
2e119864 UD |
770 | 2003-05-21 Petter Reinholdtsen <pere@hungry.com> |
771 | ||
772 | * locale/programs/locale.c (main): Report an error if setlocale() | |
773 | fails [PR libc/2254]. | |
774 | ||
775 | 2003-05-21 Jakub Jelinek <jakub@redhat.com> | |
776 | ||
777 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
778 | ||
779 | 2003-05-21 Jakub Jelinek <jakub@redhat.com> | |
780 | ||
781 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0, | |
782 | LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, | |
783 | LOADARGS_6): Don't error if syscall argument is a string literal. | |
784 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0, | |
785 | LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, | |
786 | LOADARGS_6): Likewise. | |
787 | ||
50189569 AJ |
788 | 2003-05-21 Andreas Jaeger <aj@suse.de> |
789 | ||
790 | * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, | |
791 | cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, | |
792 | cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. | |
793 | ||
794 | * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. | |
795 | (ENTRY): Likewise. | |
796 | (END): Likewise. | |
797 | ||
798 | * configure.in: Test for asm cfi directives. | |
799 | ||
800 | * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES. | |
801 | ||
4bd2d98c AJ |
802 | 2003-05-17 Andreas Jaeger <aj@suse.de> |
803 | ||
2384fe20 AJ |
804 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch. |
805 | ||
4bd2d98c AJ |
806 | * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep. |
807 | ||
7ffac51f UD |
808 | 2003-05-16 Ulrich Drepper <drepper@redhat.com> |
809 | ||
0a8730cb UD |
810 | * rt/Makefile (tests): Add tst-clock_nanosleep. |
811 | * rt/tst-clock_nanosleep.c: New file. | |
812 | * posix/Makefile (tests): Add tst-nanosleep. | |
813 | * posix/tst-nanosleep.c: New file. | |
814 | ||
a8078760 UD |
815 | * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition. |
816 | ||
23ae6451 UD |
817 | * include/features.h (__USE_XOPEN2K): Define also for |
818 | _POSIX_C_SOURCE>=200112L. | |
819 | ||
bc58c14e UD |
820 | * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold |
821 | SI_TKILL code into SI_USER. | |
822 | * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. | |
823 | ||
7ffac51f UD |
824 | * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all. |
825 | ||
63c7a7e8 UD |
826 | 2003-05-15 Jakub Jelinek <jakub@redhat.com> |
827 | ||
828 | * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): | |
829 | Remove sym argument, always use refsym. | |
830 | (__process_machine_rela): Adjust callers. | |
831 | * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): | |
832 | Likewise. | |
833 | * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): | |
834 | Adjust prototype. | |
835 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. | |
836 | ||
115a45a7 UD |
837 | 2003-05-15 Ulrich Drepper <drepper@redhat.com> |
838 | ||
839 | * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo | |
840 | (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known | |
841 | print numeric values. | |
842 | ||
b523afae UD |
843 | 2003-05-12 Thorsten Kukuk <kukuk@suse.de> |
844 | ||
845 | * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD. | |
846 | ||
f0725b01 UD |
847 | 2003-05-14 Andreas Schwab <schwab@suse.de> |
848 | ||
849 | * sysdeps/unix/sysv/linux/ia64/umount.c: New file. | |
850 | ||
81f3ac4c UD |
851 | 2003-05-14 Jakub Jelinek <jakub@redhat.com> |
852 | ||
853 | * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope | |
854 | even if no DT_NEEDED is present. | |
855 | ||
c9300aef UD |
856 | 2003-05-13 David Mosberger <davidm@hpl.hp.com> |
857 | ||
858 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from | |
859 | 2003-03-27: setjmp is NOT a leaf-routine (due to the call to | |
860 | __sigjmp_save) so we can't keep the saved unat value in a scratch | |
861 | register (r16). Use loc2 instead. | |
862 | ||
d7234d9f UD |
863 | 2003-05-13 Ulrich Drepper <drepper@redhat.com> |
864 | ||
1ad318d3 UD |
865 | * csu/Makefile: Do compile elf-init with PIC flag since in dynamic |
866 | binaries it has to be relocatable. | |
867 | ||
d7234d9f UD |
868 | * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available. |
869 | ||
7158eae4 UD |
870 | 2003-05-12 Steven Munroe <sjmunroe@us.ibm.com> |
871 | ||
872 | * sysdeps/powerpc/bits/atomic.h | |
873 | (__arch_compare_and_exchange_bool_8_rel): Define. | |
874 | (__arch_compare_and_exchange_bool_16_rel): Define. | |
875 | (__ARCH_REL_INSTR): Define if not already defined. | |
876 | (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list. | |
877 | (__arch_atomic_decrement_if_positive_32): | |
878 | Add "memory" to clobber list. | |
879 | (__arch_compare_and_exchange_val_32_acq): Remove release sync. | |
880 | (__arch_compare_and_exchange_val_32_rel): Define. | |
881 | (__arch_atomic_exchange_32): Remove. | |
882 | (__arch_atomic_exchange_32_acq): Define. | |
883 | (__arch_atomic_exchange_32_rel): Define. | |
884 | (atomic_compare_and_exchange_val_rel): Define. | |
885 | (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms. | |
886 | (atomic_exchange_rel): Define. | |
887 | * sysdeps/powerpc/powerpc32/bits/atomic.h | |
888 | (__arch_compare_and_exchange_bool_32_acq): Remove release sync. | |
889 | (__arch_compare_and_exchange_bool_32_rel): Define. | |
890 | (__arch_compare_and_exchange_bool_64_rel): Define. | |
891 | (__arch_compare_and_exchange_val_64_rel): Define. | |
892 | (__arch_atomic_exchange_64): Remove. | |
893 | (__arch_atomic_exchange_64_acq): Define. | |
894 | (__arch_atomic_exchange_64_rel): Define. | |
895 | * sysdeps/powerpc/powerpc64/bits/atomic.h | |
896 | (__arch_compare_and_exchange_bool_32_rel): Define. | |
897 | (__arch_compare_and_exchange_bool_64_acq): Remove release sync. | |
898 | (__arch_compare_and_exchange_bool_64_rel): Define. | |
899 | (__arch_compare_and_exchange_val_64_acq): Remove release sync. | |
900 | (__arch_compare_and_exchange_val_64_rel): Define. | |
901 | (__arch_atomic_exchange_64): Remove. | |
902 | (__arch_atomic_exchange_64_acq): Define. | |
903 | (__arch_atomic_exchange_64_rel): Define. | |
904 | (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list. | |
905 | (__arch_atomic_decrement_if_positive_64): | |
906 | Add "memory" to clobber list. | |
907 | [!UP](__ARCH_REL_INSTR): Define as lwsync. | |
908 | ||
edf205d5 UD |
909 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
910 | ||
911 | * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names. | |
912 | ||
913 | 2003-05-11 Ulrich Drepper <drepper@redhat.com> | |
914 | ||
915 | * time/tst-strftime.c (do_test): Add tests for - flag. | |
916 | ||
917 | 2003-05-11 Jim Meyering <jim@meyering.net> | |
918 | ||
919 | * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect | |
7158eae4 | 920 | the space-padded-by-default conversion specifiers, %e, %k, %l. |
edf205d5 | 921 | |
8403786b AS |
922 | 2003-05-11 Andreas Schwab <schwab@suse.de> |
923 | ||
924 | * sysdeps/generic/sched_setaffinity.c: Fix parameter name. | |
925 | ||
0e563cd6 UD |
926 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> |
927 | ||
928 | * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not | |
929 | already defined and when really needed. | |
930 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
931 | ||
d9997a45 UD |
932 | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> |
933 | ||
934 | * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel | |
935 | headers, add defines from kernel header, move it from here... | |
936 | * inet/netinet/igmp.h: ... to here. | |
937 | * inet/Makefile (headers): Add netinet/igmp.h. | |
938 | * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h. | |
939 | * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h. | |
940 | ||
941 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> | |
942 | ||
943 | * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL, | |
944 | use dummy sigevent structure with SIGEV_NONE [PR libc/5015]. | |
945 | ||
946 | 2003-05-09 Thorsten Kukuk <kukuk@suse.de> | |
947 | ||
948 | * libio/bits/stdio.h: Sync prototypes with libio/stdio.h | |
949 | (remove __THROW from possible cancellation points). | |
950 | ||
de85d40b UD |
951 | 2003-05-10 Ulrich Drepper <drepper@redhat.com> |
952 | ||
d067c97e | 953 | * posix/sched.h (CPU_SETSIZE): Define. |
de85d40b | 954 | |
880867a4 UD |
955 | 2003-05-09 Ulrich Drepper <drepper@redhat.com> |
956 | ||
c7652699 UD |
957 | * Makeconfig (gnulib): Remove -lgcc_eh again. |
958 | ||
949ec764 UD |
959 | * posix/sched.h: Change prototypes of sched_getaffinity and |
960 | sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. | |
961 | * sysdeps/generic/sched_getaffinity.c: Adjust definition. | |
962 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
963 | * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, | |
964 | __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, | |
965 | __CPU_CLR, and __CPU_ISSET. | |
966 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
967 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. | |
968 | * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. | |
969 | ||
970 | * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. | |
971 | (atomic_exchange_rel): New #define. | |
972 | * sysdeps/ia64/bits/atomic.h: Likewise. | |
973 | * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from | |
974 | atomic_exchange. | |
975 | * sysdeps/m68k/m68020/bits/atomic.h: Likewise. | |
976 | * sysdeps/powerpc/bits/atomic.h: Likewise. | |
977 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. | |
978 | * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. | |
979 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
980 | * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange. | |
981 | ||
880867a4 UD |
982 | * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file. |
983 | ||
92d83c72 UD |
984 | 2003-05-08 Ulrich Drepper <drepper@redhat.com> |
985 | ||
986 | * malloc/thread-m.h: Remove special handling of thread_atfork if | |
987 | HAVE_register_atfork_malloc is defined. | |
988 | ||
7618d44c AJ |
989 | 2003-05-07 Andreas Jaeger <aj@suse.de> |
990 | ||
991 | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind | |
992 | information. | |
993 | ||
14a2bd4b UD |
994 | 2003-05-06 Ulrich Drepper <drepper@redhat.com> |
995 | ||
996 | * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. | |
997 | * libio/oldiofopen.c (_IO_old_fopen): Likewise. | |
998 | * libio/libioP.h: Declare _IO_old_init. | |
999 | * libio/genops.c (_IO_no_init): Split in two. New function | |
1000 | _IO_old_init. | |
1001 | ||
9946f75a UD |
1002 | 2003-05-05 Ulrich Drepper <drepper@redhat.com> |
1003 | ||
be4d8038 UD |
1004 | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New |
1005 | variable. | |
1006 | (__libc_init_secure): Don't do anything if __libc_enable_secure_decided | |
1007 | is nonzero. | |
1008 | * include/unistd.h: Declare __libc_enable_secure_decided. | |
1009 | * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, | |
1010 | and AT_EGID. If all found, set __libc_enable_secure and | |
1011 | __libc_enable_secure_decided. | |
1012 | ||
9946f75a UD |
1013 | * sysdeps/generic/libc-start.c [!SHARED]: Call |
1014 | __libc_check_standard_fds after __libc_init_first. | |
1015 | ||
955a7039 RM |
1016 | 2003-05-05 Roland McGrath <roland@redhat.com> |
1017 | ||
1018 | * Makerules (common-before-compile): New variable. | |
1019 | ($(common-objpfx)%.make): Depend on that instead of $(before-compile). | |
1020 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule | |
1021 | to after all setting of before-compile. | |
1022 | ||
4661a153 UD |
1023 | 2003-05-05 Jakub Jelinek <jakub@redhat.com> |
1024 | ||
1025 | * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, | |
1026 | __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. | |
1027 | * sysdeps/powerpc/powerpc32/bits/atomic.h | |
1028 | (__arch_compare_and_exchange_val_64_acq): Likewise. | |
1029 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h | |
1030 | (__arch_compare_and_exchange_val_8_acq, | |
1031 | __arch_compare_and_exchange_val_16_acq, | |
1032 | __arch_compare_and_exchange_val_64_acq): Likewise. | |
1033 | * sysdeps/sparc/sparc64/bits/atomic.h | |
1034 | (__arch_compare_and_exchange_val_8_acq, | |
1035 | __arch_compare_and_exchange_val_16_acq): Likewise. | |
1036 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, | |
1037 | __arch_compare_and_exchange_val_16_acq, | |
1038 | __arch_compare_and_exchange_val_64_acq): Likewise. | |
1039 | * sysdeps/unix/sysv/linux/sh/bits/atomic.h | |
1040 | (__arch_compare_and_exchange_val_64_acq): Likewise. | |
1041 | * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut | |
1042 | up warning. | |
1043 | * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. | |
1044 | ||
1045 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | |
1046 | (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): | |
1047 | Return long instead of int. | |
1048 | (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace | |
1049 | 0xfffff001u with -4095UL. | |
1050 | ||
461e1ce0 AJ |
1051 | 2003-05-05 Andreas Jaeger <aj@suse.de> |
1052 | ||
c7c8ca97 AJ |
1053 | * sysdeps/x86_64/fpu_control.h: New from i386. |
1054 | ||
461e1ce0 AJ |
1055 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop): |
1056 | Define if not defined. | |
1057 | ||
955a7039 RM |
1058 | * sunrpc/Makefile (generated-dirs): New variable. |
1059 | * resolv/Makefile (generated): New variable. | |
0696c2c0 | 1060 | |
4b0b5882 RM |
1061 | 2003-05-04 Roland McGrath <roland@redhat.com> |
1062 | ||
c6696b79 RM |
1063 | * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file. |
1064 | Depend on $(before-compile). | |
1065 | ||
4b0b5882 RM |
1066 | * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static |
1067 | pattern rule. The implicit rule could be ruled out when $(objpfx) | |
1068 | didn't exist at the time of its consideration (ugh!). | |
1069 | ||
1070 | * Makerules (+make-deps): Fix target matching. | |
1071 | Use $(sed-remove-dotdot). | |
1072 | ||
a12ce44f UD |
1073 | 2003-05-03 Ulrich Drepper <drepper@redhat.com> |
1074 | ||
1075 | * nscd/nscd.c (main): Parse config file right after parsing | |
1076 | parameters. Then, if get_stats is true, call receive_print_stats. | |
1077 | Drop parameter from nscd_init call. | |
1078 | (get_stats): New variable. | |
1079 | (parse_opt): Set get_stats, don't call receive_print_stats here. | |
1080 | * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init | |
1081 | prototype. | |
1082 | * nscd/connections.c (stat_user, stat_uid): New variables. | |
1083 | (dbs): Make global. | |
1084 | (nscd_init): Don't read configuration file here. Drop parameter. | |
1085 | (handle_request): Cleanup handling of non-database lookup requests. | |
1086 | * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. | |
1087 | Get UID of the specified user. Use xstrdup instead of strdup. | |
1088 | * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, | |
1089 | check stat_user. | |
1090 | * nscd/Makefile (nscd-modules): Add xstrdup. | |
1091 | * nscd/nscd.conf: Document stat-user entry. | |
1092 | ||
1093 | 2003-05-03 H.J. Lu <hongjiu.lu@intel.com> | |
1094 | ||
1095 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define | |
1096 | if not defined. | |
1097 | ||
f866314b UD |
1098 | 2003-04-22 Roland McGrath <roland@redhat.com> |
1099 | ||
1100 | * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME. | |
1101 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove | |
1102 | dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead. | |
1103 | * elf/dl-support.c: Update defn. | |
1104 | * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases. | |
1105 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: | |
1106 | Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR. | |
1107 | (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME. | |
1108 | * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is | |
1109 | set, set up a link_map for the preloaded, prelinked object. | |
1110 | ||
05d3d580 RM |
1111 | 2003-05-03 Roland McGrath <roland@redhat.com> |
1112 | ||
1113 | * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... | |
1114 | * stdio-common/Makefile: ... not here. | |
1115 | ||
1116 | * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile). | |
1117 | * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise. | |
1118 | ||
0a8fe089 UD |
1119 | 2003-05-02 Ulrich Drepper <drepper@redhat.com> |
1120 | ||
ba080fa6 UD |
1121 | * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file. |
1122 | ||
90a315b0 UD |
1123 | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define. |
1124 | ||
f903b515 UD |
1125 | * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for |
1126 | comparing ftab elements. | |
1127 | (_dl_unmap): Fix typo in test. | |
ceb927c9 UD |
1128 | (_dl_make_fptr): Fix typos introduced in last change. |
1129 | ||
0a8fe089 UD |
1130 | * sysdeps/generic/dl-fptr.c: Put back one optimization from the |
1131 | original patch. Use non-exported symbols. Mark translatable | |
1132 | strings. Pretty printing. | |
1133 | ||
a0c8a249 RM |
1134 | 2003-05-02 Roland McGrath <roland@redhat.com> |
1135 | ||
1136 | * Makerules (do-stamp): Do $(make-target-directory). | |
1137 | ||
a92026c9 UD |
1138 | 2003-04-07 H.J. Lu <hjl@gnu.org> |
1139 | ||
1140 | * sysdeps/generic/dl-fptr.c: Modify to remove the lock. | |
1141 | ||
1142 | 2003-04-03 H.J. Lu <hjl@gnu.org> | |
1143 | ||
1144 | * sysdeps/ia64/dl-fptr.c: Moved to ... | |
1145 | * sysdeps/generic/dl-fptr.c: Here. | |
1146 | ||
1147 | * sysdeps/generic/dl-fptr.h: New. | |
1148 | * sysdeps/ia64/dl-fptr.h: New. | |
1149 | ||
1150 | * sysdeps/ia64/dl-symaddr.c: Moved to ... | |
1151 | * sysdeps/generic/dl-symaddr.c: here. | |
1152 | ||
1153 | * sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>. | |
1154 | (IA64_BOOT_FPTR_TABLE_LEN): Removed. | |
1155 | (ia64_fdesc): Likewise. | |
1156 | (ia64_fdesc_table): Likewise. | |
1157 | (__ia64_make_fptr): Likewise. | |
1158 | (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table | |
1159 | with _dl_boot_fptr_table. | |
1160 | (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with | |
1161 | `struct fdesc'. | |
1162 | (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr. | |
1163 | ||
362f5ae2 RM |
1164 | 2003-05-01 Roland McGrath <roland@redhat.com> |
1165 | ||
1166 | * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. | |
1167 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. | |
1168 | ||
1169 | * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): | |
1170 | Use $(make-target-directory). | |
1171 | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. | |
1172 | ||
1173 | * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. | |
1174 | (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). | |
1175 | (compile-command.s, compile-command.c): Likewise. | |
1176 | ($(objpfx)%.d): All such pattern rules removed. | |
1177 | ($(+sysdir_pfx)sysd-rules): Don't generate them. | |
1178 | ($(common-objpfx)dummy.d): Target removed. | |
1179 | (make-dummy-dep): Variable removed. | |
1180 | (generate-md5): Likewise. | |
1181 | (%.d: %.dt): New pattern rule. | |
1182 | (+depfiles): Use $(wildcard) function to get just existing *.d files | |
1183 | and .d files for existing *.dt files. | |
1184 | (common-clean): Remove all *.d and *.dt files. | |
1185 | (before-compile): Add $(objpfx). when it doesn't exist, | |
1186 | regardless of $(no_deps). | |
1187 | * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. | |
1188 | (rtld-depfiles): Use .os.d instead of .d names. | |
1189 | Include existing *.d files and .d files for existing *.dt files. | |
1190 | ||
1191 | * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. | |
1192 | Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. | |
1193 | ||
1194 | * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. | |
1195 | Do s-*.d includes only if we have some syscall routines in this subdir. | |
1196 | ||
1197 | * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of | |
1198 | @nobits. The former is accepted by gas on any ELF platform. | |
1199 | ||
a234e27d UD |
1200 | 2003-05-01 Ulrich Drepper <drepper@redhat.com> |
1201 | ||
cf20f569 UD |
1202 | * sysdeps/unix/sysv/linux/semtimedop.c: New file. |
1203 | ||
a234e27d UD |
1204 | * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. |
1205 | ||
1206 | 2003-04-29 Andreas Schwab <schwab@suse.de> | |
1207 | ||
1208 | * string/test-strcat.c (do_one_test): Fix attribute name. | |
1209 | ||
27b301e4 AO |
1210 | 2003-04-30 Alexandre Oliva <aoliva@redhat.com> |
1211 | ||
1212 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make | |
1213 | uc_flags long for all ABIs. | |
1214 | ||
f545f1df AJ |
1215 | 2003-04-30 Andreas Jaeger <aj@suse.de> |
1216 | ||
1217 | * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h | |
1218 | (DR_CONTROL_RESERVED): Use correct value for 64-bit. | |
1219 | Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>. | |
1220 | Add bi-arch support. | |
1221 | ||
f773ff64 UD |
1222 | 2003-04-30 Ulrich Drepper <drepper@redhat.com> |
1223 | ||
1224 | * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal. | |
1225 | (__posix_memalign): Use __memalign_internal instead of memalign. | |
1226 | ||
20792f99 RM |
1227 | 2003-04-29 Roland McGrath <roland@redhat.com> |
1228 | ||
1229 | * configure.in: Search for AUTOCONF unconditionally. | |
1230 | Just don't complain about missing it under --without-cvs. | |
20792f99 RM |
1231 | |
1232 | * include/libc-symbols.h (__symbol_set_attribute): New macro, | |
1233 | give hidden for [SHARED] and weak for [! SHARED]. | |
1234 | (symbol_set_declare): Use that. Never need weak_extern these days. | |
1235 | * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE. | |
1236 | Depend on $(..)Makerules. | |
1237 | ||
85dd1003 UD |
1238 | 2003-04-29 Ulrich Drepper <drepper@redhat.com> |
1239 | ||
153da599 UD |
1240 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected |
1241 | variants of socket, bind, recvmsg, and sendto. | |
1242 | ||
85dd1003 UD |
1243 | * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word. |
1244 | ||
1245 | * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset. | |
1246 | * signal/sigaddset.c: Add libc_hidden_def. | |
1247 | * signal/sigdelset.c: Likewise. | |
1248 | ||
1249 | 2003-04-29 Jakub Jelinek <jakub@redhat.com> | |
1250 | ||
1251 | * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move | |
1252 | to the end of the file. | |
1253 | ||
1254 | * configure.in: Change __oline__ to $LINENO. | |
1255 | (HAVE_BUILTIN_REDIRECTION): New check. | |
1256 | * config.h.in (HAVE_BUILTIN_REDIRECTION): Add. | |
1257 | * include/libc-symbols.h (libc_hidden_builtin_proto, | |
1258 | libc_hidden_builtin_def, libc_hidden_builtin_weak, | |
1259 | libc_hidden_builtin_ver): Define. | |
1260 | * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr, | |
1261 | strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr, | |
1262 | strspn, strstr): Add libc_hidden_builtin_proto. | |
1263 | * intl/plural.y: Include string.h. | |
1264 | * sysdeps/alpha/alphaev6/memchr.S (memchr): Add | |
1265 | libc_hidden_builtin_def. | |
1266 | * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise. | |
1267 | * sysdeps/alpha/alphaev6/memset.S (memset): Likewise. | |
1268 | * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise. | |
1269 | * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise. | |
1270 | * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise. | |
1271 | * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise. | |
1272 | * sysdeps/alpha/memchr.S (memchr): Likewise. | |
1273 | * sysdeps/alpha/memset.S (memset): Likewise. | |
1274 | * sysdeps/alpha/strcat.S (strcat): Likewise. | |
1275 | * sysdeps/alpha/strchr.S (strchr): Likewise. | |
1276 | * sysdeps/alpha/strcmp.S (strcmp): Likewise. | |
1277 | * sysdeps/alpha/strcpy.S (strcpy): Likewise. | |
1278 | * sysdeps/alpha/strlen.S (strlen): Likewise. | |
1279 | * sysdeps/alpha/strncmp.S (strncmp): Likewise. | |
1280 | * sysdeps/alpha/strncpy.S (strncpy): Likewise. | |
1281 | * sysdeps/alpha/strrchr.S (strrchr): Likewise. | |
1282 | * sysdeps/arm/memset.S (memset): Likewise. | |
1283 | * sysdeps/arm/strlen.S (strlen): Likewise. | |
1284 | * sysdeps/generic/memchr.c (memchr): Likewise. | |
1285 | * sysdeps/generic/memcpy.c (memcpy): Likewise. | |
1286 | * sysdeps/generic/memmove.c (memmove): Likewise. | |
1287 | * sysdeps/generic/memset.c (memset): Likewise. | |
1288 | * sysdeps/generic/strcat.c (strcat): Likewise. | |
1289 | * sysdeps/generic/strchr.c (strchr): Likewise. | |
1290 | * sysdeps/generic/strcmp.c (strcmp): Likewise. | |
1291 | * sysdeps/generic/strcpy.c (strcpy): Likewise. | |
1292 | * sysdeps/generic/strcspn.c (strcspn): Likewise. | |
1293 | * sysdeps/generic/strlen.c (strlen): Likewise. | |
1294 | * sysdeps/generic/strncmp.c (strncmp): Likewise. | |
1295 | * sysdeps/generic/strncpy.c (strncpy): Likewise. | |
1296 | * sysdeps/generic/strpbrk.c (strpbrk): Likewise. | |
1297 | * sysdeps/generic/strrchr.c (strrchr): Likewise. | |
1298 | * sysdeps/generic/strspn.c (strspn): Likewise. | |
1299 | * sysdeps/generic/strstr.c (strstr): Likewise. | |
1300 | * sysdeps/i386/i486/strcat.S (strcat): Likewise. | |
1301 | * sysdeps/i386/i486/strlen.S (strlen): Likewise. | |
1302 | * sysdeps/i386/i586/memcpy.S (memcpy): Likewise. | |
1303 | * sysdeps/i386/i586/memset.S (memset): Likewise. | |
1304 | * sysdeps/i386/i586/strchr.S (strchr): Likewise. | |
1305 | * sysdeps/i386/i586/strcpy.S (strcpy): Likewise. | |
1306 | * sysdeps/i386/i586/strlen.S (strlen): Likewise. | |
1307 | * sysdeps/i386/i686/memcpy.S (memcpy): Likewise. | |
1308 | * sysdeps/i386/i686/memmove.S (memmove): Likewise. | |
1309 | * sysdeps/i386/i686/memset.S (memset): Likewise. | |
1310 | * sysdeps/i386/i686/strcmp.S (strcmp): Likewise. | |
1311 | * sysdeps/i386/memchr.S (memchr): Likewise. | |
1312 | * sysdeps/i386/memset.c (memset): Likewise. | |
1313 | * sysdeps/i386/strchr.S (strchr): Likewise. | |
1314 | * sysdeps/i386/strcspn.S (strcspn): Likewise. | |
1315 | * sysdeps/i386/strlen.c (strlen): Likewise. | |
1316 | * sysdeps/i386/strpbrk.S (strpbrk): Likewise. | |
1317 | * sysdeps/i386/strrchr.S (strrchr): Likewise. | |
1318 | * sysdeps/i386/strspn.S (strspn): Likewise. | |
1319 | * sysdeps/ia64/memchr.S (memchr): Likewise. | |
1320 | * sysdeps/ia64/memcpy.S (memcpy): Likewise. | |
1321 | * sysdeps/ia64/memmove.S (memmove): Likewise. | |
1322 | * sysdeps/ia64/memset.S (memset): Likewise. | |
1323 | * sysdeps/ia64/strcat.S (strcat): Likewise. | |
1324 | * sysdeps/ia64/strchr.S (strchr): Likewise. | |
1325 | * sysdeps/ia64/strcmp.S (strcmp): Likewise. | |
1326 | * sysdeps/ia64/strcpy.S (strcpy): Likewise. | |
1327 | * sysdeps/ia64/strlen.S (strlen): Likewise. | |
1328 | * sysdeps/ia64/strncmp.S (strncmp): Likewise. | |
1329 | * sysdeps/ia64/strncpy.S (strncpy): Likewise. | |
1330 | * sysdeps/m68k/memchr.S (memchr): Likewise. | |
1331 | * sysdeps/m68k/strchr.S (strchr): Likewise. | |
1332 | * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise. | |
1333 | * sysdeps/mips/mips64/memset.S (memset): Likewise. | |
1334 | * sysdeps/mips/memcpy.S (memcpy): Likewise. | |
1335 | * sysdeps/mips/memset.S (memset): Likewise. | |
1336 | * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. | |
1337 | * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise. | |
1338 | * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise. | |
1339 | * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise. | |
1340 | * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise. | |
1341 | * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise. | |
1342 | * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise. | |
1343 | * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise. | |
1344 | * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise. | |
1345 | * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise. | |
1346 | * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise. | |
1347 | * sysdeps/powerpc/strcat.c (strcat): Likewise. | |
1348 | * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise. | |
1349 | * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise. | |
1350 | * sysdeps/sparc/sparc32/memset.S (memset): Likewise. | |
1351 | * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise. | |
1352 | * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise. | |
1353 | * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise. | |
1354 | * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise. | |
1355 | * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise. | |
1356 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise. | |
1357 | * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise. | |
1358 | * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise. | |
1359 | * sysdeps/sparc/sparc64/memset.S (memset): Likewise. | |
1360 | * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise. | |
1361 | * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise. | |
1362 | * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise. | |
1363 | * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise. | |
1364 | * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise. | |
1365 | * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise. | |
1366 | * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise. | |
1367 | * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise. | |
1368 | * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise. | |
1369 | * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise. | |
1370 | * sysdeps/sh/memcpy.S (memcpy): Likewise. | |
1371 | * sysdeps/sh/memset.S (memset): Likewise. | |
1372 | * sysdeps/sh/strlen.S (strlen): Likewise. | |
1373 | * sysdeps/s390/s390-32/memchr.S (memchr): Likewise. | |
1374 | * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise. | |
1375 | * sysdeps/s390/s390-32/memset.S (memset): Likewise. | |
1376 | * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise. | |
1377 | * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise. | |
1378 | * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise. | |
1379 | * sysdeps/s390/s390-64/memchr.S (memchr): Likewise. | |
1380 | * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise. | |
1381 | * sysdeps/s390/s390-64/memset.S (memset): Likewise. | |
1382 | * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise. | |
1383 | * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise. | |
1384 | * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise. | |
1385 | * sysdeps/x86_64/memcpy.S (memcpy): Likewise. | |
1386 | * sysdeps/x86_64/memset.S (memset): Likewise. | |
1387 | * sysdeps/x86_64/strcat.S (strcat): Likewise. | |
1388 | * sysdeps/x86_64/strchr.S (strchr): Likewise. | |
1389 | * sysdeps/x86_64/strcmp.S (strcmp): Likewise. | |
1390 | * sysdeps/x86_64/strcpy.S (strcpy): Likewise. | |
1391 | * sysdeps/x86_64/strcspn.S (strcspn): Likewise. | |
1392 | * sysdeps/x86_64/strlen.S (strlen): Likewise. | |
1393 | * sysdeps/x86_64/strspn.S (strspn): Likewise. | |
1394 | * string/string-inlines.c: Move... | |
1395 | * sysdeps/generic/string-inlines.c: ...here. | |
1396 | (__memcpy_g, __strchr_g): Remove. | |
1397 | (__NO_INLINE__): Define before including <string.h>, | |
1398 | undefine after. Include bits/string.h and bits/string2.h. | |
1399 | * sysdeps/i386/i486/string-inlines.c: New file. | |
1400 | * sysdeps/i386/string-inlines.c: New file. | |
1401 | * sysdeps/i386/i486/Versions: Remove. | |
1402 | All GLIBC_2.1.1 symbols moved... | |
1403 | * sysdeps/i386/Versions (libc): ...here. | |
1404 | ||
e40468fa UD |
1405 | 2003-04-29 Ulrich Drepper <drepper@redhat.com> |
1406 | ||
1407 | * sysdeps/i386/fpu/Makefile: New file. | |
1408 | * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word. | |
1409 | * sysdeps/i386/fpu/feenablxcpt.c: Likewise. | |
1410 | * sysdeps/i386/fpu/feholdexcpt.c: Likewise. | |
1411 | * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode | |
1412 | [PR libc/4987]. | |
1413 | ||
12c80513 UD |
1414 | 2003-04-28 Ulrich Drepper <drepper@redhat.com> |
1415 | ||
1416 | * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect. | |
1417 | * nscd/nscd_getpw_r.c: Likewise. | |
1418 | * nscd/nscd_gethst_r.c: Likewise. | |
1419 | ||
fe453812 UD |
1420 | 2003-04-27 Ulrich Drepper <drepper@redhat.com> |
1421 | ||
1422 | * nscd/pwdcache.c: Initialize .version element in result. | |
1423 | * nscd/grpcache.c: Likewise. | |
1424 | * nscd/pwdcache.c: Likewise. | |
1425 | ||
bf7725a9 RM |
1426 | 2003-04-27 Andreas Schwab <schwab@suse.de> |
1427 | ||
1428 | * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in | |
1429 | subdirectory. | |
1430 | ||
26576375 AS |
1431 | 2003-04-27 Andreas Schwab <schwab@suse.de> |
1432 | ||
1433 | * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file. | |
1434 | ||
a7ed068e UD |
1435 | 2003-04-27 Ulrich Drepper <drepper@redhat.com> |
1436 | ||
a16e3585 UD |
1437 | * nscd/connections.c (client_queued): New variable. |
1438 | (nscd_run): Revamp the loop. Don't call poll except for cleanup | |
1439 | threads. Keep track of the number of delays caused because of busy | |
1440 | worker threads. | |
1441 | * nscd/nscd.h: Declare client_queued. | |
1442 | * nscd/nscd_stat.c: Transmit and print client_queued information. | |
1443 | ||
76352f64 UD |
1444 | * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX. |
1445 | ||
a7ed068e UD |
1446 | * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to |
1447 | define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs. | |
1448 | ||
541765b6 UD |
1449 | 2003-04-26 Ulrich Drepper <drepper@redhat.com> |
1450 | ||
1451 | * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement | |
1452 | tracking of freed memory in static TLS block. | |
1453 | * elf/Makefile: Add rules to build and run tst-tls13. | |
1454 | * elf/tst-tls13.c: New file. | |
1455 | * elf/tst-tlsmod13.c: New file. | |
1456 | * elf/tst-tlsmod13a.c: New file. | |
1457 | ||
1458 | * elf/tst-tls8.c: Adjust types of variables to avoid warnings. | |
1459 | ||
1460 | * elf/dl-reloc.c: Pretty printing. | |
1461 | ||
358cad7c RM |
1462 | 2003-04-26 Roland McGrath <roland@redhat.com> |
1463 | ||
1464 | * Makerules ($(common-objpfx)shlib.lds): New target. | |
1465 | (common-generated): Add it. | |
1466 | (build-shlib, build-module): Use that instead of generating every time. | |
1467 | ($(common-objpfx)libc.so): Depend on it. | |
1468 | (lib%.so rule): Likewise. | |
1469 | (build-module-helper-objlist): Remove %.lds. | |
5ae340e3 | 1470 | (LDSEDCMD-c.so): Variable removed. |
358cad7c RM |
1471 | * iconvdata/extra-module.mk ($(objpfx)$(mod).so): |
1472 | Depend on $(common-objpfx)shlib.lds. | |
1473 | * dlfcn/Makefile ($(test-modules)): Likewise. | |
1474 | ||
d3f063bc RM |
1475 | 2003-04-26 Roland McGrath <roland@frob.com> |
1476 | ||
1477 | * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals. | |
1478 | ||
06a04e09 UD |
1479 | 2003-04-26 Andreas Schwab <schwab@suse.de> |
1480 | ||
1481 | * elf/dl-close.c (remove_slotinfo): Fix missing parens. | |
1482 | ||
f24dca48 UD |
1483 | 2003-04-25 Ulrich Drepper <drepper@redhat.com> |
1484 | ||
c86e6aec UD |
1485 | * nscd/cache.c (cache_search): Keep track of how many chain links |
1486 | we searched and update table statistics. | |
1487 | (cache_add): Keep track of how many values are in the table. | |
1488 | (prune_cache): Likewise. Keep track of locking success. | |
1489 | Print messages about removed entries in separate pass. | |
1490 | * nscd/connections.c (handle_request): Don't print debug message here. | |
1491 | The caller will do it. Keep track of locking success. | |
1492 | (nscd_run): Print debug message. Also print PID of the client process. | |
1493 | * nscd/nscd.c (start_time): New variable. | |
1494 | (main): Remember start time. | |
1495 | * nscd/nscd.h: Declare start_time. | |
1496 | (struct database): Add more members for new statistics. | |
1497 | * nscd/nscd_stat.c: Add support for sending, receiving, and printing | |
1498 | of new statistics. | |
1499 | ||
f24dca48 UD |
1500 | * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>. |
1501 | ||
299601a1 UD |
1502 | 2003-04-22 Jakub Jelinek <jakub@redhat.com> |
1503 | ||
1504 | * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. | |
1505 | * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. | |
1506 | * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to | |
1507 | NO_TLS_OFFSET. | |
1508 | * elf/rtld.c (_dl_start_final, _dl_start): Likewise. | |
1509 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. | |
1510 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. | |
1511 | * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract | |
1512 | TLS_TCB_SIZE. | |
1513 | ||
925c3c5c UD |
1514 | 2003-04-24 Ulrich Drepper <drepper@redhat.com> |
1515 | ||
29bfc945 UD |
1516 | * nss/getent.c: Implement alternative host database lookup via |
1517 | getaddrinfo. | |
1518 | ||
925c3c5c UD |
1519 | * include/ifaddrs.h: New file. |
1520 | * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and | |
1521 | AI_ADDRCONFIG... | |
1522 | * resolv/netdb.h: ...here. | |
1523 | * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. | |
1524 | * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. | |
1525 | * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and | |
1526 | AI_ADDRCONFIG. | |
1527 | ||
4c513679 RM |
1528 | 2003-04-24 Roland McGrath <roland@redhat.com> |
1529 | ||
1530 | * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. | |
1531 | ||
8e27f45e RM |
1532 | 2003-04-24 Jakub Jelinek <jakub@redhat.com> |
1533 | ||
1534 | * elf/dl-reloc.c (allocate_static_tls): Rename to... | |
1535 | (_dl_allocate_static_tls): ... this function. No longer static. | |
1536 | (CHECK_STATIC_TLS): Adjust. | |
1537 | * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. | |
1538 | * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): | |
1539 | Add SYM_MAP argument. | |
1540 | (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. | |
1541 | Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit | |
1542 | TLS relocs here. #ifdef out relocs which never appear in | |
1543 | .gnu.conflict section from dl-conflict.c processing. | |
1544 | * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): | |
1545 | Add SYM_MAP argument. Handle 16-bit TLS relocs here. | |
1546 | ||
1547 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef | |
1548 | out relocs which never appear in .gnu.conflict section from | |
1549 | dl-conflict.c processing. | |
1550 | * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. | |
1551 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. | |
1552 | * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. | |
1553 | Use r_type in RESOLVE macro. | |
1554 | ||
b9b9a51e UD |
1555 | 2003-04-23 Ulrich Drepper <drepper@redhat.com> |
1556 | ||
4c513679 | 1557 | * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != |
345d9208 UD |
1558 | NULL. Remove code made redundant by this assumption. |
1559 | (__yp_unbind): Add call to free. Adjust all callers. | |
1560 | ||
47ae3942 | 1561 | * nis/ypclnt.c (yp_all): Free the dom_binding object after |
29bfc945 | 1562 | unbinding it. |
47ae3942 | 1563 | |
b9b9a51e UD |
1564 | * grp/initgroups.c (getgrouplist): Don't copy too much into the |
1565 | user buffer if more groups are found than fit into it. | |
1566 | ||
1567 | * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use | |
1568 | extend_alloca. | |
1569 | ||
63af556f RM |
1570 | 2003-04-23 Jakub Jelinek <jakub@redhat.com> |
1571 | ||
370b4d44 UD |
1572 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, |
1573 | not rc == errno. Use extend_alloca. | |
1574 | ||
63af556f RM |
1575 | * elf/tst-tls12.c (main): Fix declaration. |
1576 | * elf/tst-tls10.c (dummy): Make hidden instead of static. | |
1577 | * elf/tst-tlsmod7.c (dummy): Likewise. | |
1578 | * elf/tst-tlsmod8.c (dummy): Likewise. | |
1579 | * elf/tst-tlsmod9.c (dummy): Likewise. | |
1580 | ||
1581 | 2003-04-22 Roland McGrath <roland@redhat.com> | |
1582 | ||
1583 | * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. | |
1584 | (open_not_cancel): Make last argument non-optional. | |
1585 | * sysdeps/generic/check_fds.c (check_one_fd): Update caller. | |
1586 | * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. | |
1587 | * iconv/gconv_cache.c (__gconv_load_cache): Likewise. | |
1588 | ||
1589 | * include/tls.h: Protect against multiple inclusion. | |
1590 | ||
4c5dd2a2 UD |
1591 | 2003-04-22 Ulrich Drepper <drepper@redhat.com> |
1592 | ||
1593 | * nscd/nscd-client.h: Add declaration for __nscd_open_socket. | |
1594 | * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from | |
1595 | open_socket. Not static anymore. | |
1596 | (nscd_gethst_r): Use __nscd_open_socket. | |
1597 | * nscd/nscd_getgr_r.c (open_socket): Removed. | |
1598 | (nscd_getgr_r): Use __nscd_open_socket. | |
1599 | * nscd/nscd_getpw_r.c (open_socket): Removed. | |
1600 | (nscd_getpw_r): Use __nscd_open_socket. | |
1601 | ||
1602 | * nscd/nscd.c (main): Change type of fdn to long int and use strtol. | |
1603 | * nscd/connections.c (handle_request): Add cast to avoid warning. | |
1604 | ||
e7608d77 UD |
1605 | 2003-04-21 Ulrich Drepper <drepper@redhat.com> |
1606 | ||
6a87ee19 UD |
1607 | * signal/sigfillset.c: Moved to... |
1608 | * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined | |
1609 | do not set the corresponding bit. | |
1610 | ||
e7608d77 UD |
1611 | * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for |
1612 | SIGCANCEL. | |
1613 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. | |
1614 | * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. | |
1615 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. | |
1616 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. | |
1617 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. | |
1618 | ||
680dd6f2 UD |
1619 | 2003-04-20 Ulrich Drepper <drepper@redhat.com> |
1620 | ||
a4faf243 | 1621 | * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast |
e7608d77 | 1622 | first syscall parameter to const char*. |
680dd6f2 | 1623 | |
0b3df49e UD |
1624 | 2003-04-19 Ulrich Drepper <drepper@redhat.com> |
1625 | ||
40c90e00 UD |
1626 | * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run. |
1627 | ||
58a7a325 UD |
1628 | * configure.in: Add AC_PROG_CXX. |
1629 | * config.make.in (CXX): Define. | |
1630 | ||
0b3df49e UD |
1631 | * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of |
1632 | __len to size_t to avoid warnings. | |
1633 | ||
84a420c0 UD |
1634 | 2003-04-18 Jes Sorensen <jes@wildopensource.com> |
1635 | ||
1636 | * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux | |
1637 | 2.5.67. | |
1638 | * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
1639 | ||
2c008571 UD |
1640 | 2003-04-19 Ulrich Drepper <drepper@redhat.com> |
1641 | ||
4e648ea3 UD |
1642 | * stdlib/cxa_finalize.c (__cxa_finalize): Don't call |
1643 | UNREGISTER_ATFORK if d == NULL. | |
1644 | ||
2c008571 UD |
1645 | * catgets/nl_types.h: Remove __THROW marker from cancellation points. |
1646 | * dirent/dirent.h: Likewise. | |
1647 | * dlfcn/dlfcn.h: Likewise. | |
1648 | * grp/grp.h: Likewise. | |
1649 | * iconv/iconv.h: Likewise. | |
1650 | * io/fcntl.h: Likewise. | |
1651 | * io/ftw.h: Likewise. | |
1652 | * libio/stdio.h: Likewise. | |
1653 | * misc/sys/mman.h: Likewise. | |
1654 | * misc/sys/select.h: Likewise. | |
1655 | * misc/sys/syslog.h: Likewise. | |
1656 | * misc/sys/uio.h: Likewise. | |
1657 | * posix/spawn.h: Likewise. | |
1658 | * posix/unistd.h: Likewise. | |
1659 | * posix/sys/wait.h: Likewise. | |
1660 | * pwd/pwd.h: Likewise. | |
1661 | * resolv/netdb.h: Likewise. | |
1662 | * rt/aio.h: Likewise. | |
1663 | * shadow/shadow.h: Likewise. | |
1664 | * signal/signal.h: Likewise. | |
1665 | * socket/sys/socket.h: Likewise. | |
1666 | * stdlib/stdlib.h: Likewise. | |
1667 | * streams/stropts.h: Likewise. | |
1668 | * string/string.h: Likewise. | |
1669 | * sysdeps/gnu/utmpx.h: Likewise. | |
1670 | * sysvipc/sys/msg.h: Likewise. | |
1671 | * termios/termios.h: Likewise. | |
1672 | * time/time.h: Likewise. | |
1673 | * wcsmbs/wchar.h: Likewise. | |
1674 | * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable | |
1675 | functions. | |
1676 | * misc/daemon.c: Likewise. | |
1677 | * sysdeps/generic/backtracesymsfd.c: Likewise. | |
1678 | * sysdeps/generic/check_fds.c: Likewise. | |
1679 | * sysdeps/unix/sysv/linux/gethostid.c: Likewise. | |
1680 | * sysdeps/unix/sysv/linux/not-cancel.h: New file. | |
1681 | * sysdeps/generic/not-cancel.h: New file. | |
1682 | * csu/Makefile (distribute): Add not-cancel.h. | |
1683 | * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. | |
1684 | * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE | |
1685 | for assert.c and assert-perr.c to include <fatal-prepare.h>. | |
1686 | * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. | |
1687 | ||
1688 | * sysdeps/posix/remove.c (remove): Rewrite. No need to restore | |
1689 | errno and unlink first. | |
1690 | ||
1691 | * io/ftw.c (ftw_dir): In all places assume fchdir is available. | |
1692 | ||
1693 | 2003-04-18 Ulrich Drepper <drepper@redhat.com> | |
1694 | ||
1695 | * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use | |
1696 | INTERNAL_SYSCALL instead of INLINE_SYSCALL. | |
1697 | ||
aae9d42b UD |
1698 | 2003-04-17 Ulrich Drepper <drepper@redhat.com> |
1699 | ||
7c2842bf UD |
1700 | * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling. |
1701 | ||
1702 | * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k. | |
1703 | * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not | |
1704 | replace. | |
1705 | ||
aae9d42b UD |
1706 | * signal/Makefile (tests): Add tst-sigsimple. |
1707 | * signal/tst-sigsimple.c: New file. | |
1708 | ||
94c24227 UD |
1709 | 2003-04-16 Jakub Jelinek <jakub@redhat.com> |
1710 | ||
1711 | * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and | |
1712 | tst-tls10.h. | |
1713 | (tests): Add tst-tls1[0-2]. | |
1714 | (modules-names): Add tst-tlsmod{[7-8],1[0-2]}. | |
1715 | ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so. | |
1716 | ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so. | |
1717 | ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so. | |
1718 | ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so. | |
1719 | ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so. | |
1720 | ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so. | |
1721 | * elf/tst-tls10.c: New test. | |
1722 | * elf/tst-tls11.c: New test. | |
1723 | * elf/tst-tls12.c: New test. | |
1724 | * elf/tst-tls10.h: New file. | |
1725 | * elf/tst-tlsmod7.c: New file. | |
1726 | * elf/tst-tlsmod8.c: New file. | |
1727 | * elf/tst-tlsmod9.c: New file. | |
1728 | * elf/tst-tlsmod10.c: New file. | |
1729 | * elf/tst-tlsmod11.c: New file. | |
1730 | * elf/tst-tlsmod12.c: New file. | |
1731 | ||
1732 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> | |
1733 | ||
1734 | * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ... | |
1735 | * sysdeps/powerpc/powerpc32/bits/atomic.h: New file. | |
1736 | * sysdeps/powerpc/powerpc64/bits/atomic.h: New file. | |
1737 | ||
ef4d5b32 UD |
1738 | 2003-04-17 Ulrich Drepper <drepper@redhat.com> |
1739 | ||
94c24227 UD |
1740 | * posix/regex.h: Include <sys/types.h>. |
1741 | ||
66cd688c UD |
1742 | * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. |
1743 | The signal number must be checked. | |
89e28f65 UD |
1744 | * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. |
1745 | The signal number must be checked [PR libc/5004]. | |
1746 | ||
9e9f1f15 UD |
1747 | * sysdeps/unix/sysv/linux/system.c: If compiled without threads |
1748 | don't do anything fancy. | |
1749 | ||
1750 | * sysdeps/generic/bits/libc-lock.h: Define | |
1751 | __rtld_lock_define_initialized_recursive. | |
1752 | ||
ef4d5b32 UD |
1753 | * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry |
1754 | contacting nscd if NOT_USENSCD_NAME > 0. | |
1755 | * nss/nsswitch.c (__nss_disable_nscd): New function. | |
1756 | * nss/nsswitch.h: Declare it. | |
1757 | * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd. | |
1758 | * nscd/nscd.c (main): Call __nss_disable_nscd. | |
1759 | ||
81641068 UD |
1760 | 2003-04-16 Ulrich Drepper <drepper@redhat.com> |
1761 | ||
a4de3776 UD |
1762 | * stdio-common/perror.c (perror): We don't need to set the offset |
1763 | to _IO_pos_bad, this is how streams are initialized. | |
1764 | ||
86d27307 UD |
1765 | * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned. |
1766 | (time_output): If necessary, allocate new buffer for .name string if | |
1767 | padding is required. | |
1768 | ||
31dfab9e UD |
1769 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths |
1770 | before copying. This might leave holes in the list. Adjust | |
1771 | pointers if necessary. | |
1772 | (netlink_receive): Allocate only one block. | |
1773 | (free_netlink_handle): Adjust appropriately. | |
1774 | (getifaddrs): Lots of cleanups. | |
1775 | ||
1dd42dfc | 1776 | * string/test-strncpy.c (do_one_test): Mark start and stop as |
81641068 | 1777 | possibly unused. |
c9df3df9 UD |
1778 | * string/test-memchr.c: Likewise. |
1779 | * string/test-memcmp.c: Likewise. | |
1780 | * string/test-memcpy.c: Likewise. | |
1781 | * string/test-memmove.c: Likewise. | |
1782 | * string/test-memset.c: Likewise. | |
1783 | * string/test-strcat.c: Likewise. | |
1784 | * string/test-strchr.c: Likewise. | |
1785 | * string/test-strcmp.c: Likewise. | |
1786 | * string/test-strcpy.c: Likewise. | |
1787 | * string/test-strlen.c: Likewise. | |
1788 | * string/test-strncmp.c: Likewise. | |
1789 | * string/test-strpbrk.c: Likewise. | |
1790 | * string/test-strrchr.c: Likewise. | |
1791 | * string/test-strspn.c: Likewise. | |
81641068 | 1792 | |
4ab6f47c RM |
1793 | 2003-04-15 Roland McGrath <roland@redhat.com> |
1794 | ||
1795 | * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning. | |
1796 | ||
1797 | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for | |
1798 | INTUSE(__register_frame_info_bases). | |
1799 | ||
162434a6 UD |
1800 | 2003-04-15 Ulrich Drepper <drepper@redhat.com> |
1801 | ||
1802 | * elf/elf.h: Define AT_SYSINFO_EH_FRAME. | |
1803 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle | |
dce3db56 | 1804 | AT_SYSINFO_EH_FRAME. Adjust string width. |
162434a6 UD |
1805 | (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. |
1806 | * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): | |
1807 | Add _dl_sysinfo_eh_frame field. | |
1808 | * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. | |
1809 | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj | |
1810 | variable. | |
1811 | [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases | |
1812 | if _dl_sysinfo_eh_frame is non-NULL. | |
1813 | ||
1814 | * Makeconfig (gnulib): Add -lgcc_eh. | |
1815 | ||
1816 | * config.h.in: Define HAVE_FORCED_UNWIND. | |
1817 | ||
482eb33c UD |
1818 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> |
1819 | ||
1820 | * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit. | |
1821 | * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. | |
1822 | ||
aa3f2410 UD |
1823 | 2003-04-15 Jakub Jelinek <jakub@redhat.com> |
1824 | ||
1825 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid | |
1826 | checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is | |
1827 | against local symbol in conflict processing. | |
1828 | ||
6087c485 UD |
1829 | 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> |
1830 | ||
1831 | * sysdeps/powerpc/bits/atomic.h | |
1832 | [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define. | |
1833 | [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined | |
1834 | as abort stub. | |
1835 | (__arch_compare_and_exchange_val_32_acq): Define. | |
1836 | (atomic_compare_and_exchange_val_acq): Define. | |
1837 | ||
a1b5424f UD |
1838 | 2003-04-15 Ulrich Drepper <drepper@redhat.com> |
1839 | ||
1840 | * include/atomic.h: Pretty printing. | |
1841 | ||
52a7f7c0 UD |
1842 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> |
1843 | ||
1844 | * stdio-common/vfscanf.c: Add casts to avoid warnings. | |
1845 | ||
bd4f43b4 UD |
1846 | 2003-04-14 Jakub Jelinek <jakub@redhat.com> |
1847 | ||
1848 | * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX. | |
1849 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
1850 | ||
1851 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> | |
1852 | ||
1853 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and | |
1854 | POPARGS_1 to emit labels for the mov instructions. | |
1855 | ||
1856 | 2003-04-14 Jakub Jelinek <jakub@redhat.com> | |
1857 | ||
1858 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define. | |
1859 | ||
8133a3fd RM |
1860 | 2003-04-14 Roland McGrath <roland@redhat.com> |
1861 | ||
1862 | * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence | |
1863 | compiler warning. | |
1864 | ||
1865 | * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge. | |
1866 | ||
39a46c42 UD |
1867 | 2003-04-14 Ulrich Drepper <drepper@redhat.com> |
1868 | ||
1869 | * string/strxfrm.c (STRXFRM): Terminate rulearr at correct | |
1870 | position. Reported by jreiser@BitWagon.com. | |
1871 | ||
a1fb9649 UD |
1872 | 2003-04-13 Ulrich Drepper <drepper@redhat.com> |
1873 | ||
1874 | * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version. | |
1875 | * sysdeps/generic/unwind-dw2-fde.h: Likewise. | |
1876 | * sysdeps/generic/unwind-dw2.c: Likewise. | |
1877 | * sysdeps/generic/unwind-pe.h: Likewise. | |
1878 | ||
6a1aff69 AO |
1879 | 2003-04-13 Alexandre Oliva <aoliva@redhat.com> |
1880 | ||
1881 | * sysdeps/unix/sysv/linux/mips/profil-counter: New. | |
1882 | * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. | |
1883 | * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. | |
1884 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. | |
1885 | (mcontext_t): Make it match the 32-bit mips kernel in o32. | |
1886 | * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from | |
1887 | the mips and mips64 headers. | |
1888 | (struct user): Port to n32/n64. | |
1889 | ||
7cc1894c UD |
1890 | 2003-04-12 Ulrich Drepper <drepper@redhat.com> |
1891 | ||
1892 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to | |
1893 | avoid warning. | |
1894 | ||
1895 | * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If | |
1896 | __ASSUME_VSYSCALL is defined don't add restorer. | |
1897 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
1898 | __ASSUME_VSYSCALL for 2.5.53. | |
1899 | ||
09d65ff3 UD |
1900 | 2003-04-11 Ulrich Drepper <drepper@redhat.com> |
1901 | ||
1902 | * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. | |
1903 | Remove HAVE_CANCELBUF code. Replace with code using the new | |
1904 | initializers for unwind-based cleanup handling. | |
1905 | * sysdeps/generic/unwind.h: Update from latest gcc version. | |
1906 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few | |
1907 | places to allow unwind data generation. | |
1908 | * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. | |
1909 | * sysdeps/x86_64/bits/setjmp.h: Likewise. | |
1910 | * sysdeps/sh/bits/setjmp.h: Likewise. | |
1911 | * sysdeps/powerpc/bits/setjmp.h: Likewise. | |
1912 | * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. | |
1913 | * sysdeps/alpha/bits/setjmp.h: Likewise. | |
1914 | ||
0dc44b51 RM |
1915 | 2003-04-11 Roland McGrath <roland@redhat.com> |
1916 | ||
1917 | * csu/tst-empty.c: New file. | |
1918 | * csu/Makefile (tests, tests-static): Add it. | |
1919 | ||
52a5e975 RM |
1920 | 2003-04-11 Jakub Jelinek <jakub@redhat.com> |
1921 | ||
9fb0cae8 RM |
1922 | * string/test-strcmp.c (do_random_tests): Test whether return value |
1923 | has been promoted to wordsize if the ABI requires caller to do so. | |
1924 | * string/test-strncmp.c (do_random_tests): Likewise. | |
1925 | * string/test-memcmp.c (do_random_tests): Likewise. | |
1926 | ||
1927 | * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN | |
1928 | before returning. | |
1929 | ||
b35fce97 RM |
1930 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
1931 | (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL | |
1932 | is not defined, but the prctl constants are. | |
1933 | ||
52a5e975 RM |
1934 | * string/tester.c (test_strcmp): Fix a typo. |
1935 | ||
539f1d28 UD |
1936 | 2003-04-09 Ulrich Drepper <drepper@redhat.com> |
1937 | ||
1938 | * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. | |
1939 | * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. | |
1940 | ||
c9efbeda AO |
1941 | 2003-04-08 Alexandre Oliva <aoliva@redhat.com> |
1942 | ||
1943 | * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on | |
1944 | NewABI. | |
1945 | (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on | |
1946 | NewABI. | |
1947 | * sysdeps/mips/mips64/memcpy.S: Adjust register naming | |
1948 | conventions. | |
1949 | * sysdeps/mips/mips64/memset.S: Likewise. | |
1950 | * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: | |
1951 | Use t0 instead of t4 as temporary. | |
1952 | ||
cb4d04cd UD |
1953 | 2003-04-07 Ulrich Drepper <drepper@redhat.com> |
1954 | ||
1955 | * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use | |
1956 | feof_unlocked instead of feof. | |
1957 | (add_dir): Ignore trailing whitespace. | |
1958 | ||
0a7cfefb RM |
1959 | 2003-04-07 Jakub Jelinek <jakub@redhat.com> |
1960 | ||
1961 | * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to | |
1962 | sum of SIZE1 and SIZE2 arguments. | |
1963 | ||
e8b0d4a1 UD |
1964 | 2003-04-06 Ulrich Drepper <drepper@redhat.com> |
1965 | ||
1966 | * iconv/iconv_prog.c (process_block): Don't print message about | |
1967 | invalid input if the -c option is used. | |
1968 | (main): Correctly append IGNORE string for -c option. | |
1969 | ||
e87d07a0 RM |
1970 | 2002-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1971 | ||
1972 | * sysdeps/sh/bits/atomic.h: Moved to ... | |
1973 | * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments. | |
1974 | (__arch_compare_and_exchange_val_*_acq): Add parens around macro | |
e8b0d4a1 | 1975 | arguments. |
e87d07a0 RM |
1976 | (atomic_bit_set, atomic_bit_test_set): Likewise. |
1977 | (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument | |
1978 | twice. | |
1979 | (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. | |
1980 | ||
24ff6479 RM |
1981 | 2003-04-06 Roland McGrath <roland@redhat.com> |
1982 | ||
1983 | * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register | |
1984 | restoration as done for setcontext yesterday. | |
1985 | ||
efedd9cf UD |
1986 | 2003-04-06 Jakub Jelinek <jakub@redhat.com> |
1987 | ||
1988 | * elf/rtld.c: Revert 2003-03-14 change. | |
1989 | * elf/dl-conflict.c (_dl_resolve_conflicts): Move | |
1990 | #if ! ELF_MACHINE_NO_RELA conditional into the routine. | |
1991 | ||
abefbc51 UD |
1992 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
1993 | ||
a9f17952 UD |
1994 | * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999]. |
1995 | ||
abefbc51 UD |
1996 | * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): |
1997 | Always initialize *signgamp before returning an error. | |
1998 | ||
a5392bed UD |
1999 | 2003-04-05 Roland McGrath <roland@redhat.com> |
2000 | ||
2001 | * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing | |
2002 | below the stack pointer even if switching to the same context we are | |
2003 | running right now. | |
2004 | ||
ee6bf14d UD |
2005 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
2006 | ||
a5392bed UD |
2007 | * catgets/gencat.c (read_input_file): Make sure that \n is not |
2008 | alone on the line before testing for continuation. | |
2009 | ||
2010 | * math/test-tgmath.c (compile_test): Initialize c. | |
ee6bf14d | 2011 | |
743f1874 AO |
2012 | 2003-04-05 Alexandre Oliva <aoliva@redhat.com> |
2013 | ||
2014 | * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. | |
2015 | * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. | |
2016 | * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available | |
2017 | on mips n32. | |
ee6bf14d | 2018 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why |
743f1874 AO |
2019 | XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data |
2020 | structure on n32 as well. | |
2021 | * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant | |
2022 | data types on n32 and n64. | |
2023 | ||
54e0138f UD |
2024 | 2003-04-05 Ulrich Drepper <drepper@redhat.com> |
2025 | ||
b4068b0a UD |
2026 | * libio/fileops.c (_IO_new_file_fopen): Don't free step data right |
2027 | after getting them. | |
2028 | ||
54e0138f UD |
2029 | * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If |
2030 | HAVE_register_atfork_malloc is defined use __register_atfork_malloc | |
2031 | instead of __register_atfork. | |
2032 | ||
d0f534e9 RM |
2033 | 2003-04-05 Jakub Jelinek <jakub@redhat.com> |
2034 | ||
2035 | * stdio-common/reg-printf.c (__register_printf_function): Calloc | |
2036 | instead of malloc __printf_arginfo_table and __printf_function_table. | |
2037 | Reported by John Reiser <jreiser@BitWagon.com>. | |
2038 | ||
beb03cee RM |
2039 | 2003-04-04 Steven Munroe <sjmunroe@us.ibm.com> |
2040 | ||
2041 | * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations. | |
2042 | * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. | |
2043 | ||
2044 | * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before | |
2045 | defining. | |
2046 | ||
26b54a6b AO |
2047 | 2003-04-04 Alexandre Oliva <aoliva@redhat.com> |
2048 | ||
2049 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust | |
2050 | for n64 abi. | |
2051 | ||
ff084b87 RM |
2052 | 2003-04-03 Roland McGrath <roland@redhat.com> |
2053 | ||
2054 | * configure.in: Fix up use of compilation flags to match the build: | |
2055 | For .s files, $ASFLAGS; | |
2056 | For .S files, $CPPFLAGS $ASFLAGS; | |
2057 | For .c files, $CFLAGS $CPPFLAGS; | |
2058 | when linking, add $LDFLAGS. | |
2059 | * configure: Regenerated. | |
2060 | ||
dd59050d UD |
2061 | 2003-04-03 Jakub Jelinek <jakub@redhat.com> |
2062 | ||
2063 | * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test | |
2064 | for atomic_compare_and_exchange_bool_acq failure. | |
2065 | ||
148bb057 UD |
2066 | 2003-04-03 Ulrich Drepper <drepper@redhat.com> |
2067 | ||
2068 | * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION, | |
2069 | _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and | |
2070 | _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION. | |
2071 | Remove declaration of pthread_atfork. | |
2072 | ||
d903678a UD |
2073 | 2003-04-02 Ulrich Drepper <drepper@redhat.com> |
2074 | ||
fab07ed6 UD |
2075 | * locale/iso-639.def: Add many more languages from the current ISO 639. |
2076 | ||
d903678a UD |
2077 | * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop. |
2078 | * sysdeps/generic/semtimedop.c: New file. | |
2079 | * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file. | |
2080 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop. | |
2081 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
2082 | * sysvipc/Makefile (routines): Add semtimedop. | |
2083 | * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop. | |
2084 | * sysvipc/sys/sem.h: Declare semtimedop. | |
2085 | ||
42607429 RM |
2086 | 2003-04-02 Daniel Jacobowitz <drow@mvista.com> |
2087 | ||
2088 | * configure.in: Check for __register_frame_info in both | |
2089 | -lgcc and -lgcc_eh. | |
2090 | * configure: Regenerated. | |
2091 | ||
a95ced3e RM |
2092 | 2003-04-01 Roland McGrath <roland@redhat.com> |
2093 | ||
2094 | * scripts/abilist.awk: Allow dots in soname suffix. | |
2095 | ||
2096 | * scripts/abilist.awk (emit): Fix bailout condition. | |
2097 | ||
fbb7fc75 UD |
2098 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
2099 | ||
9a197dcc RM |
2100 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the |
2101 | IA-64 version. | |
2102 | ||
fbb7fc75 UD |
2103 | * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp |
2104 | register as input to asm. | |
2105 | ||
4b1a1328 UD |
2106 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
2107 | ||
2108 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo. | |
2109 | ||
73588175 AJ |
2110 | 2003-04-01 Andreas Jaeger <aj@suse.de> |
2111 | ||
2112 | * configure.in: Output as/ld as name if version is too old. | |
2113 | ||
640f0119 RM |
2114 | 2003-03-31 Daniel Jacobowitz <drow@mvista.com> |
2115 | ||
2116 | * configure.in: Don't require an installed C library in the test | |
2117 | for ".set" assembler support. | |
640f0119 RM |
2118 | |
2119 | 2003-03-31 Roland McGrath <roland@redhat.com> | |
2120 | ||
2121 | * signal/tst-sigset.c: New file. | |
2122 | * signal/Makefile (tests): Add it. | |
2123 | ||
582b54aa UD |
2124 | 2003-03-31 Ulrich Drepper <drepper@redhat.com> |
2125 | ||
2126 | * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. | |
2127 | * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. | |
2128 | * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. | |
2129 | * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. | |
2130 | (__SIGRTMAX): Adjust accordingly. | |
2131 | * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define | |
2132 | second compatibility symbol set. | |
2133 | * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. | |
2134 | ||
0c2601fa AS |
2135 | 2003-03-31 Andreas Schwab <schwab@suse.de> |
2136 | ||
2137 | * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test): | |
2138 | Define. | |
2139 | (atomic_decrement_and_test): Fix test. | |
2140 | ||
0a9d1b3b RM |
2141 | 2003-03-31 Jakub Jelinek <jakub@redhat.com> |
2142 | ||
2143 | * sysdeps/sparc/sparc32/bits/atomic.h: New file. | |
2144 | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file. | |
2145 | * sysdeps/sparc/sparc64/bits/atomic.h: New file. | |
2146 | * sysdeps/sparc/sparc32/atomicity.h: Removed. | |
2147 | * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed. | |
2148 | * sysdeps/sparc/sparc64/atomicity.h: Removed. | |
2149 | ||
9ec8bbb1 RM |
2150 | 2003-03-30 Roland McGrath <roland@redhat.com> |
2151 | ||
d692f3f8 RM |
2152 | * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone. |
2153 | ||
9ec8bbb1 RM |
2154 | * intl/po2test.sed: Anchor substitution regexps to fix last change. |
2155 | ||
f8278d5d RM |
2156 | 2003-03-29 Paolo Bonzini <bonzini@gnu.org> |
2157 | ||
582b54aa UD |
2158 | * intl/po2test.sed: Unify the transformations for msgid and msgstr |
2159 | and remove a useless s/// command. | |
f8278d5d | 2160 | |
266227ab UD |
2161 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
2162 | ||
2163 | * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0" | |
2164 | directive into empty .prologue region to ensure that call-chain | |
2165 | is terminated even for the first instruction. | |
2166 | ||
2167 | * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom | |
2168 | to terminate call-chain right from the get-go. | |
2169 | ||
2170 | * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary | |
2171 | stop bit between compare & branch. | |
2172 | ||
ea473bad UD |
2173 | 2003-03-29 Ulrich Drepper <drepper@redhat.com> |
2174 | ||
d8592d04 UD |
2175 | * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal |
2176 | point correctly [PR libc/4993]. | |
2177 | ||
ea473bad UD |
2178 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid |
2179 | netlink_open calls if netlink is known to not be available. | |
2180 | ||
c7da3ff8 AO |
2181 | 2003-03-29 Alexandre Oliva <aoliva@redhat.com> |
2182 | ||
e077d10d | 2183 | * configure.in: Add mips64* support. |
e077d10d AO |
2184 | * sysdeps/mips/bits/endian.h: Make it bi-endian. |
2185 | * sysdeps/mips/mipsel/bits/endian.h: Removed. | |
2186 | * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. | |
2187 | * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. | |
2188 | * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. | |
2189 | * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. | |
2190 | * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. | |
2191 | * sysdeps/mips/Implies: Moved wordsize-32 to... | |
2192 | * sysdeps/mips/mips32/Implies: New file. | |
2193 | * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, | |
2194 | ret_NOERRNO): New. | |
2195 | (ret, PSEUDO_END): Moved past END. | |
2196 | (PSEUDO): Moved to... | |
2197 | * sysdeps/unix/mips/mips32/sysdep.h: New file. | |
2198 | * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. | |
2199 | * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. | |
2200 | * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... | |
2201 | * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. | |
2202 | * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file. | |
2203 | ||
c7da3ff8 AO |
2204 | * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): |
2205 | Re-introduce ENTRY. | |
2206 | ||
e0c09a43 UD |
2207 | 2003-03-28 Thorsten Kukuk <kukuk@suse.de> |
2208 | ||
2209 | * sysdeps/unix/sysv/linux/ifaddrs.c: New file. | |
2210 | * inet/test-ifaddrs.c: Allow AF_PACKET. | |
2211 | * sysdeps/unix/sysv/linux/kernel-features.h: Add | |
2212 | __ASSUME_NETLINK_SUPPORT. | |
2213 | ||
129422e1 UD |
2214 | 2003-03-28 Ulrich Drepper <drepper@redhat.com> |
2215 | ||
2216 | * elf/vismain.c (do_test): Comment out tests which fail in the moment. | |
2217 | ||
5972c58b RM |
2218 | 2003-03-26 H.J. Lu <hjl@gnu.org> |
2219 | ||
2220 | * elf/vismod.h (getvarlocal1): Return const char **. | |
2221 | (getvarinmod1): Likewise. | |
2222 | (getvaritcpt1): Likewise. | |
2223 | (getvarlocal2): Likewise. | |
2224 | (getvarinmod2): Likewise. | |
2225 | (getvaritcpt2): Likewise. | |
2226 | (getvaritcpt3): Likewise. | |
2227 | * elf/vismain.c (do_test): Adjusted. | |
2228 | * elf/vismod1.c (getvarlocal1): Return address. | |
2229 | (getvarinmod1): Likewise. | |
2230 | (getvaritcpt1): Likewise. | |
2231 | * elf/vismod2.c (getvarlocal2): Likewise. | |
2232 | (getvarinmod2): Likewise. | |
2233 | (getvaritcpt2): Likewise. | |
2234 | * elf/vismod3.c (getvaritcpt3): Likewise. | |
2235 | ||
7e30918b RM |
2236 | 2003-03-28 Roland McGrath <roland@redhat.com> |
2237 | ||
5972c58b RM |
2238 | * elf/vismain.c (do_test): Print both addresses when they don't match. |
2239 | ||
f0248ca5 RM |
2240 | * scripts/abilist.awk: If given -v filename_regexp and/or -v |
2241 | libname_regexp when parsing names, then produce output only | |
2242 | for those matching the given regexps. In combine mode, save all | |
2243 | stanzas for a final sorting by stanza header at the end. | |
2244 | Emit a blank line between stanzas. | |
2245 | ||
7e30918b RM |
2246 | * scripts/abilist.awk: When given -v combine=1, do parse_names and |
2247 | emit a single output stream with lib name in stanza header lines. | |
2248 | ||
2249 | * scripts/abilist.awk: Emit A for all *ABS* regardless of type. | |
2250 | ||
c6acf1e3 RM |
2251 | 2003-03-27 Roland McGrath <roland@redhat.com> |
2252 | ||
2253 | * sysdeps/powerpc/bits/atomic.h [! __powerpc64__] | |
2254 | (__arch_atomic_decrement_if_positive_64): Fix bogus definition. | |
2255 | ||
dd731d53 UD |
2256 | 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
2257 | ||
2258 | * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): | |
2259 | Return old value. Make asm output reg constraint earlyclobber. | |
2260 | Renamed from... | |
2261 | (__arch_compare_and_exchange_8_acq): ... this. | |
2262 | (__arch_compare_and_exchange_val_16_acq): | |
2263 | Return old value. Make asm output reg constraint earlyclobber. | |
2264 | Renamed from... | |
2265 | (__arch_compare_and_exchange_16_acq): ... this. | |
2266 | (__arch_compare_and_exchange_val_32_acq): | |
2267 | Return old value. Make asm output reg constraint earlyclobber. | |
2268 | Renamed from... | |
2269 | (__arch_compare_and_exchange_32_acq): ... this. | |
2270 | (__arch_compare_and_exchange_val_64_acq): | |
2271 | Renamed from... | |
2272 | (__arch_compare_and_exchange_64_acq): ... this. | |
2273 | (atomic_exchange_and_add): Use local variables and | |
2274 | __arch_compare_and_exchange_val_64_acq. | |
2275 | (atomic_add): Likewise. | |
2276 | (atomic_add_negative, atomic_add_zero): Use local variables. | |
2277 | ||
d270cb11 AO |
2278 | 2003-03-28 Alexandre Oliva <aoliva@redhat.com> |
2279 | ||
3e60b5f2 AO |
2280 | * sysdeps/unix/mips/sysdep.S: Include sys/asm.h. |
2281 | ||
a854f531 UD |
2282 | 2003-03-27 Ulrich Drepper <drepper@redhat.com> |
2283 | ||
dd731d53 | 2284 | * Makefile: Remove libmd5crypt goal. |
a854f531 | 2285 | |
41bc895a RM |
2286 | 2003-03-25 Jakub Jelinek <jakub@redhat.com> |
2287 | ||
2288 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore | |
2289 | special handling of relocations against local symbols. | |
2290 | ||
3171ae99 UD |
2291 | 2003-03-27 Steven Munroe <sjmunroe@us.ibm.com> |
2292 | ||
2293 | * sysdeps/powerpc/bits/atomic.h | |
2294 | (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__]. | |
2295 | [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq): | |
2296 | Define PPC64 specific version. | |
2297 | [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq): | |
2298 | Change (mem) constraint to "b". | |
2299 | [__powerpc64__] (__arch_atomic_exchange_and add_64): | |
2300 | Replace addi with add. Change (value) contraint to "r". | |
2301 | Change (mem) constraint to "b". | |
2302 | [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro. | |
2303 | (__arch_atomic_exchange_32): Change (mem) constraint to "b". | |
2304 | (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b". | |
2305 | (__arch_atomic_decrement_if_positive_32): New macro. | |
2306 | (atomic_decrement_if_positive): Use __arch* macros. | |
2307 | ||
d5527b17 UD |
2308 | 2003-03-27 Jakub Jelinek <jakub@redhat.com> |
2309 | ||
2310 | * sysdeps/ia64/fpu/libm-test-ulps: Update. | |
2311 | ||
c7356b6d RM |
2312 | 2003-03-27 Roland McGrath <roland@redhat.com> |
2313 | ||
2314 | * scripts/rpm2dynsym.sh: New file. | |
2315 | * Makefile (distribute): Add it. | |
2316 | ||
28cf3058 UD |
2317 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
2318 | ||
2319 | * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's | |
2320 | ar.unat before returning. Add missing .mem.offset directives | |
2321 | to ensure file gets assembled without warnings. | |
2322 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. | |
2323 | ||
0d5420ec UD |
2324 | 2003-03-27 Jakub Jelinek <jakub@redhat.com> |
2325 | ||
2326 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>: | |
2327 | Return -1 instead of 0 if clock_getres failed. | |
2328 | ||
fd54683c RM |
2329 | 2003-03-27 Roland McGrath <roland@redhat.com> |
2330 | ||
15a686af RM |
2331 | * scripts/abilist.awk: If variable `parse_names' is set, grok the file |
2332 | header lines and write out foo.symlist files for each foo.so.NN listed. | |
2333 | ||
2334 | * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden. | |
2335 | This symbol is exported, and we don't want to hide it. | |
2336 | Add libc_hidden_proto instead. | |
2337 | (_IO_file_jumps): Add libc_hidden_proto. | |
2338 | * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def. | |
2339 | Remove INTVARDEF. | |
2340 | * libio/fileops.c (_IO_file_jumps): Likewise. | |
2341 | * libio/stdfiles.c: Don't use INTUSE on them. | |
2342 | * libio/iofdopen.c (_IO_new_fdopen): Likewise. | |
2343 | * libio/iofopen.c (__fopen_internal): Likewise. | |
2344 | * libio/freopen.c (freopen): Likewise. | |
2345 | * libio/freopen64.c (freopen64): Likewise. | |
2346 | * libio/iovdprintf.c (_IO_vdprintf): Likewise. | |
2347 | ||
fd54683c RM |
2348 | * Makerules (check-abi) [$(enable-check-abi) = warn]: |
2349 | Ignore exit status from diff. | |
2350 | * configure.in (enable_check_abi): Document possible value "warn". | |
2351 | Change default to no for now. | |
2352 | * configure: Regenerated. | |
2353 | ||
2354 | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning | |
2355 | macro calls and a #include <stub-tag.h> at the end. | |
2356 | * Makerules ($(objpfx)stubs): Tweak sed commands. | |
2357 | ||
2358 | * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in | |
2359 | caller column for *xattr syscalls, since they are in sysdeps/generic. | |
2360 | ||
2361 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid | |
2362 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid | |
2363 | ||
2364 | 2003-03-26 Roland McGrath <roland@redhat.com> | |
2365 | ||
2366 | * Makerules (check-abi-config): Use /thread instead of /tls when | |
2367 | use-thread and not just use-tls is set. | |
2368 | ||
2369 | * Makerules (update-abi): Put quotes around $(update-abi-config). | |
2370 | ||
2371 | * elf/Makefile (check-abi): Depend on check-abi-ld. | |
2372 | (update-abi): Depend on update-abi-ld. | |
2373 | ||
85763515 UD |
2374 | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> |
2375 | ||
2376 | * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and | |
2377 | do not check for errors (unless testing for 32bit variant). | |
2378 | * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. | |
2379 | ||
312472fc RM |
2380 | 2003-03-27 Philip Blundell <philb@gnu.org> |
2381 | ||
2382 | * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use | |
2383 | unconditional mov. Remove nop. | |
2384 | ||
2385 | * sysdeps/unix/sysv/linux/kernel-features.h | |
2386 | (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. | |
2387 | * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code | |
2388 | when __ASSUME_VFORK_SYSCALL is defined. | |
2389 | * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for | |
2390 | __ASSUME_MMAP2_SYSCALL. | |
2391 | * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for | |
2392 | __ASSUME_REALTIME_SIGNALS. | |
2393 | ||
18ef464b UD |
2394 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
2395 | ||
2396 | * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 | |
2397 | only if DL_NO_COPY_RELOCS is not defined. | |
2398 | * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS. | |
2399 | ||
04676765 RM |
2400 | 2003-03-26 Roland McGrath <roland@redhat.com> |
2401 | ||
2402 | * sysdeps/unix/make-syscalls.sh: When an undefined syscall has | |
2403 | SOURCE=-, append its symbol names to make variable unix-stub-syscalls. | |
2404 | * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] | |
2405 | (sysdep_routines): Add stub-syscalls. | |
2406 | ($(objpfx)stub-syscalls.c): New target. | |
2407 | (generated): Add stub-syscalls.c. | |
2408 | ||
2409 | * tls.make.c: Also define use-tls according to USE_TLS macro. | |
2410 | ||
11d52c31 UD |
2411 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
2412 | ||
2413 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid | |
2414 | no-op padding element. | |
2415 | * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. | |
2416 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. | |
2417 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. | |
2418 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. | |
2419 | ||
2420 | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> | |
2421 | ||
2422 | * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error | |
2423 | condition check for the return value of getgroups32. | |
2424 | ||
2425 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> | |
2426 | ||
2427 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO): | |
2428 | Fix a typo. | |
2429 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO, | |
2430 | PSEUDO_END_NOERRNO): Define. | |
2431 | * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo. | |
2432 | Define to PSEUDO_END. | |
2433 | ||
f064e4c5 UD |
2434 | 2003-03-26 Ulrich Drepper <drepper@redhat.com> |
2435 | ||
2436 | * abilist/librt.abilist: Add new timer interfaces for 64-bit archs. | |
2437 | ||
bdb6126c UD |
2438 | 2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com> |
2439 | ||
2440 | * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. | |
2441 | * iconvdata/bug-iconv4.c: New file. | |
2442 | * iconvdata/Makefile (tests): Add bug-iconv4. | |
2443 | ||
697119d6 UD |
2444 | 2003-03-25 H.J. Lu <hjl@gnu.org> |
2445 | ||
2446 | * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected | |
2447 | symbols twice. | |
2448 | (_dl_lookup_versioned_symbol): Likewise. | |
2449 | ||
859e708f RM |
2450 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> |
2451 | ||
2452 | * csu/tst-atomic.c (do_test): Add some new | |
2453 | atomic_compare_and_exchange_val_acq, atomic_add_zero, | |
2454 | atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. | |
2455 | * include/atomic.h (atomic_add_negative, atomic_add_zero): | |
2456 | Prefix local variable so that it doesn't clash with the one | |
2457 | in atomic_exchange_and_add. | |
2458 | * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * | |
2459 | pointers. | |
2460 | (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. | |
2461 | * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force | |
2462 | value into register. | |
2463 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): | |
2464 | Cast newval to long. | |
2465 | * sysdeps/x86_64/bits/atomic.h | |
2466 | (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to | |
2467 | long. | |
2468 | (atomic_exchange): Cast newvalue to long if sizeof == 8. | |
2469 | (atomic_exchange_and_add): Cast value to long if sizeof == 8. | |
2470 | (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. | |
2471 | (atomic_bit_set): Shift 1L up in all cases to shut up warnings. | |
2472 | ||
dd410d4d RM |
2473 | 2003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com> |
2474 | ||
2475 | * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order | |
2476 | bit from backtrace addresses. | |
2477 | ||
2478 | 2003-03-21 Andreas Schwab <schwab@suse.de> | |
2479 | ||
2480 | * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned | |
2481 | __chown symbols. | |
2482 | ||
6a1c6a1f RM |
2483 | 2003-03-25 Roland McGrath <roland@redhat.com> |
2484 | ||
2485 | * config.make.in (enable-check-abi): New variable from configure. | |
2486 | * configure.in (enable_check_abi): New substituted variable, | |
2487 | controlled by --{enable,disable}-check-abi (default yes). | |
2488 | * configure: Regenerated. | |
2489 | * Makerules [$(enable-check-abi) = yes] (tests): Put this condition | |
2490 | on check-abi dependency. | |
2491 | ||
fb0216dd AS |
2492 | 2003-03-26 Andreas Schwab <schwab@suse.de> |
2493 | ||
9fdf211e AS |
2494 | * sysdeps/m68k/m68020/bits/atomic.h: Fix typos. |
2495 | * include/atomic.h: Likewise. | |
2496 | ||
fb0216dd AS |
2497 | * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO. |
2498 | ||
7456156f RM |
2499 | 2003-03-25 Roland McGrath <roland@redhat.com> |
2500 | ||
2501 | * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. | |
2502 | (__arch_atomic_exchange_64): New macro. | |
2503 | (atomic_exchange): Use them. | |
2504 | (__arch_atomic_exchange_and_add_32): New macro. | |
2505 | (__arch_atomic_exchange_and_add_64): New macro. | |
2506 | (atomic_exchange_and_add): Use them. | |
2507 | Original patch from Steven Munroe <sjmunroe@us.ibm.com>. | |
2508 | ||
1b12060c AO |
2509 | 2003-03-25 Alexandre Oliva <aoliva@redhat.com> |
2510 | ||
2511 | * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): | |
2512 | Define. | |
2513 | * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all | |
2514 | ISA tests. | |
2515 | (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. | |
2516 | (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. | |
2517 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR | |
2518 | to decide whether to add padding. | |
2519 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR | |
2520 | to decide whether to add padding. | |
2521 | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct | |
2522 | old_kernel_sigaction): Likewise. | |
2523 | ||
09402f5b UD |
2524 | 2003-03-25 Ulrich Drepper <drepper@redhat.com> |
2525 | ||
2526 | * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and | |
2527 | atomic_add_zero were supposed to do. | |
2528 | * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero | |
2529 | to x86 behavior. | |
2530 | ||
2531 | * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. | |
2532 | This matches the new timer implementation. | |
bacb0296 UD |
2533 | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): |
2534 | Likewise. | |
2535 | * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): | |
2536 | Likewise. | |
09402f5b UD |
2537 | * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust |
2538 | timer info for what the kernel provides these days. | |
2539 | (struct sigevent): Add _tid field. | |
2540 | Define SIGEV_THREAD_ID. | |
42374865 UD |
2541 | Remove struct __pthread_attr_s forward declaration. |
2542 | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. | |
2543 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. | |
2544 | * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. | |
2545 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. | |
09402f5b UD |
2546 | |
2547 | * Versions.def (librt): Add GLIBC_2.3.3. | |
2548 | ||
2549 | * abilist/libpthread.abilist: Update for nptl. | |
2550 | ||
5e826ab5 UD |
2551 | 2003-03-24 Jon Grimm <jgrimm@us.ibm.com> |
2552 | ||
2553 | * inet/netinet/in.h: Add IPPROTO_SCTP. | |
2554 | ||
2555 | 2003-03-24 Ulrich Drepper <drepper@redhat.com> | |
2556 | ||
2557 | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define. | |
2558 | ||
c6289757 UD |
2559 | 2003-03-24 Philip Blundell <philb@gnu.org> |
2560 | ||
2561 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): | |
2562 | Remove a1 from clobber list. | |
2563 | ||
2564 | 2003-03-24 Ulrich Drepper <drepper@redhat.com> | |
2565 | ||
2566 | * timezone/antarctica: Update from tzdata2003a. | |
2567 | * timezone/asia: Likewise. | |
2568 | * timezone/australasia: Likewise. | |
2569 | * timezone/europe: Likewise. | |
2570 | * timezone/iso3166.tab: Likewise. | |
2571 | * timezone/northamerica: Likewise. | |
2572 | * timezone/southamerica: Likewise. | |
2573 | * timezone/zone.tab: Likewise. | |
2574 | ||
2575 | 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> | |
2576 | ||
2577 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo. | |
2578 | ||
9eb88290 UD |
2579 | 2003-03-23 Ulrich Drepper <drepper@redhat.com> |
2580 | ||
6ea5c103 UD |
2581 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid |
2582 | unwanted expansion by definining to ret. Patch by Ian Wienand. | |
2583 | ||
9eb88290 UD |
2584 | * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of |
2585 | the parameter description to denote no error checking. Generate | |
2586 | appropriate pseudo asm code. | |
2587 | * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. | |
2588 | * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, | |
2589 | getpgrp, and getppid with 'E'. | |
2590 | * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, | |
2591 | PSEUDO_END_NOERRNO, and ret_NOERRNO. | |
2592 | * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. | |
2593 | * sysdeps/unix/sysdep.h: Likewise. | |
2594 | * sysdeps/unix/alpha/sysdep.h: Likewise. | |
2595 | * sysdeps/unix/sparc/sysdep.h: Likewise. | |
2596 | * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. | |
2597 | * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. | |
2598 | * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. | |
2599 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. | |
2600 | * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. | |
2601 | * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. | |
2602 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. | |
2603 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. | |
2604 | * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. | |
2605 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
2606 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
2607 | ||
3045a1fe RM |
2608 | 2003-03-23 Roland McGrath <roland@redhat.com> |
2609 | ||
2610 | * Makeconfig (+includes): Don't use $(last-includes). | |
2611 | ||
ad551664 AO |
2612 | 2003-03-22 Alexandre Oliva <aoliva@redhat.com> |
2613 | ||
2614 | * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. | |
2615 | * sysdeps/unix/sysv/linux/configure: Rebuilt. | |
2616 | ||
f92abad6 RM |
2617 | 2003-03-23 Jakub Jelinek <jakub@redhat.com> |
2618 | ||
2619 | * sysdeps/alpha/fpu/libm-test-ulps: Update. | |
2620 | * sysdeps/arm/libm-test-ulps: Update. | |
2621 | * sysdeps/hppa/fpu/libm-test-ulps: Update. | |
2622 | * sysdeps/ia64/fpu/libm-test-ulps: Update. | |
2623 | * sysdeps/mips/fpu/libm-test-ulps: Update. | |
2624 | * sysdeps/powerpc/nofpu/libm-test-ulps: Update. | |
2625 | * sysdeps/powerpc/fpu/libm-test-ulps: Update. | |
2626 | * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. | |
2627 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. | |
2628 | * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. | |
2629 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
2630 | * sysdeps/x86_64/fpu/libm-test-ulps: Update. | |
2631 | ||
d15851ec RM |
2632 | 2003-03-22 Roland McGrath <roland@redhat.com> |
2633 | ||
fe4610b3 RM |
2634 | * include/atomic.h: Put parens around all macro arguments. |
2635 | (__atomic_val_bysize, __atomic_bool_bysize): New macros. | |
2636 | (atomic_compare_and_exchange_val_acq): Use it. | |
2637 | (atomic_compare_and_exchange_bool_acq): Likewise. | |
2638 | (atomic_increment_and_test): Invert sense of test. | |
2639 | (atomic_decrement_and_test): Likewise. | |
2640 | * csu/tst-atomic.c: Update those tests to match. | |
d15851ec RM |
2641 | |
2642 | 2003-03-22 Jakub Jelinek <jakub@redhat.com> | |
2643 | ||
2644 | * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment. | |
2645 | Don't define if __arch_compare_and_exchange_val_32_acq is not defined. | |
2646 | (atomic_compare_and_exchange_bool_acq): Add comment. Don't use | |
2647 | __oldval variable in the macro, since it might be macro argument. | |
2648 | (atomic_decrement_if_positive): Initialize __memp, remove setting | |
2649 | of non-existent variable. | |
2650 | (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting. | |
2651 | * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement | |
2652 | using atomic_compare_and_exchange_val_acq. | |
2653 | (atomic_decrement_if_positive, atomic_bit_test_set): Define. | |
2654 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): | |
2655 | Renamed from... | |
2656 | (__arch_compare_and_exchange_bool_8_acq): ... this. | |
2657 | (__arch_compare_and_exchange_val_16_acq): Renamed from... | |
2658 | (__arch_compare_and_exchange_bool_16_acq): ... this. | |
2659 | (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed | |
2660 | from... | |
2661 | (__arch_compare_and_exchange_bool_32_acq): ... this. | |
2662 | (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed | |
2663 | from... | |
2664 | (__arch_compare_and_exchange_bool_64_acq): ... this. | |
2665 | (__arch_compare_and_exchange_val_32_acq): Use __typeof for local | |
2666 | variables types instead of assuming int. | |
2667 | Change prefix of local variables to __arch. | |
2668 | * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq): | |
2669 | Remove. | |
2670 | (atomic_compare_and_exchange_val_acq, | |
2671 | atomic_compare_and_exchange_bool_acq): Define. | |
2672 | ||
2673 | * csu/tst-atomic.c: New test. | |
2674 | * csu/tst-atomic-long.c: New test. | |
2675 | * csu/Makefile (tests): Add tst-atomic and tst-atomic-long. | |
2676 | ||
2677 | * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong. | |
2678 | ||
2679 | * sysdeps/s390/Versions: Add trailing newline. | |
2680 | ||
2681 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning | |
2682 | if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument. | |
2683 | ||
faa58057 AS |
2684 | 2003-03-22 Andreas Schwab <schwab@suse.de> |
2685 | ||
01e694fc AS |
2686 | * sysdeps/m68k/fpu/libm-test-ulps: Update. |
2687 | ||
faa58057 AS |
2688 | * sysdeps/m68k/m68020/bits/atomic.h: New file. |
2689 | * sysdeps/m68k/m68020/atomicity.h: Removed. | |
2690 | ||
039f839c AO |
2691 | 2003-03-22 Alexandre Oliva <aoliva@redhat.com> |
2692 | ||
dda8854a AO |
2693 | * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation |
2694 | data structures and macros. Protect from multiple inclusion. | |
2695 | ||
039f839c AO |
2696 | * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless |
2697 | typo in #if test. | |
2698 | ||
34f8ef1b AJ |
2699 | 2003-03-21 Andreas Jaeger <aj@suse.de> |
2700 | ||
2701 | * sysdeps/i386/fpu/libm-test-ulps: Update. | |
2702 | ||
2703 | * math/libm-test.inc (tgamma_test): Recompute some constants with | |
2704 | 36 digits precision. | |
2705 | (lgamma_test): Likewise. | |
2706 | (ccos_test): Likewise. | |
2707 | (ccosh_test): Likewise. | |
2708 | (clog10_test): Likewise. | |
2709 | (csin_test): Likewise. | |
2710 | (csinh_test): Likewise. | |
2711 | (ctan_test): Likewise. | |
2712 | (ctanh_test): Likewise. | |
2713 | ||
2714 | 2003-03-19 Jakub Jelinek <jakub@redhat.com> | |
2715 | ||
2716 | * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated. | |
2717 | ||
4baa087a RM |
2718 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2719 | ||
2720 | * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir" | |
2721 | constraint to permit non-constant BIT argument. | |
2722 | (atomic_bit_test_set): Likewise. | |
2723 | * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. | |
2724 | (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. | |
2725 | For quadword case, use "i" constraint if __builtin_constant_p and < 32 | |
2726 | or "r" constraint otherwise. | |
2727 | ||
2728 | * configure.in: Move AC_PROG_CC and other program-finding before all | |
2729 | the version checks. | |
2730 | * configure: Regenerated. | |
2731 | ||
8f9fb000 AO |
2732 | 2003-03-21 Alexandre Oliva <aoliva@redhat.com> |
2733 | ||
2734 | * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke | |
2735 | unaligned copying of 8-15 bytes. From Chris Demetriou | |
2736 | <cgd@broadcom.com>. Fix label names. | |
2737 | * sysdeps/mips/mips64/memset.S: Fix label names. Make similar | |
2738 | change as to memcpy.S. | |
2739 | * sysdeps/mips/memcpy.S: Formatting changes. | |
2740 | * sysdeps/mips/memset.S: Likewise. | |
2741 | ||
88b3f3ed RM |
2742 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2743 | ||
2744 | * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon. | |
2745 | ||
ee7b7036 AO |
2746 | 2003-03-21 Alexandre Oliva <aoliva@redhat.com> |
2747 | ||
2748 | * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. | |
2749 | * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments. | |
2750 | ||
a60581ad RM |
2751 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2752 | ||
2753 | * sysdeps/i386/i486/bits/atomic.h | |
2754 | (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling | |
2755 | version of the macro to avoid compile-time warnings. | |
2756 | [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above. | |
a60581ad RM |
2757 | (atomic_exchange_and_add, atomic_add): Fix name and usage of it. |
2758 | (atomic_increment, atomic_decrement): Likewise. | |
2759 | ||
4541b483 UD |
2760 | 2003-03-21 Ulrich Drepper <drepper@redhat.com> |
2761 | ||
2762 | * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints. | |
2763 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
2764 | ||
2923c644 RM |
2765 | 2003-03-21 Roland McGrath <roland@redhat.com> |
2766 | ||
2767 | * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix. | |
2768 | ||
9f07eae2 UD |
2769 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
2770 | ||
2771 | * include/atomic.h: Define atomic_compare_and_exchange_val_acq, | |
2772 | atomic_compare_and_exchange_val_rel, | |
2773 | atomic_compare_and_exchange_bool_acq, and | |
2774 | atomic_compare_and_exchange_bool_rel instead of | |
2775 | atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel. | |
2776 | * sysdeps/i386/i486/bits/atomic.h: Define | |
2777 | __arch_compare_and_exchange_val_*_acq instead of | |
2778 | __arch_compare_and_exchange_*_acq. | |
2779 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2780 | * sysdeps/ia64/bits/atomic.h: Define | |
2781 | __arch_compare_and_exchange_bool_*_acq instead of | |
2782 | __arch_compare_and_exchange_*_acq. | |
2783 | * sysdeps/powerpc/bits/atomic.h: Likewise. | |
2784 | * sysdeps/s390/bits/atomic.h: Likewise. | |
2785 | * gmon/mcount.c: Adjust for new form of compare&exchange macros. | |
2786 | * malloc/set-freeres.c: Likewise. | |
2787 | * nscd/cache.c: Likewise. | |
2788 | * stdlib/cxa_finalize.c: Likewise. | |
2789 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
2790 | ||
4b5e1c5f AO |
2791 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2792 | ||
d20152e1 AO |
2793 | * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. |
2794 | * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. | |
2795 | * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. | |
2796 | ||
4b5e1c5f AO |
2797 | * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset |
2798 | into high and low halves on n64. | |
2799 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
2800 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
2801 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
2802 | ||
6848aba6 UD |
2803 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
2804 | ||
2805 | * include/atomic.h (atomic_decrement_if_positive): Adjust for the | |
2806 | correct atomic_compare_and_exchange_acq semantics. | |
2807 | ||
f1f8a9ec AO |
2808 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2809 | ||
2810 | * sysdeps/mips/ieee754.h: Remove excess #endif. | |
2811 | ||
2ff16e04 RM |
2812 | 2003-03-20 Roland McGrath <roland@redhat.com> |
2813 | ||
2814 | * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused | |
2815 | variable. Remove superfluous memory clobber. | |
2816 | ||
2817 | * include/atomic.h: Syntax braino fix. | |
2818 | ||
2819 | * posix/tst-nice.c (do_test): Use %m formats instead of printing errno | |
2820 | in decimal. Don't bail if niced at start. Just check that nice call | |
2821 | bumps the total at all. | |
2822 | ||
53fcb885 AO |
2823 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2824 | ||
2825 | * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, | |
2826 | including pc, gp, sp and fp, as long long. | |
2827 | * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux. | |
2828 | * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments. | |
2829 | Add gp argument, and set gp in the jmpbuf to it. | |
2830 | * sysdeps/mips/setjmp_aux.c: Revert to o32-only. | |
2831 | ||
f79466a8 UD |
2832 | 2003-03-20 Ulrich Drepper <drepper@redhat.com> |
2833 | ||
2834 | * include/atomic.h: Define atomic_exchange and | |
2835 | atomic_decrement_if_positive if not already defined. Add some | |
2836 | __builtin_expect. | |
2837 | * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange. | |
2838 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2839 | * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange. | |
2840 | * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define | |
2841 | atomic_exchange, atomic_exchange_and_add, and | |
2842 | atomic_decrement_if_positive | |
2843 | ||
50449bed AO |
2844 | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> |
2845 | ||
bfd49d55 AO |
2846 | * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend |
2847 | with a single instruction. | |
2848 | ||
50449bed AO |
2849 | * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define |
2850 | properly for n64. | |
2851 | (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr | |
2852 | type. | |
2853 | (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf | |
2854 | Word before comparing with gotsym. Take reloc_addr argument as | |
2855 | void*. Remove the code added for the compiler to drop any | |
2856 | alignment assumptions. | |
2857 | ||
4009bf40 UD |
2858 | 2003-03-19 Ulrich Drepper <drepper@redhat.com> |
2859 | ||
2860 | * Makefile (distribute): Add include/atomic.h and bits/atomic.h. | |
2861 | * include/atomic.h: New file. | |
2862 | * sysdeps/i386/i486/bits/atomic.h: New file. | |
2863 | * sysdeps/x86_64/bits/atomic.h: New file. | |
2864 | * sysdeps/s390/bits/atomic.h: New file. | |
2865 | * sysdeps/sh/bits/atomic.h: New file. | |
2866 | * sysdeps/ia64/bits/atomic.h: New file. | |
2867 | * sysdeps/powerpc/bits/atomic.h: New file. | |
2868 | * sysdeps/generic/bits/atomic.h: New file. | |
2869 | * sysdeps/i386/i486/atomicity.h: Removed. | |
2870 | * sysdeps/x86_64/atomicity.h: Removed. | |
2871 | * sysdeps/s390/s390-32/atomicity.h: Removed. | |
2872 | * sysdeps/s390/s390-64/atomicity.h: Removed. | |
2873 | * sysdeps/ia64/atomicity.h: Removed. | |
2874 | * sysdeps/powerpc/powerpc32/atomicity.h: Removed. | |
2875 | * sysdeps/powerpc/powerpc64/atomicity.h: Removed. | |
2876 | * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust | |
2877 | use of macros from atomicity.h to new names and semantics. | |
2878 | * gmon_mcount.c: Likewise. | |
2879 | * malloc/set-freeres.c: Likewise. | |
2880 | * nscd/cache.c: Likewise. | |
2881 | * stdlib/cxa_finalize.c: Likewise. | |
2882 | * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. | |
2883 | ||
ce3a4adf AO |
2884 | 2003-03-19 Alexandre Oliva <aoliva@redhat.com> |
2885 | ||
4009bf40 | 2886 | * sysdeps/mips/ieee754.h: New file, suitable to replace both |
ce3a4adf AO |
2887 | ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept |
2888 | mips-specific for now. | |
2889 | ||
8c937b84 UD |
2890 | 2003-03-19 Ulrich Drepper <drepper@redhat.com> |
2891 | ||
4009bf40 | 2892 | * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle |
85b5767c UD |
2893 | hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>. |
2894 | * stdlib/tst-strtod.c: Add test for the bug. | |
2895 | ||
8c937b84 UD |
2896 | * posix/tst-nice.c (do_test): Remove invalid of return value. |
2897 | Don't run test if initial level != 0. | |
2898 | ||
cb8ed941 UD |
2899 | 2003-03-19 Amos Waterland <apw@us.ibm.com> |
2900 | ||
2901 | * posix/tst-nice.c: New file. | |
2902 | * posix/Makefile (tests): Add tst-nice. | |
2903 | ||
32a448ed RM |
2904 | 2003-03-18 Roland McGrath <roland@redhat.com> |
2905 | ||
94659495 RM |
2906 | * abilist: New directory of libfoo.abilist files maintained using |
2907 | scripts/merge-abilist.awk and "make update-abi" rules. | |
2908 | * Makefile (distribute): Add abilist/*.abilist. | |
2909 | * Makerules [$(build-shared) = yes] [$(subdir)] (tests): | |
2910 | Depend on check-abi. | |
2911 | ||
32a448ed RM |
2912 | * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER. |
2913 | * configure: Regenerated. | |
2914 | ||
2915 | * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name. | |
2916 | ||
dacb2bad UD |
2917 | 2003-03-18 Ulrich Drepper <drepper@redhat.com> |
2918 | ||
2919 | * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK | |
2920 | correctly. | |
2921 | ||
a14b373c UD |
2922 | 2003-03-18 Steven Munroe <sjmunroe@us.ibm.com> |
2923 | ||
2924 | * sysdeps/powerpc/powerpc64/memcpy.S: New file. | |
2925 | ||
d5cb8389 UD |
2926 | 2003-03-18 Ulrich Drepper <drepper@redhat.com> |
2927 | ||
2928 | * Versions.def: Add GLIBC_2.3.3 for libpthread. | |
2929 | ||
97026947 UD |
2930 | 2003-03-17 Ulrich Drepper <drepper@redhat.com> |
2931 | ||
2932 | * sysdeps/generic/libc-start.c [!SHARED && | |
2933 | !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. | |
2934 | ||
98054a05 RM |
2935 | 2003-03-17 Roland McGrath <roland@redhat.com> |
2936 | ||
2937 | * include/ctype.h: Revert last change. | |
2938 | ||
0a8d8004 UD |
2939 | 2003-03-17 Ulrich Drepper <drepper@redhat.com> |
2940 | ||
2941 | * argp/tst-argp1.c: Use test-skeleton.c. | |
2942 | * locale/tst-C-locale.c: Likewise. | |
2943 | ||
c27d6848 AO |
2944 | 2003-03-17 Alexandre Oliva <aoliva@redhat.com> |
2945 | ||
5a0e429d AO |
2946 | * sysdeps/mips/mips64/Implies: Move wordsize-64 to... |
2947 | * sysdeps/mips/mips64/n64/Implies: New file. | |
2948 | * sysdeps/mips/mips64/n64/Makefile: New file. | |
2949 | * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. | |
2950 | * sysdeps/mips/mips64/n32/Implies: New file. | |
2951 | * sysdeps/mips/mips64/n32/Makefile: New file. | |
2952 | * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. | |
2953 | * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. | |
2954 | * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. | |
2955 | * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. | |
2956 | * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. | |
2957 | * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. | |
2958 | * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. | |
2959 | * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. | |
2960 | * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. | |
2961 | * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. | |
2962 | * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. | |
2963 | * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. | |
2964 | * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. | |
2965 | * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file. | |
2966 | ||
fc32835a AO |
2967 | * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use |
2968 | lib64 for mips64/n64 and lib32 for mips64/n32. | |
2969 | (ldd_rewrite_script): Needed for all mips64 configurations. | |
2970 | * sysdeps/unix/sysv/linux/configure: Rebuilt. | |
2971 | * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file. | |
2972 | * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file. | |
2973 | ||
c3b519b7 AO |
2974 | * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as |
2975 | well. | |
2976 | ||
c27d6848 AO |
2977 | * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process |
2978 | asm/unistd.h into asm-unistd.h. | |
2979 | * sysdeps/unix/sysv/linux/mips/configure: Generated. | |
2980 | * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing | |
2981 | of syscall list. | |
2982 | * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file. | |
2983 | * sysdeps/unix/sysv/linux/mips/clone.S: Don't include | |
2984 | asm/unistd.h. | |
2985 | ||
935af0f2 AO |
2986 | * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file. |
2987 | * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long | |
2988 | long type for registers on n32. | |
2989 | ||
4947b4b2 AO |
2990 | * sysdeps/mips/bits/wordsize.h: New file, appropriate for all |
2991 | 3 ABIs. | |
2992 | * sysdeps/mips/mips64/gmp-mparam.h: New file. Define | |
2993 | BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. | |
2994 | * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. | |
2995 | (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. | |
2996 | * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. | |
2997 | * sysdeps/unix/mips/brk.S: Likewise. | |
2998 | * sysdeps/unix/mips/sysdep.S: Likewise. | |
2999 | * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. | |
3000 | * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. | |
3001 | * sysdeps/mips/sys/ucontext.h: Likewise. | |
3002 | * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. | |
3003 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. | |
3004 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. | |
3005 | * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. | |
3006 | * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. | |
3007 | * sysdeps/mips/mips64/setjmp.S: Likewise. | |
3008 | * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. | |
3009 | * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for | |
3010 | 64-bit types. | |
3011 | ||
b6e2f87a UD |
3012 | 2003-03-16 Ulrich Drepper <drepper@redhat.com> |
3013 | ||
3014 | * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here, | |
3015 | not at function level. | |
3016 | * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise. | |
3017 | ||
638bb1f3 RM |
3018 | 2003-03-15 Roland McGrath <roland@redhat.com> |
3019 | ||
8112cc70 RM |
3020 | * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t |
3021 | * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. | |
3022 | * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. | |
3023 | * nis/nis_table.c (__create_ib_request): Likewise. | |
3024 | ||
eb64f8cb | 3025 | * posix/fnmatch_loop.c: Add casts for signedness. |
addc92bd | 3026 | * nss/nss_files/files-hosts.c: Likewise. |
eb64f8cb RM |
3027 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. |
3028 | * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. | |
3029 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT. | |
3030 | ||
385cce41 RM |
3031 | * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND, |
3032 | get errors into the log file. | |
3033 | (libc_cv_broken_visibility_attribute): Likewise. | |
3034 | (libc_cv_broken_alias_attribute): Likewise. | |
3035 | (libc_cv_asm_weak_directive): Likewise. | |
3036 | (libc_cv_need_minus_P): Likewise. | |
3037 | (libc_cv_dot_text): Likewise. | |
3038 | (libc_cv_asm_global_directive): Likewise. | |
3039 | (libc_cv_asm_type_prefix): Likewise. | |
3040 | * configure: Regenerated. | |
3041 | ||
638bb1f3 RM |
3042 | * nscd/cache.c (cache_search): Give first arg type `request_type'. |
3043 | * nscd/nscd.h: Update decl. | |
3044 | ||
3045 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. | |
3046 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
3047 | * elf/dl-close.c (_dl_close): Likewise. | |
3048 | * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t | |
3049 | * io/fts.c (fts_build): Likewise. | |
3050 | * elf/cache.c (add_to_cache): Likewise. | |
3051 | * locale/programs/locarchive.c (show_archive_content): Likewise. | |
3052 | ||
3053 | * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. | |
3054 | ||
3055 | * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 | |
3056 | happy. | |
3057 | (__ctype_toupper_loc, __ctype_tolower_loc): Likewise. | |
3058 | ||
c04dad40 UD |
3059 | 2003-03-15 Ulrich Drepper <drepper@redhat.com> |
3060 | ||
3061 | * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux | |
3062 | code for most parts. | |
3063 | ||
124dcac8 RM |
3064 | 2003-03-15 Roland McGrath <roland@redhat.com> |
3065 | ||
7eecc0c2 RM |
3066 | * sysdeps/unix/sysv/linux/i386/system.c: Moved to ... |
3067 | * sysdeps/unix/sysv/linux/system.c: ... here. | |
3068 | (FORK): Don't #define if already #define'd. | |
3069 | * sysdeps/unix/sysv/linux/s390/system.c: File removed. | |
3070 | * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]: | |
3071 | (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64. | |
3072 | ||
45e4762c RM |
3073 | * dlfcn/tst-dlinfo.c: New file. |
3074 | * dlfcn/Makefile (tests): Add tst-dlinfo. | |
3075 | ($(objpfx)tst-dlinfo): New target. | |
3076 | ||
3077 | * dlfcn/dlinfo.c: New file. | |
3078 | * dlfcn/Makefile (libdl-routines): Add it. | |
3079 | * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. | |
3080 | * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. | |
3081 | [__USE_GNU] (RTLD_DI_*): New enum constants. | |
3082 | [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. | |
3083 | * elf/dl-load.c (cache_rpath): New inline function. | |
3084 | (_dl_map_object): Use it. | |
3085 | (_dl_rtld_di_serinfo): New function. | |
3086 | * sysdeps/generic/ldsodefs.h: Declare it. | |
3087 | * elf/Versions (ld: GLIBC_PRIVATE): Add it. | |
3088 | ||
124dcac8 RM |
3089 | * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it. |
3090 | (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG) | |
3091 | (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>. | |
3092 | (__libc_start_main): Just call the generic one for most of the work. | |
3093 | ||
3094 | * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a | |
3095 | static function by that name instead of BP_SYM (__libc_start_main). | |
3096 | [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. | |
3097 | [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. | |
3098 | [INIT_MAIN_ARGS]: Give INIT the same args as MAIN. | |
3099 | ||
3100 | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]: | |
3101 | Use this macro for extra AT_* cases. | |
3102 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): | |
3103 | New macro, guts from ... | |
3104 | (__aux_init_cache): ... here, function removed. | |
3105 | (DL_PLATFORM_INIT): Don't define this. | |
3106 | ||
3107 | * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss. | |
3108 | * sysdeps/powerpc/powerpc64/memset.S: Likewise. | |
3109 | ||
e993ec9a | 3110 | * Versions.def (libthread_db): Add GLIBC_2.3.3 set. |
124dcac8 | 3111 | |
39d8c1a2 RM |
3112 | 2003-03-14 Roland McGrath <roland@redhat.com> |
3113 | ||
3114 | * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it. | |
3115 | ||
c58859ce RM |
3116 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
3117 | ||
3118 | * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo. | |
3119 | ||
3120 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
3121 | sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c. | |
3122 | ||
44bc0afb AO |
3123 | 2003-03-14 Alexandre Oliva <aoliva@redhat.com> |
3124 | ||
882dda66 AO |
3125 | * sysdeps/mips/fpu/bits/mathdef.h: New. |
3126 | (__NO_LONG_DOUBLE_MATH): Define for o32. | |
3127 | ||
4abdb6ca AO |
3128 | * sysdeps/mips/sys/asm.h: Formatting changes. |
3129 | (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs. | |
3130 | (CPADD): Define for all of them. | |
3131 | (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, | |
3132 | SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, | |
3133 | NARGSAVE): Define per ABI spec. | |
3134 | (END): Don't redefine. | |
3135 | (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, | |
3136 | LONG_SRAV): Remove duplicate definitions. | |
3137 | (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, | |
3138 | PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, | |
3139 | PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. | |
3140 | (PTR_LA): Define for all 3 ABIs. | |
3141 | ||
365eccdb AO |
3142 | * sysdeps/mips/dl-machine.h: Include sys/asm.h. |
3143 | (elf_machine_matches_host): Prevent linking of o32 and n32 | |
3144 | together. | |
3145 | (elf_machine_dynamic): Document assumption on $gp. | |
3146 | (STRINGXP, STRINGXV, STRINGV_): New macros. | |
3147 | (elf_machine_load_address): Use them to stringize PTR_LA and | |
3148 | PTR_SUBU. | |
3149 | (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS, | |
3150 | ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in... | |
3151 | (_dl_runtime_resolve): Adjust it for all 3 ABIs. | |
3152 | (__dl_runtime_resolve): Cast the symtab initializer to the | |
3153 | right type. | |
3154 | (RTLD_START): Use it. Adjust it for all 3 ABIs. | |
3155 | (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP. | |
3156 | Handle 64-bit R_MIPS_REL composite relocation and accept | |
3157 | R_MIPS_64 relocations to shift addend size to 64 bits. | |
3158 | Document assumption regarding local GOT entries. Document | |
3159 | backward-compatibility departing from the ABI behavior in | |
3160 | applying relocations that reference section symbols, no longer | |
3161 | used. Support relocations to mis-aligned offsets. | |
3162 | * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete. | |
3163 | ||
d4c803f8 AO |
3164 | * sysdeps/unix/sysv/linux/mips/readelflib.c: New file. |
3165 | ||
84c63a76 AO |
3166 | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h |
3167 | (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG. | |
3168 | * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and | |
3169 | restore_rt functions. Use them. | |
3170 | ||
44bc0afb AO |
3171 | * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't |
3172 | .set mips2 on new abis. | |
3173 | ||
564cd8b6 UD |
3174 | 2003-03-13 Ulrich Drepper <drepper@redhat.com> |
3175 | ||
3176 | * posix/getconf.c: Recognize POSIX2_SYMLINKS. | |
3177 | * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS. | |
3178 | * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS. | |
3179 | * sysdeps/posix/pathconf.c: Likewise. | |
3180 | * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. | |
3181 | * sysdeps/unix/sysv/linux/pathconf.c: Likewise. | |
3182 | * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks. | |
3183 | ||
3184 | * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic | |
3185 | words. | |
3186 | ||
3be9dc8e AO |
3187 | 2003-03-14 Alexandre Oliva <aoliva@redhat.com> |
3188 | ||
3189 | * include/gmp.h: Include/gmp-mparam.h. | |
3190 | * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and | |
3191 | gmp-impl.h. | |
3192 | ||
a77dcecf AO |
3193 | * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if |
3194 | ELF_MACHINE_NO_RELA is set. | |
3195 | * elf/rtld.c (dl_main): No prelink support for REL-only. | |
3196 | ||
b5bac573 AO |
3197 | * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, |
3198 | FLAG_MIPS64_LIBN64): Define. | |
3199 | * elf/cache.c (print_entry): Handle mips64 n32 and n64. | |
3200 | ||
5ace1393 AO |
3201 | * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. |
3202 | * sysdeps/mips/memset.S: Likewise. | |
3203 | * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 | |
3204 | depending on the ABI. | |
3205 | ||
1b12a2cb AO |
3206 | * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): |
3207 | Don't .set mips2 on new abi. | |
3208 | (compare_and_swap): Likewise. Support 64-bit longs on n64. | |
3209 | ||
264befa8 AO |
3210 | * stdlib/fpioconst.h: Include gmp.h with angle brackets. |
3211 | ||
d8a5edc2 RM |
3212 | 2003-03-13 Roland McGrath <roland@redhat.com> |
3213 | ||
3214 | * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs | |
3215 | found. Reported by Alexandre Oliva <aoliva@redhat.com>. | |
3216 | ||
3217 | 2003-03-13 Alexandre Oliva <aoliva@redhat.com> | |
3218 | ||
3219 | * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit | |
3220 | literals long long. | |
3221 | * stdlib/fpioconst.c: Likewise. | |
3222 | * stdlib/strtod.c: Likewise. | |
3223 | ||
3224 | * sysdeps/mips/add_n.S: Use L macro for local labels. | |
3225 | * sysdeps/mips/addmul_1.S: Likewise. | |
3226 | * sysdeps/mips/lshift.S: Likewise. | |
3227 | * sysdeps/mips/memcpy.S: Likewise. | |
3228 | * sysdeps/mips/memset.S: Likewise. | |
3229 | * sysdeps/mips/mul_1.S: Likewise. | |
3230 | * sysdeps/mips/rshift.S: Likewise. | |
3231 | * sysdeps/mips/sub_n.S: Likewise. | |
3232 | * sysdeps/mips/submul_1.S: Likewise. | |
3233 | * sysdeps/mips/mips64/add_n.S: Likewise. | |
3234 | * sysdeps/mips/mips64/addmul_1.S: Likewise. | |
3235 | * sysdeps/mips/mips64/lshift.S: Likewise. | |
3236 | * sysdeps/mips/mips64/mul_1.S: Likewise. | |
3237 | * sysdeps/mips/mips64/rshift.S: Likewise. | |
3238 | * sysdeps/mips/mips64/sub_n.S: Likewise. | |
3239 | * sysdeps/mips/mips64/submul_1.S: Likewise. | |
3240 | * sysdeps/unix/mips/sysdep.h: Define L() according to ABI | |
3241 | conventions. Define END as in sys/asm.h. | |
3242 | * sysdeps/unix/mips/sysdep.S: Likewise. | |
3243 | * sysdeps/unix/mips/wait.S: Likewise. | |
3244 | * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. | |
3245 | ||
3246 | * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): | |
3247 | Cast shifted values that may be too narrow to mp_limb_t. | |
3248 | * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): | |
3249 | Likewise. | |
3250 | * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): | |
3251 | Likewise. | |
3252 | * sysdeps/ieee754/ldbl-128/ldbl2mpn.c | |
3253 | (__mpn_extract_long_double): Likewise. | |
3254 | * sysdeps/ieee754/ldbl-128/mpn2ldbl.c | |
3255 | (__mpn_construct_long_double): Likewise. | |
3256 | * sysdeps/ieee754/ldbl-96/ldbl2mpn.c | |
3257 | (__mpn_extract_long_double): Likewise. | |
3258 | * sysdeps/ieee754/ldbl-96/mpn2ldbl.c | |
3259 | (__mpn_construct_long_double): Likewise. | |
3260 | ||
6461e577 RM |
3261 | 2003-03-13 Roland McGrath <roland@redhat.com> |
3262 | ||
3263 | * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line | |
3264 | entries in the map file match too. | |
3265 | ||
6fde8d53 AJ |
3266 | 2003-03-13 Guido Guenther <agx@sigxcpu.org> |
3267 | ||
3268 | * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local | |
3269 | label .Lthread_start since current binutils don't allow branches | |
3270 | to globally visible symbols. | |
3271 | ||
b5ec5617 UD |
3272 | 2003-03-13 Jakub Jelinek <jakub@redhat.com> |
3273 | ||
3274 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN, | |
3275 | ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3, | |
3276 | ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define. | |
3277 | (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments | |
3278 | clobbered by the syscall. | |
3279 | (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5, | |
3280 | ASM_ARGS_6): Change constraints from r to index of corresponding | |
3281 | output register. | |
3282 | * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap | |
3283 | ptid and ctid to match kernel. | |
3284 | * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise. | |
3285 | ||
3cd69852 RM |
3286 | 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com> |
3287 | ||
b5ec5617 | 3288 | * sysdeps/powerpc/powerpc64/elf/configure.in: Remove |
3cd69852 | 3289 | AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64. |
b5ec5617 | 3290 | * sysdeps/powerpc/powerpc64/elf/configure: Regenerated. |
3cd69852 | 3291 | |
d63609a7 RM |
3292 | 2003-03-11 Roland McGrath <roland@redhat.com> |
3293 | ||
3294 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): | |
3295 | Check SYM_MAP rather than SYM as definedness check. | |
3296 | Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs. | |
3297 | Don't handle R_PPC64_REL24 reloc. | |
3298 | Mostly from Steven Munroe <sjmunroe@us.ibm.com>. | |
3299 | ||
3300 | * sysdeps/powerpc/powerpc64/dl-machine.h | |
3301 | [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a | |
3302 | block, so we cover all the TPREL16* flavors without 6 ||s. | |
3303 | [USE_TLS] (elf_machine_tprel): New function. | |
3304 | (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc, | |
3305 | and handle TPREL16 relocs too. Return rather than break for DTPREL64. | |
3306 | Mostly from Steven Munroe <sjmunroe@us.ibm.com>. | |
3307 | ||
b874af99 UD |
3308 | 2003-03-11 Ralf Baechle <ralf@linux-mips.org> |
3309 | ||
3310 | * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal | |
3311 | instead of jalr to invoke subroutine so restoring the $gp register | |
3312 | will work properly. | |
3313 | ||
6c477888 UD |
3314 | 2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3315 | ||
3316 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define | |
3317 | to __NR_pread if not defined. | |
3318 | (__NR_pwrite64): Define to __NR_pwrite if not defined. | |
3319 | ||
f006d3a0 UD |
3320 | 2003-03-11 Jakub Jelinek <jakub@redhat.com> |
3321 | ||
3322 | * sysdeps/unix/sysv/linux/ia64/system.c: New file. | |
3323 | * sysdeps/unix/sysv/linux/kernel-features.h | |
3324 | (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with | |
3325 | kernel >= 2.5.64. | |
3326 | ||
b33e6163 RM |
3327 | 2003-03-11 Jakub Jelinek <jakub@redhat.com> |
3328 | ||
3329 | * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1, | |
3330 | allocate space even for the trailing '/'. | |
3331 | Reported by John Reiser <jreiser@BitWagon.com>. | |
3332 | ||
3333 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6, | |
3334 | ASM_CLOBBERS_6): Define. | |
3335 | (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6. | |
3336 | * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments | |
3337 | to match IA-32 order. | |
3338 | * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment. | |
3339 | ||
19afbd2c RM |
3340 | 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com> |
3341 | ||
f006d3a0 | 3342 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. |
19afbd2c RM |
3343 | Copy extra params for NPTL to registers used in clone syscall. |
3344 | ||
ce2290cb RM |
3345 | 2003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3346 | ||
3347 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system | |
3348 | call names for pread and pwrite. | |
3349 | ||
e48f9638 RM |
3350 | 2003-03-10 Roland McGrath <roland@redhat.com> |
3351 | ||
d38c777e RM |
3352 | * dlfcn/Makefile (libdl-routines): Add dladdr1. |
3353 | * dlfcn/dladdr1.c: New file. | |
3354 | * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. | |
3355 | [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. | |
3356 | * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and | |
3357 | a const ElfNN_Sym ** to fill in. | |
3358 | * include/dlfcn.h: Update decl. Include <link.h>. | |
3359 | * dlfcn/dladdr.c (dladdr): Update caller. | |
3360 | * malloc/mtrace.c (tr_where): Likewise. | |
3361 | * sysdeps/generic/elf/backtracesyms.c: Likewise. | |
3362 | * sysdeps/generic/elf/backtracesymsfd.c: Likewise. | |
3363 | * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. | |
3364 | * Versions.def (libdl): Define GLIBC_2.3.3 set. | |
3365 | ||
e48f9638 RM |
3366 | * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for |
3367 | assembler command. | |
3368 | * sysdeps/unix/Makefile (compile-syscall): New variable. | |
3369 | Pass -g0 to compiler for assembling syscall stubs from stdin. | |
3370 | ||
3371 | * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] | |
3372 | (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): | |
3373 | Define these to do nothing. | |
3374 | ||
3375 | * configure.in: New check for -g on .S files. | |
3376 | * configure: Regenerated. | |
3377 | * config.make.in (have-cpp-asm-debuginfo): New variable. | |
3378 | * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. | |
3379 | * Makeconfig (ASFLAGS): New variable, if undefined and | |
3380 | $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). | |
3381 | * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS). | |
3382 | ||
fcc60e3b RM |
3383 | 2003-03-09 Roland McGrath <roland@redhat.com> |
3384 | ||
3385 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args | |
3386 | used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>. | |
3387 | ||
e51838c8 UD |
3388 | 2003-03-09 Ulrich Drepper <drepper@redhat.com> |
3389 | ||
3390 | * po/fi.po: Update from translation team. | |
8049ef78 | 3391 | * po/ca.po: Likewise. |
c37cae9e | 3392 | * po/da.po: Likewise. |
e51838c8 | 3393 | |
05ae97d8 UD |
3394 | 2003-03-08 Ulrich Drepper <drepper@redhat.com> |
3395 | ||
3396 | * rt/tst-aio7.c (do_test): Change BYTES into a #define. | |
3397 | ||
b6b9ee9b UD |
3398 | 2003-03-07 Ulrich Drepper <drepper@redhat.com> |
3399 | ||
fcc60e3b | 3400 | * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too. |
35457070 | 3401 | |
b6b9ee9b UD |
3402 | * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment. |
3403 | ||
6326c93c RM |
3404 | 2003-03-07 Roland McGrath <roland@redhat.com> |
3405 | ||
3406 | * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. | |
3407 | * sysdeps/s390/s390-64/sysdep.h (L): Likewise. | |
3408 | ||
2090a1d0 AJ |
3409 | 2003-03-04 Guido Guenther <agx@sigxcpu.org> |
3410 | ||
3411 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded | |
3412 | stubs, we have INLINE_SYSCALL. | |
3413 | * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, | |
3414 | MAP_NONBLOCK. | |
3415 | ||
696efd11 RM |
3416 | 2003-03-06 Roland McGrath <roland@redhat.com> |
3417 | ||
3418 | * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1 | |
3419 | permanent extent and add a comment about testing its implicit teardown. | |
3420 | ||
f1a56a2b RM |
3421 | 2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3422 | ||
3423 | * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope. | |
3424 | ||
49400d0e UD |
3425 | 2003-03-05 Ulrich Drepper <drepper@redhat.com> |
3426 | ||
3427 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix | |
3428 | reversed __builtin_expect expectation. | |
3429 | ||
5fc728a2 RM |
3430 | 2003-03-05 Roland McGrath <roland@redhat.com> |
3431 | ||
3432 | * stdio-common/sscanf.c: Use prototype defn with ... syntax. | |
3433 | * libio/swscanf.c: Likewise. | |
3434 | * libio/swprintf.c: Likewise. | |
3435 | ||
510793fd RM |
3436 | 2003-03-04 Roland McGrath <roland@redhat.com> |
3437 | ||
790eed83 RM |
3438 | * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>. |
3439 | (elf_machine_rela): Always use RESOLVE_MAP, needed for | |
3440 | R_PPC64_JMP_SLOT as well as TLS cases. | |
3441 | (BIT_INSERT): Move parenthesis where it ought to have been. | |
3442 | Reported by Steven Munroe <sjmunroe@us.ibm.com>. | |
3443 | ||
510793fd RM |
3444 | * posix/confstr.c (confstr): Correct STRING_LEN values for |
3445 | _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing | |
3446 | break. Reported by Alexandre Julliard <julliard@winehq.com>. | |
3447 | ||
0de28d5c UD |
3448 | 2003-03-04 Jakub Jelinek <jakub@redhat.com> |
3449 | ||
3450 | * sysdeps/ia64/fpu/libm-test-ulps: Regenerated. | |
3451 | ||
269e8af7 UD |
3452 | 2003-03-04 Ulrich Drepper <drepper@redhat.com> |
3453 | ||
e2b80a58 UD |
3454 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new |
3455 | clone parameters. | |
3456 | ||
269e8af7 UD |
3457 | * po/sv.po: Update from translation team. |
3458 | ||
330a187b | 3459 | 2003-03-04 Andreas Jaeger <aj@suse.de> |
269e8af7 | 3460 | Ulrich Drepper <drepper@redhat.com> |
330a187b AJ |
3461 | |
3462 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments. | |
3463 | ||
4f6f0a8f UD |
3464 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
3465 | ||
cc775edf UD |
3466 | * sysdeps/generic/dl-sysdep.h: Add double include protection. |
3467 | ||
75081542 UD |
3468 | * po/tr.po: Update from translation team. |
3469 | ||
6fffb9a2 UD |
3470 | * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there |
3471 | are holes between the segments. Only call mprotect to set | |
3472 | proection to PROT_NONE if there are some. | |
3473 | ||
3474 | * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE. | |
3475 | Update comment. | |
3476 | ||
4f6f0a8f UD |
3477 | * include/sched.h (__clone2): Use ... instead of adding all the |
3478 | new parameters. | |
3479 | ||
ce78b460 RM |
3480 | 2003-03-03 Roland McGrath <roland@redhat.com> |
3481 | ||
868b9d6a RM |
3482 | * elf/dl-load.c (struct filebuf): Fix typo in last change. |
3483 | ||
ce78b460 RM |
3484 | * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define |
3485 | PI_STATIC_AND_HIDDEN. | |
ce78b460 | 3486 | |
625f22fc UD |
3487 | 2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au> |
3488 | ||
3489 | * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone | |
3490 | flags. | |
3491 | * include/sched.h: Update clone2 prototype. | |
3492 | ||
71502ebe UD |
3493 | 2003-03-03 Andreas Jaeger <aj@suse.de> |
3494 | ||
3495 | * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition. | |
3496 | (llrint): Use it to correct return type. | |
3497 | (lrint): Likewise. | |
3498 | (lround): Likewise. | |
3499 | (llround): Likewise. | |
3500 | ||
d15a8404 UD |
3501 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
3502 | ||
ca97fb53 UD |
3503 | * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640 |
3504 | byte filebuf size. | |
3505 | ||
1739d268 UD |
3506 | * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor |
3507 | if ccs parameter isn't valid. Reported by Andreas Schwab. | |
3508 | ||
3509 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3510 | ||
3511 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support | |
3512 | for system call numbers > 255. | |
3513 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, | |
3514 | INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, | |
3515 | INTERNAL_SYSCALL): Likewise. | |
3516 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. | |
3517 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, | |
3518 | INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, | |
3519 | INTERNAL_SYSCALL): Likewise. | |
3520 | ||
3521 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3522 | ||
3523 | * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv | |
3524 | array if it is the initial dtv. | |
3525 | ||
3526 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> | |
3527 | ||
3528 | * po/es.po: Update from translation team. | |
3529 | * po/fr.po: Likewise. | |
71502ebe | 3530 | * po/gl.po: Likewise. |
1739d268 UD |
3531 | * po/sk.po: Likewise. |
3532 | * po/sv.po: Likewise. | |
3533 | ||
d15a8404 UD |
3534 | * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. |
3535 | * misc/sys/mman.h: Add prototype for remap_file_pages. | |
3536 | * sysdeps/generic/remap_file_pages.c: New file. | |
3c531a87 | 3537 | * misc/Makefile (routines): Add remap_file_pages. |
a05be180 | 3538 | * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages. |
d15a8404 UD |
3539 | |
3540 | * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE | |
3541 | and MAP_NONBLOCK. | |
3542 | * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. | |
3543 | * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise | |
3544 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. | |
3545 | * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. | |
3546 | * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. | |
3547 | * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. | |
3548 | * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. | |
3549 | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. | |
3550 | ||
ea6a015b RM |
3551 | 2003-03-03 Roland McGrath <roland@redhat.com> |
3552 | ||
a49f5762 RM |
3553 | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. |
3554 | * sysdeps/ia64/dl-machine.h: Likewise. | |
3555 | * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from | |
3556 | argument type. | |
3557 | * sysdeps/ia64/dl-lookupcfg.h: Update decl. | |
3558 | ||
3559 | * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias. | |
3560 | * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias. | |
3561 | * locale/Versions (libc: GLIBC_2.3): Move those to ... | |
3562 | * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file. | |
3563 | * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise. | |
3564 | * Versions.def (libc): Add GLIBC_2.3.3 set. | |
3565 | ||
ea6a015b RM |
3566 | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg. |
3567 | * sysdeps/ia64/dl-machine.h: Update decl. | |
3568 | ||
62584540 AJ |
3569 | 2003-03-03 Andreas Jaeger <aj@suse.de> |
3570 | ||
d15a8404 | 3571 | * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace. |
62584540 | 3572 | |
78c3fb45 RM |
3573 | 2003-03-02 Roland McGrath <roland@redhat.com> |
3574 | ||
3575 | * scripts/abilist.awk: Reject data items with apparent 0 size. | |
3576 | ||
3577 | * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar | |
3578 | after foo.* as if it were a duplicate. | |
3579 | ||
3580 | * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk. | |
3581 | ||
885bafa1 UD |
3582 | 2003-03-02 Ulrich Drepper <drepper@redhat.com> |
3583 | ||
1be3d664 UD |
3584 | * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes. |
3585 | ||
885bafa1 UD |
3586 | * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. |
3587 | * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only | |
3588 | if not already defined. Use SYSDEP_GETRES to allow other files to | |
3589 | provide alternative implementations. | |
3590 | * sysdeps/unix/sysv/linux/clock_getres.c: New file | |
3591 | * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only | |
3592 | if not already defined. Use SYSDEP_GETTIME to allow other files to | |
3593 | provide alternative implementations. | |
3594 | * sysdeps/unix/sysv/linux/clock_gettime.c: New file. | |
3595 | * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only | |
3596 | if not already defined. Use SYSDEP_GETTIME to allow other files to | |
3597 | provide alternative implementations. | |
3598 | * sysdeps/unix/sysv/linux/clock_settime.c: New file. | |
3599 | * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow | |
3600 | other files to provide alternative implementations. Rearrange | |
3601 | tests for invalid parameters. | |
3602 | * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. | |
3603 | * sysdeps/unix/sysv/linux/sysconf.c: New file. | |
3604 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
78c3fb45 | 3605 | __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up. |
885bafa1 UD |
3606 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define |
3607 | _POSIX_MONOTONIC_CLOCK. | |
3608 | ||
bb0ddc2f RM |
3609 | 2003-03-02 Roland McGrath <roland@redhat.com> |
3610 | ||
8f3846a9 RM |
3611 | * scripts/merge-abilist.awk: More checks for bogus input. |
3612 | Uniquify duplicate config names. | |
3613 | ||
3614 | * scripts/abilist.awk: Don't distinguish weak symbols in normal output. | |
3615 | ||
7551556f RM |
3616 | * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed |
3617 | from dl_reloc_overflow, make global. | |
3618 | (__process_machine_rela): Update callers. | |
3619 | * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow. | |
3620 | Add attribute_hidden to __process_machine_rela decl. | |
3621 | (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs. | |
3622 | ||
3a601d31 RM |
3623 | * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const |
3624 | variable. | |
3625 | ||
bb0ddc2f RM |
3626 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt): |
3627 | Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. | |
3628 | (elf_machine_rela): Clean up. | |
3629 | ||
3630 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. | |
3631 | ||
3632 | PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>. | |
3633 | * sysdeps/powerpc/powerpc32/elf/configure.in: New file. | |
3634 | * sysdeps/powerpc/powerpc32/elf/configure: New generated file. | |
3635 | * elf/tls-macros.h [__powerpc__ && !__powerpc64__] | |
3636 | (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. | |
3637 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support | |
3638 | new relocs for TLS. | |
3639 | ||
3640 | * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these | |
3641 | macros out of [SHARED]. | |
3642 | (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. | |
3643 | ||
3644 | * elf/elf.h: Define R_PPC_* relocs for TLS support. | |
3645 | Clean up R_PPC64_* macro definition comments. | |
7ed33cba | 3646 | |
d1149385 RM |
3647 | * configure.in: In "running configure fragment for" message, |
3648 | omit $srcdir from the name if we prepended it. | |
3649 | * configure: Regenerated. | |
3650 | ||
7ed33cba RM |
3651 | * elf/dl-reloc.c (allocate_static_tls): Fix calculations. |
3652 | From Jakub Jelinek <jakub@redhat.com>. | |
3653 | ||
3654 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change, | |
3655 | which duplicated the O_DIRECT defn. | |
3656 | ||
3657 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> | |
3658 | ||
3659 | * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived | |
3660 | random functions. | |
3661 | ||
4191f43d AS |
3662 | 2003-03-01 Andreas Schwab <schwab@suse.de> |
3663 | ||
7ed33cba RM |
3664 | * resolv/Makefile (tests): Don't depend on |
3665 | $(objpfx)mtrace-tst-leaks when cross compiling. | |
3666 | ||
4191f43d AS |
3667 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Access |
3668 | __libc_stack_end through GOT since it is a global symbol. | |
3669 | ||
85c54a32 UD |
3670 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> |
3671 | ||
3672 | * argp/argp.h: Fix a typo. | |
3673 | Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>. | |
3674 | ||
3675 | * manual/terminal.texi: Fix cfmakeraw() definition from int to void. | |
3676 | ||
3677 | 2003-02-27 Pat Rankin <rankin@pactechdata.com> | |
3678 | ||
3679 | * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to | |
3680 | char *. | |
3681 | (get_subexp): Likewise. | |
3682 | ||
a6861e64 UD |
3683 | 2003-03-01 GOTO Masanori <gotom@debian.or.jp> |
3684 | ||
3685 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define. | |
3686 | ||
3687 | 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com> | |
3688 | ||
3689 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define. | |
3690 | ||
a6963e69 RM |
3691 | 2003-02-27 Roland McGrath <roland@redhat.com> |
3692 | ||
3693 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove | |
3694 | special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to | |
3695 | repeat it and avoids the test for the common case. | |
3696 | Clean up and fix calculations for TLS relocs. | |
3697 | ||
3698 | * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ... | |
3699 | * sysdeps/powerpc/dl-tls.h: ... here. | |
3700 | (TLS_TP_OFFSET): New macro. | |
3701 | ||
3702 | * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change. | |
3703 | ||
427f5fa1 UD |
3704 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
3705 | ||
3706 | * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to | |
3707 | code generation changes in recent gcc. | |
3708 | ||
73a061bb RM |
3709 | 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com> |
3710 | ||
3711 | * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW): | |
3712 | Rename argument to avoid symbol conflict. | |
3713 | ||
3714 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h | |
3715 | [__USE_GNU] (O_DIRECT): New macro. | |
3716 | ||
d2637c70 UD |
3717 | 2003-02-24 David Mosberger <davidm@hpl.hp.com> |
3718 | ||
3719 | * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix | |
3720 | unwind info. | |
3721 | ||
d148ed25 UD |
3722 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
3723 | ||
e361e438 UD |
3724 | * resolv/res_libc.c [USE___THREAD] (_res): Don't need the |
3725 | initializer anymore now that res_thread_freeres is more careful. | |
3726 | ||
d148ed25 UD |
3727 | * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages |
3728 | except the PKTINFO. Reset interface in PKTINFO. | |
dbf6131c | 3729 | Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973]. |
d148ed25 | 3730 | |
fec41719 RM |
3731 | 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com> |
3732 | ||
d148ed25 UD |
3733 | * elf/elf.h: Add new R_PPC64_* relocs for TLS. |
3734 | * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): | |
3735 | Define. | |
fec41719 RM |
3736 | * sysdeps/powerpc/powerpc64/elf/configure.in: New file. |
3737 | * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). | |
afafddab RM |
3738 | * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. |
3739 | * sysdeps/powerpc/powerpc64/dl-tls.h: New file. | |
fec41719 | 3740 | |
d148ed25 | 3741 | * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): |
fec41719 RM |
3742 | Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file. |
3743 | ||
56ce76ea AJ |
3744 | 2003-02-25 Andreas Jaeger <aj@suse.de> |
3745 | ||
3746 | * manual/memory.texi (Malloc Tunable Parameters): Clarify | |
3747 | behaviour of M_MMAP_THRESHOLD. | |
3748 | ||
724fad20 RM |
3749 | 2003-02-25 Roland McGrath <roland@redhat.com> |
3750 | ||
3751 | * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is | |
3752 | zero, inidicating _res was not initialized yet. | |
3753 | ||
80d80779 UD |
3754 | 2003-02-24 Ulrich Drepper <drepper@redhat.com> |
3755 | ||
3756 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES | |
3757 | test. | |
3758 | ||
81b47a8b RM |
3759 | 2003-02-24 Roland McGrath <roland@redhat.com> |
3760 | ||
3761 | * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED. | |
3762 | ||
de217051 RM |
3763 | 2003-02-23 Roland McGrath <roland@redhat.com> |
3764 | ||
3765 | * sysdeps/posix/pause.c: New file. | |
3766 | * sysdeps/unix/common/pause.c: File removed. | |
3767 | ||
fd1a0d0c UD |
3768 | 2003-02-23 Ulrich Drepper <drepper@redhat.com> |
3769 | ||
cdd8e46f UD |
3770 | * sysdeps/generic/bits/confname.h: Remove #ifs. |
3771 | ||
5a6bbb41 UD |
3772 | * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. |
3773 | * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing. | |
3774 | ||
fd1a0d0c UD |
3775 | * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock |
3776 | element to -1. | |
3777 | ||
249062b0 UD |
3778 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
3779 | ||
3780 | * sysdeps/generic/dl-sysdep.c: Avoid warning. | |
3781 | ||
92cc462c RM |
3782 | 2003-02-22 Roland McGrath <roland@redhat.com> |
3783 | ||
ce84ab61 RM |
3784 | * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>. |
3785 | * resolv/Makefile (tests): Add tst-leaks. | |
3786 | ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so. | |
3787 | (tst-leaks-ENV): New variable. | |
3788 | ($(objpfx)mtrace-tst-leaks): New target. | |
3789 | (tests): Depend on it. | |
3790 | ||
d2d442a5 RM |
3791 | * include/libc-internal.h: Declare __libc_thread_freeres. |
3792 | ||
7a0c303e RM |
3793 | * Makerules: Fix last change to use $($(subdir)-version) when set. |
3794 | ||
cc8bfce9 RM |
3795 | * Makerules (install-lib-nosubdir): Depend on installed |
3796 | libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed | |
3797 | regardless of the libfoo.so target's dependencies. | |
3798 | ||
92cc462c RM |
3799 | * MakeTAGS (sub-make-vars): New variable, includes generating=t. |
3800 | Use that in $(MAKE) calls. | |
3801 | ||
e57f9f75 UD |
3802 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
3803 | ||
819c56e7 UD |
3804 | * catgets/gencat.c (read_input_file): Collision between |
3805 | auto-assigned numbers and user-defined nubmers is not fatal. | |
3806 | Handle it. | |
3807 | Patch by Michael M. Lampkin <michael.lampkin@ieee.org>. | |
c780aa21 UD |
3808 | * catgets/Makefile: Add rules to run test2.msg test. |
3809 | * catgets/test2.msg: New file. | |
819c56e7 UD |
3810 | |
3811 | * catgets/gencat.c (main): Return 1 if messages have been printed. | |
3812 | ||
757f9fcb UD |
3813 | * iconv/iconv_prog.c (main): Unify messages. |
3814 | ||
e57f9f75 UD |
3815 | * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word |
3816 | when shifting retval. | |
3817 | * stdlib/tst-strtod.c (main): Add strtold test case. | |
3818 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
3819 | ||
e8783fd5 RM |
3820 | 2003-02-21 Roland McGrath <roland@redhat.com> |
3821 | ||
2a3d906e RM |
3822 | * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. |
3823 | * sunrpc/rpc_thread.c: Likewise for text_set_element use. | |
3824 | (__rpc_thread_destroy): Add it to __libc_subfreeres too. | |
3825 | ||
3826 | * include/resolv.h: Add libc_hidden_proto for __res_nclose. | |
3827 | * resolv/res_init.c (__res_nclose): Add libc_hidden_def. | |
3828 | (res_thread_freeres): New function, on __libc_thread_subfreeres and | |
3829 | __libc_subfreeres. | |
3830 | ||
3831 | * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres. | |
e8783fd5 RM |
3832 | * malloc/thread-freeres.c: New file. |
3833 | * malloc/Makefile (aux): Add it. | |
2a3d906e | 3834 | * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed. |
e8783fd5 RM |
3835 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section |
3836 | "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. | |
3837 | ||
3838 | * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. | |
3839 | * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. | |
3840 | ||
3841 | 2003-02-21 Roland McGrath <roland@frob.com> | |
3842 | ||
3843 | * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. | |
3844 | ||
3845 | * iconvdata/Makefile (tests): Add bug-iconv3 only if | |
3846 | [$(have-thread-library) = yes]. | |
3847 | ||
1c848253 UD |
3848 | 2003-02-21 Ulrich Drepper <drepper@redhat.com> |
3849 | ||
9c03686d UD |
3850 | * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG. |
3851 | ||
1c848253 UD |
3852 | * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do |
3853 | not chechk for errors (unless testing for 32bit variant). | |
3854 | * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. | |
3855 | * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. | |
3856 | * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. | |
3857 | ||
6f50cb00 UD |
3858 | 2003-02-21 Jakub Jelinek <jakub@redhat.com> |
3859 | ||
3860 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>: | |
3861 | Check for signed overflow, not unsigned. | |
3862 | ||
cef0a48d UD |
3863 | * sysdeps/sparc/sparc64/elf/configure.in: New file. |
3864 | * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS): | |
3865 | Use -fcall-used-g6, not -fcall-used-g7. | |
3866 | ||
dd3608b9 AJ |
3867 | 2003-02-21 Andreas Jaeger <aj@suse.de> |
3868 | ||
3869 | * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default | |
3870 | mode. | |
3871 | ||
3872 | * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not | |
3873 | clear whole mxcsr but only exceptions. | |
3874 | ||
59fed0e2 RM |
3875 | 2003-02-21 Roland McGrath <roland@redhat.com> |
3876 | ||
3877 | * Makerules: Filter $(install-lib-ldscripts) out of list of targets | |
3878 | for libfoo.so that need $(make-link) rules. | |
3879 | ||
36f0ccda RM |
3880 | 2003-02-21 Roland McGrath <roland@frob.com> |
3881 | ||
3882 | * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE | |
3883 | to match existing struct stat layout in mig protocols. | |
3884 | ||
ec503662 UD |
3885 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3886 | ||
3887 | * version.h (VERSION): Bump to 2.3.2. | |
3888 | ||
3889 | * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, | |
3890 | tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, | |
3891 | and dl-sysdep.h. | |
3892 | * sysdeps/generic/Dist: Add sysdep-cancel.h. | |
3893 | * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. | |
3894 | * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. | |
3895 | * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. | |
3896 | * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. | |
3897 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and | |
3898 | ucontext_i.h. | |
3899 | * Makefile (distribute): Add include/stubs-prologue.h, | |
3900 | include/gnu/stubs.h, scripts/merge-abilist.awk, and | |
3901 | scripts/extract-abilist.awk. | |
3902 | ||
af57745c RM |
3903 | 2003-02-20 Roland McGrath <roland@redhat.com> |
3904 | ||
3905 | * math/Makefile (distribute): Don't add generated files. | |
3906 | ||
6314208a UD |
3907 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3908 | ||
6314208a UD |
3909 | * math/Makefile: Rearrange variable definitions slightly to get |
3910 | definition in the right order. | |
3911 | ||
ab10a294 RM |
3912 | 2003-02-20 Roland McGrath <roland@redhat.com> |
3913 | ||
3914 | * Makerules: Clean up conditional around include of tls.make. | |
3915 | * Make-dist: Export generating=t to prevent using that. | |
3916 | (+distinfo): Likewise for $(shell $(MAKE) ...) runs. | |
3917 | ||
54e1cabc UD |
3918 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3919 | ||
3920 | * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap | |
3921 | around in search if port IPPORT_RESERVED/2 has been test. | |
3922 | ||
ec503662 | 3923 | 2002-02-20 Paolo Bonzini <bonzini@gnu.org> |
54e1cabc UD |
3924 | |
3925 | * posix/regcomp.c: Remove inclusions. | |
3926 | * posix/regexec.c: Likewise. | |
3927 | * posix/regex_internal.c: Likewise. | |
3928 | * posix/regex_internal.h: Add inclusions here. | |
3929 | * posix/regex.c: Only include sys/types.h before regex.h. Include | |
3930 | regex_internal.h here. Include regex_internal.c before regcomp.c | |
3931 | and regexec.c (might expose more opportunities to the C compiler). | |
3932 | ||
3933 | * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC. | |
3934 | ||
3935 | * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo. | |
3936 | [!_LIBC] (__wcrtomb): New definition. | |
3937 | [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and | |
3938 | HAVE_LOCALE_H as well. | |
3939 | ||
6eb74f33 UD |
3940 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
3941 | ||
3942 | * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete | |
3943 | patch to check for system call errors. | |
3944 | ||
05856976 UD |
3945 | 2002-07-24 Philip Blundell <philb@gnu.org> |
3946 | ||
3947 | * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV | |
3948 | on unknown systems. | |
3949 | ||
3950 | 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
3951 | ||
3952 | * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. | |
3953 | * sysdeps/unix/sysv/linux/kernel-features.h | |
3954 | (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. | |
3955 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl | |
3956 | if possible. | |
3957 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short | |
3958 | interprocedure branches. | |
3959 | * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... | |
3960 | * sysdeps/powerpc/nofpu/Dist: ...here. | |
3961 | * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... | |
3962 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. | |
3963 | * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. | |
3964 | * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. | |
3965 | * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete. | |
3966 | ||
a592f998 UD |
3967 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
3968 | ||
3969 | * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine. | |
3970 | ||
44ed664b UD |
3971 | 2003-02-20 Philip Blundell <philb@gnu.org> |
3972 | ||
3973 | * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add | |
3974 | missing arguments to INTERNAL_SYSCALL_ERROR_P and | |
3975 | INTERNAL_SYSCALL_ERRNO. | |
3976 | ||
ffdcfcb0 UD |
3977 | 2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3978 | ||
3979 | * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test | |
3980 | for __ASSUME_32BITUIDS. | |
3981 | ||
4b2ed419 AS |
3982 | 2003-02-20 Andreas Schwab <schwab@suse.de> |
3983 | ||
3984 | * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and | |
3985 | POSIX_MADV_* constants. | |
3986 | ||
01b28852 UD |
3987 | 2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
3988 | ||
3989 | * sysdeps/unix/sysv/linux/sh/pread.c: New file. | |
3990 | * sysdeps/unix/sysv/linux/sh/pread64.c: New file. | |
3991 | * sysdeps/unix/sysv/linux/sh/pwrite.c: New file. | |
3992 | * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file. | |
3993 | ||
a70e514b UD |
3994 | 2003-02-19 Jiro Sekiba <jir@yamato.ibm.com> |
3995 | ||
3996 | * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate. | |
3997 | ||
ade67411 RM |
3998 | 2003-02-16 Roland McGrath <roland@redhat.com> |
3999 | ||
4000 | * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>. | |
4001 | ||
1c524710 UD |
4002 | 2003-02-19 Ulrich Drepper <drepper@redhat.com> |
4003 | ||
01b28852 | 4004 | * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off |
1c524710 | 4005 | decimal input digits. |
b5f7b119 | 4006 | * stdlib/tst-strtod.c (main): Add test for strtof bug. |
1c524710 | 4007 | |
2f7dc594 UD |
4008 | 2003-02-18 Ulrich Drepper <drepper@redhat.com> |
4009 | ||
4010 | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize | |
4011 | invalid file descriptors and missing access permissions. | |
4012 | ||
46d7e2ba UD |
4013 | 2003-02-17 Ulrich Drepper <drepper@redhat.com> |
4014 | ||
8bd3f184 | 4015 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has |
2cfe49db UD |
4016 | been found. |
4017 | ||
46d7e2ba UD |
4018 | * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and |
4019 | TTY_NAME_MAX and not the _POSIX_* minimal value macros. | |
4020 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX | |
4021 | and LOGIN_NAME_MAX. | |
4022 | ||
b2740a3b UD |
4023 | 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> |
4024 | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
4025 | ||
4026 | * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. | |
4027 | * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. | |
4028 | * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. | |
4029 | * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. | |
4030 | * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. | |
4031 | ||
81b50572 UD |
4032 | 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4033 | ||
4034 | * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. | |
4035 | * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. | |
4036 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. | |
4037 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. | |
4038 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. | |
4039 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. | |
4040 | ||
4041 | * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... | |
4042 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. | |
4043 | * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... | |
4044 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. | |
4045 | ||
4046 | * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. | |
4047 | * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. | |
4048 | * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. | |
4049 | * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete. | |
4050 | ||
fdcd8f9c UD |
4051 | 2003-02-14 Thorsten Kukuk <kukuk@suse.de> |
4052 | ||
4053 | * nss/getent.c (print_hosts): Print all IP addresses of one host. | |
4054 | ||
7125d3cf RM |
4055 | 2003-02-15 Roland McGrath <roland@frob.com> |
4056 | ||
8321ef15 RM |
4057 | * sysdeps/mach/hurd/tls.h: New file. |
4058 | * sysdeps/mach/hurd/i386/tls.h: New file. | |
4059 | ||
b0104b6f RM |
4060 | * mach/errsystems.awk: Include <errno.h> in generated output. |
4061 | ||
7125d3cf RM |
4062 | * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, |
4063 | use target mach-before-compile instead of generated. | |
4064 | (mach-before-compile): New target. | |
4065 | * Makerules: Disable use of tls.make if $(generating) is set. | |
4066 | * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. | |
4067 | * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on | |
4068 | mach-shortcuts.h so mach/ generation happens before hurd/. | |
4069 | ||
47202270 UD |
4070 | 2003-02-14 Ulrich Drepper <drepper@redhat.com> |
4071 | ||
a439bb2f UD |
4072 | * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa |
4073 | of demorm correctly if low word is zero. | |
4074 | Reported by Fred J. Tydeman <tydeman@tybor.com>. | |
757de559 UD |
4075 | * math/libm-test.inc (nextafter_test): New test, but disabled due |
4076 | to gcc bug. | |
a439bb2f | 4077 | |
47202270 UD |
4078 | * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread |
4079 | counter and only call __exit_thread if this is not the last thread. | |
4080 | ||
dac0f772 UD |
4081 | 2003-02-13 Jakub Jelinek <jakub@redhat.com> |
4082 | ||
4083 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of | |
4084 | subtracting map->l_tls_offset. | |
4085 | ||
7437cbd1 UD |
4086 | 2003-02-12 Ulrich Drepper <drepper@redhat.com> |
4087 | ||
2067577c UD |
4088 | * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and |
4089 | _CS_GNU_LIBPTHREAD_VERSION. | |
4090 | * posix/conststr.c: Handle these new values. | |
4091 | * posix/getconf.c: Likewise. | |
4092 | ||
7437cbd1 UD |
4093 | * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix |
4094 | masking of version index. | |
4095 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. | |
4096 | ||
969c9da7 UD |
4097 | 2003-02-11 Ulrich Drepper <drepper@redhat.com> |
4098 | ||
4099 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment | |
4100 | correctly. Reported by Thorsten Kukuk. | |
4101 | ||
e5ffa64a UD |
4102 | 2003-02-10 Ulrich Drepper <drepper@redhat.com> |
4103 | ||
4104 | * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and | |
4105 | _BSD_SOURCE to compiler. | |
4106 | * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. | |
4107 | Patches by Alan Modra. | |
4108 | ||
34c86f42 UD |
4109 | 2003-02-08 Ulrich Drepper <drepper@redhat.com> |
4110 | ||
4111 | * io/ftwtest.c: Get current working directory before and after the | |
4112 | nftw call and make sure they match. | |
4113 | ||
4114 | 2003-02-08 Jim Meyering <jim@meyering.net> | |
4115 | ||
2067577c | 4116 | * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember |
34c86f42 UD |
4117 | the current directory, not just when DIR contains a slash. |
4118 | Reported by Manoj Srivastava. | |
4119 | ||
ae9ecd08 UD |
4120 | 2003-02-07 Jim Meyering <jim@meyering.net> |
4121 | ||
4122 | * io/ftw.c: Add autoconf-recommended block of alloca-related code. | |
4123 | Include autoconf-recommended block of dirent/NAMELEN-related | |
4124 | definitions and includes. Use NAMELEN throughout, rather than | |
4125 | _D_EXACT_NAMLEN. | |
4126 | [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. | |
4127 | [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. | |
4128 | (stpcpy): Declare, if necessary. | |
4129 | (mempcpy): Define, if necessary. | |
4130 | [!_LIBC] (__stpcpy, __mempcpy): Define. | |
4131 | [!_LIBC] (LXSTAT, XSTAT): Define. | |
4132 | (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. | |
4133 | (find_object): Don't use c99-style struct initializer. | |
4134 | Tweak wording in a couple comments. | |
4135 | ||
2a051a7d UD |
4136 | 2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
4137 | ||
4138 | * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list | |
4139 | for SH. | |
4140 | * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD | |
4141 | after the trapa instruction. | |
4142 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional | |
4143 | parameters. | |
4144 | * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file. | |
4145 | (NEED_SYSCALL_INST_PAD): Define. | |
4146 | * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to | |
4147 | avoid to use definition for the kernel. | |
4148 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
4149 | Save and restore the frame pointer. | |
4150 | (SYSCALL_INST_PAD): Define. | |
4151 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
4152 | (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD | |
4153 | after trapa instruction. | |
4154 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4155 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
4156 | ||
1f503475 UD |
4157 | 2003-02-07 Jakub Jelinek <jakub@redhat.com> |
4158 | ||
4159 | * resolv/res_libc.c (_res): Ensure _res is not common symbol, | |
4160 | so that it can have aliases. | |
4161 | * inet/herrno.c (h_errno): Put it into .bss not .data section. | |
4162 | ||
eecc378c UD |
4163 | 2003-02-07 Ulrich Drepper <drepper@redhat.com> |
4164 | ||
4165 | * elf/dl-runtime.c (fixup): Correct typo in version index computation. | |
4166 | (profile_fixup): Likewise. | |
1f503475 | 4167 | Patch by Lance Larsh <Lance.Larsh@oracle.com>. |
eecc378c | 4168 | |
ce96c93d UD |
4169 | 2002-11-24 Robert Love <rml@tech9.net> |
4170 | ||
4171 | * posix/sched.h: Second parameter of sched_setaffinity and | |
4172 | sched_getaffinity is `unsigned int', not `unsigned long'. | |
4173 | * sysdeps/generic/sched_setaffinity.c: Likewise. | |
4174 | * sysdeps/generic/sched_getaffinity.c: Likewise. | |
4175 | ||
e0f86659 UD |
4176 | 2003-02-05 Ulrich Drepper <drepper@redhat.com> |
4177 | ||
432cf458 | 4178 | * debug/catchsegv.sh: Fix typo in error messsage. |
ce96c93d | 4179 | Reported by John Levon <levon@movementarian.org>. |
432cf458 | 4180 | |
5cd09cd6 UD |
4181 | * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. |
4182 | * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. | |
4183 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. | |
4184 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
4185 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
4186 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
4187 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
4188 | ||
e0f86659 UD |
4189 | * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. |
4190 | Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>. | |
4191 | ||
5049f197 UD |
4192 | 2003-02-05 Jim Meyering <jim@meyering.net> |
4193 | ||
4194 | Fix a heap-corrupting bug. | |
4195 | * io/ftw.c: Include <limits.h>. | |
4196 | (PATH_MAX) [!defined PATH_MAX]: Define to 1024. | |
4197 | (process_entry): Allocate enough space to hold the resulting | |
4198 | file name. Don't presume that 2*dirbufsize is enough. | |
4199 | (ftw_startup): Always use PATH_MAX to compute buffer size, now that | |
4200 | it is guaranteed to be defined. | |
4201 | ||
6f1cff95 UD |
4202 | 2003-02-04 Ulrich Drepper <drepper@redhat.com> |
4203 | ||
4204 | * iconvdata/Makefile: Add rules to build and run bug-iconv3. | |
4205 | * iconvdata/bug-iconv3.c: New file. | |
4206 | ||
b33b0d0d UD |
4207 | 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4208 | ||
4209 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
4210 | ||
6900ded2 UD |
4211 | 2003-02-03 Jakub Jelinek <jakub@redhat.com> |
4212 | ||
4213 | * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New | |
4214 | check. | |
4215 | * config.h.in (BROKEN_SPARC_WDISP22): Add. | |
4216 | ||
663684b2 UD |
4217 | 2003-02-03 Ulrich Drepper <drepper@redhat.com> |
4218 | ||
4219 | * sysdeps/i386/i686/memmove.S: New file. | |
4220 | ||
3e4fc359 UD |
4221 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> |
4222 | ||
4223 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: | |
4224 | Include kernel-features.h | |
4225 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. | |
4226 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. | |
4227 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. | |
4228 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
4229 | ||
75dec09e UD |
4230 | 2003-02-02 Jakub Jelinek <jakub@redhat.com> |
4231 | ||
4232 | * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. | |
4233 | ||
78e88510 UD |
4234 | 2003-01-25 Jim Meyering <jim@meyering.net> |
4235 | ||
4236 | * io/ftw.c (object_compare): Compare inode numbers before device | |
4237 | numbers, since the former are much more likely to differ. | |
4238 | ||
38e68573 UD |
4239 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> |
4240 | ||
4241 | * time/tzfile.c (__tzfile_compute): Change return value type to | |
4242 | void. Adjust return statements. | |
4243 | * include/time.h (__tzfile_compute): Adjust prototype. | |
4244 | ||
4245 | 2003-02-01 Jim Meyering <jim@meyering.net> | |
4246 | ||
4247 | * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute | |
4248 | always returns 1. | |
4249 | ||
4250 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
4251 | ||
4252 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
4253 | [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. | |
4254 | ||
4255 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
4256 | ||
4257 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S | |
4258 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. | |
4259 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S | |
4260 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
4261 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
4262 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
4263 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
4264 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
4265 | ||
4266 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
4267 | ||
4268 | * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel | |
4269 | back to 2.4.19 for powerpc64. | |
4270 | * sysdeps/unix/sysv/linux/kernel-features.h | |
4271 | (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. | |
4272 | (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. | |
4273 | ||
4274 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> | |
4275 | ||
4276 | * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for | |
4277 | platforms with strange alignment requirements on wchar_t. | |
4278 | ||
b67fcc1e UD |
4279 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
4280 | ||
4281 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* | |
4282 | aliases, already added by make-syscalls.sh. | |
4283 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
4284 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. | |
4285 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. | |
4286 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
4287 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
4288 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
4289 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
4290 | * sysdeps/unix/inet/syscalls.list: Likewise. | |
4291 | * sysdeps/unix/syscalls.list: Likewise. | |
4292 | ||
fb784fd5 AS |
4293 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
4294 | ||
4295 | * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed | |
4296 | any more. | |
4297 | ||
c4c1336c UD |
4298 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
4299 | ||
4300 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, | |
4301 | not l to load tls from stack. | |
4302 | ||
d6f5e721 RM |
4303 | 2003-01-30 Roland McGrath <roland@redhat.com> |
4304 | ||
4305 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for | |
4306 | null argument before all else. | |
4307 | Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
4308 | ||
7ba7c829 UD |
4309 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
4310 | ||
4311 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): | |
4312 | Move to RESOLVE protected part of the header. | |
4313 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): | |
4314 | Likewise. | |
4315 | ||
4316 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
4317 | ||
4318 | * stdio-common/Makefile (tests): Add bug15. | |
4319 | (bug15-ENV): Define. | |
4320 | * stdio-common/bug15.c: New file. | |
4321 | ||
886d5973 UD |
4322 | 2002-10-07 Wolfram Gloger <wg@malloc.de> |
4323 | ||
4324 | * malloc/malloc.c (sYSMALLOc): Only check for breakage due | |
4325 | to foreign sbrk()'s if arena is contiguous. Bug report from | |
4326 | Bruno Haible <bruno@clisp.org>. | |
4327 | ||
4328 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
4329 | ||
4330 | * sysdeps/s390/libc-tls.c: Include stdlib.h. | |
4331 | ||
4332 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
4333 | ||
4334 | * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of | |
4335 | ps.__count. | |
4336 | ||
4337 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
4338 | ||
4339 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and | |
4340 | restoring of %r6. | |
4341 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use | |
4342 | 64-bit load. | |
4343 | Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
4344 | ||
4345 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
4346 | ||
4347 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... | |
4348 | (allocate_static_tls): ...here. Add __attribute_noinline__. | |
4349 | Don't return on failure. | |
4350 | (_dl_reloc_bad_type): Add __attribute_noinline__. | |
4351 | * elf/do-rel.h (elf_dynamic_do_rel): Add | |
4352 | __attribute__((always_inline)). | |
4353 | * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, | |
4354 | elf_machine_rel_relative, elf_machine_rela_relative, | |
4355 | elf_machine_lazy_rel): Add prototypes with | |
4356 | __attribute__((always_inline)). | |
4357 | ||
4358 | 2003-01-29 David Mosberger <davidm@hpl.hp.com> | |
4359 | ||
4360 | * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. | |
4361 | ||
871afd6b RM |
4362 | 2003-01-29 Roland McGrath <roland@redhat.com> |
4363 | ||
4364 | * configure.in: Barf if configured in $srcdir. | |
871afd6b | 4365 | |
1e49399d UD |
4366 | 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> |
4367 | ||
4368 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
1e2f8718 | 4369 | (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. |
1e49399d | 4370 | |
db34912e UD |
4371 | 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4372 | ||
4373 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional | |
4374 | clone parameters to match the order used on ia32. | |
4375 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
4376 | ||
e6ebd2e4 UD |
4377 | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4378 | ||
4379 | * elf/elf.h: Add new s390 relocs. | |
4380 | * elf/tls-macros.h: Add s390 versions. | |
4381 | * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. | |
4382 | * sysdeps/s390/dl-tls.h: New file. | |
4383 | * sysdeps/s390/libc-tls.c: New file. | |
4384 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS | |
4385 | relocs for class PLT. | |
4386 | (elf_machine_rela): Handle TLS relocs. | |
4387 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
4388 | * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. | |
4389 | * sysdeps/s390/s390-64/elf/configure.in: Likewise. | |
4390 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for | |
4391 | CLONE_CHILD_*TID flags. | |
4392 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
4393 | * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 | |
4394 | bit offset. | |
4395 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
4396 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
4397 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): | |
4398 | Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. | |
4399 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): | |
4400 | Likewise. | |
4401 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: | |
4402 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. | |
4403 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
4404 | variants. | |
4405 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: | |
4406 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use | |
4407 | direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. | |
4408 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
4409 | variants. | |
4410 | ||
772e3426 UD |
4411 | 2003-01-28 Ulrich Drepper <drepper@redhat.com> |
4412 | ||
4413 | * sysdeps/unix/common/pause.c (do_pause): New function. Split | |
4414 | from __libc_pause. Implement using sigsuspend. | |
4415 | (__libc_pause): Call do_pause to do the real work. | |
4416 | ||
4417 | * sysdeps/posix/sigpause.c (do_sigpause): Check range of | |
4418 | sig_or_mask parameter is is_sig != 0. | |
4419 | ||
0566b130 UD |
4420 | 2003-01-21 Philip Blundell <philb@gnu.org> |
4421 | ||
4422 | * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. | |
4423 | ||
a15698cb UD |
4424 | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> |
4425 | ||
4426 | * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. | |
4427 | ||
b7e033f7 UD |
4428 | 2003-01-27 Ulrich Drepper <drepper@redhat.com> |
4429 | ||
e6fb8846 UD |
4430 | * stdio-common/bug14.c: Use official name for the locale. |
4431 | ||
1fc46908 UD |
4432 | * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start |
4433 | instead of __libc_cleanup_region_start and _IO_cleanup_region_end | |
4434 | instead of __libc_cleanup_region_end. | |
4435 | ||
4436 | * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 | |
4437 | as first parameter to __libc_cleanup_region_start. | |
4438 | ||
68ff8426 UD |
4439 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
4440 | (__fe_nomask_env): Use __prctl not prctl. | |
4441 | * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for | |
4442 | prctl syscall. | |
4443 | ||
809cd222 UD |
4444 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. |
4445 | ||
4446 | * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. | |
4447 | ||
b7e033f7 UD |
4448 | * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic |
4449 | wrap-around in test. | |
4450 | ||
62f29da7 UD |
4451 | 2003-01-26 Andreas Schwab <schwab@suse.de> |
4452 | ||
4453 | * sysdeps/wordsize-32/divdi3.c: Export the functions only as | |
4454 | compatibility symbols. Remove INTDEF for __divdi3. | |
4455 | * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. | |
4456 | * sysdeps/powerpc/powerpc32/divdi3.c: Remove. | |
4457 | * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't | |
4458 | define. | |
4459 | * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. | |
4460 | ||
4461 | 2003-01-24 Jakub Jelinek <jakub@redhat.com> | |
4462 | ||
4463 | * elf/tls-macros.h: Add SPARC 32-bit definitions. | |
4464 | * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. | |
4465 | * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards | |
4466 | for the first half of the header. Include tls.h. | |
4467 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS | |
4468 | relocs too. | |
4469 | (elf_machine_rela): Handle TLS relocs. | |
4470 | * sysdeps/sparc/dl-tls.h: New file. | |
4471 | ||
4472 | * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation | |
4473 | support. | |
4474 | ||
4475 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. | |
4476 | * sysdeps/sparc/sparc32/memchr.S: Likewise. | |
4477 | * sysdeps/sparc/sparc32/memcpy.S: Likewise. | |
4478 | * sysdeps/sparc/sparc32/strcat.S: Likewise. | |
4479 | * sysdeps/sparc/sparc32/strchr.S: Likewise. | |
4480 | * sysdeps/sparc/sparc32/strcmp.S: Likewise. | |
4481 | * sysdeps/sparc/sparc32/strcpy.S: Likewise. | |
4482 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. | |
4483 | * sysdeps/sparc/sparc64/hp-timing.h: Likewise. | |
4484 | * sysdeps/sparc/sparc64/memcpy.S: Likewise. | |
4485 | * sysdeps/sparc/sparc64/stpcpy.S: Likewise. | |
4486 | * sysdeps/sparc/sparc64/stpncpy.S: Likewise. | |
4487 | * sysdeps/sparc/sparc64/strcat.S: Likewise. | |
4488 | * sysdeps/sparc/sparc64/strchr.S: Likewise. | |
4489 | * sysdeps/sparc/sparc64/strcmp.S: Likewise. | |
4490 | * sysdeps/sparc/sparc64/strcpy.S: Likewise. | |
4491 | * sysdeps/sparc/sparc64/strncmp.S: Likewise. | |
4492 | * sysdeps/sparc/sparc64/strncpy.S: Likewise. | |
4493 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
4494 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. | |
4495 | ||
4496 | 2003-01-24 Andreas Schwab <schwab@suse.de> | |
4497 | ||
4498 | * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY | |
4499 | elements, and process them backwards. | |
4500 | * elf/Makefile ($(objpfx)tst-array4): New target. | |
4501 | ($(objpfx)tst-array4.out): Likewise. | |
4502 | (tests) [$(have-initfini-array) = yes]: Add tst-array4. | |
4503 | * elf/tst-array4.c: New file. | |
4504 | * elf/tst-array4.exp: Likewise. | |
4505 | ||
4506 | 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com> | |
4507 | ||
4508 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. | |
4509 | ||
4510 | 2003-01-27 Guido Guenther <agx@sigxcpu.org> | |
4511 | ||
4512 | * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. | |
4513 | * sysdeps/unix/sysv/linux/mips/pread.c: Add support for | |
4514 | cancellation handling and handle both __NR_pread64 and __NR_pread. | |
4515 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
4516 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for | |
4517 | cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. | |
4518 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
4519 | * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT | |
4520 | case, use register names consistently. | |
4521 | ||
4522 | 2003-01-27 Wolfram Gloger <wg@malloc.de> | |
4523 | ||
4524 | * malloc/hooks.c (mem2chunk_check): Check alignment of mem | |
4525 | pointer, not of the computed chunk. Bug report from Carlos | |
4526 | O'Donell <carlos@baldric.uwo.ca>. | |
4527 | ||
251c0f71 AS |
4528 | 2003-01-25 Andreas Schwab <schwab@suse.de> |
4529 | ||
4530 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative | |
4531 | addressing to save GOT entries. | |
4532 | ||
86dfa4eb RM |
4533 | 2003-01-21 Jakub Jelinek <jakub@redhat.com> |
4534 | ||
4535 | * sysdeps/unix/alpha/sysdep.h (inline_syscall0, | |
4536 | inline_syscall1, inline_syscall2, inline_syscall3, | |
4537 | inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. | |
4538 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add | |
4539 | __attribute__((unused)) to ChEcK. | |
4540 | ||
d5b6c817 UD |
4541 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4542 | ||
4543 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): | |
4544 | Fix inline assembler constraints. | |
4545 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): | |
4546 | Likewise. | |
4547 | ||
4548 | * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of | |
4549 | -fPIC. | |
4550 | ||
83c9a671 RM |
4551 | 2003-01-20 Segher Boessenkool <segher@koffie.nl> |
4552 | ||
4553 | * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really | |
4554 | compute the cosine, not the sine, even if x > 0.8. | |
4555 | ||
b677d674 UD |
4556 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
4557 | ||
4558 | * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of | |
4559 | _nss_nis_setspent. Work around the different prototypes. | |
4560 | * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use | |
4561 | internal_nis_endrpcent. | |
4562 | (internal_nis_endrpcent): Change return type to void. Change callers. | |
4563 | * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of | |
4564 | _nss_nis_setpwent. Work around the different prototypes. | |
4565 | * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body | |
4566 | of the function to... | |
4567 | (internal_nis_endprotoent): ... here. New function. | |
4568 | (internal_nis_setprotoent): Use internal_nis_endprotoent. | |
4569 | * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of | |
4570 | _nss_nis_setnetent. Work around the different prototypes. | |
4571 | * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body | |
4572 | of the function to... | |
4573 | (internal_nis_endnetgrent): ... here. New function. | |
4574 | (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. | |
4575 | ||
978bd143 UD |
4576 | 2003-01-19 Jim Meyering <jim@meyering.net> |
4577 | ||
4578 | * time/strftime.c: (widen): Merge nearly-identical definitions. | |
4579 | (nl_get_alt_digit) [! defined my_strftime]: Define. | |
4580 | (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of | |
4581 | _nl_get_alt_digit and _nl_get_walt_digit. | |
4582 | ||
b1a173f7 UD |
4583 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
4584 | ||
4585 | * time/strftime.c (my_strftime): Handle very large width | |
4586 | specifications for numeric values correctly. Improve checks for | |
4587 | overflow. | |
4588 | * time/Makefile (tests): Add tst-strftime. | |
4589 | * time/tst-strftime.c: New file. | |
4590 | ||
039c1b75 UD |
4591 | 2003-01-18 Ulrich Drepper <drepper@redhat.com> |
4592 | ||
6675b191 UD |
4593 | * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of |
4594 | _nss_nis_sethostent. Work around the different prototypes. | |
4595 | * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of | |
4596 | _nss_nis_setgrent. Work around the different prototypes. | |
4597 | * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New | |
4598 | function. Split out from _nss_nis_endetherent. | |
4599 | (internal_nis_setetherent): Use internal_nis_endetherent instead of | |
4600 | duplicating the code. | |
4601 | * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias | |
4602 | of _nss_nis_setaliasent. | |
4603 | * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse | |
4604 | internal_nis_endservent code, don't duplicate it. | |
4605 | ||
039c1b75 UD |
4606 | * inet/rexec.c (rexec_af): Protect socket operations with |
4607 | TEMP_FAILURE_RETRY. Use writev instead of multiple write. | |
4608 | * inet/rcmd.c (rcmd_af): Likewise. | |
4609 | ||
62431425 RM |
4610 | 2003-01-17 Roland McGrath <roland@redhat.com> |
4611 | ||
d32e4346 RM |
4612 | * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: |
4613 | Add test of value 0.80190127184058835. | |
4614 | ||
62431425 RM |
4615 | * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. |
4616 | ||
0f0b7994 UD |
4617 | 2003-01-17 Richard Henderson <rth@redhat.com> |
4618 | ||
4619 | * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS | |
4620 | relocs for class PLT. | |
4621 | * sysdeps/alpha/libc-tls.c: New file. | |
4622 | * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. | |
4623 | (LOADGP) [!PIC]: Rewrite to preserve caller's gp. | |
4624 | ||
4625 | 2003-01-17 Jakub Jelinek <jakub@redhat.com> | |
4626 | ||
4627 | * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use | |
4628 | __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock | |
4629 | on _dl_static_lock. | |
4630 | ||
1d4ff70e AJ |
4631 | 2003-01-17 Andreas Jaeger <aj@suse.de> |
4632 | ||
4633 | * stdio-common/bug14.c: Include stdlib.h for exit prototype. | |
4634 | ||
609b4783 UD |
4635 | 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com> |
4636 | ||
4637 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. | |
4638 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. | |
4639 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. | |
4640 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. | |
4641 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. | |
4642 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. | |
4643 | * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 | |
4644 | is 2.4.21. | |
4645 | ||
4646 | 2003-01-16 Ulrich Drepper <drepper@redhat.com> | |
4647 | ||
4648 | * sysdeps/generic/glob.c (glob): Assume sysconf() always returns | |
4649 | values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed | |
4650 | buffers. | |
4651 | ||
4652 | * sysdeps/generic/sysconf.c: Unconditionally implement | |
4653 | _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. | |
4654 | * sysdeps/posix/sysconf.c: Likewise. | |
4655 | ||
7b7b9e70 UD |
4656 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
4657 | ||
4658 | * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, | |
4659 | set *err to the returned error, not to REG_ESPACE unconditionally. | |
4660 | (build_word_op): Likewise. | |
4661 | * posix/Makefile (tests): Add bug-regex16. | |
4662 | * posix/bug-regex16.c: New test. | |
4663 | ||
850dcfca UD |
4664 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
4665 | ||
4666 | * elf/dl-load.c (_dl_map_object_from_fd): Use | |
4667 | GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has | |
4668 | been already initialized. | |
4669 | ||
a1f8ec97 UD |
4670 | 2003-01-15 Dmitry V. Levin <ldv@altlinux.org> |
4671 | ||
4672 | * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. | |
4673 | ||
f811dbdc UD |
4674 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
4675 | ||
4676 | * posix/regcomp.c (re_compile_internal): If clearing buffer, clear | |
4677 | allocated too. Reported by Al Viro <aviro@redhat.com>. | |
4678 | ||
4dd98447 RM |
4679 | 2003-01-16 Roland McGrath <roland@redhat.com> |
4680 | ||
4681 | Tweak merged .abilist file format to merge duplicate symbols in | |
4682 | different sets into multi-version stanzas with new "| SET regexp..." | |
4683 | header continuation lines. | |
4684 | * scripts/merge-abilist.awk: Rewritten for new format. | |
4685 | * scripts/extract-abilist.awk: Likewise. | |
4686 | ||
0f740059 UD |
4687 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
4688 | ||
e09edf23 UD |
4689 | * nscd/connections.c (nscd_run): Remove bogus return which isn't |
4690 | necessary with gcc 3.2+. | |
4691 | (nscd_init): Don't use error() to print message, use dbg_log. | |
4692 | ||
ea31b613 UD |
4693 | * iconv/gconv_simple.c (STORE_REST): Explicitly store the total |
4694 | expected size into state. | |
4695 | (UNPACK_BYTES): Do the reverse. | |
41f112ad | 4696 | * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. |
ea31b613 UD |
4697 | * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. |
4698 | Reported by Al Viro <aviro@redhat.com>. | |
4699 | ||
a1a2fec1 UD |
4700 | * stdio-common/Makefile (tests): Add bug14. |
4701 | * stdio-common/bug14.c: New file. | |
4702 | ||
0f740059 UD |
4703 | * stdio-common/vfscanf.c: When recognizing multibyte characters in |
4704 | string reset the byte counter after mbrtowc reported it is not a | |
4705 | partial character. Reported by Al Viro <aviro@redhat.com>. | |
4706 | ||
c16abc04 UD |
4707 | 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com> |
4708 | ||
4709 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include | |
4710 | sysdep-cancel.h, not sysdep.h. | |
4711 | ||
4712 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> | |
4713 | ||
4714 | * nscd/connections.c (nscd_run): Protect accept call with | |
4715 | TEMP_FAILURE_RETRY. | |
4716 | ||
c841fa22 AS |
4717 | 2003-01-15 Andreas Schwab <schwab@suse.de> |
4718 | ||
4719 | * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. | |
4720 | (common-generated): Add s-proto-bp.d. | |
4721 | * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies | |
4722 | of bp thunks. | |
4723 | * sysdeps/unix/s-proto-bp.S: New file. | |
4724 | * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. | |
4725 | Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. | |
4726 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. | |
4727 | ||
73917724 RM |
4728 | 2003-01-15 Roland McGrath <roland@redhat.com> |
4729 | ||
4730 | * Makerules: Use -include for tls.make, suppresses warning. | |
4731 | Move gen-as-const-headers rules up so before-compile is set in time. | |
4732 | (sed-remove-dotdot): Fix to work right for subdirs or top dir. | |
4733 | ||
c9f24336 UD |
4734 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
4735 | ||
d4397629 UD |
4736 | * nscd/nscd.c (main): Make code to close all file descriptors |
4737 | faster and more robust. | |
4738 | ||
9caf4f1c UD |
4739 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the |
4740 | request with one writev call. Protect all read calls with | |
4741 | TEMP_FAILURE_RETRY. | |
4742 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
4743 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
4744 | ||
4745 | * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. | |
4746 | Protect writev calls with TEMP_FAILURE_RETRY. | |
4747 | * nscd/grpcache.c: Likewise. | |
4748 | * nscd/pwdcache.c: Likewise. | |
4749 | ||
c9f24336 UD |
4750 | * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as |
4751 | IPv6 address in debug output. | |
4752 | ||
9ae10332 RM |
4753 | 2003-01-14 Roland McGrath <roland@redhat.com> |
4754 | ||
4755 | * Makerules (check-abi-%): Use two rules for $(common-objpfx) and | |
4756 | $(objpfx) directories, and get rid of vpath directives. The previous | |
4757 | arrangement resulted in files being written to the source directories | |
4758 | when run in a clean build. Find all .abilist files in $(..)abilist/. | |
4759 | (update-abi-%): Likewise. | |
4760 | (generated): Don't add .symlist files, they'll be intermediates. | |
4761 | ||
4762 | * sysdeps/generic/init-first.c: Add a comment. | |
4763 | ||
4764 | * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. | |
4765 | ||
4766 | * scripts/gen-as-const.awk: Grok lone "--" as a separator between | |
4767 | #includes and expressions. | |
4768 | ||
4769 | * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged | |
4770 | config list when it already contains cpu-.*-os.* without / part. | |
4771 | ||
4772 | * Makerules (sed-remove-dotdot): New variable. | |
4773 | ($(common-objpfx)%.make): Use it. Depend on $(before-compile). | |
4774 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. | |
4775 | (check-abi-config): New variable, append /tls or /notls to the tuple. | |
4776 | (check-abi-%): Use that for -v config value. | |
4777 | Find .abilist files in abilist/libfoo.abilist, not in subdir. | |
4778 | * Rules: Move bits/stdio_lim.h generation rules to Makerules. | |
4779 | ||
a8d87c92 UD |
4780 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
4781 | ||
4782 | * manual/install.texi: Correct description of header preparation for | |
4783 | Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. | |
4784 | ||
574b892e UD |
4785 | 2003-01-14 Guido Guenther <agx@sigxcpu.org> |
4786 | ||
4787 | * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, | |
4788 | INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4789 | INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. | |
4790 | ||
4791 | 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
4792 | ||
4793 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
4794 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
4795 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4796 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
4797 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
4798 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. | |
4799 | ||
2c255347 UD |
4800 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
4801 | ||
086311a9 UD |
4802 | * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol |
4803 | == IPPROTO_TCP. | |
4804 | Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943]. | |
4805 | ||
2f279b14 UD |
4806 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): |
4807 | Fix entry for bit 31. | |
4808 | ||
2c255347 UD |
4809 | * iconvdata/Makefile: Add rules to build IBM866NAV. |
4810 | * iconvdata/ibm866nav.c: New file. | |
4811 | * iconvdata/tst-tables.sh: Add IBM866NAV. | |
4812 | * iconvdata/gconv-modules: Add entries for IBM866NAV. | |
4813 | ||
642eb2a2 UD |
4814 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
4815 | ||
4816 | * string/tester.c (test_strcpy): Use the previously #if 0'ed code | |
4817 | to test void* parameters. | |
4818 | ||
4819 | * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast | |
4820 | source pointer before dereferencing. | |
4821 | (__STRING_SMALLL_GET32): Likewise. | |
4822 | (__memset_gc): Add missing parenthesis around macro arguments. | |
574b892e | 4823 | Patch by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 UD |
4824 | |
4825 | * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler | |
574b892e | 4826 | that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 | 4827 | |
115bb61d UD |
4828 | 2003-01-14 Jakub Jelinek <jakub@redhat.com> |
4829 | ||
4830 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before | |
4831 | defining. | |
4832 | ||
4833 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4834 | ||
4835 | * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. | |
4836 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it | |
4837 | here. | |
4838 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. | |
4839 | ||
4840 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4841 | ||
4842 | * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions | |
4843 | from here... | |
4844 | (PSEUDO): ... to here. | |
4845 | * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction | |
4846 | from here... | |
4847 | (PSEUDO): ... to here. | |
4848 | ||
9ef0a840 UD |
4849 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
4850 | ||
4851 | * locale/programs/charmap-dir.c (charmap_readdir): Use struct | |
4852 | dirent64 instead of struct dirent for dirent. Call readdir64 | |
4853 | instead of readdir. | |
4854 | ||
4855 | * locale/programs/locfile.c (siblings_uncached): Use struct | |
4856 | dirent64 instead of struct dirent for other_dentry. Call | |
4857 | readdir64 instead of readdir. | |
4858 | ||
4859 | * elf/ldconfig.c (direntry): Change type to struct dirent64. | |
4860 | (search_dir): Use readdir64 instead of readdir. | |
4861 | Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>. | |
4862 | ||
f1c5213d RM |
4863 | 2003-01-12 Roland McGrath <roland@redhat.com> |
4864 | ||
c01ec9c7 RM |
4865 | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, |
4866 | not strtol. The former is usable in ld.so, the latter not. | |
4867 | ||
f1c5213d RM |
4868 | * include/fcntl.h: Declare __libc_creat. |
4869 | ||
4870 | * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, | |
4871 | libhurduser-link.so-no-z-defs): New variables. | |
4872 | ||
4873 | * malloc/malloc.c: Revert last change. | |
4874 | * malloc/malloc.h (_int_*): Move these decls to ... | |
4875 | * include/malloc.h: ... here. Add attribute_hidden. | |
4876 | (_int_valloc): Declare it too. | |
4877 | ||
73398a44 UD |
4878 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
4879 | ||
115bb61d | 4880 | * elf/dl-close.c (_dl_close): Fix typo, must be == not = in |
1376cd8c UD |
4881 | search for removed searchlist. Reported by Roland McGrath. |
4882 | ||
40212ce0 UD |
4883 | * io/ftwtest-sh: Add test for case of symlink to nonexisting file |
4884 | given as start file. | |
4885 | ||
4886 | * io/ftw.c (ftw_startup): Use correct name in check for symlink | |
4887 | without existing target. Patch by Jim Meyering. | |
4888 | ||
73398a44 UD |
4889 | * Makerules (build-shlib-helper): Don't use -z defs linker option |
4890 | if no-z-defs is defined either. | |
4891 | ||
4892 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4893 | ||
4894 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused | |
4895 | file. | |
4896 | ||
4897 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
4898 | ||
4899 | * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. | |
4900 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
4901 | ||
b2608c22 UD |
4902 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
4903 | ||
4904 | * io/ftwtest-sh: Add test case for relative path with /. at the end. | |
4905 | ||
4906 | 2003-01-12 Jim Meyering <jim@meyering.net> | |
4907 | ||
4908 | * io/ftw.c (ftw_startup): When trying to stat the starting directory, | |
4909 | use the basename if we've already chdir'd into its parent directory. | |
4910 | ||
a5ce5fcf UD |
4911 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
4912 | ||
4913 | * io/ftw.c (process_entry): Use relative path when using chdir() | |
b2608c22 | 4914 | to change directory after call to ftw_dir. |
a5ce5fcf UD |
4915 | * io/ftwtest-sh: Add test for relative path argument to nftw() |
4916 | with FTW_CHDIR option. | |
4917 | ||
b398ae3c UD |
4918 | 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4919 | ||
4920 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): | |
4921 | Define for powerpc. | |
4922 | * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment | |
4923 | into account. | |
4924 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h | |
4925 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
4926 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
4927 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
4928 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
4929 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. | |
4930 | ||
4931 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
4932 | ||
4933 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute | |
4934 | DTPREL64 and TPREL64 without loadbase applied. | |
4935 | ||
4936 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
4937 | ||
4938 | * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno | |
4939 | for NOT_IN_libc. | |
4940 | ||
4941 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... | |
4942 | * sysdeps/unix/alpha/sysdep.h: ... here. | |
4943 | (PSEUDO_LOADGP): Remove. | |
4944 | (PSEUDO_PROLOGUE): Load GP in non-pic case. | |
4945 | (SYSCALL_ERROR_LABEL): New. | |
4946 | (PSEUDO): Use it in error branch. | |
4947 | (PSEUDO_END): Add $syscall_error label. | |
4948 | ||
1f8613a6 AJ |
4949 | 2003-01-12 Andreas Jaeger <aj@suse.de> |
4950 | ||
4951 | * math/bits/mathcalls.h: Round is a const function. | |
4952 | ||
aff4519d UD |
4953 | 2003-01-11 Jim Meyering <jim@meyering.net> |
4954 | ||
4955 | * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>. | |
4956 | [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>. | |
4957 | Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC. | |
4958 | [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. | |
4959 | [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. | |
4960 | [!_LIBC] (internal_function, dirent64, MAX): Define. | |
4961 | (__set_errno): Define if not already defined. | |
4962 | (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on | |
4963 | the basename, not the entire file name. | |
4964 | (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on | |
4965 | the basename, not the entire file name. | |
4966 | ||
4967 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
4968 | ||
4969 | * string/tester.c (test_strcpy): Disable last added strcpy until | |
4970 | it is fixed. | |
4971 | ||
4972 | 2003-01-11 Philip Blundell <philb@gnu.org> | |
4973 | ||
4974 | * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. | |
4975 | ||
4976 | 2003-01-11 Andreas Schwab <schwab@suse.de> | |
4977 | ||
4978 | * Makerules: Add vpath for %.dynsym and %.so so that the | |
4979 | implicit rule chaining for check-abi works. | |
4980 | ||
4981 | 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
4982 | ||
4983 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
4984 | Add non-PIC case. | |
4985 | ||
4986 | 2003-01-11 Jakub Jelinek <jakub@redhat.com> | |
4987 | ||
4988 | * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. | |
4989 | [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if | |
4990 | gp is used early. | |
4991 | [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. | |
4992 | * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): | |
4993 | Ensure libc.so in DT_NEEDED. | |
4994 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move | |
4995 | CHECK_STATIC_TLS before l_tls_offset use. | |
4996 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): | |
4997 | Likewise. | |
4998 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. | |
4999 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: | |
5000 | Allocate TLS_PRE_TCB_SIZE bytes below result. | |
5001 | (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. | |
5002 | * sysdeps/generic/libc-tls.c (__libc_setup_tls): If | |
5003 | TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS | |
5004 | segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE | |
5005 | bytes below result and add tcb_offset to memsz. | |
5006 | * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. | |
5007 | * sysdeps/ia64/dl-machine.h: Include tls.h. | |
5008 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs | |
5009 | too. | |
5010 | (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. | |
5011 | Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. | |
5012 | * sysdeps/ia64/libc-tls.c: New file. | |
5013 | ||
5014 | 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com> | |
5015 | ||
5016 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. | |
5017 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): | |
5018 | Fix type. Move definition out of #if. | |
5019 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. | |
5020 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. | |
5021 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. | |
5022 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. | |
5023 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. | |
5024 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation | |
5025 | support. | |
5026 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove | |
5027 | ftruncate64, pread64, pwrite64, truncate64 entries. | |
5028 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
5029 | (INLINE_SYSCALL): New version that supports function call like | |
5030 | syscalls. Add __builtin_expect. | |
5031 | (LOADARGS_n): Add argument size safety checks. | |
5032 | (INTERNAL_SYSCALL): New Macro. | |
5033 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. | |
5034 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid | |
5035 | redefinition of elf_fpreg_t and elf_fpregset_t. | |
5036 | ||
5037 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
5038 | ||
5039 | * elf/dl-close.c (_dl_close): Add several asserts. Correct and | |
5040 | simplify test for unloading. If loader of a DSO is unloaded do not | |
5041 | use its scope anymore. Fall back to own scope and adjust opencounts. | |
5042 | Fix several comments. | |
5043 | * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for | |
5044 | the l_searchlist, not only for l_initfini. | |
5045 | ||
5046 | * elf/dl-lookup.c (add_dependencies): Avoid creating relocation | |
5047 | dependencies if objects cannot be removed. Remove object with the | |
5048 | definition as not unloadable if necessary. | |
5049 | ||
5050 | * elf/reldep6.c: Create relocation dependency before closing the first | |
5051 | module. | |
5052 | ||
5053 |