]>
Commit | Line | Data |
---|---|---|
f07f72f3 UD |
1 | 2007-08-09 Ulrich Drepper <drepper@redhat.com> |
2 | ||
6479496a UD |
3 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct |
4 | register in test for error. | |
5 | ||
c4adefbd UD |
6 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. |
7 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. | |
8 | ||
f07f72f3 UD |
9 | * po/sv.po: Update from translation team. |
10 | ||
eef38c28 RM |
11 | 2007-08-06 Roland McGrath <roland@redhat.com> |
12 | ||
773e305e RM |
13 | * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. |
14 | Remove __strto*_l inlines. | |
15 | * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. | |
16 | * stdlib/strtod.c: Add libc_hidden_def. | |
17 | * stdlib/strtod_l.c: Likewise. | |
18 | * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto | |
19 | for __new_strtold and __new_wcstold. | |
20 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for | |
21 | __STRTOF, STRTOF. | |
22 | * stdlib/strtol.c: Add libc_hidden_def. | |
23 | * stdlib/strtol_l.c: Likewise. | |
24 | * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and | |
25 | strtoq. | |
26 | ||
27 | * scripts/data/localplt-powerpc-linux-gnu.data: New file. | |
28 | ||
29 | * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... | |
30 | * scripts/data/localplt-generic.data: ... here. | |
31 | * elf/Makefile (check-data): Get generic file if no other. | |
32 | ($(objpfx)check-localplt.out): Make target unconditional. | |
33 | ||
eef38c28 RM |
34 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): |
35 | Use ElfW(Nhdr). | |
36 | ||
742df3a4 UD |
37 | 2007-08-05 Ulrich Drepper <drepper@redhat.com> |
38 | ||
39 | * po/zh_CN.po: Updated translation from translation team. | |
40 | ||
0470fa46 JJ |
41 | 2007-08-05 Jakub Jelinek <jakub@redhat.com> |
42 | ||
43 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): | |
44 | Don't use CGOTSETUP and CGOTRESTORE macros. | |
45 | ||
b5075bdc RM |
46 | 2007-08-04 Roland McGrath <roland@redhat.com> |
47 | ||
48 | * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. | |
49 | ||
9accc268 JJ |
50 | 2007-08-04 Jakub Jelinek <jakub@redhat.com> |
51 | ||
52 | * io/bits/fcntl2.h (open, open64, openat, openat64): Add | |
53 | __extension__ around the whole statement expression. | |
54 | ||
220ae3ef UD |
55 | 2007-08-04 Ulrich Drepper <drepper@redhat.com> |
56 | ||
c8ccd8e3 UD |
57 | * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR |
58 | elements during initialization. | |
59 | ||
220ae3ef UD |
60 | * po/pl.po: Updated translation from translation team. |
61 | * po/tr.po: Likewise. | |
11960f7f | 62 | * po/nl.po: Likewise. |
220ae3ef | 63 | |
2fb20667 UD |
64 | 2007-08-03 Ulrich Drepper <drepper@redhat.com> |
65 | ||
66 | * rt/aio.h: Add __nonnull attributes. | |
67 | ||
ce31a3b1 UD |
68 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
69 | ||
64f6281c UD |
70 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. |
71 | * stdlib/Makefile (tests): Add tst-strtod5. | |
72 | (tst-strtod5-ENV): New. | |
73 | * stdlib/tst-strtod5.c: New file. | |
74 | ||
ce31a3b1 UD |
75 | * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open |
76 | failed. | |
77 | * intl/finddomain.c (_nl_find_domain): Free normalized_codeset | |
78 | on failure. | |
79 | ||
80 | * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be | |
81 | allocated. | |
82 | ||
754980e4 JJ |
83 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
84 | ||
85 | * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument | |
86 | numbers. | |
87 | ||
497af0cb UD |
88 | 2007-08-02 Ulrich Drepper <drepper@redhat.com> |
89 | ||
cbf0489b UD |
90 | * io/Makefile (aux): Add have_o_cloexec. |
91 | * include/fcntl.h: Declare __have_o_cloexec. | |
92 | * io/have_o_cloexec.c: New file. | |
93 | * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. | |
94 | (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the | |
95 | fcntl call if not necessary. | |
96 | * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead | |
97 | of local variable. | |
98 | ||
fa39685d UD |
99 | * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. |
100 | Avoid memset, add explicit initialization. | |
101 | * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn | |
102 | to the end and change into zero-sized array. | |
103 | Move lock member to fill a hole on 64-bit platforms. | |
9b2e9577 UD |
104 | |
105 | * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* | |
106 | inline functions. | |
107 | * include/stdlib.h: Add __strto*_internal prototypes here. | |
108 | * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* | |
109 | inline functions. | |
110 | * include/wchar.h: Add __wcsto*_internal prototypes. | |
111 | * sysdeps/generic/inttypes.h: No need to protect the declaration | |
112 | of the __strto*_internal and __wcsto*_internal members here. | |
113 | ||
497af0cb UD |
114 | * rt/mqueue.h: Change const to __const and add nonnull attributes. |
115 | ||
d17a8cf0 RM |
116 | 2007-08-02 Roland McGrath <roland@redhat.com> |
117 | ||
118 | * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to | |
119 | $(inst_bindir)/getconf if possible. | |
120 | ||
121 | * posix/Makefile ($(objpfx)getconf.speclist): New target. | |
122 | (generated): Add it. | |
123 | ($(inst_libexecdir)/getconf): Use it. | |
124 | ||
0abf17de UD |
125 | 2007-08-01 Ulrich Drepper <drepper@redhat.com> |
126 | ||
127 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using | |
128 | /proc is faster and sufficient. /sys is still needed for | |
129 | __get_nprocs_conf. | |
130 | ||
5e0923ab UD |
131 | 2007-08-01 Jakub Jelinek <jakub@redhat.com> |
132 | ||
133 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate | |
134 | syscall as __fallocate64. | |
135 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. | |
136 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. | |
137 | ||
1475e201 UD |
138 | 2007-07-30 Jakub Jelinek <jakub@redhat.com> |
139 | ||
140 | * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t | |
141 | value. | |
142 | ||
143 | * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning | |
144 | if off_t is different rank from size_t. | |
145 | ||
146 | * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, | |
147 | uw_frame_state_for): Avoid type punning warnings. | |
148 | * sysdeps/generic/unwind-dw2-fde-glibc.c | |
149 | (_Unwind_IteratePhdrCallback): Likewise. | |
150 | * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. | |
151 | (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, | |
152 | get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char | |
153 | pointers. | |
154 | ||
e076bece UD |
155 | 2007-07-31 Ulrich Drepper <drepper@redhat.com> |
156 | ||
9506149a UD |
157 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count |
158 | total processors using sysfs. | |
159 | (__get_nprocs): Use sysfs to determine which processors are online. | |
e076bece | 160 | |
bbeaaa84 JJ |
161 | 2007-07-31 Jakub Jelinek <jakub@redhat.com> |
162 | ||
09881398 JJ |
163 | * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix |
164 | syscall arguments count. | |
165 | ||
bbeaaa84 JJ |
166 | * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. |
167 | ||
087ef75f RM |
168 | 2007-07-30 Roland McGrath <roland@redhat.com> |
169 | ||
170 | * manual/libc.texinfo: Update copyrights, formatting magic, and | |
171 | @dircategory. From Karl Berry <karl@freefriends.org>. | |
172 | ||
44f08a6e UD |
173 | 2007-07-29 Ulrich Drepper <drepper@redhat.com> |
174 | ||
eafaae72 UD |
175 | [BZ #4860] |
176 | * io/Makefile (headers): Add bits/fcntl2.h. | |
177 | ||
c5705565 UD |
178 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize |
179 | using gcc builtin. | |
180 | (__CPU_EQUAL_S): Likewise. | |
181 | ||
44f08a6e UD |
182 | * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. |
183 | (tests): Add tst-cpuset. | |
184 | * posix/sched_cpualloc.c: New file. | |
185 | * posix/sched_cpufree.c: New file. | |
186 | * posix/tst-cpuset.c: New file. | |
187 | * posix/Versions: Export __sched_cpualloc and __sched_cpufree for | |
188 | GLIBC_2.7. | |
189 | * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. | |
190 | * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S | |
191 | macros. Define CPU_*_S macros. | |
192 | ||
8f5e1400 UD |
193 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
194 | ||
5b74caf6 UD |
195 | * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE |
196 | entry. | |
197 | ||
a26d01bb | 198 | [BZ #4858] |
8f5e1400 UD |
199 | * stdio-common/printf_fp.c (___printf_fp): Fix special case of |
200 | #.0g and value rounded to 1.0. | |
201 | * stdio-common/tfformat.c (sprint_doubles): Add two new tests. | |
202 | ||
085a4412 UD |
203 | 2007-07-26 Jakub Jelinek <jakub@redhat.com> |
204 | ||
cedb4109 UD |
205 | * locale/programs/ld-monetary.c (monetary_finish): Avoid range check |
206 | for int_frac_digits and frac_digits. | |
207 | ||
208 | * login/logout.c (logout): Avoid aliasing violation. | |
209 | * login/logwtmp.c (logwtmp): Likewise. | |
210 | ||
211 | * libio/genops.c (_IO_un_link): Avoid aliasing violation. | |
212 | ||
9d9febc7 UD |
213 | * nscd/selinux.c (preserve_capabilities): Initialize new_caps |
214 | to avoid warning. | |
215 | * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid | |
216 | warning. | |
217 | * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid | |
218 | warning. | |
219 | * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len | |
220 | to avoid warnings. | |
221 | ||
701666b7 UD |
222 | * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to |
223 | void **. | |
224 | * nss/nsswitch.h (service_user): Use void * type for KNOWN field. | |
225 | ||
226 | * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to | |
227 | char * to avoid warning. | |
228 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. | |
229 | ||
230 | * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. | |
231 | ||
232 | * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, | |
233 | allocate_arrays): Cast second argument to charmap_find_symbol | |
234 | to char * to avoid warnings. | |
235 | ||
236 | * locale/programs/repertoire.c (repertoire_new_char): Change | |
237 | from_nr, to_nr and cnt to unsigned long, adjust printf format | |
238 | string. | |
239 | ||
240 | * locale/programs/ld-collate.c (insert_value, handle_ellipsis): | |
241 | Cast second argument to new_element to char * to avoid warnings. | |
242 | ||
243 | * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. | |
244 | ||
245 | * intl/gettextP.h (struct loaded_domain): Change plural to const | |
246 | struct expression *. | |
247 | * intl/plural-eval.c (plural_eval): Change first argument to | |
248 | const struct expression *. | |
249 | * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first | |
250 | argument to const struct expression **. | |
251 | * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust | |
252 | prototypes. | |
253 | * intl/loadmsgcat (_nl_unload_domain): Cast away const | |
254 | in call to __gettext_free_exp. | |
255 | ||
256 | * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe | |
257 | unitialized wstring/wpattern var warnings. | |
258 | ||
259 | * posix/runtests.c (struct a_test): Make data field const char *. | |
260 | ||
261 | * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf | |
262 | vars if not LDBL_MANT_DIG >= 106. | |
263 | ||
264 | * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. | |
265 | ||
266 | * stdio-common/vfprintf.c (vfprintf): Cast first arugment to | |
267 | __find_specmb to avoid warning. | |
268 | ||
269 | * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. | |
270 | ||
271 | * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts | |
272 | to avoid warnings. | |
273 | ||
274 | * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to | |
275 | initializer. | |
276 | ||
277 | * sysdeps/unix/clock_gettime.c (clock_gettime): Only define | |
278 | tv var when it will be actually used. | |
279 | ||
280 | * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void | |
281 | to avoid warnings. | |
282 | ||
085a4412 UD |
283 | * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned |
284 | char array resp. pointer. | |
285 | * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of | |
286 | char array. | |
287 | * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument | |
288 | to const unsigned char **. | |
289 | (ucs4_to_cns11643): Change second argument to unsigned char *. | |
290 | * iconvdata/euc-tw.c (BODY): Change endp type to | |
291 | const unsigned char *. | |
292 | * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument | |
293 | to unsigned char *. | |
294 | * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. | |
295 | * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. | |
296 | * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp | |
297 | types to unsigned char pointers/arrays instead of char. | |
298 | * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument | |
299 | to unsigned char *. | |
300 | * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. | |
301 | * iconvdata/jis0212.h: Include assert.h. | |
302 | (ucs4_to_jisx0212): Change second argument to unsigned char *. | |
303 | assert that if cp[0] is not '\0', cp[1] is not '\0' either instead | |
304 | of trying to handle that. | |
305 | * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to | |
306 | shut up a warning. | |
307 | * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, | |
308 | from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to | |
309 | two dimensional const unsigned char arrays. | |
310 | (BODY): Cast "" to (const unsigned char *) for assignment to cp. | |
311 | Initialize endp to inptr to shut up a warning. | |
312 | ||
fa69dc9c UD |
313 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
314 | ||
ae1ad762 UD |
315 | [BZ #4772] |
316 | * time/strptime_l.c (__strptime_internal): Silently ignore | |
317 | strftime modifiers and field width in recursive calls. | |
318 | ||
fa69dc9c UD |
319 | * include/time.h (enum ptime_locale_status): Remove. |
320 | (__strptime_internal): Remove decided and era_cnt arguments, | |
321 | add statep argument. | |
322 | * time/strptime_l.c (__strptime_internal): Remove decided | |
323 | and era_cnt arguments, add statep argument. Don't recompute | |
324 | any fields in recursive calls, only update caller's tm | |
325 | and state, if recursive call fails, don't change tm nor | |
326 | any state. | |
327 | (get_alt_number): Adjust. | |
328 | (recursive): Adjust caller. | |
329 | (strptime): Likewise. | |
330 | * time/strptime.c (strptime): Likewise. | |
331 | ||
7b503bcc UD |
332 | 2007-07-19 Jakub Jelinek <jakub@redhat.com> |
333 | ||
334 | * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. | |
335 | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV | |
336 | if from and to charsets are the same. | |
337 | * iconv/gconv_db.c (__gconv_find_transform): Likewise. | |
338 | * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open | |
339 | returns __GCONV_NOCONV, but not for __GCONV_NULCONV. | |
340 | ||
341 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> | |
342 | ||
343 | * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. | |
344 | Don't define wint_t when __need_mbstate_t unless it | |
345 | is necessary. | |
346 | (__mbstate_t): Use __WINT_TYPE__ rather than wint_t | |
347 | in the typedef if possible. | |
348 | * wctype/wctype.h (wint_t): Define by including | |
349 | wchar.h with __need_wint_t instead of including stddef.h | |
350 | with __need_wint_t and as fallback definining it ourselves. | |
351 | * iconv/gconv.h (__need_wint_t): Define before including | |
352 | wchar.h. | |
353 | * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC | |
354 | or _GLIBCPP_USE_WCHAR_T. | |
355 | (__need_wchar_t): Don't define | |
356 | if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
357 | (__need_wint_t): Don't define before including stddef.h, | |
358 | define before including wchar.h only if _LIBC or | |
359 | _GLIBCPP_USE_WCHAR_T. | |
360 | (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
361 | * sysdeps/mach/hurd/_G_config.h: Likewise. | |
362 | * sysdeps/generic/_G_config.h: Likewise. | |
363 | * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only | |
364 | prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
365 | (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define | |
366 | if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
367 | ||
a95a608f UD |
368 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
369 | ||
370 | * sysdeps/posix/posix_fallocate64.c: Undefine | |
371 | __posix_fallocate64_l64 before alias handling. | |
372 | * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. | |
373 | * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. | |
374 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. | |
375 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. | |
376 | ||
377 | * io/tst-posix_fallocate.c: Include <fcntl.h>. | |
378 | ||
379 | 2007-07-23 Jakub Jelinek <jakub@redhat.com> | |
380 | ||
381 | * locale/programs/ld-collate.c (atwc): New variable. | |
382 | (add_to_tablewc): New toplevel function, moved from collate_output. | |
383 | (collate_output): Remove add_to_tablewc nested function. | |
384 | ||
385 | * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. | |
386 | (name_insert): New function. | |
387 | (write_output): Remove hash_table and hash_size vars and name_insert | |
388 | nested function. | |
389 | ||
80d4c3b0 RM |
390 | 2007-07-24 Roland McGrath <roland@redhat.com> |
391 | ||
392 | * Makerules (install-others-programs-nosubdir): New target. | |
393 | (install-no-libc.a-nosubdir): Depend on it. | |
394 | ||
395 | * iconv/Makefile (install-others-programs): Set this instead of | |
396 | install-others. | |
397 | * login/Makefile (install-others-programs): Likewise. | |
398 | * posix/Makefile (install-others-programs): Likewise. | |
399 | ||
400 | * Makerules (install-no-libc.a-nosubdir): Clean up conditional | |
401 | dependencies. | |
402 | ||
c1bf9f14 UD |
403 | 2007-07-23 Ulrich Drepper <drepper@redhat.com> |
404 | ||
405 | * io/Makefile (tests): Add tst-posix_fallocate. | |
406 | * io/tst-posix_fallocate.c: New file. | |
407 | ||
408 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
409 | __ASSUME_FALLOCATE. | |
410 | ||
2320270c RM |
411 | 2007-07-22 Roland McGrath <roland@frob.com> |
412 | ||
3dadfa7e RM |
413 | * hurd/getdport.c: Add missing copyright year update. |
414 | ||
2320270c RM |
415 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. |
416 | * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. | |
417 | ||
cc783763 UD |
418 | 2007-07-22 Ulrich Drepper <drepper@redhat.com> |
419 | ||
c942388d UD |
420 | * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. |
421 | ||
cc783763 UD |
422 | * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set |
423 | O_CLOEXEC is needed. | |
424 | * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. | |
425 | Avoid additional fcntl to set O_CLOEXEC if not needed. | |
426 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
427 | * nis/nss_compat/compat-pwd.c: Likewise. | |
428 | * nis/nss_compat/compat-spwd.c: Likewise. | |
429 | ||
610903b0 RM |
430 | 2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
431 | ||
3dadfa7e | 432 | [BZ #3665] |
5c3d7832 RM |
433 | * manual/errno.texi: Change ECANCELED value to 119. |
434 | ||
3dadfa7e | 435 | [BZ #4610] |
610903b0 RM |
436 | * mach/lock-intern.h: Include <sys/cdefs.h>. |
437 | ||
3dadfa7e | 438 | [BZ #4178] |
610903b0 RM |
439 | * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before |
440 | reading A. | |
441 | ||
3dadfa7e RM |
442 | [BZ #4126] |
443 | * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias | |
444 | to __sigsuspend. | |
610903b0 RM |
445 | |
446 | * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. | |
447 | ||
448 | 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> | |
449 | ||
450 | * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to | |
451 | `__ASSEMBLER__'. | |
452 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
453 | ||
acf79996 UD |
454 | 2007-07-21 Ulrich Drepper <drepper@redhat.com> |
455 | ||
dde0763a UD |
456 | * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for |
457 | descriptor received from nscd. | |
458 | ||
acf79996 UD |
459 | * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. |
460 | ||
461 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. | |
462 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
463 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
464 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
465 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
466 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
467 | ||
00d26929 JJ |
468 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
469 | ||
403445d7 JJ |
470 | [BZ #4816] |
471 | * manual/signal.texi (Non-atomic Example): Make memory var volatile. | |
472 | ||
00d26929 JJ |
473 | [BZ #4813] |
474 | * login/forkpty.c (forkpty): Close master and slave fds on | |
475 | fork failure. Patch by | |
476 | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. | |
477 | ||
087722b8 UD |
478 | 2007-07-18 Jakub Jelinek <jakub@redhat.com> |
479 | ||
480 | * include/features.h (__USE_ISOC95): New define. | |
481 | * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, | |
482 | swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even | |
483 | for -std=iso9899:199409. | |
484 | * CONFORMANCE: Remove comments about unsupported AMD1. | |
485 | ||
b042b023 UD |
486 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> |
487 | ||
488 | * sysdeps/ia64/sched_cpucount.c: New file. | |
489 | * sysdeps/powerpc/sched_cpucount.c: New file. | |
490 | ||
8381e467 UD |
491 | * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add |
492 | __BEGIN_DECLS/__END_DECLS around the prototype. | |
493 | * bits/sched.h (__sched_cpucount): Likewise. Make second argument | |
494 | pointer to const cpu_set_t. | |
495 | ||
50e16f85 UD |
496 | * bits/types.h: Don't include stddef.h, don't define __need_size_t. |
497 | * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define | |
498 | __need_size_t and include stddef.h. | |
499 | * sysvipc/sys/msg.h: Likewise. | |
500 | * posix/sched.h: Likewise. | |
501 | * hurd/hurd/signal.h (__need_size_t): Define. | |
502 | ||
503 | * CONFORMANCE: ctype.h and wctype.h no longer define size_t, | |
504 | neither does signal.h in pedantic ISO C namespaces. stdio.h | |
505 | no longer defines wint_t or wchar_t. | |
506 | ||
b257c726 UD |
507 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. |
508 | * debug/vfwprintf_chk.c (__vfwprintf_chk): Use | |
509 | _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. | |
510 | * debug/vprintf_chk.c (__vprintf_chk): Likewise. | |
511 | * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. | |
512 | * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. | |
513 | * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. | |
514 | * debug/printf_chk.c (__printf_chk): Likewise. | |
515 | * debug/fprintf_chk.c (__fprintf_chk): Likewise. | |
516 | * debug/wprintf_chk.c (__wprintf_chk): Likewise. | |
517 | ||
518 | * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): | |
519 | Define. | |
520 | ||
d5078b9f UD |
521 | * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. |
522 | * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. | |
523 | ||
1c3e748e UD |
524 | 2007-07-16 Jakub Jelinek <jakub@redhat.com> |
525 | ||
526 | [BZ #4792] | |
527 | * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. | |
528 | * malloc/malloc.h (realloc): Likewise. | |
529 | ||
4e425301 UD |
530 | * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end |
531 | if one of proc_file_chain streams has that fileno. | |
532 | * stdio-common/Makefile (tests): Add tst-popen2. | |
533 | * stdio-common/tst-popen2.c: New test. | |
534 | ||
2e2efe65 RM |
535 | 2007-07-14 Jakub Jelinek <jakub@redhat.com> |
536 | ||
537 | * elf/ldconfig.c: Allow GPLv2 or any later version. | |
538 | * elf/readlib.c: Likewise. | |
539 | * elf/chroot_canon.c: Likewise. | |
540 | * elf/cache.c: Likewise. | |
541 | * nscd/mem.c: Likewise. | |
542 | * nscd/getpwuid_r.c: Likewise. | |
543 | * nscd/grpcache.c: Likewise. | |
544 | * nscd/aicache.c: Likewise. | |
545 | * nscd/getsrvbynm_r.c: Likewise. | |
546 | * nscd/nscd.c: Likewise. | |
547 | * nscd/servicescache.c: Likewise. | |
548 | * nscd/getsrvbypt_r.c: Likewise. | |
549 | * nscd/initgrcache.c: Likewise. | |
550 | * nscd/gethstbyad_r.c: Likewise. | |
551 | * nscd/gethstbynm2_r.c: Likewise. | |
552 | * nscd/getgrnam_r.c: Likewise. | |
553 | * nscd/nscd_setup_thread.c: Likewise. | |
554 | * nscd/getpwnam_r.c: Likewise. | |
555 | * nscd/gai.c: Likewise. | |
556 | * nscd/connections.c: Likewise. | |
557 | * nscd/dbg_log.c: Likewise. | |
558 | * nscd/cache.c: Likewise. | |
559 | * nscd/hstcache.c: Likewise. | |
560 | * nscd/nscd_conf.c: Likewise. | |
561 | * nscd/getgrgid_r.c: Likewise. | |
562 | * nscd/pwdcache.c: Likewise. | |
563 | * catgets/gencat.c: Likewise. | |
564 | * locale/programs/linereader.h: Likewise. | |
565 | * locale/programs/locarchive.c: Likewise. | |
566 | * locale/programs/ld-paper.c: Likewise. | |
567 | * locale/programs/locfile-kw.h: Likewise. | |
568 | * locale/programs/ld-address.c: Likewise. | |
569 | * locale/programs/xmalloc.c: Likewise. | |
570 | * locale/programs/ld-time.c: Likewise. | |
571 | * locale/programs/localedef.c: Likewise. | |
572 | * locale/programs/simple-hash.c: Likewise. | |
573 | * locale/programs/xstrdup.c: Likewise. | |
574 | * locale/programs/ld-numeric.c: Likewise. | |
575 | * locale/programs/locfile-kw.gperf: Likewise. | |
576 | * locale/programs/ld-collate.c: Likewise. | |
577 | * locale/programs/charmap-kw.gperf: Likewise. | |
578 | * locale/programs/charmap.h: Likewise. | |
579 | * locale/programs/charmap-kw.h: Likewise. | |
580 | * locale/programs/config.h: Likewise. | |
581 | * locale/programs/locfile.c: Likewise. | |
582 | * locale/programs/ld-ctype.c: Likewise. | |
583 | * locale/programs/charmap.c: Likewise. | |
584 | * locale/programs/ld-messages.c: Likewise. | |
585 | * locale/programs/repertoire.h: Likewise. | |
586 | * locale/programs/locale.c: Likewise. | |
587 | * locale/programs/ld-name.c: Likewise. | |
588 | * locale/programs/linereader.c: Likewise. | |
589 | * locale/programs/locfile.h: Likewise. | |
590 | * locale/programs/3level.h: Likewise. | |
591 | * locale/programs/ld-monetary.c: Likewise. | |
592 | * locale/programs/ld-measurement.c: Likewise. | |
593 | * locale/programs/charmap-dir.c: Likewise. | |
594 | * locale/programs/ld-identification.c: Likewise. | |
595 | * locale/programs/localedef.h: Likewise. | |
596 | * locale/programs/charmap-dir.h: Likewise. | |
597 | * locale/programs/repertoire.c: Likewise. | |
598 | * locale/programs/simple-hash.h: Likewise. | |
599 | * locale/programs/ld-telephone.c: Likewise. | |
600 | * locale/programs/locale-spec.c: Likewise. | |
601 | * locale/programs/locfile-token.h: Likewise. | |
602 | * posix/getconf.c: Likewise. | |
603 | * iconv/dummy-repertoire.c: Likewise. | |
604 | * iconv/iconv_charmap.c: Likewise. | |
605 | * iconv/iconvconfig.c: Likewise. | |
606 | * iconv/iconv_prog.c: Likewise. | |
607 | * malloc/memusagestat.c: Likewise. | |
608 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. | |
609 | ||
84c23a3d RM |
610 | 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
611 | ||
612 | * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. | |
613 | * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. | |
614 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity | |
615 | check for the first argument. | |
616 | ||
1c298d08 UD |
617 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
618 | ||
619 | [BZ #4775] | |
620 | * math/tgmath.h (__tgmath_real_type_sub): Formatting. | |
621 | (__tgmath_real_type): Fix if expr is const int or other const | |
622 | qualified integral type. | |
623 | (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement | |
624 | expressions and handle const qualified arguments. | |
625 | (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, | |
626 | __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. | |
627 | (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using | |
628 | statement expressions. | |
629 | (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, | |
630 | __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. | |
631 | (__TGMATH_UNARY_IMAG): Define. | |
632 | (conj, cproj): Use __TGMATH_UNARY_IMAG macro. | |
633 | * math/Makefile (tests): Add test-tgmath2. | |
634 | (CFLAGS-test-tgmath2.c): Add. | |
635 | * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, | |
636 | count_cfloat, count_cldouble): New variables. | |
637 | (NCCALLS): Define. | |
638 | (main): Check number of complex calls as well. | |
639 | (F(compile_test)): Add complex tests and tests with const qualified | |
640 | arguments. | |
641 | (y, z, ccount): Define. | |
642 | (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), | |
643 | F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), | |
644 | F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), | |
645 | F(cproj)): New functions. | |
646 | * math/test-tgmath2.c: New test. | |
647 | ||
648 | 2007-07-11 Jakub Jelinek <jakub@redhat.com> | |
649 | ||
650 | [BZ #4776] | |
651 | * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, | |
652 | RPATH etc. as "/" rather than "", don't segfault on empty paths, | |
653 | instead output ".". | |
654 | * dlfcn/Makefile (distribute): Add glreflib3.c. | |
655 | (module-names): Add glreflib3. | |
656 | ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than | |
657 | glreflib1.so. | |
658 | (LDFLAGS_glreflib3.so): New. | |
659 | * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of | |
660 | glreflib1.so. | |
661 | * dlfcn/glreflib3.c: New file. | |
662 | ||
663 | * intl/finddomain.c (_nl_find_domain): If _nl_explode_name | |
664 | returned -1, return NULL. | |
665 | * intl/explodename.c (_nl_explode_name): Return -1 if | |
666 | _nl_normalize_codeset failed. | |
667 | ||
a88f47a7 UD |
668 | 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com> |
669 | ||
670 | * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. | |
671 | Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops | |
672 | and avoid branch misspredicts for > 31 bytes memset case. | |
673 | * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. | |
674 | Remove toc ref to __cache_line_size. | |
675 | ||
676 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 | |
677 | to get ISA-V2.0 branch hints. | |
678 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise | |
679 | * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise | |
680 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. | |
681 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. | |
682 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. | |
683 | * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. | |
684 | Remove toc ref to __cache_line_size. | |
685 | ||
686 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: | |
687 | Include math_ldbl_opt.h. | |
688 | ||
f98c2d06 UD |
689 | 2007-07-10 Ulrich Drepper <drepper@redhat.com> |
690 | ||
691 | [BZ #4773] | |
692 | * time/strptime_l.c (__strptime_internal): Implement greedy | |
693 | matching of weekday and month names. | |
694 | ||
cec5991f RM |
695 | 2007-07-09 Roland McGrath <roland@redhat.com> |
696 | ||
697 | * elf/elf.h (NT_GNU_ABI_TAG): New macro. | |
698 | (ELF_NOTE_ABI): Use it. | |
699 | (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. | |
700 | ||
8c1dcd26 UD |
701 | 2007-07-09 Ulrich Drepper <drepper@redhat.com> |
702 | ||
703 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. | |
704 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
705 | ||
c2c7bd3f UD |
706 | 2007-07-07 Ulrich Drepper <drepper@redhat.com> |
707 | ||
708 | [BZ #4745] | |
0923a2c8 UD |
709 | * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF |
710 | in loop to look for conversion specifier to avoid testing of | |
711 | wrong errno value. | |
712 | * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. | |
c2c7bd3f | 713 | * stdio-common/bug18.c: New file. |
0923a2c8 UD |
714 | * stdio-common/bug18a.c: New file. |
715 | * stdio-common/bug19.c: New file. | |
716 | * stdio-common/bug19a.c: New file. | |
c2c7bd3f | 717 | |
4facf4af RM |
718 | 2007-07-05 Mike Frysinger <vapier@gentoo.org> |
719 | ||
720 | * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when | |
721 | running awk script. | |
722 | ||
1311e86e UD |
723 | 2007-07-01 Jakub Jelinek <jakub@redhat.com> |
724 | ||
725 | * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. | |
726 | * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). | |
727 | Return NULL if mmap failed instead of asserting it does not. | |
728 | (calloc): Check for integer overflow. | |
729 | ||
730 | * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger | |
731 | than LONG_MAX / 10. | |
732 | ||
57c9179c UD |
733 | 2007-07-03 Jakub Jelinek <jakub@redhat.com> |
734 | ||
735 | [BZ #4702] | |
736 | * nis/nss-default.c: Include errno.h. | |
737 | (init): Preserve errno. | |
738 | ||
d0b283a8 UD |
739 | 2007-07-02 Ulrich Drepper <drepper@redhat.com> |
740 | ||
741 | * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. | |
742 | ||
34e0bbaf UD |
743 | 2007-06-30 Ulrich Drepper <drepper@redhat.com> |
744 | ||
745 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. | |
746 | ||
747 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
748 | ||
749 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. | |
750 | ||
34e0bbaf | 751 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
33516494 UD |
752 | |
753 | * sysdeps/s390/dl-procinfo.c: New file. | |
754 | * sysdeps/s390/dl-procinfo.h: New file. | |
755 | * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. | |
756 | ||
0e508a6e UD |
757 | 2007-06-29 Jakub Jelinek <jakub@redhat.com> |
758 | ||
759 | * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even | |
760 | in PT_NOTE segments with multiple notes. | |
761 | * elf/readelflib.c (process_elf_file): Likewise. | |
762 | ||
e22c61fb UD |
763 | 2007-06-22 Ulrich Drepper <drepper@redhat.com> |
764 | ||
765 | * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more | |
766 | ISO C compliant. | |
767 | ||
e4eb675d UD |
768 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
769 | ||
770 | * elf/dl-close.c (free_mem): Free _dl_scope_free_list. | |
771 | ||
772 | 2007-06-13 Jakub Jelinek <jakub@redhat.com> | |
773 | ||
774 | * include/link.h: Don't include rtld-lowlevel.h. | |
775 | (struct link_map): Remove l_scope_lock. | |
776 | * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. | |
777 | (_dl_scope_free_list): New field (variable) in _rtld_global. | |
778 | (DL_LOOKUP_SCOPE_LOCK): Remove. | |
779 | (_dl_scope_free): New prototype. | |
780 | * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. | |
781 | Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. | |
782 | (_dl_profile_fixup): Likewise. | |
783 | * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x | |
784 | whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and | |
785 | THREAD_GSCOPE_RESET_FLAG around it. | |
786 | * elf/dl-close.c (_dl_close_worker): Don't use | |
787 | __rtld_mrlock_{change,done}. Call _dl_scope_free on the old | |
788 | scope. Make sure THREAD_GSCOPE_WAIT () happens if any old | |
789 | scopes were queued or if l_scope_mem has been abandoned. | |
790 | * elf/dl-open.c (_dl_scope_free): New function. | |
791 | (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. | |
792 | * elf/dl-support.c (_dl_scope_free_list): New variable. | |
793 | * elf/dl-lookup.c (add_dependency): Remove flags argument. | |
794 | Remove DL_LOOKUP_SCOPE_LOCK handling. | |
795 | (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK | |
796 | handling. | |
797 | * elf/dl-object.c (_dl_new_object): Don't use | |
798 | __rtld_mrlock_initialize. | |
799 | ||
9be09e06 UD |
800 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
801 | ||
802 | * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements | |
803 | to fill in holes | |
804 | (rtld_global_ro): Likewise. | |
805 | ||
806 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> | |
807 | ||
808 | * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. | |
809 | Move PT_LOAD checking to... | |
810 | (_dl_addr_inside_object): ... here, new function. | |
811 | * elf/dl-sym.c (do_sym): If not l_contiguous, | |
812 | call _dl_addr_inside_object. | |
813 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
814 | * dlfcn/dlinfo.c (dlinfo_doit): Likewise. | |
815 | * elf/dl-open.c (dl_open_worker): Likewise. | |
816 | (_dl_addr_inside_object): New function if IS_IN_rtld. | |
817 | * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no | |
818 | holes are present or are PROT_NONE protected. | |
819 | * include/link.h (struct link_map): Add l_contiguous field. | |
820 | * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. | |
821 | ||
ae1ad3ae UD |
822 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
823 | Tomas Janousek <tjanouse@redhat.com> | |
824 | Ulrich Drepper <drepper@redhat.com> | |
825 | ||
826 | [BZ #4647] | |
827 | * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail | |
828 | member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 | |
829 | socket. | |
830 | * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make | |
831 | unused member a bitmap. | |
832 | * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 | |
833 | servers are configured. | |
834 | ||
3abee0b7 UD |
835 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
836 | ||
837 | * elf/rtld.c (dl_main): Don't call init_tls more than once. | |
838 | ||
89074592 UD |
839 | 2007-06-17 Andreas Schwab <schwab@suse.de> |
840 | ||
841 | * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. | |
842 | ||
b26e274d AJ |
843 | 2007-06-16 Andreas Jaeger <aj@suse.de> |
844 | ||
845 | [BZ #4125] | |
846 | * sysdeps/unix/sysv/linux/sys/ptrace.h | |
847 | (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, | |
848 | PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, | |
89074592 | 849 | PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, |
b26e274d AJ |
850 | PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, |
851 | PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): | |
852 | Define. | |
853 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. | |
854 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. | |
855 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. | |
856 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. | |
857 | ||
e0d4a4e5 UD |
858 | 2007-06-16 Ulrich Drepper <drepper@redhat.com> |
859 | ||
860 | [BZ #4599] | |
861 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): When | |
862 | determining whether there are IPv4/IPv6 addresses, ignore loopback | |
863 | addresses. | |
864 | ||
ae8e81f5 JJ |
865 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
866 | ||
867 | * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. | |
868 | * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int | |
869 | as the return type. Change type of "r" variable to CMPtype. | |
870 | * soft-fp/eqsf2.c (__eqsf2): Likewise. | |
871 | * soft-fp/eqtf2.c (__eqtf2): Likewise. | |
872 | * soft-fp/gedf2.c (__gedf2): Likewise. | |
873 | * soft-fp/gesf2.c (__gesf2): Likewise. | |
874 | * soft-fp/getf2.c (__getf2): Likewise. | |
875 | * soft-fp/ledf2.c (__ledf2): Likewise. | |
876 | * soft-fp/lesf2.c (__lesf2): Likewise. | |
877 | * soft-fp/letf2.c (__letf2): Likewise. | |
878 | * soft-fp/unorddf2 (__unorddf2): Likewise. | |
879 | * soft-fp/unordsf2 (__unordsf2): Likewise. | |
880 | * soft-fp/unordtf2 (__unordtf2): Likewise. | |
881 | ||
90cd2413 UD |
882 | 2007-06-09 Ulrich Drepper <drepper@redhat.com> |
883 | ||
884 | * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and | |
885 | make sure gcc doesn't mess around with this. | |
886 | ||
3c457089 UD |
887 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
888 | ||
889 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. | |
890 | ||
e8b6b64d UD |
891 | 2007-06-08 Jakub Jelinek <jakub@redhat.com> |
892 | ||
893 | * elf/dl-close.c (_dl_close_worker): Remove all to be removed | |
894 | libraries from the global scope at once and call THREAD_GSCOPE_WAIT | |
895 | at most once per _dl_close_worker. | |
896 | ||
36dffb22 UD |
897 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
898 | ||
755db8c5 UD |
899 | * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of |
900 | __sched_cpucount as const. | |
901 | * posix/sched_cpucount.c: Adjust. | |
902 | ||
36dffb22 UD |
903 | * posix/sched_cpucount.c (__sched_cpucount): Allow using special |
904 | instruction for counting bits. | |
905 | * sysdeps/x86_64/sched_cpucount.c: New file. | |
906 | ||
26f56c1c UD |
907 | 2007-06-07 Ulrich Drepper <drepper@redhat.com> |
908 | ||
909 | * configure.in: Avoid variable named BASH. | |
e967d385 | 910 | * config.make.in: Likewise. |
26f56c1c | 911 | Patch in part by Mike Frysinger. |
835abc5c | 912 | |
26f56c1c | 913 | 2007-06-06 Jakub Jelinek <jakub@redhat.com> |
47779a7d JJ |
914 | |
915 | [BZ #4586] | |
835abc5c UD |
916 | * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat |
917 | pseudo-zeros as zero. | |
918 | * sysdeps/x86_64/ldbl2mpn.c: New file. | |
919 | * sysdeps/ia64/ldbl2mpn.c: New file. | |
920 | ||
7e3706ea UD |
921 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
922 | ||
923 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove | |
924 | unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. | |
925 | Remove unreachable code at the end. | |
926 | ||
927 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
928 | ||
929 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of | |
930 | ldbl-128ibm in comment. | |
931 | (fpclassifyl): Correct classification of denormals. | |
932 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct | |
933 | return value for MIN denormal. Rewrite using long double math too | |
934 | correctly handle denormals and canonicalize the results. | |
935 | ||
936 | 2007-06-05 Jakub Jelinek <jakub@redhat.com> | |
937 | ||
938 | * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c | |
939 | (__mpn_construct_long_double): Fix conversion where result ought | |
940 | to be smaller than __LDBL_MIN__, or the low double should be | |
941 | denormal. Fix decision where to negate low double - honor round | |
942 | to even rules. | |
943 | * stdio-common/tst-sprintf2.c: Include string.h. | |
944 | (COMPARE_LDBL): Define. | |
945 | (TEST): Also test whether a string hexadecimal float representation | |
946 | can be parsed back to the number. | |
947 | (main): Add a couple of further tests. | |
948 | ||
43b76828 UD |
949 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
950 | ||
951 | * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c | |
952 | (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double | |
953 | is non-zero, but smaller than 2 * __DBL_MIN__. | |
954 | * stdio-common/tst-sprintf2.c: New test. | |
955 | * stdio-common/Makefile (tests): Add tst-sprintf2. | |
956 | ||
957 | * math/test-misc.c (main): Don't run last batch of tests with | |
958 | IBM long double format. | |
959 | ||
04067002 UD |
960 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> |
961 | ||
962 | * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. | |
963 | * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. | |
964 | * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. | |
965 | * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. | |
966 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
967 | * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. | |
968 | * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. | |
969 | * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. | |
970 | * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. | |
971 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
972 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. | |
973 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: | |
974 | New file. | |
975 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: | |
976 | New file. | |
977 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: | |
978 | New file. | |
979 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: | |
980 | New file. | |
981 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: | |
982 | New file. | |
983 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. | |
984 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: | |
985 | New file. | |
986 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: | |
987 | New file. | |
988 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: | |
989 | New file. | |
990 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: | |
991 | New file. | |
992 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: | |
993 | New file. | |
994 | ||
995 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
996 | ||
997 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. | |
998 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. | |
999 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. | |
1000 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. | |
1001 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. | |
1002 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. | |
1003 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. | |
1004 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. | |
1005 | ||
1006 | 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com> | |
1007 | ||
1008 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S | |
1009 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1010 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S | |
1011 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1012 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S | |
1013 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1014 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S | |
1015 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1016 | ||
1017 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
1018 | ||
1019 | * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. | |
1020 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. | |
1021 | * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. | |
1022 | * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. | |
1023 | ||
1024 | 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com> | |
1025 | ||
1026 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S | |
1027 | [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. | |
1028 | ||
1029 | 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com> | |
1030 | ||
1031 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File | |
1032 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File | |
1033 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File | |
1034 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File | |
1035 | ||
1036 | 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com> | |
1037 | ||
1038 | * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. | |
1039 | * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. | |
1040 | ||
1041 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
1042 | ||
1043 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. | |
1044 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. | |
1045 | ||
1046 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. | |
1047 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. | |
1048 | * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. | |
1049 | * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. | |
1050 | ||
1051 | 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com> | |
1052 | ||
1053 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. | |
1054 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. | |
1055 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. | |
1056 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. | |
1057 | ||
1058 | 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com> | |
1059 | ||
1060 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. | |
1061 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. | |
1062 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. | |
1063 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
1064 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. | |
1065 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
1066 | ||
1067 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1068 | ||
1069 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. | |
1070 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. | |
1071 | * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. | |
1072 | * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. | |
1073 | ||
1074 | 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com> | |
1075 | ||
1076 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. | |
1077 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. | |
1078 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. | |
1079 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. | |
1080 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. | |
1081 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. | |
1082 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. | |
1083 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. | |
1084 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. | |
1085 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. | |
1086 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. | |
1087 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. | |
1088 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. | |
1089 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. | |
1090 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. | |
1091 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. | |
1092 | ||
1093 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
1094 | ||
1095 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. | |
1096 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. | |
1097 | ||
1098 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
1099 | ||
1100 | * sysdeps/powerpc/powerpc32/power6/memset.S: New file. | |
1101 | * sysdeps/powerpc/powerpc64/power6/memset.S: New file. | |
1102 | ||
1103 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1104 | ||
1105 | * sysdeps/powerpc/powerpc32/970/Implies: New file. | |
1106 | * sysdeps/powerpc/powerpc32/power5/Implies: New file. | |
1107 | * sysdeps/powerpc/powerpc32/power5+/Implies: New file. | |
1108 | * sysdeps/powerpc/powerpc32/power6/Implies: New file. | |
1109 | * sysdeps/powerpc/powerpc32/power6x/Implies: New file. | |
1110 | * sysdeps/powerpc/powerpc64/970/Implies: New file. | |
1111 | * sysdeps/powerpc/powerpc64/power5/Implies: New file. | |
1112 | * sysdeps/powerpc/powerpc64/power5+/Implies: New file. | |
1113 | * sysdeps/powerpc/powerpc64/power6/Implies: New file. | |
1114 | * sysdeps/powerpc/powerpc64/power6x/Implies: New file. | |
1115 | ||
1116 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
1117 | ||
1118 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file | |
1119 | ||
1120 | 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com> | |
1121 | ||
1122 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize | |
1123 | branch miss-predicts. Ensure that cache line crossing does not impact | |
1124 | dispatch grouping. | |
1125 | ||
1126 | 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com> | |
1127 | ||
1128 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include | |
1129 | "../../powerpc32/power4/memcopy.h". | |
1130 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include | |
1131 | "../../powerpc32/power4/wordcopy.c". | |
1132 | ||
1133 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
1134 | ||
1135 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. | |
1136 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. | |
1137 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. | |
1138 | * sysdeps/powerpc/powerpc32/power4/Makefile: To here. | |
1139 | * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. | |
1140 | * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. | |
1141 | ||
1142 | 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com> | |
1143 | ||
1144 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. | |
1145 | ||
1146 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1147 | ||
1148 | * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. | |
1149 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. | |
1150 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. | |
1151 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. | |
1152 | * sysdeps/powerpc/powerpc64/power4/Makefile: New file. | |
1153 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. | |
1154 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. | |
1155 | * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. | |
1156 | ||
1157 | 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com> | |
1158 | ||
1159 | * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. | |
1160 | ||
1161 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
1162 | ||
1163 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. | |
1164 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. | |
1165 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file. | |
1166 | * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. | |
1167 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. | |
1168 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. | |
1169 | * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. | |
1170 | ||
5b55e1d3 RM |
1171 | 2007-05-29 Roland McGrath <roland@redhat.com> |
1172 | ||
1173 | * po/Makefile (po-sed-cmd): New variable. | |
1174 | (libc.pot.files): Move sed command text in there, avoid \ inside ''. | |
1175 | ||
5da4373c UD |
1176 | 2007-05-29 Ulrich Drepper <drepper@redhat.com> |
1177 | ||
4b5e7304 UD |
1178 | * crypt/md5-crypt.c: Fix comment. |
1179 | ||
5da4373c UD |
1180 | * nscd/nscd_helper.c (get_mapping): Handle short replies instead |
1181 | of crashing. When this is the case or if the reply is malformed, | |
1182 | don't try to close the new file descriptor since it does not | |
1183 | exist. | |
1184 | Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. | |
1185 | ||
40f57573 UD |
1186 | 2007-05-28 Jakub Jelinek <jakub@redhat.com> |
1187 | ||
1188 | * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define | |
1189 | if __NR_utimensat is not defined. | |
1190 | ||
6df7ffad UD |
1191 | 2007-05-26 Ulrich Drepper <drepper@redhat.com> |
1192 | ||
1193 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>. | |
1194 | ||
47ad95ab UD |
1195 | 2007-05-25 Jakub Jelinek <jakub@redhat.com> |
1196 | ||
1197 | * io/bits/fcntl2.h (__open_2): Add nonnull attribute. | |
1198 | (open): Fix comment typos. Don't call __open_2 if flags | |
1199 | is a compile time constant without O_CREAT. | |
1200 | (__open64_2): Add nonnull attribute. | |
1201 | (open64): Fix comment typos. Don't call __open64_2 if flags | |
1202 | is a compile time constant without O_CREAT. | |
1203 | (__openat_2): Add nonnull attribute, fix nonnull attribute | |
1204 | on redirect. | |
1205 | (openat): Fix comment typos. Don't call __openat_2 if flags | |
1206 | is a compile time constant without O_CREAT. | |
1207 | (__openat64_2): Add nonnull attribute, fix nonnull attribute | |
1208 | on redirect. | |
1209 | (openat64): Fix comment typos. Don't call __openat64_2 if flags | |
1210 | is a compile time constant without O_CREAT. | |
1211 | ||
ddfd0535 UD |
1212 | 2007-05-24 Ulrich Drepper <drepper@redhat.com> |
1213 | ||
1214 | * Makerules (sysd-rules): Define PTW for ptw-* files. | |
1215 | * Versions: Define GLIBC_2.7 for libc. | |
1216 | * include/stdio.h: Declare __fortify_fail. | |
1217 | * debug/fortify_fail.c: New file. | |
1218 | * debug/Makefile (routines): Add fortify_fail. | |
1219 | * debug/chk_fail.c: Use __fortify_fail. | |
1220 | * debug/stack_chk_fail.c: Likewise. | |
1221 | * io/Versions: Export __open_2, __open64_2, __openat_2, and | |
1222 | __openat64_2 for GLIBC_2.7. | |
1223 | * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. | |
1224 | * io/open.c: Define *_2 variant of function which checks for O_CREAT | |
1225 | and fails if necessary. | |
1226 | * io/open64.c: Likewise. | |
1227 | * io/openat.c: Likewise. | |
1228 | * io/openat64.c: Likewise. | |
1229 | * sysdeps/unix/sysv/linux/open64.c: Likewise. | |
1230 | * sysdeps/unix/sysv/linux/openat.c: Likewise. | |
1231 | * sysdeps/unix/sysv/linux/openat64.c: Likewise. | |
1232 | * io/bits/fcntl2.h: New file. | |
1233 | * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and | |
1234 | __openat64_2. | |
1235 | * include/bits/fcntl2.h: New file. | |
1236 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
1237 | Add open_2. | |
1238 | * sysdeps/unix/sysv/linux/open_2.c: New file. | |
1239 | ||
bfe6f5fa UD |
1240 | 2007-05-21 Ulrich Drepper <drepper@redhat.com> |
1241 | ||
6d59823c UD |
1242 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value |
1243 | as second parameter to handle_intel. | |
1244 | ||
e2b1e343 UD |
1245 | * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache |
1246 | the entry. | |
1247 | ||
bfe6f5fa UD |
1248 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information |
1249 | handling to ... | |
1250 | * sysdeps/x86_64/cacheinfo.c: ... here. New file. | |
1251 | * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add | |
1252 | cacheinfo. | |
1253 | * sysdeps/x86_64/memcpy.S: Complete rewrite. | |
1254 | * sysdeps/x86_64/mempcpy.S: Adjust appropriately. | |
1255 | Patch by Evandro Menezes <evandro.menezes@amd.com>. | |
1256 | ||
1257 | * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. | |
1258 | ||
1f4843fb UD |
1259 | 2007-05-21 Jakub Jelinek <jakub@redhat.com> |
1260 | ||
2c2c003a UD |
1261 | [BZ #4525] |
1262 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. | |
1263 | * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. | |
1264 | * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. | |
1265 | ||
1266 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. | |
1267 | ||
af269dd9 UD |
1268 | [BZ #4514] |
1269 | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, | |
1270 | reinitialize workend at the start of each do_positional format spec | |
1271 | loop, free workstart before do_positional loops. | |
1272 | (printf_unknown): Fix size of work_buffer. | |
1273 | * stdio-common/tst-sprintf.c (main): Add 3 new testcases. | |
1274 | ||
1f4843fb UD |
1275 | * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. |
1276 | (public_sET_STATe): If ms->version < 3, put all chunks into | |
1277 | unsorted chunks and clear {fd,bk}_nextsize fields of largebin | |
1278 | chunks. | |
1279 | ||
1280 | * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. | |
1281 | * malloc/hooks.c: Likewise. | |
1282 | * malloc/arena.c: Likewise. | |
1283 | * malloc/malloc.c (do_check_malloc_state): Don't assert | |
1284 | n_mmaps is not greater than n_mmaps_max. This removes the need | |
1285 | for the previous change. | |
1286 | ||
1287 | * malloc/Makefile (CFLAGS-malloc.c): Revert accidental | |
1288 | 2007-05-07 commit. | |
1289 | ||
12e8bbff UD |
1290 | 2007-05-19 Ulrich Drepper <drepper@redhat.com> |
1291 | ||
1292 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): | |
1293 | Define for kernel >= 2.6.22. | |
69e5cbf5 | 1294 | |
12e8bbff | 1295 | 2007-05-18 Ulrich Drepper <drepper@redhat.com> |
6d59823c | 1296 | |
df94b641 UD |
1297 | * elf/dl-close.c (_dl_close_worker): When removing object from |
1298 | global scope, wait for all lookups to finish afterwards. | |
1299 | * elf/dl-open.c (add_to_global): When global scope array must | |
1300 | grow, allocate a new one and free old array only after all | |
1301 | lookups finish. | |
1302 | * elf/dl-runtime.c (_dl_fixup): Protect using global scope. | |
1303 | (_dl_lookup_symbol_x): Likewise. | |
1304 | * elf/dl-support.c: Define _dl_wait_lookup_done. | |
1305 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add | |
1306 | _dl_wait_lookup_done. | |
1307 | ||
2acd01ac UD |
1308 | * malloc/malloc.c (do_check_chunk): Correct check for mmaped block |
1309 | not overlapping with arena. | |
1310 | ||
129abdd3 UD |
1311 | * malloc/mcheck.c (reallochook): If size==0, free the block. |
1312 | ||
eb4b098a UD |
1313 | * rt/tst-shm.c: Use fstat64 instead of fstat. |
1314 | ||
69e5cbf5 UD |
1315 | * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where |
1316 | __NR_sync_file_range is not defined. | |
1317 | ||
a2ccc760 UD |
1318 | 2007-05-17 Ulrich Drepper <drepper@redhat.com> |
1319 | ||
bec51a30 UD |
1320 | Dummy files to prevent stub versions from being used. |
1321 | * sysdeps/x86_64/fpu/k_cosl.c: New file. | |
1322 | * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. | |
1323 | * sysdeps/x86_64/fpu/k_sinl.c: New file. | |
1324 | * sysdeps/x86_64/fpu/k_tanl.c: New file. | |
1325 | ||
a2ccc760 UD |
1326 | * version.h (VERSION): Set to 2.6.90. |
1327 | ||
1a31b586 UD |
1328 | 2007-05-14 Ulrich Drepper <drepper@redhat.com> |
1329 | ||
a2ccc760 UD |
1330 | * version.h (VERSION): Define to 2.6. |
1331 | * include/features.h (__GLIBC_MINOR__): Define to 6. | |
2c1d6172 | 1332 | |
1d47e92f UD |
1333 | * malloc/malloc.c: Use all small bin slots on 64-bit archs. |
1334 | ||
1335 | * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 | |
1336 | sizes. | |
366ad8fd | 1337 | |
1a31b586 | 1338 | 2007-05-13 Ulrich Drepper <drepper@redhat.com> |
87e66335 | 1339 | |
366ad8fd UD |
1340 | * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum |
1341 | number of mmaps. n_mmaps_max is the target. | |
1342 | * malloc/hooks.c: Likewise. | |
1343 | * malloc/arena.c: Likewise. | |
1344 | ||
11ed6713 AJ |
1345 | 2007-05-12 Andreas Jaeger <aj@suse.de> |
1346 | ||
1347 | * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for | |
1348 | getpid. | |
1349 | ||
d65ef3dd UD |
1350 | 2007-05-11 Ulrich Drepper <drepper@redhat.com> |
1351 | ||
2e81d449 UD |
1352 | * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by |
1353 | adding new variables. | |
1354 | ||
d65ef3dd | 1355 | * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc |
2e81d449 | 1356 | optimize. Completely extend global scope array before making the |
d65ef3dd UD |
1357 | new entries visible. |
1358 | ||
c27d2078 UD |
1359 | 2007-05-10 Ulrich Drepper <drepper@redhat.com> |
1360 | ||
341c566f UD |
1361 | * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. |
1362 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add | |
1363 | tst-getcpu. | |
1364 | ||
1365 | * include/link.h: Move l_version and l_nversion members around to | |
1366 | fill gaps. | |
1367 | ||
a53fa282 UD |
1368 | * scripts/check-c++-types.sh: Don't use -fnu89-inline option. |
1369 | ||
3771196d UD |
1370 | * sysdeps/unix/sysv/linux/sched_setaffinity.c |
1371 | (__sched_setaffinity_new): If syscall was successful and | |
1372 | RESET_VGETCPU_CACHE is defined, use it before returning. | |
1373 | * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. | |
1374 | ||
f9bf102d UD |
1375 | * io/sys/stat.h: Make sure struct timespec is defined for |
1376 | __USE_ATFILE. | |
1377 | ||
c27d2078 UD |
1378 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and |
1379 | UTIME_OMIT. | |
1380 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
1381 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
1382 | * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. | |
1383 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. | |
1384 | * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. | |
1385 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
1386 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. | |
1387 | * io/sys/stat.h: Declare utimensat, futimens. | |
1388 | * io/utimensat.c: New file. | |
1389 | * io/futimens.c: New file. | |
1390 | * sysdeps/unix/sysv/linux/utimensat.c: New file. | |
1391 | * sysdeps/unix/sysv/linux/futimens.c: New file. | |
1392 | * io/Makefile (routines): Add utimensat, futimens. | |
1393 | * io/Versions: Add utimensat, futimens to GLIBC_2.6. | |
1394 | * sysdeps/unix/sysv/linux/lutimes.c: New file. | |
1395 | * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if | |
1396 | available. | |
1397 | ||
1398 | * include/sys/cdefs.h: Redefine __nonnull so that test for | |
1399 | incorrect parameters in the libc code itself are not omitted. | |
1400 | ||
cf6b0980 JJ |
1401 | 2007-05-09 Jakub Jelinek <jakub@redhat.com> |
1402 | ||
c1dfd7e6 JJ |
1403 | * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow |
1404 | exception in addition to inexact when asked to raise only FE_INEXACT. | |
1405 | ||
cf6b0980 JJ |
1406 | [BZ #3427] |
1407 | * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions | |
1408 | in *envp. | |
1409 | ||
df7b6fea UD |
1410 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
1411 | ||
1412 | [BZ #4403] | |
1413 | * string/strfry.c (strfry): Make result more random. | |
1414 | ||
37f40235 RH |
1415 | 2007-05-07 Richard Henderson <rth@redhat.com> |
1416 | ||
1417 | * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define | |
1418 | if __NO_LONG_DOUBLE_MATH. | |
1419 | * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not | |
df7b6fea | 1420 | available in the compiler, add .arch directive to the assembly. |
37f40235 RH |
1421 | |
1422 | 2007-05-07 Jakub Jelinek <jakub@redhat.com> | |
1423 | ||
1424 | * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on | |
1425 | compat_symbol to GLIBC_2_1. | |
1426 | * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. | |
1427 | * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. | |
1428 | * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. | |
1429 | * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. | |
1430 | * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. | |
1431 | * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. | |
1432 | * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in | |
1433 | libc, not libm. | |
1434 | (__isnanl): New compat_symbol. | |
1435 | ||
c7fd3362 JJ |
1436 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
1437 | Jakub Jelinek <jakub@redhat.com> | |
1438 | ||
1439 | * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. | |
1440 | (new_heap): Initialize mprotect_size. | |
1441 | (grow_heap): When growing, only mprotect from mprotect_size till | |
1442 | new_size if mprotect_size is smaller. When shrinking, use PROT_NONE | |
1443 | MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. | |
1444 | ||
4a59e9ad | 1445 | 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> |
37f40235 | 1446 | Peter Bergner <bergner@us.ibm.com> |
4a59e9ad UD |
1447 | |
1448 | * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. | |
1449 | Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. | |
1450 | * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. | |
1451 | * sysdeps/powerpc/fpu/fe_mask.c: New file. | |
1452 | * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. | |
1453 | * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): | |
1454 | Call __fe_mask_env() if all FP exceptions disabled. | |
1455 | * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits | |
1456 | from old FPSCR to new fenv to propagate DFP rounding modes. | |
1457 | Call __fe_mask_env() if FP exceptions previously enabled. | |
1458 | * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge | |
1459 | exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when | |
1460 | transitioning from all exceptions disabled to any exception enabled | |
1461 | or visa versa. | |
1462 | * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to | |
1463 | merge exceptions from env. Call __fe_nomask_env or __fe_mask_env | |
1464 | when transitioning from all exceptions disabled to any exception | |
1465 | enabled or visa versa. | |
1466 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... | |
1467 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. | |
1468 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... | |
1469 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. | |
1470 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. | |
1471 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. | |
1472 | ||
aa75f64c UD |
1473 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
1474 | ||
15eca720 | 1475 | [BZ #4465] |
aa75f64c UD |
1476 | * posix/unistd.h: Remove __THROW from fdatasync. |
1477 | ||
711deb05 UD |
1478 | 2007-05-06 Mike Frysinger <vapier@gentoo.org> |
1479 | ||
15eca720 | 1480 | [BZ #4465] |
711deb05 UD |
1481 | * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. |
1482 | ||
ffecd39b UD |
1483 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
1484 | ||
49a8eb75 UD |
1485 | * stdio-common/vfprintf.c (process_string_arg): Optimize |
1486 | ridiculous precision in wide char code printing multi-byte string. | |
1487 | Reported by Jim Meyering <jim@meyering.net>. | |
1488 | ||
ffecd39b UD |
1489 | [BZ #4131] |
1490 | * elf/dl-addr.c (_dl_addr): Compare address with actual segment | |
1491 | boundaries to work around systems with overlapping binary loading. | |
1492 | Based on a patch by Suzuki <suzuki@in.ibm.com>. | |
1493 | ||
b16dba4c UD |
1494 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
1495 | ||
30b323ab UD |
1496 | * stdio-common/vfprintf.c (process_string_arg): Adjust call to |
1497 | __mbsnrtowcs after last change. | |
1498 | ||
b16dba4c UD |
1499 | * locale/programs/linereader.c (get_symname): Fix adding final NUL. |
1500 | (get_ident): Likewise. | |
1501 | ||
37002cbc JJ |
1502 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
1503 | ||
1504 | * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT | |
1505 | with setting the sticky bit. | |
1506 | * math/test-misc.c (main): Add more truncation tests. | |
1507 | ||
1508 | 2007-04-14 Uros Bizjak <ubizjak@gmail.com> | |
1509 | ||
1510 | * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of | |
1511 | double in the function declaration. | |
1512 | * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of | |
1513 | double in the function declaration. | |
1514 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
1515 | float in the function declaration. | |
1516 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
1517 | float in the function declaration. | |
1518 | ||
1519 | * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for | |
1520 | denormal operands. Do not generate FP_EX_DENORM exception. | |
1521 | (FP_UNPACK_RAW_EP): Ditto. | |
1522 | (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of | |
1523 | undefined _FP_UNPACK_RAW_E. | |
1524 | (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of | |
1525 | undefined _FP_UNPACK_RAW_EP. | |
1526 | (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of | |
1527 | undefined _FP_PACK_RAW_E. | |
1528 | (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of | |
1529 | undefined _FP_PACK_RAW_EP. | |
1530 | ||
d9ac82d0 UD |
1531 | * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to |
1532 | _FP_FRAC_COPY_2. | |
1533 | * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to | |
1534 | _FP_FRAC_COPY_4. | |
37002cbc JJ |
1535 | |
1536 | 2007-04-16 Uros Bizjak <ubizjak@gmail.com> | |
1537 | Jakub Jelinek <jakub@redhat.com> | |
1538 | ||
1539 | * soft-fp/op-common.h (FP_EXTEND): Do not abort when | |
1540 | _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for | |
1541 | this case. | |
1542 | * soft-fp/op-common.h (FP_TRUNC): Ditto. | |
1543 | ||
002f0b0b JJ |
1544 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
1545 | ||
1546 | * math/test-misc.c (main): Add tests for rounding long double | |
1547 | values close to smallest double denormalized value to double. | |
1548 | ||
1549 | 2007-04-30 Joseph Myers <joseph@codesourcery.com> | |
1550 | ||
1551 | * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in | |
1552 | condition for truncating to 0. Set sticky bit for such | |
1553 | truncation. | |
1554 | ||
57433ede UD |
1555 | 2007-05-02 Jakub Jelinek <jakub@redhat.com> |
1556 | ||
1557 | * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than | |
1558 | fixed length array for ignore. | |
1559 | ||
c01c2455 UD |
1560 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
1561 | ||
1562 | [BZ #4438] | |
1563 | * stdio-common/vfprintf.c (process_string_arg): Don't overflow the | |
1564 | stack for large precisions. | |
1cb04337 UD |
1565 | * stdio-common/test-vfprintf.c (main): Add test for large |
1566 | precision. | |
c01c2455 | 1567 | |
37f02b1d UD |
1568 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
1569 | ||
b866373d UD |
1570 | * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign |
1571 | for exponent 0. | |
1572 | * stdio-common/tfformat.c (sprint_doubles): Add a new test. | |
1573 | ||
37f02b1d UD |
1574 | [BZ #4439] |
1575 | * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into | |
1576 | account in the size check. | |
1577 | * resolv/tst-inet_ntop.c: New test. | |
1578 | * resolv/Makefile (tests): Add tst-inet_ntop. | |
1579 | ||
7ecfbd38 UD |
1580 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
1581 | Jakub Jelinek <jakub@redhat.com> | |
1582 | ||
1583 | [BZ #4349] | |
1584 | * malloc/malloc.c: Keep separate list for first blocks on the bin | |
1585 | lists with a given size. This helps skipping over list elements | |
1586 | we know won't fit in two places. | |
1587 | Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
1588 | ||
e53f0f51 UD |
1589 | 2007-04-28 Ulrich Drepper <drepper@redhat.com> |
1590 | ||
1591 | [BZ #4102] | |
1592 | * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate | |
1593 | label to Teredo tunnel addresses 2001://32. | |
1594 | ||
109f51f2 UD |
1595 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
1596 | ||
762422d1 UD |
1597 | * locale/programs/ld-collate.c (collate_read): Allow order_start |
1598 | after copy. | |
1599 | ||
61d5a67f UD |
1600 | * locale/programs/ld-collate.c (collate_read): Fix printing of |
1601 | error message. | |
1602 | ||
1603 | [BZ #3213] | |
1604 | * locale/C-translit.h.in: Add entry for U2044. | |
1605 | ||
109f51f2 UD |
1606 | [BZ #4342] |
1607 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow | |
1608 | hexa-decimal floats without exponent. | |
1609 | * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. | |
1610 | ||
ec08f13d UD |
1611 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
1612 | ||
1613 | * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. | |
1614 | * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. | |
1615 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. | |
1616 | * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for | |
1617 | GLIBC_2.6. | |
bce20b9a UD |
1618 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): |
1619 | Add sched_getcpu. | |
ec08f13d | 1620 | |
41967e1c JJ |
1621 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
1622 | ||
1623 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead | |
1624 | of 0 after the out_fail label. | |
1625 | ||
ba508da3 UD |
1626 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
1627 | ||
1628 | [BZ #4406] | |
109f51f2 | 1629 | * iconv/gconv_charset.h (strip): Allow ':'. |
ba508da3 UD |
1630 | * iconv/iconv_open.c (iconv_open): Adjust comment. |
1631 | ||
9c8d03d9 JJ |
1632 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
1633 | ||
1634 | * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized | |
1635 | version. | |
1636 | ||
2f1687b9 UD |
1637 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
1638 | ||
1639 | [BZ #4381] | |
1640 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient | |
1641 | alignment of buffer and tmp_buffer. | |
1642 | * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, | |
1643 | internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient | |
1644 | alignment of buffer. | |
1645 | * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen | |
1646 | bigger than INT_MAX. | |
1647 | * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and | |
1648 | h_errnop arguments. Fail if buflen is too small. | |
1649 | (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. | |
1650 | ||
b64a9db8 JJ |
1651 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
1652 | ||
1653 | [BZ #4405] | |
1654 | * iconvdata/gconv-modules (E13B): Add a missing slash to the alias | |
1655 | name. Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
1656 | ||
4d3144c9 RM |
1657 | 2007-04-22 Roland McGrath <roland@redhat.com> |
1658 | ||
1659 | * elf/elf.h (NT_PRXFPREG): New macro. | |
1660 | ||
767b40bf AJ |
1661 | 2007-04-19 Andreas Jaeger <aj@suse.de> |
1662 | ||
1663 | [BZ #3905] | |
1664 | * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, | |
1665 | IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): | |
1666 | Added. | |
1667 | ||
2592d1ec UD |
1668 | 2007-04-19 Ulrich Drepper <drepper@redhat.com> |
1669 | ||
1670 | * include/sys/mman.h: Mark madvise hidden. | |
d07d044e | 1671 | * misc/madvise.c: Add libc_hidden_def. |
2592d1ec | 1672 | |
7ab174ed UD |
1673 | 2007-04-06 Jakub Jelinek <jakub@redhat.com> |
1674 | ||
1675 | * nis/nis_domain_of.c (__nis_domain_of): New function. | |
1676 | * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. | |
1677 | * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. | |
1678 | * nis/nis_call.c (rec_dirsearch): Likewise. | |
1679 | (first_shoot): Likewise. Remove search_parent_first argument. | |
1680 | (struct nis_server_cache): Rename search_parent_first field | |
1681 | to search_parent. | |
1682 | (nis_server_cache_search, nis_server_cache_add): Rename | |
1683 | search_parent_first argument to search_parent. | |
1684 | (__nisfind_server): Likewise. If search_parent, call | |
1685 | __nis_domain_of. | |
1686 | ||
b17c265f UD |
1687 | 2007-04-18 Ulrich Drepper <drepper@redhat.com> |
1688 | ||
1689 | * sysdeps/posix/getaddrinfo.c: Remove commented-out code. | |
1690 | ||
b7674b11 UD |
1691 | 2007-04-17 Ulrich Drepper <drepper@redhat.com> |
1692 | ||
1693 | [BZ #4368] | |
1694 | * stdlib/stdlib.h: Remove obsolete part of comment for realpath. | |
1695 | ||
faf3ad69 UD |
1696 | 2007-04-16 Ulrich Drepper <drepper@redhat.com> |
1697 | ||
1698 | [BZ #4364] | |
1699 | * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. | |
1700 | ||
c14f245c UD |
1701 | 2007-04-15 Jakub Jelinek <jakub@redhat.com> |
1702 | ||
1703 | * locale/programs/locarchive.c (INITIAL_NUM_NAMES, | |
1704 | INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate | |
1705 | current number of locales in SUPPORTED. | |
1706 | (create_archive): Initialize serial. | |
1707 | (enlarge_archive): Preserve aliases rather than duplicating | |
1708 | their locrecs. | |
1709 | ||
d40e67f5 UD |
1710 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
1711 | ||
993a5d66 UD |
1712 | * libio/genops.c (_IO_default_finish): Call _IO_lock_fini |
1713 | after _IO_un_link, not before it. | |
1714 | ||
d40e67f5 UD |
1715 | * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 |
1716 | special case handling when wcp == wstartp + 1. Fix a comment typo. | |
1717 | * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. | |
1718 | ||
0fca3153 UD |
1719 | 2007-03-30 Jakub Jelinek <jakub@redhat.com> |
1720 | ||
1721 | * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, | |
1722 | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, | |
1723 | _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): | |
1724 | Remove __THROW. | |
1725 | * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, | |
1726 | _IO_file_xsgetn_maybe_mmap): Likewise. | |
1727 | * libio/oldfileops.c (old_do_write): Likewise. | |
1728 | * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, | |
1729 | _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, | |
1730 | _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, | |
1731 | _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, | |
1732 | _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, | |
1733 | _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, | |
1734 | _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, | |
1735 | _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, | |
1736 | _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, | |
1737 | _IO_file_underflow, _IO_file_underflow_mmap, | |
1738 | _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, | |
1739 | _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, | |
1740 | _IO_file_sync, _IO_file_close_it, _IO_file_finish, | |
1741 | _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, | |
1742 | _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, | |
1743 | _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, | |
1744 | _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, | |
1745 | _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, | |
1746 | _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, | |
1747 | _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, | |
1748 | _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, | |
1749 | _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, | |
1750 | _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, | |
1751 | _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, | |
1752 | _IO_adjust_column_internal, _IO_default_uflow_internal, | |
1753 | _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, | |
1754 | _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, | |
1755 | _IO_file_setbuf_internal, _IO_file_seekoff_internal, | |
1756 | _IO_file_xsputn_internal, _IO_file_xsgetn_internal, | |
1757 | _IO_file_close_it_internal, _IO_file_underflow_internal, | |
1758 | _IO_file_overflow_internal, _IO_file_attach_internal, | |
1759 | _IO_file_fopen_internal, _IO_file_sync_internal, | |
1760 | _IO_file_finish_internal, _IO_wfile_xsputn_internal, | |
1761 | _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, | |
1762 | _IO_switch_to_wget_mode_internal, _IO_padn_internal, | |
1763 | _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, | |
1764 | _IO_seekpos_unlocked): Likewise. | |
1765 | (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, | |
1766 | _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. | |
1767 | ||
07358add JJ |
1768 | 2007-04-16 Jakub Jelinek <jakub@redhat.com> |
1769 | ||
1770 | * locale/programs/locarchive.c (show_archive_content): Fix sizeof | |
1771 | argument in xmalloc size computation. | |
1772 | ||
7a82b74f UD |
1773 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
1774 | ||
1775 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use | |
1776 | math_opt_barrier and math_force_eval macros. | |
1777 | ||
3e336a87 UD |
1778 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
1779 | ||
1780 | [BZ #3306] | |
1781 | * math/math_private.h (math_opt_barrier, math_force_eval): Define. | |
1782 | * sysdeps/i386/fpu/math_private.h: New file. | |
1783 | * sysdeps/x86_64/fpu/math_private.h: New file. | |
1784 | * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and | |
1785 | math_force_eval macros. Use "+m" constraint on asm rather than | |
1786 | "=m" and "m". | |
1787 | * math/s_nextafter.c (__nextafter): Likewise. | |
1788 | * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): | |
1789 | Likewise. | |
1790 | * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. | |
1791 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. | |
1792 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
1793 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use | |
1794 | math_opt_barrier and math_force_eval macros. | |
1795 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. | |
1796 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. | |
1797 | * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. | |
1798 | (__nexttoward): Use math_opt_barrier and | |
1799 | math_force_eval macros. Use "+m" constraint on asm rather than | |
1800 | "=m" and "m". Only use asm to force double result if | |
1801 | FLT_EVAL_METHOD is 2. | |
1802 | * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. | |
1803 | (__nexttowardf): Use math_opt_barrier and | |
1804 | math_force_eval macros. Use "+m" constraint on asm rather than | |
1805 | "=m" and "m". Only use asm to force double result if | |
1806 | FLT_EVAL_METHOD is not 0. | |
1807 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. | |
1808 | (__nexttowardf): Use math_opt_barrier and | |
1809 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
1810 | x to float using asm. | |
1811 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. | |
1812 | (__nldbl_nexttowardf): Use math_opt_barrier and | |
1813 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
1814 | x to float using asm. | |
1815 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. | |
1816 | (__nexttowardf): Use math_opt_barrier and math_force_eval | |
1817 | macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. | |
1818 | * math/bug-nextafter.c (zero, inf): New variables. | |
1819 | (main): Add new tests. | |
1820 | * math/bug-nexttoward.c (zero, inf): New variables. | |
1821 | (main): Add new tests. | |
1822 | ||
a8c79c40 UD |
1823 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> |
1824 | ||
1825 | [BZ #3427] | |
1826 | * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all | |
1827 | exceptions both in SW and MXCSR. | |
1828 | * sysdeps/x86_64/fpu/feupdateenv.c: New file. | |
1829 | * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. | |
1830 | * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
1831 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
1832 | in MXCSR if SSE is available. | |
1833 | * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h | |
1834 | and ldsodefs.h. | |
1835 | (__feupdateenv): Query exceptions also from MXCSR if SSE is available. | |
1836 | Fix comment typo. | |
1837 | * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. | |
1838 | Return 0 rather than 1. | |
1839 | * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. | |
1840 | Remove incorrect part of a comment. Fix argument to feraiseexcept. | |
1841 | * math/test-fenv.c (feholdexcept_tests): New function. | |
1842 | (main): Call it. | |
1843 | ||
1844 | 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> | |
1845 | ||
1846 | [BZ #3427] | |
1847 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
1848 | in SW. | |
1849 | ||
30a3aa75 JJ |
1850 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
1851 | ||
1852 | [BZ #4344] | |
1853 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
1854 | Reported by David Anderson <davea42@earthlink.net>. | |
1855 | ||
75587bfe UD |
1856 | 2007-04-07 Ulrich Drepper <drepper@redhat.com> |
1857 | ||
1858 | * posix/sys/wait.h: Remove unnecessary forward declaration. | |
1859 | ||
88fa1769 JJ |
1860 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
1861 | ||
1862 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers | |
1863 | with obj->do_servers after first_shoot. | |
1864 | ||
eab1bdfb UD |
1865 | 2007-04-03 Ulrich Drepper <drepper@redhat.com> |
1866 | ||
1867 | * posix/Makefile (routines): Add sched_cpucount. | |
1868 | (tests): Add tst-cpucount. | |
1869 | * posix/sched_cpucount.c: New file. | |
1870 | * posix/tst-cpucount.c: New file. | |
1871 | * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. | |
b4afdd06 UD |
1872 | * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. |
1873 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
1874 | * posix/sched.h: Define CPU_COUNT. | |
eab1bdfb | 1875 | |
9700b039 UD |
1876 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
1877 | ||
1878 | * posix/fnmatch.c (STRUCT): Define. | |
1879 | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. | |
1880 | * posix/fnmatch_loop.c (struct STRUCT): New type. | |
1881 | (FCT): Add ends argument. If ends != NULL and normal * is | |
1882 | seen in the pattern, store current pattern and string pointers | |
1883 | and return. Adjust recursive calls. | |
1884 | (EXT): Adjust FCT callers. | |
1885 | (STRUCT): Undef at the end of the file. | |
1886 | * posix/Makefile (tests): Add tst-fnmatch2. | |
1887 | * posix/tst-fnmatch2.c: New test. | |
1888 | ||
d64e9790 JJ |
1889 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
1890 | ||
933dfe7b JJ |
1891 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success |
1892 | and 1 on failure. | |
1893 | ||
d64e9790 JJ |
1894 | * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): |
1895 | Change last argument to unsigned int. | |
1896 | ||
e1f0c5bc UD |
1897 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> |
1898 | ||
1899 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
1900 | ||
1901 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
1902 | ||
1903 | * config.h.in (HAVE_LIBCAP): Add. | |
1904 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
1905 | sys/capabilities.h. | |
1906 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
1907 | free_caps. Cast away const from 4th cap_set_flag argument. | |
1908 | ||
4e87573f UD |
1909 | 2007-03-26 Ulrich Drepper <drepper@redhat.com> |
1910 | ||
1911 | * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to | |
1912 | GLIBC_2.6. | |
1913 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
1914 | Add sync_file_range. | |
1915 | Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
1916 | ||
fa6e3bc3 UD |
1917 | 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> |
1918 | ||
1919 | * sysdeps/powerpc/bits/atomic.h | |
1920 | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. | |
1921 | [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. | |
1922 | (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1923 | (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. | |
1924 | (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1925 | (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. | |
1926 | * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: | |
1927 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
1928 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1929 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
1930 | * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: | |
1931 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
1932 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1933 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
1934 | (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1935 | (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. | |
1936 | (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1937 | (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. | |
1938 | (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
1939 | (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. | |
1940 | ||
1941 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> | |
c7693af7 UD |
1942 | |
1943 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c | |
1944 | (__cache_line_size): Define the variable here. Add | |
1945 | attribute_hidden, remove weak_extern. | |
1946 | (__libc_start_main): Set __cache_line_size | |
1947 | unconditionally. | |
1948 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | |
1949 | (__cache_line_size): Define the variable here. Add | |
1950 | attribute_hidden, remove weak_extern. | |
1951 | (DL_PLATFORM_AUXV): Set __cache_line_size | |
1952 | unconditionally. | |
1953 | * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove | |
1954 | weak_extern, add attribute_hidden. | |
1955 | (__elf_machine_runtime_setup): Assume __cache_line_size is always | |
1956 | defined in ld.so. | |
1957 | * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove | |
1958 | definition. | |
1959 | * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. | |
1960 | ||
0479e581 JJ |
1961 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
1962 | ||
1963 | [BZ #4276] | |
1964 | * timezone/africa: Update from tzdata2007d. | |
1965 | * timezone/asia: Likewise. | |
1966 | * timezone/australasia: Likewise. | |
1967 | * timezone/backward: Likewise. | |
1968 | * timezone/europe: Likewise. | |
1969 | * timezone/iso3166.tab: Likewise. | |
1970 | * timezone/leapseconds: Likewise. | |
1971 | * timezone/northamerica: Likewise. | |
1972 | * timezone/southamerica: Likewise. | |
1973 | * timezone/zone.tab: Likewise. | |
1974 | ||
1975 | * timezone/private.h: Update from tzcode2007d. | |
1976 | * timezone/zdump.c: Likewise. | |
1977 | * timezone/zic.c: Likewise. | |
1978 | ||
697d37b1 JJ |
1979 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
1980 | ||
1981 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. | |
1982 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
1983 | variables. | |
1984 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
1985 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
1986 | call __nisbind_create. | |
1987 | (__nisbind_create): Add server_used and current_ep arguments, | |
1988 | only call __nis_findfastest if server_used is ~0. | |
1989 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
1990 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
1991 | ckey_cache_euid, ckey_cache_lock): New variables. | |
1992 | (get_ckey): New function. | |
1993 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
1994 | __pmap_getnisport. Save __pmap_getnisport result in | |
1995 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
1996 | key. | |
1997 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
1998 | * nis/nis_table.c (nis_list): Likewise. | |
1999 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
2000 | prototypes. | |
2001 | ||
2002 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, | |
2003 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
2004 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
2005 | _nss_nisplus_getservbyport_r): Likewise. | |
2006 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
2007 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
2008 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
2009 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
2010 | _nss_nisplus_getntohost_r): Likewise. | |
2011 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
2012 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
2013 | ||
06029c20 JJ |
2014 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
2015 | ||
371f84a4 JJ |
2016 | * configure.in (libc_cv_gnu89_inline): Only do compile test. |
2017 | * configure: Rebuilt. | |
2018 | ||
06029c20 JJ |
2019 | * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac |
2020 | bit-fields. | |
2021 | * soft-fp/extended.h (_FP_UNION_E): Likewise. | |
2022 | ||
2023 | 2006-06-07 Joseph Myers <joseph@codesourcery.com> | |
2024 | ||
2025 | [BZ #2831] | |
2026 | * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac | |
2027 | bit-fields. | |
2028 | ||
addc8335 UD |
2029 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
2030 | ||
2031 | * nscd/gai.c: Include alloca.h. | |
2032 | (__libc_use_alloca): Define. | |
2033 | ||
b037a293 UD |
2034 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> |
2035 | ||
965cba04 UD |
2036 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different |
2037 | smaller scopes. | |
2038 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
2039 | (DL_DST_REQUIRED): Adjust user. | |
2040 | ||
2041 | * include/dlfcn.h (struct link_map): New forward decl. | |
2042 | ||
2043 | * inet/getnameinfo.c: Include stddef.h. | |
2044 | (getnameinfo): Use offsetof. | |
2045 | ||
2046 | * time/tst-mktime2.c (do_test): Don't rely on signed wrap. | |
2047 | ||
2048 | * stdio-common/vfprintf.c (_itoa): Undef before redefining. | |
2049 | ||
2050 | * string/strerror_l.c: Include stdlib.h. | |
2051 | ||
b037a293 UD |
2052 | * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. |
2053 | * config.make.in (gnu89-inline-CFLAGS): New variable. | |
2054 | * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with | |
2055 | -std=gnu99. | |
2056 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. | |
2057 | * argp/argp.h: Use it. | |
2058 | * bits/mathinline.h: Likewise. | |
2059 | * bits/sigset.h: Likewise. | |
2060 | * bits/string.h: Likewise. | |
2061 | * ctype/ctype.h: Likewise. | |
2062 | * hurd/hurd.h: Likewise. | |
2063 | * hurd/hurd/fd.h: Likewise. | |
2064 | * hurd/hurd/port.h: Likewise. | |
2065 | * hurd/hurd/signal.h: Likewise. | |
2066 | * hurd/hurd/threadvar.h: Likewise. | |
2067 | * hurd/hurd/userlink.h: Likewise. | |
2068 | * io/sys/stat.h: Likewise. | |
2069 | * libio/bits/stdio.h: Likewise. | |
2070 | * libio/bits/stdio2.h: Likewise. | |
2071 | * mach/lock-intern.h: Likewise. | |
2072 | * mach/mach/mig_support.h: Likewise. | |
2073 | * math/bits/cmathcalls.h: Likewise. | |
2074 | * posix/bits/unistd.h: Likewise. | |
2075 | * socket/bits/socket2.h: Likewise. | |
2076 | * stdlib/bits/stdlib.h: Likewise. | |
2077 | * stdlib/stdlib.h: Likewise. | |
2078 | * string/argz.h: Likewise. | |
2079 | * string/bits/string2.h: Likewise. | |
2080 | * string/bits/string3.h: Likewise. | |
2081 | * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. | |
2082 | * sysdeps/generic/inttypes.h: Likewise. | |
2083 | * sysdeps/generic/machine-lock.h: Likewise. | |
2084 | * sysdeps/generic/machine-sp.h: Likewise. | |
2085 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
2086 | * sysdeps/i386/i486/bits/string.h: Likewise. | |
2087 | * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. | |
2088 | * sysdeps/mach/alpha/machine-lock.h: Likewise. | |
2089 | * sysdeps/mach/alpha/machine-sp.h: Likewise. | |
2090 | * sysdeps/mach/i386/machine-lock.h: Likewise. | |
2091 | * sysdeps/mach/powerpc/machine-lock.h: Likewise. | |
2092 | * sysdeps/mach/powerpc/machine-sp.h: Likewise. | |
2093 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
2094 | * sysdeps/s390/bits/string.h: Likewise. | |
2095 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
2096 | * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. | |
2097 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
2098 | * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. | |
2099 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
2100 | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. | |
2101 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
2102 | * wcsmbs/bits/wchar2.h: Likewise. | |
2103 | * wcsmbs/wchar.h: Likewise. | |
2104 | * stdlib/gmp.h: Likewise. Include <features.h> to get | |
2105 | __extern_inline definition. | |
2106 | ||
6b2665f5 UD |
2107 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
2108 | ||
b037a293 UD |
2109 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is |
2110 | NULL. | |
2111 | ||
6b2665f5 UD |
2112 | [BZ #3919] |
2113 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
2114 | (log10_test, log1p_test, log2_test): Test -Inf. | |
2115 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
2116 | FE_INVALID when argument is qNaN. | |
2117 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
2118 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
2119 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
2120 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
2121 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
2122 | testb $4, %ah and jump if non-zero. | |
2123 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
2124 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
2125 | ||
44969f17 UD |
2126 | [BZ #4101] |
2127 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
2128 | ancestors with the same depths. | |
2129 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
2130 | (filter_doc): Don't crash if argp is NULL. | |
2131 | * argp/Makefile (tests): Add tst-argp2. | |
2132 | * argp/tst-argp2.c: New test. | |
2133 | ||
05eb8975 UD |
2134 | [BZ #4130] |
2135 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
2136 | open_not_cancel_2. | |
2137 | (updwtmp_file): Likewise. | |
2138 | ||
6cb988fa UD |
2139 | [BZ #4181] |
2140 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
2141 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
2142 | is NULL. | |
2143 | (inet6_opt_finish): Likewise. | |
2144 | * inet/Makefile (tests): Add test-inet6_opt. | |
2145 | * inet/test-inet6_opt.c: New test. | |
2146 | ||
2147 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never | |
2148 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
2149 | NLMSG_ERR. Instead use a page sized buffer. | |
2150 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
2151 | buffer. | |
2152 | ||
aea1d19e RH |
2153 | 2007-03-14 Richard Henderson <rth@redhat.com> |
2154 | ||
b6df547c RH |
2155 | * sysdeps/alpha/fpu/s_llround.c: New file. |
2156 | * sysdeps/alpha/fpu/s_llroundf.c: New file. | |
2157 | * sysdeps/alpha/fpu/s_lround.c: New file. | |
2158 | * sysdeps/alpha/fpu/s_lroundf.c: New file. | |
2159 | * sysdeps/alpha/fpu/s_round.c: New file. | |
2160 | * sysdeps/alpha/fpu/s_roundf.c: New file. | |
2161 | * sysdeps/alpha/fpu/s_trunc.c: New file. | |
2162 | * sysdeps/alpha/fpu/s_truncf.c: New file. | |
2163 | ||
aea1d19e RH |
2164 | * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. |
2165 | * sysdeps/alpha/fpu/s_ceilf.c: Likewise. | |
2166 | * sysdeps/alpha/fpu/s_floor.c: Likewise. | |
2167 | * sysdeps/alpha/fpu/s_floorf.c: Likewise. | |
2168 | * sysdeps/alpha/fpu/s_rint.c: Likewise. | |
2169 | * sysdeps/alpha/fpu/s_rintf.c: Likewise. | |
2170 | ||
2171 | * sysdeps/alpha/fpu/s_fmax.S: New file. | |
2172 | * sysdeps/alpha/fpu/s_fmaxf.S: New file. | |
2173 | * sysdeps/alpha/fpu/s_fmin.S: New file. | |
2174 | * sysdeps/alpha/fpu/s_fminf.S: New file. | |
2175 | * sysdeps/alpha/fpu/s_isnan.c: New file. | |
2176 | * sysdeps/alpha/fpu/s_isnanf.c: New file. | |
2177 | * sysdeps/alpha/fpu/s_llrint.c: New file. | |
2178 | * sysdeps/alpha/fpu/s_llrintf.c: New file. | |
2179 | * sysdeps/alpha/fpu/s_lrint.c: New file. | |
2180 | * sysdeps/alpha/fpu/s_lrintf.c: New file. | |
2181 | * sysdeps/alpha/fpu/s_nearbyint.c: New file. | |
2182 | * sysdeps/alpha/fpu/s_nearbyintf.c: New file. | |
2183 | ||
2184 | * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. | |
2185 | (__fdimf, fdimf, __fdim, fdim): Remove. | |
2186 | (__signbitf, __signbit, __signbitl): Use gcc builtin if available. | |
2187 | (__isnanf, __isnan, __isnanl): New. | |
2188 | ||
9e43b50d RH |
2189 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2190 | ||
2191 | * sysdeps/ieee754/ldbl-128/Makefile: New file. | |
2192 | ||
62789da3 RH |
2193 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2194 | ||
2195 | * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. | |
2196 | * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. | |
2197 | * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. | |
2198 | * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. | |
2199 | * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. | |
2200 | * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. | |
2201 | ||
47dbe62b RH |
2202 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2203 | ||
37f40235 | 2204 | * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. |
47dbe62b RH |
2205 | * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. |
2206 | * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. | |
2207 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): | |
2208 | Move to dl-auxv.h; initialize instead of extern weak. | |
2209 | (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef | |
2210 | weak symbol. | |
2211 | * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): | |
2212 | Extern instead of initialized. | |
2213 | ||
b8097bed RH |
2214 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2215 | ||
2216 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for | |
2217 | __sigsuspend_nocancel. | |
2218 | ||
6bf4a686 UD |
2219 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> |
2220 | ||
2221 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
2222 | 172.16/12 address range. | |
2223 | ||
0b3b1a0c UD |
2224 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
2225 | ||
2226 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with | |
2227 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
2228 | message. | |
2229 | ||
8f3edfee UD |
2230 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> |
2231 | ||
c1c5e654 | 2232 | [BZ #4069] |
8f3edfee UD |
2233 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN |
2234 | earlier. | |
2235 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
2236 | ||
2237 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
2238 | for x qNaN and y either +-inf or non-integer value. | |
2239 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
2240 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
2241 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
2242 | ||
245a1481 UD |
2243 | 2007-02-10 Mike Frysinger <vapier@gentoo.org> |
2244 | ||
2245 | * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h | |
2246 | from sysdep_headers. | |
2247 | ||
c217692b UD |
2248 | 2007-02-28 Jakub Jelinek <jakub@redhat.com> |
2249 | ||
2250 | * time/tzfile.c (find_transition): Instead of a linear search try to | |
2251 | guess the transition index, use a linear search if the result is at | |
2252 | most 10 transitions away from the guess or binary search otherwise. | |
2253 | ||
fe64626c JJ |
2254 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
2255 | ||
2256 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix | |
2257 | memory reallocation. | |
2258 | ||
0f7769f7 UD |
2259 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
2260 | ||
621c133d UD |
2261 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions |
2262 | and fix some typos. | |
2263 | Optimize use of TOLOWER. | |
9cf147d8 | 2264 | |
cdfd61e1 UD |
2265 | [BZ #3325] |
2266 | * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. | |
2267 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
2268 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
2269 | ||
8889e7aa UD |
2270 | [BZ #3458] |
2271 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
2272 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
2273 | ||
63a2f305 UD |
2274 | [BZ #4076] |
2275 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
2276 | (open_dir_stream): Likewise. | |
2277 | * io/Makefile (tests): Add bug-ftw5. | |
c536b9b8 | 2278 | * io/bug-ftw5.c: New file. |
63a2f305 | 2279 | |
c8703f88 UD |
2280 | * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. |
2281 | * nscd/servicescache.c (cache_addserv): Likewise. | |
2282 | ||
2283 | * nscd/grpcache.c (cache_addgr): In case a record changed on | |
2284 | refresh, adjust key_copy. | |
2285 | ||
61705e06 UD |
2286 | [BZ #4074] |
2287 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
2288 | refresh, adjust key_copy. | |
2289 | ||
0f7769f7 UD |
2290 | [BZ #4070] |
2291 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
0f7769f7 | 2292 | special cases. |
8889e7aa | 2293 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. |
0f7769f7 | 2294 | |
3979024a UD |
2295 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
2296 | ||
4c02bf1a UD |
2297 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
2298 | optimization. | |
2299 | ||
3979024a UD |
2300 | * stdio-common/vfscanf.c: Small cleanups throughout. |
2301 | ||
821d3e70 UD |
2302 | 2007-02-18 Ulrich Drepper <drepper@redhat.com> |
2303 | ||
2484468b UD |
2304 | [BZ #3325] |
2305 | * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. | |
2306 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
2307 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
2308 | Patch by Jared Casper <jaredcasper@gmail.com>. | |
2309 | ||
858ee15d UD |
2310 | * sysdeps/unix/closedir.c: Outside libc don't use locking. |
2311 | * sysdeps/unix/opendir.c: Likewise. | |
2312 | * sysdeps/unix/readdir.c: Likewise. | |
2313 | ||
ecb72bd5 UD |
2314 | [BZ #2211] |
2315 | * stdio-common/vfscanf.c: Handle localized digits etc for floating | |
2316 | point numbers. | |
2317 | Patch mostly by Hamed Malek <hamed@farsiweb.info>. | |
2318 | ||
ac2ca022 UD |
2319 | * stdio-common/vfscanf.c: Fix problems in width accounting. |
2320 | * stdio-common/tst-sscanf.c (double_tests): New tests. | |
2321 | (main): Hook them up. | |
2322 | ||
e9bb5246 | 2323 | * stdio-common/vfscanf.c: Remove unused WIDTH handling. |
da50f001 | 2324 | More simplifications of floating-point reader. |
e9bb5246 | 2325 | |
821d3e70 UD |
2326 | * stdio-common/Makefile (tests): Add tst-swscanf. |
2327 | * stdio-common/tst-sscanf.c: Make tests usable for swscanf | |
2328 | testing. | |
2329 | * stdio-common/tst-swscanf.c: New file. | |
2330 | ||
07fb5185 UD |
2331 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
2332 | ||
9138cc0b UD |
2333 | [BZ #2633] |
2334 | * libio/stdio.h: Define struct _IO_FILE in global namespace. | |
2335 | * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. | |
2336 | Remove using for __jmp_buf_tag. | |
2337 | * locale/locale.h (struct lconv): Also define in std namespace. | |
2338 | * wcsmbs/wchar.h: Move using declaration for tm out of namespace. | |
2339 | ||
6818d837 UD |
2340 | [BZ #3842] |
2341 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
2342 | using __libc_enable_secure. | |
2343 | ||
15c4b5a4 UD |
2344 | [BZ #3818] |
2345 | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. | |
2346 | ||
5e9e9c14 UD |
2347 | [BZ #3745] |
2348 | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation | |
2349 | of names for ellipsises. | |
2350 | ||
07fb5185 UD |
2351 | [BZ #3348] |
2352 | * malloc/memusage.sh: Cleanups. | |
2353 | * debug/xtrace.sh: Quoting and trap changes. | |
2354 | ||
8c6d1043 UD |
2355 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
2356 | ||
07fb5185 UD |
2357 | * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. |
2358 | ||
93e66914 | 2359 | * locale/iso-3166.def: Update entry for Serbia. |
93e36434 UD |
2360 | * locale/iso-4217.def: Define RSD, remove CSD. |
2361 | ||
ad0b348c UD |
2362 | * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- |
2363 | and 64-bit operations. | |
2364 | ||
2365 | [BZ #4040] | |
2366 | * sysdeps/i386/i486/bits/atomic.h: One more change, this time for | |
2367 | 16-bit operations. | |
2368 | ||
8c6d1043 UD |
2369 | * nscd/nscd.c (parse_opt): One more conversion to use send instead |
2370 | of writev. | |
2371 | ||
987f54c6 UD |
2372 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
2373 | ||
b3715c05 UD |
2374 | [BZ #3991] |
2375 | * assert/assert.h (assert): Simplify. | |
2376 | (assert_perror): Likewise. | |
2377 | Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. | |
2378 | ||
6eea8e0d UD |
2379 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
2380 | reqdata. | |
2381 | ||
987f54c6 UD |
2382 | * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic |
2383 | change: don't pass NULL in place of an integer. | |
2384 | ||
3dc08a7e UD |
2385 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
2386 | ||
06c17c78 UD |
2387 | [BZ #3954] |
2388 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
2389 | Add mapping for U+327E. | |
2390 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
2391 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
2392 | mapping of 0xD9 0xE8. | |
2393 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
2394 | mapping of U+327E. | |
2395 | Reported by Jungshik Shin <jungshik@google.com>. | |
2396 | ||
2397 | [BZ #3955] | |
3dc08a7e UD |
2398 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable |
2399 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
2400 | Reported by Jungshik Shin <jungshik@google.com>. | |
2401 | ||
a810e68c UD |
2402 | 2007-02-14 Ulrich Drepper <drepper@redhat.com> |
2403 | ||
2404 | * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some | |
2405 | byte variants. | |
2406 | ||
2407 | [BZ #4040] | |
2408 | * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some | |
2409 | byte variants. Patch mostly be tom@tommay.net. | |
2410 | ||
05f135ba UD |
2411 | 2007-02-14 Jakub Jelinek <jakub@redhat.com> |
2412 | ||
2413 | [BZ #3996] | |
2414 | * posix/glob.c (attribute_hidden): Define if not defined. | |
2415 | (glob): Unescape dirname, filename or username when needed and not | |
2416 | GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename | |
2417 | is NULL. Handle unescaped [ in pattern without closing ]. | |
2418 | Don't pass GLOB_CHECK down to recursive glob for directories. | |
2419 | (__glob_pattern_type): New function. | |
2420 | (__glob_pattern_p): Implement using __glob_pattern_type. | |
2421 | (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta | |
2422 | characters and backslashes if not GLOB_NOESCAPE or unterminated [. | |
2423 | Remove unreachable code. | |
2424 | * posix/globtest.sh: Add a couple of new tests. | |
2425 | ||
2f699967 UD |
2426 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
2427 | ||
2428 | * po/ru.po: Update from translation team. | |
2429 | ||
3a7cd5b4 JJ |
2430 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
2431 | ||
2432 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ | |
2433 | to the list of i486+ CPUs. | |
2434 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
2435 | ||
2f978feb UD |
2436 | 2007-02-12 Ulrich Drepper <drepper@redhat.com> |
2437 | ||
2438 | * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. | |
2439 | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined | |
2440 | references. | |
2441 | ||
2bbb7d5b UD |
2442 | 2007-02-09 Ulrich Drepper <drepper@redhat.com> |
2443 | ||
5ed61e0f UD |
2444 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. |
2445 | ||
2bbb7d5b UD |
2446 | * resolv/res_init.c (res_setoptions): Recognize edns0 option. |
2447 | * resolv/res_mkquery.c: Define __res_nopt. | |
2448 | * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set | |
2449 | try adding EDNS0 record. | |
2450 | * resolv/res_send.c (send_dg): If request failed with FORMERR and | |
2451 | EDNS0 record was send make sure we don't try it again. | |
2452 | * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. | |
2453 | * include/resolv.h: Declare __res_nopt. | |
2454 | ||
00458b5b UD |
2455 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
2456 | ||
2457 | [BZ #3944] | |
2458 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
2459 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
2460 | have been computed from tm_yday and tm_year. Don't crash | |
2461 | in day_of_the_week or day_of_the_year if not have_mon | |
2462 | and tm_mon contains bogus value. | |
2463 | * time/Makefile (tests): Add tst-strptime3. | |
2464 | * time/tst-strptime3.c: New test. | |
2465 | ||
784aacea UD |
2466 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
2467 | ||
2468 | [BZ #3957] | |
2469 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
2470 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
2471 | (build_charclass_op): Remove bogus comment. | |
2472 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
2473 | * posix/bug-regex27.c: New test. | |
2474 | * posix/bug-regex28.c: New test. | |
2475 | ||
bf7a2463 UD |
2476 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
2477 | ||
2478 | * po/sv.po: Update from translation team. | |
2479 | ||
f2ccf983 UD |
2480 | 2007-02-02 Ulrich Drepper <drepper@redhat.com> |
2481 | ||
2482 | * nscd/nscd_helper.c (open_socket): Minor size optimization. | |
2483 | ||
73f50d5a UD |
2484 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
2485 | ||
2486 | * include/locale.h (__uselocale): Add libc_hidden_proto. | |
2487 | * locale/uselocale.c (__uselocale): Add libc_hidden_def. | |
2488 | ||
f6bf9e59 JJ |
2489 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of |
2490 | gettimeofday. | |
2491 | ||
4a44ce79 UD |
2492 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
2493 | ||
2494 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
2495 | returning. | |
2496 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
2497 | PRT_MANGLE anymore. | |
2498 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
2499 | ||
2500 | * string/strerror_l.c: New file. | |
2501 | * string/Makefile (routines): Add strerror_l. | |
2502 | * string/string.h: Declare strerror_l. | |
2503 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
2504 | ||
58a2d52e UD |
2505 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
2506 | ||
2507 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
2508 | as parameter. Construct request record. Try sending request | |
2509 | before the first poll use, it usually succeeds. Adjust all | |
2510 | callers. | |
2511 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 2512 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 2513 | |
1a77d37f JJ |
2514 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
2515 | ||
2516 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
2517 | from return value. | |
2518 | * nscd/nscd_helper.c: Include string.h. | |
2519 | (__nscd_cache_search): Remove const qualifier from return value. | |
2520 | On strict alignment architectures check hash entry and data head | |
2521 | alignment. | |
2522 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
2523 | mmapped data during GC cycle contains garbage. If | |
2524 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
2525 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
2526 | dropped to 0. | |
2527 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
2528 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
2529 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
2530 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
2531 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
2532 | ||
ee314200 UD |
2533 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
2534 | ||
2535 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
2536 | ||
14c8bf3b UD |
2537 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
2538 | ||
2539 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
2540 | names not numbers in cfi_*. | |
2541 | ||
d2708e67 AJ |
2542 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
2543 | ||
2544 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 2545 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
2546 | Correct values of PER_HPUX and PER_OSF4. |
2547 | ||
7fbc8784 UD |
2548 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
2549 | ||
8aaf53ee | 2550 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
2551 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
2552 | * malloc/mtrace.c: Revert last change. | |
2553 | * posix/wordexp.c: Likewise. | |
2554 | ||
9d6cde3d UD |
2555 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
2556 | ||
2557 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
2558 | and __geode__ to the list of i486+ CPUs. | |
2559 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
2560 | ||
c1f0486a UD |
2561 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
2562 | ||
2563 | * stdio-common/_itoa.c: Include <limits.h>. | |
2564 | * stdio-common/_itowa.c: Likewise. | |
2565 | ||
6cae3957 UD |
2566 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
2567 | ||
765bbb24 UD |
2568 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
2569 | platforms. | |
2570 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
2571 | 64-bit platforms. | |
2572 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
2573 | possible. | |
2574 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
2575 | if possible. | |
2576 | ||
6cae3957 UD |
2577 | [BZ #3902] |
2578 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
2579 | * stdio-common/Makefile (tests): Add bug17. | |
2580 | * stdio-common/bug17.c: New file. | |
2581 | ||
ddaafd04 UD |
2582 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
2583 | ||
2584 | * iconvdata/brf.c: New file. | |
439201de UD |
2585 | * iconvdata/testdata/BRF: New file. |
2586 | * iconvdata/testdata/BRF..UTF8: New file. | |
2587 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
2588 | * iconvdata/Makefile: Add rules to build BRF. |
2589 | * iconvdata/TESTS: Add BRF entry. | |
2590 | * iconvdata/gconv-modules: Likewise. | |
2591 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 2592 | |
9e6e344e UD |
2593 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
2594 | ||
2595 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
2596 | type `long long int', not `long int'. | |
2597 | (wcstoq): Likewise. | |
2598 | ||
299f7b0f UD |
2599 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
2600 | ||
2601 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
2602 | of values on 64-bit platforms which are too large. | |
2603 | ||
cd8127cc JJ |
2604 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
2605 | Joe Kerian <jkerian@us.us.ibm.com> | |
2606 | ||
2607 | [BZ #2749] | |
2608 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
2609 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
2610 | (__copysignl): Use signbit() for comparison. | |
2611 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
2612 | SET_LDOUBLE_WORDS64. | |
2613 | ||
2614 | [BZ #2423, #2749] | |
2615 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
2616 | (__ceill): Remove calls to fegetround(), fesetround(). | |
2617 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
2618 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
2619 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
2620 | ||
b3acfdf7 JJ |
2621 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
2622 | ||
4a2e03c6 JJ |
2623 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
2624 | ||
b3acfdf7 JJ |
2625 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
2626 | ||
1476bce6 UD |
2627 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
2628 | ||
2629 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
2630 | demangle pointer. | |
2631 | * csu/libc-start.c: Likewise. | |
2632 | ||
d78bce1c UD |
2633 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
2634 | ||
2635 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
2636 | really work anyway. | |
2637 | ||
1bd79025 UD |
2638 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
2639 | ||
000b027e UD |
2640 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
2641 | users. | |
2642 | (handle_request): Remove unnecessary tests. | |
2643 | ||
1bd79025 UD |
2644 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
2645 | ||
d68f5d2c JJ |
2646 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
2647 | ||
2648 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
2649 | workbits in semi-raw fraction. | |
2650 | ||
2651 | * math/test-misc.c: Add new tests. | |
2652 | ||
2653 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
2654 | ||
2655 | * math/basic-test.c: Include test-skeleton.c. | |
2656 | (TEST_TRUNC): Define. | |
2657 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
2658 | (main): Rename to ... | |
2659 | (do_test): ...this. Run new tests. | |
2660 | (TEST_FUNCTION): Define. | |
2661 | ||
2662 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
2663 | Joe Kerian <jkerian@us.us.ibm.com> | |
2664 | ||
2665 | [BZ #2749] | |
2666 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
2667 | handling for high words. | |
2668 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
2669 | and overflow for infinity. | |
2670 | ||
4e35ef2c UD |
2671 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
2672 | ||
2a1dea97 UD |
2673 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
2674 | ||
9691d83c UD |
2675 | * nscd/connections.c (serv2db): Change type into structure which |
2676 | also says whether this is a request for data. Renamed to | |
2677 | servinfo. All users changed. | |
2678 | (handle_request): Much simpler test whether we should search the cache. | |
2679 | ||
49ee6d79 UD |
2680 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
2681 | invocation. | |
2682 | ||
4e35ef2c UD |
2683 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
2684 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
2685 | it before getting dl_load_lock and then relock. | |
2686 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
2687 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
2688 | case we unlocked the scope. | |
2689 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
2690 | _dl_lookup_symbol_x in case we locked the scope. | |
2691 | (_dl_profile_fixup): Likewise. | |
2692 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
2693 | set DL_LOOKUP_SCOPE_LOCK. | |
2694 | ||
23691ab2 UD |
2695 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
2696 | ||
fb453d08 UD |
2697 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
2698 | CFLAGS-getsrvbynpt_r.c. | |
2699 | * nscd/getsrvbynm_r.c: New file. | |
2700 | * nscd/getsrvbypt_r.c: New file. | |
2701 | * nscd/nscd_getserv_r.c: New file. | |
2702 | * nscd/servicescache.c: New file. | |
2703 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
2704 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
2705 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
2706 | CFLAGS-getsrvbypt_r.c. | |
2707 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
2708 | table. Add entries for services database. | |
2709 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
2710 | services database. | |
2711 | (dbs): Add .reset_res and servdb initialization. | |
2712 | (serv2db): Add entries for services database. | |
2713 | (verify_persistent_db): Accept dbnr == servdb. | |
2714 | (invalidate_cache): Rewrite database name recognition to use a table. | |
2715 | Call res_init() if .reset_res is set for database. | |
2716 | (handle_request): Add code to handle services database. | |
2717 | * nscd/gai.c: Don't define __getservbyname_r. | |
2718 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
2719 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
2720 | (serv_response_header): Define. | |
2721 | (struct datahead): Add serv_response_header member. | |
2722 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
2723 | using table. | |
2724 | * nscd/nscd.conf: Add entries for services database. | |
2725 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
2726 | Declare serv_iov_disabled. | |
2727 | Declare addservbyname, readdservbyname, addservbyport, and | |
2728 | readdservbyport. | |
2729 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
2730 | (find_db): Fix error message. | |
2731 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
2732 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
2733 | * nscd/selinux.c (perms): Add entries for services database. | |
2734 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
2735 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
2736 | ||
2737 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
2738 | * nscd/hstcache.c: Likewise. | |
2739 | * nscd/pwdcache.c: Likewise. | |
2740 | ||
b21fa963 UD |
2741 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
2742 | computation of keylen. | |
2743 | ||
23691ab2 UD |
2744 | * include/string.h: Only redefine strndupa if this is really for |
2745 | libc code. | |
2746 | ||
8980796b UD |
2747 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
2748 | ||
4a4a65f2 UD |
2749 | * nscd/nscd_gethst_r.c: Minor cleanups. |
2750 | ||
43397eaf UD |
2751 | * nscd/connections.c (handle_request): Check selinux permissions |
2752 | for all non-admin commands. | |
2753 | ||
038a1a9f UD |
2754 | * sysdeps/i386/i486/bits/atomic.h: Define |
2755 | atomic_compare_and_exchange_val_acq, | |
2756 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
2757 | using __sync_* built-ins for gcc >= 4.1. | |
2758 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2759 | ||
8980796b UD |
2760 | [BZ #3840] |
2761 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
2762 | and .oS.d files. | |
2763 | ||
32c075e1 JJ |
2764 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
2765 | ||
2766 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
2767 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
2768 | (do_test): Check errno and exit(0) if ENOSYS. | |
2769 | ||
2770 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
2771 | ||
2772 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
2773 | thousands separators. | |
2774 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
2775 | * stdlib/tst-strtod4.c: New test. | |
2776 | ||
2777 | [BZ #3855] | |
2778 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
2779 | hexadecimal digit should accept just the initial 0. | |
2780 | * stdlib/tst-strtod2.c (tests): New variable. | |
2781 | (do_test): Run several tests rather than just one. | |
2782 | ||
11bf311e | 2783 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 2784 | |
11bf311e UD |
2785 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
2786 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 2787 | |
11bf311e | 2788 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 2789 | |
11bf311e UD |
2790 | * io/fts.c: Make sure fts_cur is always valid after return from |
2791 | fts_read. | |
2792 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 2793 | |
11bf311e | 2794 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 2795 | |
11bf311e UD |
2796 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
2797 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 2798 | |
11bf311e | 2799 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 2800 | |
11bf311e UD |
2801 | * posix/execvp.c: Include alloca.h. |
2802 | (allocate_scripts_argv): Renamed to... | |
2803 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
2804 | arguments. | |
2805 | (execvp): Use alloca if possible. | |
2806 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
2807 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
2808 | |
2809 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
2810 | ||
2811 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 2812 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 2813 | |
11bf311e | 2814 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 2815 | |
11bf311e UD |
2816 | * posix/getconf.c: Update copyright year. |
2817 | * nss/getent.c: Likewise. | |
2818 | * iconv/iconvconfig.c: Likewise. | |
2819 | * iconv/iconv_prog.c: Likewise. | |
2820 | * elf/ldconfig.c: Likewise. | |
2821 | * catgets/gencat.c: Likewise. | |
2822 | * csu/version.c: Likewise. | |
2823 | * elf/ldd.bash.in: Likewise. | |
2824 | * elf/sprof.c (print_version): Likewise. | |
2825 | * locale/programs/locale.c: Likewise. | |
2826 | * locale/programs/localedef.c: Likewise. | |
2827 | * nscd/nscd.c (print_version): Likewise. | |
2828 | * debug/xtrace.sh: Likewise. | |
2829 | * malloc/memusage.sh: Likewise. | |
2830 | * malloc/mtrace.pl: Likewise. | |
2831 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 2832 | |
11bf311e | 2833 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 2834 | |
11bf311e UD |
2835 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
2836 | attempts. | |
48576885 | 2837 | |
11bf311e | 2838 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 2839 | |
11bf311e | 2840 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 2841 | |
33c6de58 UD |
2842 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
2843 | ||
2844 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
2845 | blacklist the group till after we look it up. | |
2846 | ||
fc242bef UD |
2847 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
2848 | ||
2849 | * include/atomic.h (atomic_forced_read): New macro. | |
2850 | ||
11bf311e UD |
2851 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
2852 | ||
2853 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
2854 | ||
a12dcecc UD |
2855 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
2856 | ||
11bf311e UD |
2857 | * nss/getXXbyYY_r.c: Include atomic.h. |
2858 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
2859 | add atomic_write_barrier () in between. | |
2860 | ||
a12dcecc UD |
2861 | * stdlib/Makefile (tests): Add tst-makecontext. |
2862 | * stdlib/tst-makecontext.c: New test. | |
2863 | ||
2864 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
2865 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
2866 | ||
11bf311e | 2867 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 2868 | |
11bf311e UD |
2869 | * elf/dl-support.c: Include dl-procinfo.h. |
2870 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
2871 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
2872 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
2873 | Define. | |
2874 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
2875 | hardcoded constants. | |
2876 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
2877 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 2878 | |
11bf311e | 2879 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 2880 | |
11bf311e UD |
2881 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
2882 | names to the beginning. | |
2883 | (_dl_powerpc_platforms): Add "power6x". | |
2884 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
2885 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
2886 | (_DL_PLATFORMS_COUNT): Increase. | |
2887 | (_dl_string_platform): Handle power6x case. | |
2888 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
2889 | PPC_FEATURE_POWER6_EXT): Define. | |
2890 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 2891 | |
5bcba0ed UD |
2892 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
2893 | ||
2894 | [BZ #3747] | |
2895 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 2896 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
2897 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
2898 | targets. | |
2899 | * stdlib/tst-rand48-2.c: New test. | |
2900 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
2901 | ||
9e1444fc UD |
2902 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
2903 | ||
2904 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
2905 | ||
36775704 UD |
2906 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
2907 | ||
2908 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
2909 | terminating when the test is aborted. | |
2910 | ||
1e88bd0f UD |
2911 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
2912 | ||
11bf311e UD |
2913 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
2914 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
2915 | Handle relatime mount option. | |
2916 | ||
1e88bd0f UD |
2917 | [BZ #2337] |
2918 | * libio/Makefile (tests): Add tst-setvbuf1. | |
2919 | * libio/tst-setvbuf1.c: New file. | |
2920 | ||
2921 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
2922 | ||
2923 | [BZ #2337] | |
2924 | * libio/genops.c (__uflow): Fix a typo. | |
2925 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
2926 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
2927 | the narrow buffer size. | |
2928 | ||
2929 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
2930 | ||
2931 | [BZ #2337] | |
2932 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
2933 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
2934 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
2935 | in _flags. | |
2936 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
2937 | _IO_wstr_finish): Likewise. | |
2938 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
2939 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
2940 | even for wide streams. | |
2941 | ||
11bf311e | 2942 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 2943 | |
11bf311e UD |
2944 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
2945 | kernel-features.h. | |
2946 | ||
2947 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
2948 | ||
2949 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
2950 | separators also if no non-zero digits found. | |
2951 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 2952 | |
d117c1ce UD |
2953 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
2954 | ||
f85fb97b UD |
2955 | [BZ #3632] |
2956 | * include/features.h: Fix comment about default value for | |
2957 | _POSIX_C_SOURCE. | |
2958 | ||
11bf311e UD |
2959 | [BZ #3664] |
2960 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
2961 | empty parsed strings. | |
2962 | * stdlib/Makefile (tests): Add tst-strtod2. | |
2963 | * stdlib/tst-strtod2.c: New file. | |
2964 | ||
2965 | [BZ #3673] | |
2966 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
2967 | computation. | |
2968 | * stdlib/Makefile (tests): Add tst-atof2. | |
2969 | * stdlib/tst-atof2.c: New file. | |
2970 | ||
2971 | [BZ #3674] | |
2972 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
2973 | correctly if removing trailing zero of hex-float. | |
2974 | * stdlib/Makefile (tests): Add tst-atof1. | |
2975 | * stdlib/tst-atof1.c: New file. | |
2976 | ||
a822d9f4 UD |
2977 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
2978 | ||
11bf311e UD |
2979 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
2980 | Start searching for next comma at p rather than rest. | |
2981 | * misc/Makefile (tests): Add tst-mntent2. | |
2982 | * misc/tst-mntent2.c: New test. | |
2983 | ||
a822d9f4 UD |
2984 | * misc/getusershell.c (initshells): Check for integer overflows. |
2985 | Make strings buffer one bigger as fgets always succeeds when second | |
2986 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 2987 | / as shell. |
f0d5e1f6 | 2988 | |
11bf311e | 2989 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 2990 | |
11bf311e UD |
2991 | * malloc/memusage.c: Handle realloc with new size of zero and |
2992 | non-NULL pointer correctly. | |
2993 | (me): Really write first record twice. | |
2994 | (struct entry): Make format bi-arch safe. | |
2995 | (dest): Write out more realloc statistics. | |
2996 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 2997 | |
11bf311e | 2998 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 2999 | |
11bf311e | 3000 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 3001 | |
f0d5e1f6 UD |
3002 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
3003 | ||
3004 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
3005 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
3006 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
3007 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
3008 | ENOTTY. | |
3009 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
3010 | * io/tst-ttyname_r.c: New test. | |
3011 | ||
11bf311e | 3012 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 3013 | |
11bf311e | 3014 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 3015 | |
11bf311e | 3016 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 3017 | |
11bf311e UD |
3018 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
3019 | jump table entries. | |
3020 | ||
3021 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3022 | ||
3023 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
3024 | `clone' function to ensure proper unwinding stop of gdb. | |
3025 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
3026 | ||
3027 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
3028 | ||
3029 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
3030 | handling. | |
3031 | ||
3032 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
3033 | ||
3034 | [BZ #3514] | |
3035 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
3036 | ||
3037 | [BZ #3515] | |
3038 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
3039 | ||
3040 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3041 | ||
3042 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
3043 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
3044 | ||
3045 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
3046 | ||
3047 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
3048 | succeeded. | |
3049 | ||
3050 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
3051 | Jakub Jelinek <jakub@redhat.com> | |
3052 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3053 | ||
3054 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
3055 | unwind information. | |
3056 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
3057 | 'restore_rt' even in the 'signal' directory. | |
3058 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 3059 | |
b1a758f3 UD |
3060 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
3061 | ||
3062 | [BZ #3559] | |
3063 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
3064 | malloc crashed. Don't allocate memory unnecessarily in each |
3065 | loop. | |
b1a758f3 | 3066 | |
11bf311e | 3067 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 3068 | |
11bf311e | 3069 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 3070 | |
11bf311e | 3071 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 3072 | |
11bf311e | 3073 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 3074 | |
11bf311e | 3075 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 3076 | |
11bf311e UD |
3077 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
3078 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 3079 | |
11bf311e | 3080 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 3081 | |
11bf311e UD |
3082 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
3083 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 3084 | |
11bf311e | 3085 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 3086 | |
11bf311e UD |
3087 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
3088 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
3089 | (signmask): Add .size directive. | |
3090 | (othermask): Add .type directive. | |
bef8927a | 3091 | |
11bf311e | 3092 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 3093 | |
11bf311e | 3094 | * po/nl.po: Update from translation team. |
854d1124 | 3095 | |
11bf311e | 3096 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 3097 | |
11bf311e | 3098 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 3099 | |
11bf311e UD |
3100 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
3101 | to first_unused after parsing :include: file. | |
5c2af134 | 3102 | |
32c075e1 | 3103 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 3104 | |
11bf311e UD |
3105 | * timezone/africa: Update from tzdata2006o. |
3106 | * timezone/antarctica: Likewise. | |
3107 | * timezone/asia: Likewise. | |
3108 | * timezone/australasia: Likewise. | |
3109 | * timezone/backward: Likewise. | |
3110 | * timezone/europe: Likewise. | |
3111 | * timezone/iso3166.tab: Likewise. | |
3112 | * timezone/northamerica: Likewise. | |
3113 | * timezone/southamerica: Likewise. | |
3114 | * timezone/zone.tab: Likewise. | |
3115 | ||
3116 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
3117 | on machines with 64-bit time_t. | |
3118 | ||
3119 | * timezone/checktab.awk: Update from tzcode2006o. | |
3120 | * timezone/ialloc.c: Likewise. | |
3121 | * timezone/private.h: Likewise. | |
3122 | * timezone/scheck.c: Likewise. | |
3123 | * timezone/tzfile.h: Likewise. | |
3124 | * timezone/tzselect.ksh: Likewise. | |
3125 | * timezone/zdump.c: Likewise. | |
3126 | * timezone/zic.c: Likewise. | |
3127 | ||
3128 | [BZ #3483] | |
3129 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
3130 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
3131 | ||
3132 | [BZ #3480] | |
3133 | * manual/argp.texi: Fix typos. | |
3134 | * manual/charset.texi: Likewise. | |
3135 | * manual/errno.texi: Likewise. | |
3136 | * manual/filesys.texi: Likewise. | |
3137 | * manual/lang.texi: Likewise. | |
3138 | * manual/maint.texi: Likewise. | |
3139 | * manual/memory.texi: Likewise. | |
3140 | * manual/message.texi: Likewise. | |
3141 | * manual/resource.texi: Likewise. | |
3142 | * manual/search.texi: Likewise. | |
3143 | * manual/signal.texi: Likewise. | |
3144 | * manual/startup.texi: Likewise. | |
3145 | * manual/stdio.texi: Likewise. | |
3146 | * manual/sysinfo.texi: Likewise. | |
3147 | * manual/syslog.texi: Likewise. | |
3148 | * manual/time.texi: Likewise. | |
3149 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
3150 | ||
3151 | [BZ #3465] | |
3152 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
3153 | * sunrpc/pm_getmaps.c: Likewise. | |
3154 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
3155 | * nis/nis_print_group_entry.c: Likewise. | |
3156 | * locale/programs/repertoire.c: Likewise. | |
3157 | * locale/programs/charmap.c: Likewise. | |
3158 | * malloc/memusage.sh: Likewise. | |
3159 | * elf/dl-deps.c: Likewise. | |
3160 | * locale/programs/ld-collate.c: Likewise. | |
3161 | * libio/vswprintf.c: Likewise. | |
3162 | * malloc/memusagestat.c: Likewise. | |
3163 | * sunrpc/auth_unix.c: Likewise. | |
3164 | * sunrpc/rpc_main.c: Likewise. | |
3165 | * nscd/cache.c: Likewise. | |
3166 | * locale/programs/repertoire.c: Unify output messages. | |
3167 | * locale/programs/charmap.c: Likewise. | |
3168 | * locale/programs/ld-ctype.c: Likewise. | |
3169 | * locale/programs/ld-monetary.c: Likewise. | |
3170 | * locale/programs/ld-numeric.c: Likewise. | |
3171 | * locale/programs/ld-time.c: Likewise. | |
3172 | * elf/ldconfig.c: Likewise. | |
3173 | * nscd/selinux.c: Likewise. | |
3174 | * elf/cache.c: Likewise. | |
3175 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
3176 | ||
5c2af134 UD |
3177 | [BZ #3451] |
3178 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
3179 | change atomic. | |
3180 | (ceil): Likewise. | |
3181 | ||
11bf311e UD |
3182 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
3183 | ||
3184 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
3185 | if N is one bigger than return value. | |
3186 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
3187 | and l1 last arguments, if buf is defined, verify the return value | |
3188 | equals to strlen (buf) and verify no byte beyond passed length | |
3189 | is modified. | |
3190 | ||
3191 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
3192 | ||
3193 | * po/sv.po: Update from translation team. | |
3194 | ||
37afcf79 UD |
3195 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
3196 | ||
3197 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
3198 | noinline attribute. | |
3199 | ||
3200 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
3201 | ||
3202 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
3203 | noinline attribute. | |
3204 | ||
11bf311e UD |
3205 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
3206 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
3207 | second macro argument. | |
3208 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
3209 | strong_alias. | |
2692deea | 3210 | |
11bf311e UD |
3211 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
3212 | ||
3213 | [BZ #3493] | |
3214 | * posix/unistd.h (sysconf): Remove const attribute. | |
3215 | ||
3216 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
3217 | temporary or deprecated addresses. | |
3218 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
3219 | ||
3220 | * string/Makefile (tests): Add tst-strxfrm2. | |
3221 | * string/tst-strxfrm2.c: New file. | |
3222 | ||
3223 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
3224 | ||
3225 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
3226 | rather than r->r_brk. | |
2692deea UD |
3227 | |
3228 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
3229 | ||
11bf311e UD |
3230 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
3231 | optimization even if needed > n. | |
3232 | ||
2692deea UD |
3233 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
3234 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
3235 | return false, otherwise return true. | |
3236 | (cache_rpath): Return decompose_rpath return value. | |
3237 | ||
11bf311e UD |
3238 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
3239 | ||
3240 | * include/libc-symbols.h (declare_symbol): Rename to... | |
3241 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
3242 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
3243 | .size directive. | |
3244 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
3245 | changes. | |
3246 | * sysdeps/gnu/siglist.c: Likewise. | |
3247 | ||
3248 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
3249 | ||
3250 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
3251 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
3252 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
3253 | ||
3254 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
3255 | ||
3256 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
3257 | Update handling of cache descriptor 0x49 for new models. | |
3258 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
3259 | Likewise. | |
3260 | ||
9666e36c UD |
3261 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
3262 | ||
3263 | * malloc/memusage.c (dest): Reset not_me back to false after | |
3264 | printing statistics. | |
3265 | ||
11bf311e UD |
3266 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
3267 | ||
3268 | * configure.in: Work around ld --help change and avoid -z relro | |
3269 | test completely if the architecture doesn't care about security. | |
3270 | ||
3271 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
3272 | ||
3273 | * po/sv.po: Update from translation team. | |
3274 | ||
3275 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
3276 | ||
3277 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
3278 | generate compatibility version. | |
3279 | ||
3280 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
3281 | ||
3282 | * configure.in: Relax -z relro requirement a bit. | |
3283 | ||
3284 | * po/sv.po: Update from translation team. | |
3285 | ||
3286 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
3287 | ||
3288 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
3289 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
3290 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
3291 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
3292 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
3293 | ||
b2369ca3 UD |
3294 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
3295 | ||
11bf311e UD |
3296 | * configure.in: Require assembler support for visibility, compiler |
3297 | support for visibility and aliases, linker support for various -z | |
3298 | options. | |
3299 | * Makeconfig: Remove conditional code which now is unnecessary. | |
3300 | * config.h.in: Likewise. | |
3301 | * config.make.in: Likewise. | |
3302 | * dlfcn/Makefile: Likewise. | |
3303 | * elf/Makefile: Likewise. | |
3304 | * elf/dl-load.c: Likewise. | |
3305 | * elf/rtld.c: Likewise. | |
3306 | * include/libc-symbols.h: Likewise. | |
3307 | * include/stdio.h: Likewise. | |
3308 | * io/Makefile: Likewise. | |
3309 | * io/fstat.c: Likewise. | |
3310 | * io/fstat64.c: Likewise. | |
3311 | * io/fstatat.c: Likewise. | |
3312 | * io/fstatat64.c: Likewise. | |
3313 | * io/lstat.c: Likewise. | |
3314 | * io/lstat64.c: Likewise. | |
3315 | * io/mknod.c: Likewise. | |
3316 | * io/mknodat.c: Likewise. | |
3317 | * io/stat.c: Likewise. | |
3318 | * io/stat64.c: Likewise. | |
3319 | * libio/stdio.c: Likewise. | |
3320 | * nscd/Makefile: Likewise. | |
3321 | * stdlib/Makefile: Likewise. | |
3322 | * stdlib/atexit.c: Likewise. | |
3323 | * sysdeps/generic/ldsodefs.h: Likewise. | |
3324 | * sysdeps/i386/dl-machine.h: Likewise. | |
3325 | * sysdeps/i386/sysdep.h: Likewise. | |
3326 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
3327 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
3328 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
3329 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
3330 | ||
3331 | * Makerules: USE_TLS support is now default. | |
3332 | * tls.make.c: Likewise. | |
3333 | * csu/Versions: Likewise. | |
3334 | * csu/libc-start.c: Likewise. | |
3335 | * csu/libc-tls.c: Likewise. | |
3336 | * csu/version.c: Likewise. | |
3337 | * dlfcn/dlinfo.c: Likewise. | |
3338 | * elf/dl-addr.c: Likewise. | |
3339 | * elf/dl-cache.c: Likewise. | |
3340 | * elf/dl-close.c: Likewise. | |
3341 | * elf/dl-iteratephdr.c: Likewise. | |
3342 | * elf/dl-load.c: Likewise. | |
3343 | * elf/dl-lookup.c: Likewise. | |
3344 | * elf/dl-object.c: Likewise. | |
3345 | * elf/dl-open.c: Likewise. | |
3346 | * elf/dl-reloc.c: Likewise. | |
3347 | * elf/dl-support.c: Likewise. | |
3348 | * elf/dl-sym.c: Likewise. | |
3349 | * elf/dl-sysdep.c: Likewise. | |
3350 | * elf/dl-tls.c: Likewise. | |
3351 | * elf/ldconfig.c: Likewise. | |
3352 | * elf/rtld.c: Likewise. | |
3353 | * elf/tst-tls-dlinfo.c: Likewise. | |
3354 | * elf/tst-tls1.c: Likewise. | |
3355 | * elf/tst-tls10.h: Likewise. | |
3356 | * elf/tst-tls14.c: Likewise. | |
3357 | * elf/tst-tls2.c: Likewise. | |
3358 | * elf/tst-tls3.c: Likewise. | |
3359 | * elf/tst-tls4.c: Likewise. | |
3360 | * elf/tst-tls5.c: Likewise. | |
3361 | * elf/tst-tls6.c: Likewise. | |
3362 | * elf/tst-tls7.c: Likewise. | |
3363 | * elf/tst-tls8.c: Likewise. | |
3364 | * elf/tst-tls9.c: Likewise. | |
3365 | * elf/tst-tlsmod1.c: Likewise. | |
3366 | * elf/tst-tlsmod13.c: Likewise. | |
3367 | * elf/tst-tlsmod13a.c: Likewise. | |
3368 | * elf/tst-tlsmod14a.c: Likewise. | |
3369 | * elf/tst-tlsmod2.c: Likewise. | |
3370 | * elf/tst-tlsmod3.c: Likewise. | |
3371 | * elf/tst-tlsmod4.c: Likewise. | |
3372 | * elf/tst-tlsmod5.c: Likewise. | |
3373 | * elf/tst-tlsmod6.c: Likewise. | |
3374 | * include/errno.h: Likewise. | |
3375 | * include/link.h: Likewise. | |
3376 | * include/tls.h: Likewise. | |
3377 | * locale/global-locale.c: Likewise. | |
3378 | * locale/localeinfo.h: Likewise. | |
3379 | * malloc/arena.c: Likewise. | |
3380 | * malloc/hooks.c: Likewise. | |
3381 | * malloc/malloc.c: Likewise. | |
3382 | * resolv/Versions: Likewise. | |
3383 | * sysdeps/alpha/dl-machine.h: Likewise. | |
3384 | * sysdeps/alpha/libc-tls.c: Likewise. | |
3385 | * sysdeps/generic/ldsodefs.h: Likewise. | |
3386 | * sysdeps/generic/tls.h: Likewise. | |
3387 | * sysdeps/i386/dl-machine.h: Likewise. | |
3388 | * sysdeps/ia64/dl-machine.h: Likewise. | |
3389 | * sysdeps/ia64/libc-tls.c: Likewise. | |
3390 | * sysdeps/mach/hurd/fork.c: Likewise. | |
3391 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
3392 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
3393 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
3394 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
3395 | * sysdeps/s390/libc-tls.c: Likewise. | |
3396 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
3397 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
3398 | * sysdeps/sh/dl-machine.h: Likewise. | |
3399 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
3400 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
3401 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
3402 | ||
131c4428 UD |
3403 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
3404 | split out locking and parameter checking. | |
3405 | (_dl_close): Call _dl_close_worker after locking and checking. | |
3406 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
3407 | _dl_close. | |
ffd0e1b7 UD |
3408 | * elf/Makefile: Add rules to build and run tst-thrlock. |
3409 | * elf/tst-thrlock.c: New file. | |
131c4428 | 3410 | |
11bf311e UD |
3411 | [BZ #3426] |
3412 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
3413 | reality. | |
3414 | ||
b2369ca3 UD |
3415 | [BZ #3429] |
3416 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 3417 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
3418 | the asserts inside the lock region. |
3419 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
3420 | ||
11bf311e UD |
3421 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
3422 | ||
3423 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
3424 | argument. | |
3425 | (_dl_lookup_symbol_x): Adjust caller. | |
3426 | ||
3427 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
3428 | _ns_global_scope. | |
3429 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
3430 | ||
3431 | * elf/dl-libc.c: Revert l_scope name changes. | |
3432 | * elf/dl-load.c: Likewise. | |
3433 | * elf/dl-object.c: Likewise. | |
3434 | * elf/rtld.c: Likewise. | |
3435 | * elf/dl-close.c (_dl_close): Likewise. | |
3436 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
3437 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
3438 | here if not l_scope_mem. | |
3439 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
3440 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
3441 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
3442 | * elf/dl-sym.c: Likewise. | |
3443 | * include/link.h (struct r_scoperec): Remove. | |
3444 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
3445 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
3446 | ||
3447 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
3448 | ||
3449 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
3450 | ||
3451 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
3452 | ||
3453 | * configure.in: Disable building profile libraries by default. | |
3454 | ||
609cf614 UD |
3455 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
3456 | ||
3457 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
3458 | as signed longs, check for x_base + pos overflow. | |
3459 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
3460 | * sunrpc/tst-xdrmem2.c: New test. | |
3461 | ||
11bf311e UD |
3462 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
3463 | ||
3464 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
3465 | _dl_lookup_symbol_x code. | |
3466 | ||
3467 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
3468 | ||
3469 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
3470 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
3471 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
3472 | instead of catomic_* macros. | |
3473 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
3474 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
3475 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
3476 | * elf/dl-close.c: Include sysdep-cancel.h. | |
3477 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
3478 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
3479 | * elf/dl-open.c: Include sysdep-cancel.h. | |
3480 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
3481 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
3482 | ||
3483 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
3484 | ||
3485 | [BZ #3313] | |
3486 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
3487 | fastbin rather than end of fastbin array. | |
3488 | ||
3489 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
3490 | ||
3491 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
3492 | body macro. | |
3493 | * sysdeps/x86_64/bits/atomic.h | |
3494 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
3495 | (catomic_decrement): Use correct body macro. | |
3496 | ||
3497 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
3498 | ||
3499 | * include/atomic.h: Add a unique prefix to all local variables | |
3500 | in macros. | |
3501 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
3502 | ||
4a85a8ee UD |
3503 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
3504 | ||
3505 | [BZ #3369] | |
3506 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
3507 | and 7. | |
3508 | ||
11bf311e UD |
3509 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
3510 | ||
3511 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
3512 | ||
ff8d96be UD |
3513 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
3514 | ||
11bf311e UD |
3515 | [BZ #3313] |
3516 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
3517 | determine highest fast bin to consolidate, always look into all of | |
3518 | them. | |
3519 | (do_check_malloc_state): Only require for empty bins for large | |
3520 | sizes in main arena. | |
3521 | ||
3522 | * libio/stdio.h: Add more __wur attributes. | |
3523 | ||
ff8d96be UD |
3524 | * elf/dl-minimal.c (realloc): Optimize last patch. |
3525 | ||
90a0991a UD |
3526 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
3527 | ||
3528 | [BZ #3352] | |
3529 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
3530 | and use memcpy() if it does. | |
ff8d96be | 3531 | |
11bf311e UD |
3532 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
3533 | ||
3534 | [BZ #2510] | |
3535 | * manual/search.texi (Hash Search Function): Clarify. | |
3536 | (Array Search Function): Clarify. | |
3537 | ||
3538 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
3539 | ||
3540 | [BZ #2830] | |
3541 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
3542 | shifting. | |
3543 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
3544 | * math/atest-sincos.c (main): Likewise. | |
3545 | ||
37fb7595 UD |
3546 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
3547 | ||
11bf311e UD |
3548 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
3549 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
3550 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
3551 | version GLIBC_2.6. | |
3552 | * Versions.def: Add GLIBC_2.6 for libc. | |
3553 | ||
46c38bd7 UD |
3554 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
3555 | ||
11bf311e UD |
3556 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
3557 | ||
3558 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
3559 | ||
3560 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
3561 | ||
3562 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
3563 | ||
3564 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
3565 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
3566 | ||
3567 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
3568 | ||
3569 | * include/atomic.c: Define catomic_* operations. | |
3570 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
3571 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
3572 | * malloc/memusage.c: Likewise. | |
3573 | * gmon/mcount.c: Likewise. | |
3574 | * elf/dl-close.c: Likewise. | |
3575 | * elf/dl-open.c: Likewise. | |
3576 | * elf/dl-profile.c: Likewise. | |
3577 | * elf/dl-sym.c: Likewise. | |
3578 | * elf/dl-runtime.c: Likewise. | |
3579 | * elf/dl-fptr.c: Likewise. | |
3580 | * resolv/res_libc.c: Likewise. | |
3581 | ||
2a6ee549 UD |
3582 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
3583 | ||
3584 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
3585 | components which lack them. | |
3586 | ||
3587 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
3588 | at least one entry consisting of the parameter concatenated with | |
3589 | the domain. | |
3590 | ||
11bf311e | 3591 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 3592 | |
11bf311e UD |
3593 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
3594 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
3595 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
3596 | ||
3597 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
3598 | Jakub Jelinek <jakub@redhat.com> | |
3599 | ||
3600 | Implement reference counting of scope records. | |
3601 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
3602 | from the list in objects which remain. Always allocate new scope | |
3603 | record. | |
3604 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
3605 | don't resize, allocate a new one. | |
3606 | * elf/dl-runtime.c: Update reference counters before using a scope | |
3607 | array. | |
3608 | * elf/dl-sym.c: Likewise. | |
3609 | * elf/dl-libc.c: Adjust for l_scope name change. | |
3610 | * elf/dl-load.c: Likewise. | |
3611 | * elf/dl-object.c: Likewise. | |
3612 | * elf/rtld.c: Likewise. | |
3613 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
3614 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
3615 | Add l_scoperec_lock. | |
3616 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
3617 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
3618 | ||
3619 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
3620 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
3621 | atomic_or which do not return values. | |
3622 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
3623 | Various cleanups. | |
3624 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
3625 | ||
3626 | * po/sv.po: Update from translation team. | |
3627 | ||
3628 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
3629 | ||
3630 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
3631 | ||
3632 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
3633 | (versioned_symbol): Likewise. | |
3634 | (compat_symbol): Likewise. | |
3635 | ||
3636 | * po/tr.po: Update from translation team. | |
feb87ad1 | 3637 | |
4df92d57 UD |
3638 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
3639 | ||
11bf311e UD |
3640 | * nis/Banner: Removed. It's been integral part forever and the |
3641 | author info is incomplete anyway. | |
3642 | * libio/Banner: Likewise. | |
3643 | ||
4df92d57 UD |
3644 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
3645 | code, make sure the nis_freeresult call doesn't crash and that the | |
3646 | result is reported correctly. | |
3647 | ||
68361572 UD |
3648 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
3649 | ||
3650 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
3651 | when callback is NULL. | |
3652 | ||
3653 | * nis/Versions (libnss_nisplus): Add | |
3654 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
3655 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
3656 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
3657 | _nss_create_tablename): Rename to... | |
3658 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
3659 | ... these. No longer static. | |
3660 | (internal_setgrent): Adjust users. | |
3661 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
3662 | Don't use locking around _nss_grp_create_tablename call. | |
3663 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
3664 | ||
11bf311e UD |
3665 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
3666 | ||
3667 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
3668 | ||
3a4e0609 UD |
3669 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
3670 | ||
3671 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
3672 | ||
3673 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
3674 | ||
3675 | * po/pl.po: Update from translation team. | |
3676 | ||
3677 | * nscd/nscd.c (main): Fix typo in message. | |
3678 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
3679 | ||
97e57dee UD |
3680 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
3681 | ||
3682 | [BZ #3291] | |
3683 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
3684 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
3685 | (__sigprocmask): Define. | |
3686 | ||
768027a4 UD |
3687 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
3688 | ||
3689 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
3690 | used. | |
3691 | ||
0b25a49a UD |
3692 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
3693 | ||
3694 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
3695 | in oldtotal and newtotal calculation. | |
3696 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
3697 | field. | |
3698 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
3699 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
3700 | increased. | |
3701 | (__nscd_cache_search): Add checks to make sure we never reference | |
3702 | data beyond the current mapping. | |
3703 | ||
a1286745 UD |
3704 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
3705 | ||
d4ed7561 UD |
3706 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
3707 | variables const to avoid compiler warnings. | |
3708 | ||
a1286745 UD |
3709 | * io/fts.c (fts_close): Remove redundant checks. |
3710 | (fts_build): Likewise. | |
3711 | (fts_palloc): Likewise. | |
3712 | ||
3713 | * manual/message.texi (Advanced gettext functions, | |
3714 | Using gettextized software): Fix typos. | |
3715 | ||
f01e4069 UD |
3716 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
3717 | ||
3718 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
3719 | explain why there are no leaks. | |
3720 | ||
154619b5 UD |
3721 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
3722 | ||
690c3947 UD |
3723 | * libio/wmemstream.c: Include <wchar.h>. |
3724 | * libio/bug-wmemstream1.c: Likewise. | |
3725 | * libio/tst-wmemstream1.c: Likewise. | |
3726 | * libio/tst-wmemstream2.c: Likewise. | |
3727 | ||
88cc61e8 UD |
3728 | * version.h (RELEASE): Bump to 2.5. |
3729 | * README: Regenerated. | |
3730 | ||
a70c18b0 UD |
3731 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
3732 | ||
154619b5 UD |
3733 | [BZ #3273] |
3734 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
3735 | found no group members. | |
3736 | Patch by Petr Baudis. | |
3737 | ||
3738 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
3739 | ||
3740 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
3741 | assert bootstrap_map.l_tls_modid is zero. | |
3742 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
3743 | if USE___THREAD. | |
3744 | ||
1c31aa79 UD |
3745 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
3746 | ||
3747 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
3748 | * wcsmbs/wchar.h: ... here. | |
3749 | ||
f1122ec3 UD |
3750 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
3751 | ||
3752 | [BZ #3252] | |
3753 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
3754 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
3755 | __{,l}chown to handle the rest. | |
3756 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
3757 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
3758 | __{,l}chown to handle the rest. | |
3759 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
3760 | i386/fchownat.c. | |
3761 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
3762 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
3763 | ||
3764 | [BZ #3253] | |
3765 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
3766 | time, rather allocate increasingly bigger arrays of pointers, if | |
3767 | possible with alloca, if too large with malloc. | |
3768 | ||
3769 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
3770 | ||
3771 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
3772 | ||
3773 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
3774 | ||
457b559e UD |
3775 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
3776 | ||
3777 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
3778 | home addresses. | |
3779 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
3780 | IFA_F_HOMEADDRESS flag for interfaces. | |
3781 | * include/ifaddrs.h (struct in6addrinfo): Define | |
3782 | in6ai_homeaddress. | |
3783 | ||
4a132246 UD |
3784 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
3785 | ||
3786 | [BZ #3225] | |
3787 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
3788 | PTR_DEMANGLE3): Define. | |
3789 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
3790 | PTR_DEMANGLE3): Likewise. | |
3791 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
3792 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
3793 | Likewise. | |
3794 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
3795 | ||
c69136ae UD |
3796 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
3797 | ||
3798 | * po/libc.pot: Regenerated. | |
3799 | * po/be.po: Updated. | |
3800 | * po/ca.po: Likewise. | |
3801 | * po/cs.po: Likewise. | |
3802 | * po/da.po: Likewise. | |
3803 | * po/de.po: Likewise. | |
3804 | * po/el.po: Likewise. | |
3805 | * po/en_GB.po: Likewise. | |
3806 | * po/es.po: Likewise. | |
3807 | * po/fi.po: Likewise. | |
3808 | * po/fr.po: Likewise. | |
3809 | * po/gl.po: Likewise. | |
3810 | * po/hr.po: Likewise. | |
3811 | * po/hu.po: Likewise. | |
3812 | * po/ja.po: Likewise. | |
3813 | * po/ko.po: Likewise. | |
3814 | * po/nb.po: Likewise. | |
3815 | * po/nl.po: Likewise. | |
3816 | * po/pl.po: Likewise. | |
3817 | * po/pt_BR.po: Likewise. | |
3818 | * po/ru.po: Likewise. | |
3819 | * po/rw.po: Likewise. | |
3820 | * po/sk.po: Likewise. | |
3821 | * po/sv.po: Likewise. | |
3822 | * po/tr.po: Likewise. | |
3823 | * po/zh_CN.po: Likewise. | |
3824 | * po/zh_TW.po: Likewise. | |
3825 | ||
3826 | [BZ #3137] | |
3827 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
3828 | * iconv/iconvconfig.c (main): Likewise. | |
3829 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
3830 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
3831 | * locale/programs/localedef.c (main): Likewise. | |
3832 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
3833 | * timezone/zdump.c (main): Likewise. | |
3834 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
3835 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
3836 | ||
83b3108c UD |
3837 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
3838 | ||
3839 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
3840 | interfaces. | |
3841 | ||
89210b4c AJ |
3842 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
3843 | ||
3844 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
3845 | ||
6624dbc0 UD |
3846 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
3847 | ||
3848 | [BZ #2592] | |
3849 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
3850 | (lrint_test_towardzero): New function. | |
3851 | (lrint_test_downward): New function. | |
3852 | (lrint_test_upward): New function. | |
3853 | (main): Run these new tests. | |
3854 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
3855 | of values near to 0. | |
3856 | (two52): Use double not long double. | |
3857 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
3858 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
3859 | (two23): Use float not double. | |
3860 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
3861 | (two23): Use float not double. | |
3862 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
3863 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
3864 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
3865 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
3866 | ||
60cb50c7 UD |
3867 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3868 | ||
3869 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
3870 | Cast sp to unsigned long to avoid compiler warning. | |
3871 | Use __makecontext_ret function instead of a trampoline on the stack. | |
3872 | (__makecontext_ret): New function. | |
3873 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
3874 | ||
33315ced UD |
3875 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
3876 | ||
3877 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
3878 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
3879 | bits. | |
3880 | ||
1ee2ff20 UD |
3881 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
3882 | ||
3883 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
3884 | sure no reference to the unloaded map's search list remains in the | |
3885 | dependency's scope. | |
3886 | ||
3887 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
3888 | ||
3889 | * elf/Makefile: Add rules to build and run unload7 test. | |
3890 | * elf/unload7.c: New test. | |
3891 | * elf/unload7mod1.c: New file. | |
3892 | * elf/unload7mod2.c: New file. | |
3893 | ||
0466106e UD |
3894 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
3895 | ||
3896 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
3897 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
3898 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
3899 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
3900 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
3901 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
3902 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
3903 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
3904 | PTRACE_GETEVENTMSG): Likewise. | |
3905 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
3906 | values. | |
3907 | ||
9c316a45 UD |
3908 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
3909 | ||
0466106e UD |
3910 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
3911 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
3912 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
3913 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
3914 | |
3915 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
3916 | ||
3917 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
3918 | write '\0' to the fd. | |
3919 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
3920 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
3921 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
3922 | offset. | |
3923 | ||
fb146a76 UD |
3924 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
3925 | ||
3926 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
3927 | (CFLAGS-fstatat64.c): Likewise. | |
3928 | (CFLAGS-mknodat.c): Likewise. | |
3929 | ||
3930 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
3931 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
3932 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
3933 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
3934 | ||
4cd3633d UD |
3935 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
3936 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 3937 | |
4cd3633d UD |
3938 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
3939 | names to the beginning. Rename "cell" to "cellbe". | |
3940 | (_dl_powerpc_platforms): New. | |
3941 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
3942 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
3943 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
3944 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
3945 | (_dl_platform_string, _dl_string_platform): New functions. | |
3946 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
3947 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
3948 | ||
30aa5785 UD |
3949 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
3950 | ||
3951 | [BZ #2526] | |
3952 | * README.libm: Fix a thinko in sqrt algorithm description. | |
3953 | ||
3954 | [BZ #3143] | |
3955 | * manual/string.texi (argz_delete): Fix prototype. | |
3956 | Patch by <alpt@freaknet.org>. | |
3957 | ||
3958 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
3959 | ||
3960 | [BZ #3138] | |
3961 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
3962 | * io/tst-fcntl.c (do_prepare): Likewise. | |
3963 | * posix/tst-exec.c (do_prepare): Likewise. | |
3964 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
3965 | * posix/tst-spawn.c (do_prepare): Likewise. | |
3966 | * posix/tst-truncate.c (do_prepare): Likewise. | |
3967 | * rt/tst-aio.c (do_prepare): Likewise. | |
3968 | * rt/tst-aio64.c (do_prepare): Likewise. | |
3969 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
3970 | size_t. | |
3971 | ||
d26d01d1 UD |
3972 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
3973 | ||
41aba3d7 UD |
3974 | [BZ #2821] |
3975 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
3976 | * time/Makefile (tests): Add bug-mktime1. | |
3977 | * time/bug-mktime1.c: New file. | |
3978 | ||
eaa51b47 | 3979 | [BZ #3189, #3188] |
d26d01d1 | 3980 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 3981 | (mremap): Likewise. |
d26d01d1 | 3982 | |
ba40cc15 UD |
3983 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
3984 | ||
2b6a801e UD |
3985 | [BZ #1006] |
3986 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
3987 | Ensure relocation doesn't clobber any bits outside of the | |
3988 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
3989 | R_SPARC_HI22 and R_SPARC_H44. | |
3990 | ||
469615bd UD |
3991 | [BZ #2775] |
3992 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
3993 | (long) (MINSIZE + nb - old_size) is positive. | |
3994 | ||
3995 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
3996 | is negative. | |
3997 | ||
ba40cc15 UD |
3998 | [BZ #3155] |
3999 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
4000 | stack below r1. | |
4001 | ||
243b9ac1 UD |
4002 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
4003 | ||
ba40cc15 UD |
4004 | * posix/regex_internal.c (re_string_reconstruct): Handle |
4005 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
4006 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
4007 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
4008 | re_string_context_at. | |
4009 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
4010 | * posix/bug-regex26.c: New test. | |
4011 | ||
243b9ac1 UD |
4012 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
4013 | rather than col_sym_free. Move seqp declaration earlier. | |
4014 | ||
4015 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
4016 | ||
d052233c UD |
4017 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
4018 | ||
4019 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
4020 | decl before first goto out. | |
4021 | ||
71213dc2 UD |
4022 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
4023 | ||
4024 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
4025 | at the end of the RO segment. | |
4026 | ||
4027 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
4028 | ||
4029 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
4030 | style hash table format is used. | |
4031 | ||
03eeff83 UD |
4032 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
4033 | ||
4034 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
4035 | randomization rather than before. | |
4036 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
4037 | ||
b80770b2 UD |
4038 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
4039 | ||
ba40cc15 | 4040 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
4041 | |
4042 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
4043 | shortcut which assumes the list is empty for large requests | |
4044 | too. | |
4045 | ||
4046 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
4047 | ||
99ea5991 UD |
4048 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
4049 | ||
4050 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
4051 | and offout arguments to the prototype. | |
4052 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
4053 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
4054 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
4055 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
4056 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
4057 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
4058 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
4059 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
4060 | ||
4004a0a5 UD |
4061 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
4062 | ||
950398e1 UD |
4063 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
4064 | ||
4004a0a5 UD |
4065 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
4066 | dlopen parameters. | |
4067 | ||
6e310111 UD |
4068 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
4069 | ||
4070 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
4071 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
4072 | ERANGE outside of the loops, handle TRY_AGAIN. | |
4073 | ||
4074 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
4075 | if other's ctype category was missing. | |
4076 | * locale/programs/ld-collate.c (collate_read): Return if | |
4077 | copy_locale's collate category is missing. | |
4078 | ||
07014fca UD |
4079 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
4080 | ||
4081 | [BZ #2684] | |
4082 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
4083 | arenas if allocation failed. | |
4084 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
4085 | ||
71663747 UD |
4086 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
4087 | ||
41999a1a UD |
4088 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
4089 | waste bins[0..1]. | |
4090 | (malloc_state): Reduce bins size by 2. | |
4091 | (_int_malloc): Fix test for large enough buffer for early termination. | |
4092 | When no unsorted block matches perfectly and an exiting block has | |
4093 | to be split, use full list insert and not shortcut which assumes | |
4094 | the list is empty. | |
4095 | ||
71663747 UD |
4096 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
4097 | failure. | |
4098 | ||
93b53ca2 UD |
4099 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
4100 | ||
f5a82772 UD |
4101 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
4102 | do anything. | |
4103 | ||
2ac9ca73 UD |
4104 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
4105 | symbol require exact match (these are PLTs). | |
4106 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
4107 | (_dl_ppc64_addr_sym_match): Likewise. | |
4108 | ||
93b53ca2 UD |
4109 | [BZ #2683] |
4110 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
4111 | If symbol has a value use it. | |
4112 | * elf/tst-dladdr1.c: New file. | |
4113 | * elf/Makefile: Add rules to build and run tst-addr1. | |
4114 | ||
7463d5cb UD |
4115 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
4116 | ||
4117 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
4118 | keeps failing and heap growth or new heap creation isn't | |
4119 | successful either. | |
4120 | * malloc/tst-malloc.c (main): Add new tests. | |
4121 | ||
542a6f62 UD |
4122 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
4123 | ||
4124 | [BZ #2734] | |
4125 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
4126 | as in the x86-64 code to use bswap. | |
4127 | ||
aa2c6b6d UD |
4128 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
4129 | ||
24982798 | 4130 | [BZ #2680] |
aa2c6b6d UD |
4131 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
4132 | __USE_UNIX98. | |
4133 | * posix/bits/unistd.h: Likewise. | |
4134 | ||
59776aef UD |
4135 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
4136 | ||
4137 | [BZ #2751] | |
4138 | * string/strchr.c: Add cast to avoid warning. | |
4139 | ||
e404fb16 UD |
4140 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
4141 | ||
4142 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 4143 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
4144 | limit is needed to avoid the exploding of the address space |
4145 | requirement for secondary heaps. | |
4146 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
4147 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
4148 | ||
376e973a UD |
4149 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
4150 | ||
4151 | [BZ #3018] | |
4152 | * Makerules (depfiles): Handle extra-test-objs the same as | |
4153 | extra-objs. | |
4154 | (common-mostlyclean): Likewise. | |
4155 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
4156 | instead. | |
4157 | * elf/Makefile (extra-objs): Likewise. | |
4158 | * stdlib/Makefile (extra-objs): Likewise. | |
4159 | ||
240c62a7 UD |
4160 | 2006-08-14 Eric Blake <ebb9@byu.net> |
4161 | ||
4162 | [BZ #3044] | |
4163 | * misc/error.h: Assume C89 or better. | |
4164 | * misc/error.c: Likewise. | |
4165 | ||
3997b7c4 UD |
4166 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
4167 | ||
4168 | [BZ #3040] | |
4169 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
4170 | __ASSUME_ATFCTS is defined. | |
4171 | ||
8a6537b0 UD |
4172 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
4173 | ||
72320021 UD |
4174 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
4175 | to sort in each call. | |
4176 | ||
ed3691ba UD |
4177 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
4178 | is empty simply return and use next service. | |
4179 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
4180 | ||
8a6537b0 UD |
4181 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
4182 | tells us when not finding a charmap file is an error. | |
4183 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
4184 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
4185 | cannot find a charmap. | |
4186 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
4187 | ||
ad2a3c07 UD |
4188 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
4189 | ||
4190 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
4191 | sysdeps/posix/pause.c implementation instead. | |
4192 | ||
4193 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
4194 | ||
4195 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
4196 | to EPERM. | |
4197 | ||
f17efcb4 UD |
4198 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
4199 | ||
4200 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
4201 | Don't clobber caller's LRSAVE. | |
4202 | (_dl_prof_resolve): Likewise. | |
4203 | ||
107b8a92 UD |
4204 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
4205 | ||
4206 | [BZ #1996] | |
4207 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
4208 | calloc. | |
4209 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
4210 | * libio/strops.c: Pretty printing. | |
4211 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
4212 | (enlarge_userbuf): New function. | |
4213 | (_IO_str_seekoff): Call it if seek position is larger than current | |
4214 | buffer. | |
4215 | * libio/wstrops.c: Likewise. | |
4216 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
4217 | calloc instead of malloc to allocate initial buffer. | |
4218 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
4219 | * libio/bug-memstream1.c: New file. | |
4220 | * libio/bug-wmemstream1.c: New file. | |
4221 | ||
fa3ac53f UD |
4222 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
4223 | ||
89993734 UD |
4224 | * libio/wstrops.c: Remove dead macro definitions and comments. |
4225 | * libio/strops.c: Likewise. | |
4226 | ||
fa3ac53f UD |
4227 | [BZ #2764] |
4228 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
4229 | ||
f99ed760 UD |
4230 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
4231 | ||
4232 | [BZ #2832] | |
4233 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
4234 | 0s from integers. | |
4235 | ||
4236 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
4237 | ||
4238 | [BZ #2987] | |
4239 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
4240 | for CPU clocks. | |
4241 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
4242 | setting of CPU clocks. | |
4243 | ||
4c3f81d0 UD |
4244 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
4245 | ||
4246 | [BZ #2841] | |
4247 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
4248 | since C99 requires the result to promote to 'int' when uint_least8_t | |
4249 | and uint_least16_t promote to 'int'. | |
4250 | ||
cd8e60ce UD |
4251 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
4252 | ||
9a5c46e8 UD |
4253 | [BZ #3013] |
4254 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
4255 | lenght of one output field, correct bitmask creation. | |
4256 | * locale/programs/ld-time.c: Add alignment. | |
4257 | ||
cd8e60ce UD |
4258 | [BZ #2997] |
4259 | * misc/error.c: Add space between program name and message if file | |
4260 | name is missing. | |
4261 | ||
9a528884 UD |
4262 | 2006-08-03 Eric Blake <ebb9@byu.net> |
4263 | ||
4264 | [BZ #2998] | |
4265 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
4266 | ||
1d05c2fb UD |
4267 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
4268 | ||
0c1c6c6c UD |
4269 | * malloc/memusagestat.c: Silence warnings. |
4270 | ||
1d05c2fb UD |
4271 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
4272 | frees mmaped blocks. | |
4273 | Patch by Valerie Henson and Arjan van de Ven. | |
4274 | ||
2d1e6277 UD |
4275 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
4276 | ||
be7ffd91 UD |
4277 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
4278 | __USE_GNU. | |
4279 | ||
2d1e6277 UD |
4280 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
4281 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
4282 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
4283 | Only provide var definitions in strtol_l (or for *ull* | |
4284 | in strtoll_l). | |
4285 | ||
4286 | * stdio-common/bug16.c (tests): New array. | |
4287 | (do_tests): Allow the first hexadecimal digit | |
4288 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
4289 | ||
4290 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
4291 | ||
4292 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
4293 | fchownat syscall if available. | |
4294 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
4295 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
4296 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
4297 | ||
d0ccde25 UD |
4298 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
4299 | ||
4300 | * nis/nis_xdr.c: Avoid some function calls. | |
4301 | ||
13a0293d | 4302 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 4303 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
4304 | |
4305 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
4306 | short cut if only one name component is stripped away. | |
4307 | ||
bd1ebae0 UD |
4308 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
4309 | ||
4310 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 4311 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
4312 | (first_shoot): Add search_parent_first parameter. Only if it is set |
4313 | search parent server first. | |
4314 | If directory for table found through cold start cache is not the same | |
4315 | as referenced in the cache, don't use it. | |
4316 | (__nisfind_server): Take additional parameter. Pass it on to | |
4317 | first_shoot. | |
4318 | (__prepare_niscall): Adjust __nisfind_server call. | |
4319 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
4320 | * nis/nis_table.c: Adjust __nisfind_server call. | |
4321 | * nis/nis_lookup.c: Likewise. | |
4322 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
4323 | ||
f1762c0c UD |
4324 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
4325 | ||
fe710250 UD |
4326 | [BZ #2182] |
4327 | * math/s_cacosh.c: Return values from positive branch. | |
4328 | * math/s_cacoshf.c: Likewise. | |
4329 | * math/s_cacoshl.c: Likewise. | |
4330 | ||
a5852807 UD |
4331 | [BZ #2883] |
4332 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
4333 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
4334 | * sysvipc/msgrcv.c: Likewise. |
4335 | * include/sys/msg.h: Likewise. | |
39571a13 | 4336 | |
6c215a8d UD |
4337 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
4338 | test introduced in patch for bz #661. | |
39571a13 | 4339 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 4340 | element for NEWGROUPS. |
6c215a8d | 4341 | |
9c06eb66 UD |
4342 | [BZ #2908] |
4343 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
4344 | 'f', use '1' as leading digit not '\1'. | |
4345 | * stdio-common/Makefile (tests): Add bug16. | |
4346 | * stdio-common/bug16.c: New file. | |
4347 | ||
4348 | [BZ #2914] | |
4349 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
4350 | and don't try to open it. The patch introducing the macro | |
4351 | contained a bug and used the same file name as the new file | |
4352 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
4353 | this out completely. | |
4354 | ||
4355 | [BZ #2926] | |
4356 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
4357 | Patch by Jerry James <Jerry.James@usu.edu>. | |
4358 | ||
f1762c0c UD |
4359 | * rt/Makefile (tests): Add tst-clock2. |
4360 | * rt/tst-clock2.c: New file. | |
4361 | ||
4362 | [BZ #2978] | |
4363 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
4364 | function and its parameters and pass it to new thread. | |
4365 | (__gai_notify): Add support for alternative waiting for completion. | |
4366 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
4367 | waiting for completion. | |
4368 | * resolv/getaddrinfo_a.c: Likewise. | |
4369 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
4370 | waiting for completion is used. | |
4371 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
4372 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
4373 | * resolv/gai_error.c: Likewise. | |
4374 | * resolv/gai_sigqueue.c: Likewise. | |
4375 | ||
83ae6b40 RM |
4376 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
4377 | ||
0e4e62fe | 4378 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 4379 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 4380 | |
82ee37c5 UD |
4381 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
4382 | ||
4383 | [BZ #2980] | |
f1762c0c | 4384 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
4385 | |
4386 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
4387 | ||
4388 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
4389 | walk them instead of the symbol table. | |
4390 | ||
7bb1b2c9 UD |
4391 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
4392 | ||
f13bfdd0 | 4393 | [BZ #2098] |
fbbc73b3 UD |
4394 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
4395 | status of NSS calls, not the number of returned entries. | |
4396 | ||
a4518922 UD |
4397 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
4398 | request_key, keyctl. | |
7bb1b2c9 | 4399 | |
b06e7e9a UD |
4400 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
4401 | ||
4402 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
4403 | ||
f1227969 UD |
4404 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
4405 | ||
4406 | * elf/tst-auditmod1.c: Fix typo in #error. | |
4407 | ||
82ae2712 UD |
4408 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
4409 | ||
f1227969 UD |
4410 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
4411 | ||
82ae2712 UD |
4412 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
4413 | ||
a1260d92 UD |
4414 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
4415 | ||
4416 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 4417 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 4418 | |
d2de41fe UD |
4419 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
4420 | ||
13669f2c UD |
4421 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
4422 | ||
d2de41fe UD |
4423 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
4424 | the backend NSS module. If backend setgrent call failed, don't have | |
4425 | internal_setgrent fail. Just remember this until it is needed. | |
4426 | * nis/nss_compat/compat-pwd.c: Likewise. | |
4427 | * nis/nss_compat/compat-spwd.c: Likewise. | |
4428 | ||
b894c2ea RM |
4429 | 2006-07-30 Roland McGrath <roland@redhat.com> |
4430 | ||
4431 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
4432 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
4433 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
4434 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
4435 | ||
4436 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
4437 | (nanosleep_not_cancel): New macro. | |
4438 | (sigsuspend_not_cancel): new macro. | |
4439 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
4440 | (do_sigsuspend): Define as inline. | |
4441 | (__sigsuspend): Always use do_sigsuspend. | |
4442 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
4443 | * include/signal.h: Declare __sigsuspend_nocancel. | |
4444 | * sysdeps/posix/pause.c | |
4445 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
4446 | ||
4447 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
4448 | * include/time.h (__nanosleep_nocancel): Likewise. | |
4449 | ||
c10d32c8 UD |
4450 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
4451 | ||
4452 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
4453 | variables to avoid confusion. | |
4454 | ||
4455 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
4456 | charmap couldn't be found or read. | |
4457 | ||
6822f056 UD |
4458 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
4459 | ||
d5ba53f9 UD |
4460 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
4461 | __ASSUME_FUTEX_LOCK_PI. | |
4462 | * include/time.h: Declare __nanosleep_nocancel. | |
4463 | * include/unistd.h: Declare __pause_nocancel. | |
4464 | ||
6822f056 UD |
4465 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
4466 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
4467 | get the __stack_chk_fail_local definition when it's needed. | |
4468 | ||
3a975ff5 UD |
4469 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
4470 | ||
6de1f625 UD |
4471 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
4472 | * dlfcn/bug-atexit3.c: New file. | |
4473 | * dlfcn/bug-atexit3-lib.cc: New file. | |
4474 | ||
3a975ff5 UD |
4475 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
4476 | used when the namespace is not the base namespace. | |
4477 | ||
a92b1166 UD |
4478 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
4479 | ||
4480 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
4481 | (__new_exitfn): Bump it in every successful call. | |
4482 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
4483 | more exit handlers, call them right away. | |
4484 | * stdlib/exit.h: Declare __new_exitfn_called. | |
4485 | ||
a08336fb UD |
4486 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
4487 | ||
bd3754dc UD |
4488 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
4489 | calling registered handler. | |
4490 | ||
a08336fb UD |
4491 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
4492 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
4493 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
4494 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
4495 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
4496 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
4497 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
4498 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
4499 | ||
871b9158 UD |
4500 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
4501 | ||
4502 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
4503 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
4504 | value here. Compute new-style hash value. Pass new hash value | |
4505 | and reference to variable with the old value to do_lookup_x. | |
4506 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
4507 | old-style hash table. | |
4508 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
4509 | with the old value to do_lookup_x. | |
4510 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
4511 | new-style hash value and change old-style hash value parameter to | |
4512 | be a reference. Reoganize functions to determine whether | |
4513 | new-style hash table is available. Only fall back on old-style | |
4514 | table. If old-style hash value is needed, compute it here. | |
4515 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
4516 | entry. | |
4517 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
4518 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
4519 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
4520 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
4521 | * Makeconfig: If linker supports --hash-style option add it to all | |
4522 | linker command lines to build DSOs. | |
4523 | * config.make.in: Define have-hash-style. | |
4524 | * configure.in: Test whether linker supports --hash-style option. | |
4525 | ||
4526 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
4527 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
4528 | ||
a1f0de82 UD |
4529 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
4530 | ||
361a3706 UD |
4531 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
4532 | auditing. | |
4533 | ||
a1f0de82 UD |
4534 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
4535 | RPATH of main map twice. | |
4536 | ||
4259230f UD |
4537 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
4538 | ||
4539 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
4540 | look further, return original strings. | |
4541 | (_nl_find_msg): Do not return found translation if the conversion | |
4542 | failed. Either signal the string is unusable or that something went | |
4543 | wrong and the original should be used. | |
4544 | ||
4545 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
4546 | ||
4547 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
4548 | ||
f9b7a98b UD |
4549 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
4550 | ||
4551 | [BZ #2766] | |
4552 | * misc/insremque.c (insque): Handle prev == NULL. | |
4553 | * misc/Makefile (tests): Add tst-insremque. | |
4554 | * misc/tst-insremque.c: New test. | |
4555 | ||
ac55a25b UD |
4556 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
4557 | ||
4558 | [BZ #2792] | |
4559 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
4560 | conflict with DL_DST_REQUIRED. | |
4561 | ||
02f366b3 UD |
4562 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
4563 | ||
4564 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
4565 | match what Solaris does. | |
4566 | ||
9009e8f8 UD |
4567 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
4568 | ||
1b8373f4 UD |
4569 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
4570 | local_setegid instead of seteuid and setegid. | |
4571 | * sysdeps/generic/local-setxid.h: New file. | |
4572 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
4573 | ||
7231452e UD |
4574 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
4575 | ||
9009e8f8 | 4576 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 4577 | * string/bug-envz1.c: New file. |
9009e8f8 | 4578 | |
33e63e79 UD |
4579 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
4580 | ||
4581 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
4582 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
4583 | to the byte which couldn't be converted. | |
4584 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
4585 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
4586 | tip_context using re_string_context_at. | |
4587 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
4588 | * posix/bug-regex25.c: New test. | |
4589 | ||
fdc02996 UD |
4590 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
4591 | ||
4592 | [BZ #2703] | |
4593 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
4594 | and dest parameters to memmove() invocation. | |
4595 | ||
902c4291 UD |
4596 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
4597 | ||
4598 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
4599 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
4600 | to make sure the database has been already invalidated. | |
4601 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
4602 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
4603 | than pthread_mutex_trylock if fd != -1. | |
4604 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
4605 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
4606 | (handle_request): Adjust invalidate_cache caller. | |
4607 | (nscd_run): Pass -1 as fd to prune_cache. | |
4608 | ||
ecc68568 UD |
4609 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
4610 | ||
4611 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
4612 | the correct place. | |
4613 | ||
9636a217 UD |
4614 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
4615 | ||
4616 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
4617 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
4618 | work. Just return in case it is already taken. | |
cabfcde1 | 4619 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 4620 | |
6bcb494a UD |
4621 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
4622 | ||
672d5a63 | 4623 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 4624 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
4625 | move the pointers and update the size. |
4626 | ||
1663b44f UD |
4627 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
4628 | Avoid memory leak in case realloc fails. Simplification for | |
4629 | better code generation. | |
4630 | ||
4631 | Avoid deprecation warning because of libc_hidden_proto for | |
4632 | inet6_option_alloc. | |
4633 | * inet/inet6_option.c (option_alloc): Renamed from | |
4634 | inet6_option_alloc. Made static. | |
9636a217 | 4635 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
4636 | (inet6_option_append): Call option_alloc. |
4637 | * include/netinet/in.h: Remove libc_hidden_proto for | |
4638 | inet6_option_alloc. | |
4639 | ||
6bcb494a UD |
4640 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
4641 | for cleanup when cb!=NULL [Coverity CID 233]. | |
4642 | ||
aec6b246 UD |
4643 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
4644 | ||
07bfff20 UD |
4645 | [BZ #2693] |
4646 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
4647 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
4648 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
4649 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
4650 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
4651 | and inet6_rth_getaddr. | |
4652 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
4653 | array. | |
4654 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
4655 | Mark inet6_option_* interfaces as deprecated. | |
4656 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
4657 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
4658 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
4659 | inet6_rth_segments, and inet6_rth_getaddr. | |
4660 | * inet/inet6_opt.c: New file. | |
4661 | * inet/inet6_rth.c: New file. | |
4662 | ||
4663 | * inet/netinet/icmp6.h: Pretty printing. | |
4664 | ||
aec6b246 UD |
4665 | [BZ #2683] |
4666 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
4667 | ||
2d571cd1 UD |
4668 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
4669 | ||
062e719b UD |
4670 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
4671 | doing it all here. When server does not know the answer do not | |
4672 | fail immediate, try parent first. | |
4673 | ||
2d571cd1 UD |
4674 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
4675 | overflow test. | |
4676 | ||
a17fa610 UD |
4677 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
4678 | ||
4679 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
4680 | from __do_niscall. | |
4681 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
4682 | and exported. | |
4683 | (__follow_path): New function. Split out from nis_list. | |
4684 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
4685 | _xdr_nis_result. | |
4686 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
4687 | _xdr_nis_result. | |
4688 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
4689 | and __follow_path. | |
4690 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
4691 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
4692 | from libnsl for version GLIBC_PRIVATE. | |
4693 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
4694 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
4695 | _nss_nisplus_parse_grent. | |
4696 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
4697 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
4698 | again. Rewrite getpwent handling to not use nis_first_entry and | |
4699 | nis_next_entry. Roll out own niscall handling. | |
4700 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
4701 | ||
4702 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
4703 | ||
429bb183 UD |
4704 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
4705 | ||
1d4f062a UD |
4706 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
4707 | handling. | |
4708 | ||
101cc598 UD |
4709 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
4710 | to allocate memory for my_pollfd. Better initialization of | |
4711 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
4712 | ||
f50fa10c UD |
4713 | * malloc/memusage.sh (memusageso): Add quotes. |
4714 | (memusagestat): Likewise. | |
4715 | * debug/xtrace.sh (pcprofileso): Likewise. | |
4716 | (pcprofiledump): Likewise. | |
4717 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
4718 | replacement. | |
4719 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
4720 | ||
882bfe73 UD |
4721 | * nis/nis_callback.c (__nis_create_callback): Calls to |
4722 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
4723 | asprintf call fails. | |
4724 | ||
429bb183 UD |
4725 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
4726 | no uninitialized memory is passed to sendto. | |
4727 | ||
f90de831 UD |
4728 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
4729 | ||
4730 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
4731 | of snprintf+strdup. Handle OOM. | |
4732 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
4733 | cb->serv together. Remove now obsolete free calls. | |
4734 | (__nis_destroy_callback): Remove now obsolete free call. | |
4735 | ||
a17fa610 | 4736 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
4737 | |
4738 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
4739 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
4740 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
4741 | defined in RFC3484 for preferring IPv6. | |
4742 | * posix/gai.conf: Update to match the new default tables. | |
4743 | ||
758b9d7e UD |
4744 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
4745 | ||
4746 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
4747 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
4748 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
4749 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
4750 | ||
4751 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
4752 | Removed. | |
4753 | (init_nss_interface): Remove initialization of these variables. | |
4754 | ||
4755 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
4756 | ||
4757 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
4758 | nis_free_directory forward to avoid duplication. | |
4759 | ||
388c779e UD |
4760 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
4761 | ||
5f1724bf UD |
4762 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
4763 | rec_dirsearch returning NULL. | |
4764 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
4765 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
4766 | ||
388c779e UD |
4767 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
4768 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
4769 | ||
360d5cf4 UD |
4770 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
4771 | ||
4772 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
4773 | pid changed. | |
4774 | ||
88dbff8c UD |
4775 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
4776 | ||
6f8a7dff UD |
4777 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
4778 | ||
4779 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
4780 | * nscd/nscd_getgr_r.c: Likewise. | |
4781 | ||
4782 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
4783 | ||
4784 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
4785 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
4786 | ||
4787 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
4788 | ||
4789 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
4790 | ||
360d5cf4 | 4791 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
4792 | |
4793 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
4794 | xdr_opaque_auth_internal as hidden. | |
4795 | ||
4796 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
4797 | hidden. | |
4798 | ||
360d5cf4 | 4799 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 4800 | |
02264020 UD |
4801 | * misc/getusershell.c (okshells): Don't use static initializers, |
4802 | do it dynamically. | |
4803 | ||
fd5ea238 UD |
4804 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
4805 | uint32_t to not waste space on 64bit machines. | |
4806 | ||
9446614c UD |
4807 | * locale/setlocale.c: Change _nl_category_names into a string. |
4808 | Add new _nl_category_name_idxs. Change all users. | |
4809 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
4810 | Declare _nl_category_name_idxs. | |
4811 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
4812 | * locale/loadlocale.c: Likewise. | |
4813 | * locale/newlocale.c: Likewise. | |
4814 | * intl/dcigettext.c: Likewise. | |
4815 | ||
88dbff8c UD |
4816 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
4817 | (add_alias2): ...here. New function. | |
4818 | (__gconv_read_conf): Simplify builtin alias handling. | |
4819 | (builtin_aliases): Convert to string to avoid relocations. | |
4820 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
4821 | ||
4442d58f UD |
4822 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
4823 | ||
4824 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
4825 | ||
4826 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
4827 | ||
4828 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
4829 | ||
4830 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
4831 | ||
4832 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
4833 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
4834 | sizeof (cpu_set_t). | |
4835 | ||
a51752b6 UD |
4836 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
4837 | ||
5d3fd1f6 UD |
4838 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
4839 | ||
08cfb839 UD |
4840 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
4841 | ||
4b481a15 UD |
4842 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
4843 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
4844 | ||
4845 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
4846 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
4847 | ||
4848 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
4849 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
4850 | xdr_cback_data. | |
4851 | ||
4852 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
4853 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
4854 | xdr_ypupdate_args. | |
4855 | ||
4856 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
4857 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
4858 | ||
4859 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
4860 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
4861 | ||
4862 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
4863 | * include/rpcsvc/nis_callback.h: New file. | |
4864 | ||
4865 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
4866 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
4867 | ||
4868 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
4869 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
4870 | ||
4871 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
4872 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
4873 | ||
4874 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
4875 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
4876 | ||
b1ad49c6 UD |
4877 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
4878 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
4879 | xdr_ypdelete_args. | |
4880 | ||
cd5f7829 UD |
4881 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
4882 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
4883 | ||
a51752b6 UD |
4884 | * nis/nis_error.c: Remove table of strings. Use position |
4885 | independent mechanism. | |
4886 | * nis/nis_error.h: New file. | |
4887 | ||
3d237e42 UD |
4888 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
4889 | ||
4890 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
4891 | format aren't provided, set both wname and wformat to L"". | |
4892 | ||
d6c159fe UD |
4893 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
4894 | ||
0088b04e UD |
4895 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
4896 | results if the call was succesful. | |
4897 | ||
d6c159fe UD |
4898 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
4899 | ||
4900 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
4901 | as hidden. | |
4902 | ||
5c5acdf0 UD |
4903 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
4904 | ||
4905 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
4906 | ||
16d620db UD |
4907 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
4908 | ||
4909 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
4910 | caller makes sure this is not the case. | |
4911 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
4912 | ||
e7c8359e UD |
4913 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
4914 | ||
ecf359c6 UD |
4915 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
4916 | calls. | |
4917 | ||
400cc70a UD |
4918 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
4919 | [Coverity CID 229, 230] | |
4920 | ||
4921 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
4922 | DGETTEXT calls. | |
4923 | (hol_help): Likewise. [Coverity CID 226, 227] | |
4924 | ||
4925 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
4926 | free on SRC. [Coverity CID 225] | |
4927 | ||
4928 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
4929 | the return value of __nis_default_owner and __nis_default_group, | |
4930 | it has been especially allocated. [Coverity CID 224] | |
4931 | ||
51e59260 UD |
4932 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
4933 | searchgroup and searchowner. Significantly simplified. | |
4934 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
4935 | string before duplicating it. | |
4936 | (__nis_default_group): Likewise. | |
4937 | ||
4938 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
4939 | we must clear the variable before calling __nisfind_server. | |
4940 | ||
4941 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
4942 | nis_getnames. [Coverity CID 223] | |
4943 | ||
4944 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
4945 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
4946 | ||
4947 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
4948 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
4949 | ||
e7c8359e | 4950 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 4951 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
4952 | |
4953 | * posix/getconf.c (print_all): Free confstr data after printing. | |
4954 | [Coverity CID 218] | |
4955 | ||
4956 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
4957 | list allocation fails. [Coverity CID 215] | |
4958 | ||
4959 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
4960 | [Coverity CID 213] | |
4961 | ||
4962 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
4963 | string is NULL. [Coverity CID 212] | |
4964 | * argp/Makefile: Add rules to build and run bug-argp1. | |
4965 | * argp/bug-argp1.c: New file. | |
4966 | ||
4967 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
4968 | end of string. | |
4969 | * stdlib/canonicalize.c (__realpath): Likewise. | |
4970 | ||
4971 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
4972 | pointer. [Coverity CID 206] | |
4973 | ||
4974 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
4975 | in statically linked code. | |
4976 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
4977 | statically built code, be prepared to have no link map. | |
4978 | [Coverity CID 205] | |
4979 | ||
4980 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
4981 | dgettext calls. [Coverity CID 204] | |
4982 | ||
4983 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
4984 | the one user. | |
4985 | (uparam_names): Reduce size. Avoid relative relocations. | |
4986 | Moved to read-only segment. | |
4987 | (fill_in_uparams): Update for new layout. | |
4988 | ||
4989 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
4990 | assumed to always be != NULL. [Coverity CID 202] | |
4991 | ||
4992 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
4993 | [Coverity CID 200]. | |
4994 | ||
4995 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
4996 | away a few more unconditional yperr2nss calls. | |
4997 | (_nss_nis_getservbyname_r): Likewise. | |
4998 | ||
acf82eaf UD |
4999 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
5000 | ||
4461cf48 UD |
5001 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
5002 | architectures. | |
5003 | ||
b74a8c7f UD |
5004 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
5005 | that unused memory passed to sendto is nevertheless initialized. | |
5006 | ||
acb98cb5 UD |
5007 | [BZ #2499] |
5008 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
5009 | possibly unaligned memory accesses. | |
5010 | ||
bce16467 UD |
5011 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
5012 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
5013 | and __putlong respectively. Correct buffer overflow check for | |
5014 | NS_NOTIFY_OP. | |
5015 | ||
5016 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
5017 | ||
8e45b1ac UD |
5018 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
5019 | (send_dg): Rewrite error handling to be more compact and avoid | |
5020 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
5021 | ||
697e1628 UD |
5022 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
5023 | ||
5024 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
5025 | instead of ns_get16. | |
5026 | (res_queriesmatch): Likewise. Minor optimization. | |
5027 | ||
acf82eaf UD |
5028 | [BZ #2499] |
5029 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
5030 | __libc_res_nsend might reallocate the buffer for the answer. In | |
5031 | this case we have to reload the HP pointer. | |
5032 | ||
7bfee654 UD |
5033 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
5034 | ||
694b49ca UD |
5035 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
5036 | some branch prediction hints. | |
5037 | ||
7bfee654 UD |
5038 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
5039 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
5040 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
5041 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
5042 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
5043 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
5044 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
5045 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
5046 | ||
308bb2d5 UD |
5047 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5048 | ||
5049 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
5050 | by a GOT relocation to make Scrt1.o position independent. | |
5051 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
5052 | ||
5053 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
5054 | six system call parameters. | |
5055 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
5056 | ||
cdb9c321 UD |
5057 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
5058 | ||
5059 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
5060 | malloc&bzero. | |
5061 | ||
5062 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
5063 | (CALLOC): Define. | |
5064 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
5065 | ||
5066 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
5067 | (des_SPtrans): Use uint32_t type. | |
5068 | (des_skb): Likewise. | |
5069 | ||
5070 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
5071 | ||
fff04b32 UD |
5072 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
5073 | ||
5074 | [BZ #2509] | |
5075 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
5076 | on 32-bit arches. | |
5077 | ||
5078 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
5079 | ||
5080 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 5081 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 5082 | |
077a30bc | 5083 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 5084 | |
f2d5cf50 UD |
5085 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
5086 | filling it for the first time. | |
5087 | ||
3e4370cf UD |
5088 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
5089 | Adjust all callers. | |
5090 | Free res object content before returning. | |
5091 | ||
5e65a53d UD |
5092 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
5093 | ||
48be3114 UD |
5094 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
5095 | client->cl_auth. | |
5096 | ||
ca4fce0e UD |
5097 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
5098 | cleanup for initial thread, just the free call on TVP. | |
5099 | ||
077a30bc | 5100 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 5101 | |
5d37289a | 5102 | |
3f87d901 | 5103 | See ChangeLog.16 for earlier changes. |