]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove IA-64 support from kernel-features.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
df78418a
UD
12012-01-07 Ulrich Drepper <drepper@gmail.com>
2
bdeba135
UD
3 [BZ #13552]
4 * configure.in: Remove --enable-omitfp support.
5 * FAQ.in: Adjust.
6 * config.make.in: Likewise.
7 * Makeconfig: Likewise.
8 * manual/install.texi: Likewise.
9
d75a0a62
UD
10 In case anyone cares, the IA-64 architecture could move to ports.
11 * sysdeps/ia64/*: Removed.
12 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14
dcc9756b
UD
15 [BZ #13555]
16 * configure.in: Remove entries for unsupported architectures.
17
d3761ebc 18 [BZ #13533]
9954432e
UD
19 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21 routines.
22 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25 fall back to using wcrtomb.
26 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28 renaming.
29 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30 * wcsmbs/tst-c16c32-1.c: New file.
31
32 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33 local variable.
34
c3a87236
UD
35 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36
28926a1b
UD
37 * elf/tst-unique3.cc: Add explicit declaration of gets.
38 * elf/tst-unique3lib.cc: Likewise.
39 * elf/tst-unique3lib2.cc: Likewise.
40 * elf/tst-unique4.cc: Likewise.
41
df78418a
UD
42 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43
8ecd6b2a
JM
442012-01-06 Joseph Myers <joseph@codesourcery.com>
45
46 [BZ #13566]
47 * assert/assert.h (static_assert): Don't define for C++.
48 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50
9f115170
UD
512012-01-03 Ulrich Drepper <drepper@gmail.com>
52
5e0d0300
UD
53 * iconv/loop.c (single loop): Fix assertion in storing of
54 remaining bytes.
55
9f115170
UD
56 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57
81fb02b0
UD
582012-01-01 Ulrich Drepper <drepper@gmail.com>
59
60 * posix/getconf.c: Update copyright year.
61 * nss/getent.c: Likewise.
a316c1f6 62 * nss/makedb.c: Likewise.
81fb02b0
UD
63 * iconv/iconvconfig.c: Likewise.
64 * iconv/iconv_prog.c: Likewise.
65 * elf/ldconfig.c: Likewise.
a316c1f6
UD
66 * elf/pldd.c: Likewise.
67 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
68 * catgets/gencat.c: Likewise.
69 * csu/version.c: Likewise.
70 * elf/ldd.bash.in: Likewise.
71 * elf/sprof.c (print_version): Likewise.
72 * locale/programs/locale.c: Likewise.
73 * locale/programs/localedef.c: Likewise.
a316c1f6 74 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
75 * nscd/nscd.c (print_version): Likewise.
76 * debug/xtrace.sh: Likewise.
77 * malloc/memusage.sh: Likewise.
78 * malloc/mtrace.pl: Likewise.
79 * debug/catchsegv.sh: Likewise.
80
2ba92745
JJ
812011-12-30 Jakub Jelinek <jakub@redhat.com>
82
83 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84 pure attribute.
85
dadebdae
UD
862011-12-24 Ulrich Drepper <drepper@gmail.com>
87
d3761ebc 88 [BZ #13533]
db6af3eb
UD
89 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
90 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
91 transformations.
92 * iconv/gconv_int.h: Likewise.
93 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
94 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
95 from libc for GLIBC_2.16.
96 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
97 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
98 * wcsmbs/uchar.h: Really define mbstate_t.
99 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
100 * wcsmbs/c16rtomb.c: New file.
101 * wcsmbs/mbrtoc16.c: New file.
102 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
103 for C/POSIX locale.
104 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
105 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
106
dadebdae
UD
107 * wcsmbs/wchar.h: Add missing __restrict.
108
67371b56
UD
1092011-12-23 Ulrich Drepper <drepper@gmail.com>
110
74033a25
UD
111 [BZ #13532]
112 * time/Makefile (routines): Add timespec_get.
113 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
114 * time/time.h: Define TIME_UTC and declare timespec_get. Define
115 timespec for ISO C11.
116 * time/timespec_get.c: New file.
117 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
118 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
119
380d7e87
UD
120 [BZ #13531]
121 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
122 * stdlib/stdlib.h: Declare aligned_alloc.
123 * Versions.def: Add GLIBC_2.16 for libc.
124 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
125
4e9e7a35
UD
126 [BZ 13527]
127 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
128 ISO C11.
129
380d7e87 130 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
131 code.
132
03a71829
UD
133 [BZ #13528]
134 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
135
839e283e
UD
136 [BZ #13529]
137 * assert/assert.h (static_assert): Define.
138
ce5294e2 139 * version.h: Update for 2.16 development version.
90fa7312 140
8d44e150 141 [BZ #13526]
d7809905
UD
142 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
143 _ISOC11_SOURCE.
144
c0da14cd
UD
145 * version.h (RELEASE): Bump for 2.15 release.
146 * include/features.h (__GLIBC_MINOR__): Bump to 15.
147
530a3249
MP
148 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
149 Patch by Marek Polacek <mpolacek@redhat.com>.
150
67371b56
UD
151 * bits/byteswap.h: Protect long long constants with __extension__.
152 * sysdeps/i386/bits/byteswap.h: Likewise.
153 * sysdeps/ia64/bits/byteswap.h: Likewise.
154 * sysdeps/s390/bits/byteswap.h: Likewise.
155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
156
15db4de1
LD
1572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
158
159 [BZ #13540]
bbe315ea
LD
160 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
161 destination buffer.
15db4de1
LD
162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
163
2b2596b1
MP
1642011-12-23 Marek Polacek <polacek@redhat.com>
165
166 * elf/dl-addr.c (determine_info): Add inline keyword.
167 * elf/tst-auditmod4b.c (check_avx): Likewise.
168 * elf/tst-auditmod6b.c (check_avx): Likewise.
169 * elf/tst-auditmod6c.c (check_avx): Likewise.
170 * elf/tst-auditmod7b.c (check_avx): Likewise.
171
70c6c246
UD
1722011-12-23 Ulrich Drepper <drepper@gmail.com>
173
174 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
175 !__SSE_MATH__.
176
c044cf14
LD
1772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
178
15db4de1 179 [BZ #13540]
c044cf14
LD
180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
181 processing for last bytes.
182
6b13d9d9
BH
1832011-08-06 Bruno Haible <bruno@clisp.org>
184
d455f537
BH
185 [BZ #13061]
186 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
187 U+0385, not to U+1FEE.
188
6b13d9d9
BH
189 [BZ #13062]
190 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
191 entry for U+00A5 U+0301.
192
db910efd
UD
1932011-12-22 Ulrich Drepper <drepper@gmail.com>
194
27deeafc
UD
195 [BZ #13166]
196 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
197 buffer for the output is too small.
198
aed9d171
UD
199 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
200 optimization.
201
db910efd
UD
202 [BZ #13185]
203 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
204 SSE flags if possible.
205
2bd779ae
LD
2062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
207
e7f9dac3 208 [BZ #13540]
2bd779ae
LD
209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
210 processing for last bytes.
211
154bfc16
JM
2122011-12-22 Joseph Myers <joseph@codesourcery.com>
213
214 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
215 (syscall-list-default-options, syscall-list-default-condition)
216 (syscall-list-includes): Define.
217 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
218 list of ABIs and options and #if conditions for each ABI. Do not
219 handle common syscalls between ABIs specially.
220 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
221 Remove.
222 (syscall-list-variants, syscall-list-32bit-options)
223 (syscall-list-32bit-condition, syscall-list-64bit-options)
224 (syscall-list-64bit-condition): Define.
225 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
226 (syscall-list-variants, syscall-list-32bit-options)
227 (syscall-list-32bit-condition, syscall-list-64bit-options)
228 (syscall-list-64bit-condition): Define.
229 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
230 Remove.
231 (syscall-list-variants, syscall-list-32bit-options)
232 (syscall-list-32bit-condition, syscall-list-64bit-options)
233 (syscall-list-64bit-condition): Define.
234 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
235 Remove.
236 (syscall-list-variants, syscall-list-32bit-options)
237 (syscall-list-32bit-condition, syscall-list-64bit-options)
238 (syscall-list-64bit-condition): Define.
239
21eaf3a5
UD
2402011-12-22 Ulrich Drepper <drepper@gmail.com>
241
16c6f992
UD
242 * locale/iso-639.def: Add brx entry.
243
41043168
UD
244 [BZ #13328]
245 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
246 Proposed by Mariusz_Cukr <marcukr@op.pl>.
247
21eaf3a5
UD
248 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
249 __feraiseexcept_renamed.
250
e3a851a2
UD
2512011-12-21 Ulrich Drepper <drepper@gmail.com>
252
4920765e
UD
253 [BZ #13538]
254 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
255 EPOLLET with unsigned values.
256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
258
e3a851a2
UD
259 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
260 to large cancellation.
261 * math/s_cacoshf.c: Likewise.
262 * math/s_cacoshl.c: Likewise.
263
b27e24b8
RK
2642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
265
266 [BZ #13305]
aebefeee 267 [BZ #12786]
b27e24b8
RK
268 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
269 * math/s_cacoshf.c: Likewise.
270 * math/s_cacoshl.c: Likewise.
271
ee190f67
UD
2722011-12-21 Ulrich Drepper <drepper@gmail.com>
273
274 [BZ #13439]
275 * iconv/gconv.h: Define __GCONV_SWAP.
276 * iconvdata/unicode.c: The swap bit must be stored in __flags.
277 * iconvdata/utf-16.c: Likewise.
278 * iconvdata/utf-32.c: Likewise.
279
707f25df
AS
2802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
281
282 [BZ #13524]
283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
284 numerator after shifting it by one limb.
285
d2daaa1e
RÁE
2862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
287
288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
289 under [__USE_EXTERN_INLINES].
290
a4647e72
UD
2912011-12-17 Ulrich Drepper <drepper@gmail.com>
292
293 [BZ #13446]
294 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
295
f0b264f1
AZ
2962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297
298 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
299 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
300 optimized code.
301 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
302 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
303 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
304 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
305 for strncasecmp/strncasecmp_l compilation.
306 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
307 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
308
8ef4f244
MP
3092011-12-08 Marek Polacek <mpolacek@redhat.com>
310
311 [BZ #13484]
312 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
313 of __asm__.
314
97ac2654
UD
3152011-12-17 Ulrich Drepper <drepper@gmail.com>
316
317 [BZ #13506]
318 * time/tzfile.c (__tzfile_read): Check values from file header.
319
91d2a845
WS
3202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
321
322 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
323 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
324 * powerpc/powerpc32/dl-start.S: Likewise.
325 * powerpc/powerpc32/elf/start.S: Likewise.
326 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
327 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
328 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
329 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
330 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
331 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
332 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
333 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
334 * powerpc/powerpc32/fpu/s_round.S: Likewise.
335 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
336 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
337 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
338 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
339 * powerpc/powerpc32/memset.S: Likewise.
340 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
341 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
342 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
343 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
344 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
345 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
346 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
347 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
348 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
349 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
350 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
351 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
352 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
353
a1267ba1
AZ
3542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355
356 * math/libm-test.inc: Added more nearbyint tests.
357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
361
ad8ac1bd
RL
3622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
363
364 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
365 FD_CLOEXEC.
366
1d3e4b61
UD
3672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
368
369 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
370 Add wcscpy-ssse3 wcscpy-c.
371 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
372 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
373 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
374 * sysdeps/x86_64/wcschr.S: New file.
375 * sysdeps/x86_64/wcsrchr.S: New file.
376 * string/test-strcmp.c: Remove checking of wcscmp function for
377 wrong alignments.
378 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
379 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
380 wcsrchr-sse2 wcsrchr-c.
381 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
382 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
383 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
384 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
385 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
386 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
387 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
388 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
389 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
390 * wcsmbc/wcschr.c (WCSCHR): New macro.
391
5b330a2d
UD
3922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
393
394 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
395 * wcsmbs/test-wcsrchr.c: New file.
396 * string/test-strrchr.c: Add wcsrchr support.
397 (WIDE): New macro.
398 * wcsmbs/test-wcscpy.c: New file.
399 * string/test-strcpy.c: Add wcscpy support.
400 (WIDE): New macro.
26428b7c 401
f039c043
UD
4022011-12-10 Ulrich Drepper <drepper@gmail.com>
403
404 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
405 the inner loop.
406
850fb039
AS
4072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
408
409 [BZ #13472]
410 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
411
4efbd5cb
UD
4122011-12-04 Ulrich Drepper <drepper@gmail.com>
413
52ff5dd0 414 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 415 Minor optimizations.
52ff5dd0 416
4efbd5cb
UD
417 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
418 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
419 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
420
8a426e12
UD
4212011-12-03 Ulrich Drepper <drepper@gmail.com>
422
aff2453d
UD
423 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
424 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
425 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
426 for gcc to avoid warnings.
427 * inet/Makefile (tests): Add tst-checks.
428 * inet/tst-checks.c: New file.
429
430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
431 warning.
432
433 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
434 __wmemcmp_sse2.
435
436 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
437 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
438
8a426e12
UD
439 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
440
9bea3473
UD
4412011-12-02 Ulrich Drepper <drepper@gmail.com>
442
3a965496
UD
443 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
444 problem.
445
9bea3473
UD
446 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
447
f101631b
UD
4482011-11-29 Joseph Myers <joseph@codesourcery.com>
449
450 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
451 conditional on GCC version.
452 (__arch_compare_and_exchange_val_8_acq)
453 (__arch_compare_and_exchange_val_16_acq)
454 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
455 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
456 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
457
a98275aa
UD
4582011-12-02 Joseph Myers <joseph@codesourcery.com>
459
460 * sysdeps/sh/backtrace.c: New file.
461
d4cc29a2
AS
4622011-12-02 Andreas Schwab <schwab@redhat.com>
463
464 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
465 parenthesis.
466
6257af2d
AS
4672011-12-01 Andreas Schwab <schwab@redhat.com>
468
469 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
470 falling back to utime.
471
b5f44c1a
AS
4722011-11-30 Andreas Schwab <schwab@redhat.com>
473
474 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
475 expectations for float.
476
f3a6cc0a
AS
4772011-11-29 Andreas Schwab <schwab@redhat.com>
478
479 * locale/weight.h (findidx): Add parameter len.
480 * locale/weightwc.h (findidx): Likewise.
481 * posix/fnmatch_loop.c (FCT): Adjust caller.
482 * posix/regcomp.c (build_equiv_class): Likewise.
483 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
484 * posix/regexec.c (check_node_accept_bytes): Likewise.
485 * string/strcoll_l.c (STRCOLL): Likewise.
486 * string/strxfrm_l.c (STRXFRM): Likewise.
487
9d65ea3a
UD
4882011-11-17 Ulrich Drepper <drepper@gmail.com>
489
490 * Makefile.in: Remove CVSOPT handling.
491 * configure.in: Remove use of AC_REVISION.
492 * iconvdata/Makefile (distribute): No need to filter out CVS.
493 * scripts/list-sources.sh: Remove CVS, subversion and monotone
494 handling.
495
5583a086
AS
4962011-11-16 Andreas Schwab <schwab@redhat.com>
497
498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
499 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
500 [USE_AS_STRNCASECMP_L]: Likewise.
501 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
502 NO_TLS_DIRECT_SEG_REFS.
503 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
504 Fix argument offsets for non-PIC.
505 [USE_AS_STRNCASECMP_L]: Likewise.
506 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
507 NO_TLS_DIRECT_SEG_REFS.
508
d62a8200
UD
5092011-11-15 Ulrich Drepper <drepper@gmail.com>
510
9d65ea3a 511 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
512 O_CLOEXEC.
513 * locale/loadlocale.c (_nl_load_locale): Likewise.
514
09f93bd3
AS
5152011-11-15 Andreas Schwab <schwab@redhat.com>
516
446514f9
AS
517 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
518 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
519 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
520 (SYSCALL_GETTIME): Set errno on error.
521
09f93bd3
AS
522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
523 count references to noai6ai_cached.
524
312be3f9
UD
5252011-11-15 Ulrich Drepper <drepper@gmail.com>
526
527 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
528
529 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
530 FD_CLOEXEC for /proc/self/maps.
531
532 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
533 FD_CLOEXEC for /proc/meminfo.
534
535 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
536 gai.conf.
537
538 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
539 FD_CLOEXEC for given file.
540
541 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
542
543 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
544 FD_CLOEXEC for /etc/hosts.
545 (_gethtent): Likewise.
546
547 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
548
549 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
550 cancellation and set FD_CLOEXEC for /etc/netgroup.
551
552 * nss/nss_files/files-key.c (search): Don't allow cancellation when
553 reading /etc/publickey.
554
555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
556 allow cancellation when reading /etc/group.
557
558 * nss/nss_files/files-alias.c (internal_setent): Don't allow
559 cancellation.
560 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
561
562 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
563 when using data file.
564
565 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
566
567 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
568 (write_nis_obj): Use "c" and "e" in fopen.
569
570 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
571
572 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
573
574 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
575
576 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
577
578 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
579 locale.alias.
580
581 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
582
583 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
584
585 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
586
587 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
588 file parsing and set FD_CLOEXEC.
589
82af0fa8
UD
5902011-11-14 Ulrich Drepper <drepper@gmail.com>
591
592 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
593
a5fb313c
AS
5942011-11-14 Andreas Schwab <schwab@redhat.com>
595
596 * malloc/arena.c (arena_get2): Don't call reused_arena when
597 _int_new_arena failed.
598
6abf3465
UD
5992011-11-14 Ulrich Drepper <drepper@gmail.com>
600
601 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
602 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
604 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
605 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
607 to compile strcasecmp and strncasecmp.
608 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
609 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
610
611 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
612
76e3966e
UD
6132011-11-13 Ulrich Drepper <drepper@gmail.com>
614
615 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
616 locale-defines.sym to gen-as-const-headers.
617 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
618 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
620 to compile strcasecmp and strncasecmp.
621 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
622 strcasecmp_l and strncasecmp_l.
623 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
624 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
625 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
626 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
627 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
628 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
629 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
630 * sysdeps/i386/i686/multiarch/strncase.S: New file.
631 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
632 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
633 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
634
ab26144e
UD
6352011-11-12 Ulrich Drepper <drepper@gmail.com>
636
7edb22ef
UD
637 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
638 result of SYSDEP_GETTIME_CPU to retval.
639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
640 parameter list to macro. Remove trailing semicolon. Adjust users.
641
9694fc44
UD
642 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
643 variable.
644
8ad89ef8
UD
645 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
646 mantissa words.
647 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
648
0c822ef9
UD
649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
650 from unused variable.
651
874e0564
UD
652 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
653 DWARF definitions.
654 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
655 for assembling.
656
3a2edc79
UD
657 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
658 over namespaces.
659
f3c2577f
UD
660 * sunrpc/rpc_prot.c (rejected): Fix case value.
661
294ce126
UD
662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
663 unsigned long long int to avoid warnings in shift.
664
5e2b63c6
UD
665 * posix/regex_internal.c (re_string_reconstruct): Actually use result
666 of use of trans.
667 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
668 variable tmp.
669
e7f4b08e
UD
670 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
671 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
673
ab26144e
UD
674 * nis/nis_table.c (nis_list): Use variable of correct type for
675 result of __follow_path call.
676
8a6d5255
AZ
6772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
680 of math functions ceil, trunc, floor, round, and sqrt, when
681 avaliable on the platform.
682 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
683 name clash.
684 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
685 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
686 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
687
aaddc98c
MP
6882011-10-30 Marek Polacek <mpolacek@redhat.com>
689
690 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
692
95b7042b
RM
6932011-11-11 Roland McGrath <roland@hack.frob.com>
694
695 * include/unistd.h: Fix __readlink return type.
696 Reported by Chris Metcalf <cmetcalf@tilera.com>.
697
57769839
UD
6982011-11-11 Ulrich Drepper <drepper@gmail.com>
699
700 * stdlib/ucontext.h: Undo last change for makecontext.
701
edc5984d
AS
7022011-11-11 Andreas Schwab <schwab@redhat.com>
703
98591e58
AS
704 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
705
edc5984d
AS
706 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
707 * setjmp/setjmp.h: Mark functions as non-leaf.
708 * setjmp/bits/setjmp2.h: Likewise.
709 * stdlib/ucontext.h: Likewise.
710
77cdc054
AS
7112011-11-10 Andreas Schwab <schwab@redhat.com>
712
713 * malloc/arena.c (_int_new_arena): Don't increment narenas.
714 (reused_arena): Don't check arena limit.
715 (arena_get2): Atomically check arena limit.
716
fe72eebd
UD
7172011-11-08 Ulrich Drepper <drepper@gmail.com>
718
5f078c32
UD
719 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
720 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
721
fe72eebd
UD
722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
723 instructions.
724
ae1bc2fa
AS
7252011-11-07 Andreas Schwab <schwab@redhat.com>
726
7583a88d
AS
727 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
728 handler when locking.
729
ae1bc2fa
AS
730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
731 Fix size of allocated buffer.
732
10fb0bfa
AS
7332011-11-04 Andreas Schwab <schwab@redhat.com>
734
998832a4
AS
735 [BZ #10103]
736 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
737 declarations for long double functions.
738 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
739
10fb0bfa
AS
740 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
741
3d7ba52b
AS
7422011-11-03 Andreas Schwab <schwab@redhat.com>
743
a9ae54a1
AS
744 * nscd/nscd.c (main): Don't start AVC thread until credentials are
745 installed.
746
3d7ba52b
AS
747 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
748 is disabled.
749
bc8db248
ST
7502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
751
752 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
753
45b96dd6
AS
7542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
755
647776f6
AS
756 * include/alloca.h (stackinfo_alloca_round): Define.
757 (extend_alloca): Use it.
758 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
759 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
760 here.
761
d91a8b93
AS
762 * scripts/check-local-headers.sh: Ignore libaudit.h.
763
45b96dd6
AS
764 * nscd/Makefile (extra-objs): Make recursively expanded.
765
432d41ce
UD
7662011-11-01 Ulrich Drepper <drepper@gmail.com>
767
34372fc6
UD
768 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
770
fadb59f8
UD
771 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
772 * posix/tst-rfc3484-2.c: Likewise.
773 * posix/tst-rfc3484-3.c: Likewise.
774
78239589
UD
775 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
776 process_vm_writev.
777 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
778 process_vm_writev.
779 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
780 process_vm_writev from libc using GLIBC_2.15 version.
781
432d41ce
UD
782 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
783
02f9c6cf
PP
7842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
785
786 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
787 stack usage.
788
3a2c0242
UD
7892011-10-31 Ulrich Drepper <drepper@gmail.com>
790
f4ec4833
UD
791 [BZ #13367]
792 * nss/getent.c (initgroups_keys): Show error message in case no group
793 names are given.
794
3a2c0242
UD
795 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
796 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
797 __bump_nl_timestamp.
798 * nscd/connections (nscd_init): When host database is served open
799 netlink socket and request notification about configuration changes.
800 (main_loop_poll): Track netlink file descriptor and bump timestamp
801 in case data becomes available.
802 (main_loop_epoll): Likewise.
803 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
804 (database_pers_head): Add extra_data fileds.
805 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
807 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
808 Adjust caller.
809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
810 in6ai data, call __free_in6ai.
811 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
812 Add -DHAVE_NETLINK.
813 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
814 interface information. Reuse previous data if netlink timestamp
815 is not changed.
816 (__bump_nl_timestamp): New function.
817 (__free_in6ai): New function.
818
636064eb
UD
8192011-10-30 Ulrich Drepper <drepper@gmail.com>
820
821 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
822 close_not_cancel_no_status here.
823 (__check_pf): Reorganize code a bit to not call close twice if OOM.
824
9beb2334
UD
8252011-10-29 Ulrich Drepper <drepper@gmail.com>
826
6ef76f3b
UD
827 [BZ #13276]
828 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
829 return value.
830
0ffc4f3e 831 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
832 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
833 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
834
cb95113e
UD
8352011-07-03 Andreas Jaeger <aj@suse.de>
836
837 [BZ #10709]
838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
839 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
840 * math/libm-test.inc (sin_test): Add test case.
841
a1b560ff
UD
8422011-10-29 Ulrich Drepper <drepper@gmail.com>
843
c9aaface
UD
844 [BZ #13337]
845 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
846 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
847
d272e7f1
UD
848 * elf/chroot_canon.c (chroot_canon): Cleanups.
849
1bc33071
UD
850 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
851
1760874d
TJ
852 [BZ #13335]
853 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
854 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
855
51d91b18
UD
856 * string/test-strchr.c: Make usable for strchrnul testing.
857 * string/test-strchrnul.c: New file.
858 * string/Makefile (strop-tests): Add strchrnul.
859
a1b560ff 860 * po/it.po: Update from translation team.
b611fb81 861 * po/es.po: Likewise.
a1b560ff 862
a5b81e1f
UD
8632011-10-28 Ulrich Drepper <drepper@gmail.com>
864
fd52bc6d
UD
865 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
866 the three constants needed as parameters. Drop the others.
867 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
868 __m128i_strloadu_tolower.
52e4b9eb
UD
869 Create and initialize variable zero and use it in all the places
870 where _mm_setzero_si128 was used.
fd52bc6d 871
a5b81e1f
UD
872 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
873 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
874 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
875 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
876 anymore.
877 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
880 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
882 __mpranred, __mptan.
883 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
884 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
885 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
886 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
887 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
888 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
890 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
891 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
892
b4343346
AS
8932011-10-28 Andreas Schwab <schwab@redhat.com>
894
0c92d8a8
AS
895 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
896 redefine if SHARED.
897 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
898
b4343346
AS
899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
900 wide char related routines to wcsmbs subdir.
901
3871f58f
AS
9022011-10-27 Andreas Schwab <schwab@redhat.com>
903
904 [BZ #13344]
905 * misc/sys/cdefs.h (__THROWNL): Define.
906 * posix/unistd.h: Use __THREADNL instead of __THREAD
907 for memory synchronization functions.
908
94d44d9f
RM
9092011-10-26 Roland McGrath <roland@hack.frob.com>
910
21b64b15 911 [BZ #13349]
94d44d9f
RM
912 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
913 doesn't exist.
914 * manual/stdio.texi (Obstack Streams): Node removed.
915
f6ce9294
AS
9162011-10-26 Andreas Schwab <schwab@redhat.com>
917
80479147
AS
918 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
919 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
921
f6ce9294
AS
922 * math/math_private.h (math_force_eval): Allow non-addressable
923 arguments.
924 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
925
618280a1
UD
9262011-10-25 Ulrich Drepper <drepper@gmail.com>
927
e0016b11
UD
928 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
929 file is not needed.
930
931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
932 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
938 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
939 Add AVX variants.
940 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
941 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
942 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
943 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
945 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
946 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
948 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
949 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
950 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
951 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
952 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
953 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
954 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
955 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
956 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
957 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
958 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
959
960 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
961 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
962
618280a1
UD
963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
964 place. Use VEX encoding when compiling for AVX.
965
37822576
AS
9662011-10-25 Andreas Schwab <schwab@redhat.com>
967
1f1e1947
AS
968 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
969 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
970
37822576
AS
971 * string/test-strchr.c (do_test): Don't generate NUL bytes.
972
31ea014d
UD
9732011-10-25 Ulrich Drepper <drepper@gmail.com>
974
d7826aa1 975 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 976 useless if() expression.
d7826aa1
UD
977 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
978 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
979 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
982 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
988 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
989 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
990 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
993 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
994 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
995 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
996
31ea014d
UD
997 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
998
16437fec
AS
9992011-10-25 Andreas Schwab <schwab@redhat.com>
1000
1001 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1002 condition.
1003 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1004
31d3cc00
UD
10052011-10-25 Ulrich Drepper <drepper@gmail.com>
1006
1007 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1008 .text section. Avoid duplicate constants.
1009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1013 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1017 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1018 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1019 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1020 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1021 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1022 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1023 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1025 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1026 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1027 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1030 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1032 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1033 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1034 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1035 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1036 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1037 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1038 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1040 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1045 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1047 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1050 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1054
58985aa9
UD
10552011-10-24 Ulrich Drepper <drepper@gmail.com>
1056
202c9deb
UD
1057 * sysdeps/x86_64/dla.h: Move to ...
1058 * sysdeps/x86_64/fpu/dla.h: ...here.
1059 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1060 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 1061
af968f62
UD
1062 * config.make.in: Add have-mfma4 entry.
1063 * configure.in: Substitute libc_cv_cc_fma4.
1064 * math/Makefile (dbl-only-routines): Add sincostab.
1065 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1066 Use __sincostab not sincos.
1067 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1068 name is a macro.
1069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1073 using __copysign.
1074 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1075 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1076 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1077 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1078 and __inv.
1079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1080 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1081 __copysign.
1082 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1083 define aliases when function name is a macro.
1084 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1085 sysdeps/ieee754/dbl-64/sincos.tbl.
1086 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1087 fma4-enabled routines.
1088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1089 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1090 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1091 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1093 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1097 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1098 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1099 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1100 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1101 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1102 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1103 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1104 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1105 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1106 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1107 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1108 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1109 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1113 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1115 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1117 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1118
58985aa9
UD
1119 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1120 rename.
1121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1129
a201fbcf
AS
11302011-10-24 Andreas Schwab <schwab@redhat.com>
1131
1132 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1133
fc2ee42a
LD
11342011-10-23 Ulrich Drepper <drepper@gmail.com>
1135
bb3129bd
UD
1136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1137
0275fff8
UD
1138 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1139 prediction.
1140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1141
2fa2ae85
UD
1142 * string/strnlen.c: Don't define STRNLEN, reverse logic.
1143 Remove unused variable magic_bits.
1144 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1145
fc2ee42a
LD
1146 * string/strnlen.c: Define and use STRNLEN macro.
1147 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1148 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1150 * wcsmbs/wcslen.c: Define and use WCSLEN.
1151 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1152 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1153 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1154 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1155 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1156 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1157 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1158
ce7dd29f
LD
11592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1160
1161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1162 strnlen-sse2-no-bsf.
1163 Rename strlen-no-bsf to strlen-sse2-no-bsf.
1164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1165 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1166 Add strnlen support.
1167 (USE_AS_STRNLEN): New macro.
1168 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1170 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1171 * sysdeps/x86_64/wcslen.S: New file.
1172
979c70a3
MZ
11732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1174
1175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1176 XMM-moves are used for copying on small sizes.
1177
2d09f82f
LD
11782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1179
1180 * wcsmbs/Makefile (strop-tests): Add wcschr.
1181 * wcsmbs/test-wcschr.c: New file.
1182 * string/test-strchr.c: Update.
1183 Add wcschr support.
1184 (WIDE): New macro.
1185
619fccca
LD
11862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1187
2d09f82f 1188 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
1189 * wcsmbs/test-wcslen.c: New file.
1190 * string/test-strlen.c: Update.
1191 Add wcslen support.
1192 (WIDE): New macro.
1193
09f699ea
UD
11942011-10-23 Ulrich Drepper <drepper@gmail.com>
1195
1196 * po/it.po: Update from translation team.
1197
95584d3b
LD
11982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1199
1200 * sysdeps/x86_64/wcscmp.S: Update.
1201 Fix wrong comparison semantics.
1202 wcscmp shall use signed comparison not unsigned.
1203 Don't use substraction to avoid overflow bug.
1204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1205 * wcsmbc/wcscmp.c: Likewise.
1206 * string/test-strcmp.c: Likewise.
1207 Add new tests to check cases with negative values.
1208
c8b3296b
UD
12092011-10-23 Ulrich Drepper <drepper@gmail.com>
1210
1211 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1212 * sysdeps/x86_64/dla.h: ...here. New file.
1213 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1220 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1222
246ad57a
AS
12232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1224
1225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1226 __ynl_finite aliases.
1227
a1a87169
UD
12282011-10-22 Ulrich Drepper <drepper@gmail.com>
1229
0d355eb7
UD
1230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1231
a1a87169
UD
1232 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1233 define DLA_FMA.
1234 [DLA_FMA] (EMULV): Use DLA_FMA.
1235 [DLA_FMA] (MUL12): Use EMULV.
1236 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1237 that are not needed.
1238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1245
ee2aafe0
AS
12462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1247
1248 * math/s_nan.c: Undef __nan.
1249 * math/s_nanf.c: Undef __nanf.
1250 * math/s_nanl.c: Undef __nanl.
1251 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1252 "math_private.h".
1253
bc62c2fb
UD
12542011-10-22 Ulrich Drepper <drepper@gmail.com>
1255
77425c63
UD
1256 * math/s_catan.c: Add branch predictions.
1257 * math/s_catanf.c: Likewise.
1258 * math/s_catanh.c: Likewise.
1259 * math/s_catanhf.c: Likewise.
1260 * math/s_catanhl.c: Likewise.
1261 * math/s_catanl.c: Likewise.
1262 * math/s_cexp.c: Likewise.
1263 * math/s_cexpf.c: Likewise.
1264 * math/s_cexpl.c: Likewise.
1265 * math/s_clog.c: Likewise.
1266 * math/s_clog10.c: Likewise.
1267 * math/s_clog10f.c: Likewise.
1268 * math/s_clog10l.c: Likewise.
1269 * math/s_clogf.c: Likewise.
1270 * math/s_clogl.c: Likewise.
1271 * math/s_csqrt.c: Likewise.
1272 * math/s_csqrtf.c: Likewise.
1273 * math/s_csqrtl.c: Likewise.
1274 * math/s_ctanf.c: Likewise.
1275 * math/s_ctanh.c: Likewise.
1276 * math/s_ctanhf.c: Likewise.
1277 * math/s_ctanhl.c: Likewise.
1278 * math/s_ctanl.c: Likewise.
1279
bc62c2fb
UD
1280 * math/math_private.h: Define __nan, __nanf, __nanl.
1281 * math/s_cacosh.c: Include <math_private.h>.
1282 * math/s_cacoshl.c: Likewise.
1283 * math/s_casinh.c: Likewise.
1284 * math/s_casinhf.c: Likewise.
1285 * math/s_casinhl.c: Likewise.
1286 * math/s_ccos.c: Rely entire on ccosh.
1287 * math/s_ccosf.c: Rely entire on ccoshf.
1288 * math/s_ccosl.c: Rely entirely on ccoshl.
1289 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1290 Remove tests for FE_INVALID.
1291 * math/s_ccoshf.c: Likewise.
1292 * math/s_ccoshl.c: Likewise.
1293 * math/s_csin.c: Likewise.
1294 * math/s_csinf.c: Likewise.
1295 * math/s_csinh.c Likewise.
1296 * math/s_csinhf.c: Likewise.
1297 * math/s_csinhl.c: Likewise.
1298 * math/s_csinl.c: Likewise.
1299 * math/s_ctan.c: Likewise.
1300 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1301 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1302 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1303
8ec250a4
UD
13042011-10-21 Ulrich Drepper <drepper@gmail.com>
1305
c196fed8
UD
1306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1307 compilation problems.
1308
8ec250a4
UD
1309 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1310 __builtin_expect.
1311
8d4f46c6
UD
13122011-10-20 Ulrich Drepper <drepper@gmail.com>
1313
ed72b654
UD
1314 * sysdeps/i386/configure.in: Test for -mfma4 option.
1315 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1316 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1317 COMMON_CPUID_INDEX_80000001.
1318 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1319 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1320 use it if FMA3 is not supported.
1321 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1322
8d4f46c6
UD
1323 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1324 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1325
d45c60c2
AS
13262011-10-20 Andreas Schwab <schwab@redhat.com>
1327
1328 [BZ #12892]
1329 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1330 it would create a cycle with a link time dependency.
1331
d9a4d2ab
UD
13322011-10-19 Ulrich Drepper <drepper@gmail.com>
1333
855d1560
UD
1334 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1335 instruction.
1336 * string/Makefile (strop-tests): Add rawmemchr.
1337 * string/test-rawmemchr.c: New file.
1338
d9a4d2ab
UD
1339 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1340 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1341 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1342 when compiling str{,n}casecmp and when AVX is available. Hook up
1343 new optimized code in initializers.
1344
8f3b1ffe
AS
13452011-10-19 Andreas Schwab <schwab@redhat.com>
1346
1347 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1348 __feraiseexcept instead of feraiseexcept.
1349
d38f1dba
UD
13502011-10-18 Ulrich Drepper <drepper@gmail.com>
1351
d9a8d0ab
UD
1352 * math/math_private.h: Define defaults for libc_fetestexcept and
1353 libc_feupdateenv.
1354 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1355 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1356 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1357 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1358 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1359 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1360 libc_fetestexcept and libc_feupdateenv.
1361
4855e3dd
UD
1362 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1363 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1364 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1365 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1366 libc_feholdexcept_setround.
1367
581d30e3
UD
1368 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1369 Add s_nearbyint-c and s_nearbyintf-c.
1370 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1371 nearbyintf inlines.
1372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1373 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1374 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1375 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1376
d38f1dba
UD
1377 * math/math_private.h: Define defaults for libc_fegetround,
1378 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1379 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1380 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1382 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1383 standard functions.
1384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1385 Remove comments and hacks for old compiler versions.
1386 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1387 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1388 libc_feholdexceptl.
1389
caa6c9d8
AS
13902011-10-18 Andreas Schwab <schwab@redhat.com>
1391
1392 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
1393 (__feraiseexcept_renamed): Add __NTH.
1394 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
1395 namespace violations.
1396
97c066e6
UD
13972011-10-17 Ulrich Drepper <drepper@gmail.com>
1398
99ce7b04
UD
1399 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1400
1004d182
UD
1401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1402
228a984d
UD
1403 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1404 recently added interfaces.
1405 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1406
c8553a6a
UD
1407 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1408 about macro parameter expansion.
1409
ed22dcf6
UD
1410 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1411 __NO_MATH_INLINES is defined. Cleanups.
1412
1413 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1414 and __floorf is target has SSE4.1.
1415 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1416 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1417 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1418 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1419
b171c137
UD
1420 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1421 name.
1422 (floorf): Likewise.
1423
97c066e6
UD
1424 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1425
629f62ef
AS
14262011-10-17 Andreas Schwab <schwab@redhat.com>
1427
49a43d80
AS
1428 * misc/sys/cdefs.h: Fix last change.
1429
629f62ef
AS
1430 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1431 database lookup.
1432
e453f6cd
UD
14332011-10-16 Ulrich Drepper <drepper@gmail.com>
1434
aa78043a
UD
1435 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1436
ad0f5cad
UD
1437 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1443 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1445 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1446 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1447 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1448 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1449 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1450 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1451 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1452 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1453 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1454 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1455 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1456 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1457 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1458 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1459
1460 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1461 ceil, ceilf, floor, floorf.
1462
1463 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1464 Perform IRELATIVE relocations last.
1465
e453f6cd
UD
1466 * elf/do-rel.h: Add another parameter nrelative, replacing the
1467 local variable with the same name. Change name of the function
1468 to end in Rel or Rela (uppercase).
1469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1470 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1471 elf_dynamic_do_##reloc function.
1472
fd5bdc09
UD
14732011-10-15 Ulrich Drepper <drepper@gmail.com>
1474
79b195b5
UD
1475 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1476 is sufficient, at least on modern CPUs.
1477
d4a28569
UD
1478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1479
b61099b5
UD
1480 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1481 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1482
bcf01e6d
UD
1483 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1484 __expl_finite.
1485 * math/bits/math-finite.h: Add entries for exp.
1486 * math/e_expl.c: Add __*_finite alias.
1487 * sysdeps/i386/fpu/e_exp.S: Likewise.
1488 * sysdeps/i386/fpu/e_expf.S: Likewise.
1489 * sysdeps/i386/fpu/e_expl.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1491 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1497
ba1a0d59
UD
1498 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1499 is sufficient, at least on modern CPUs.
1500
fd5bdc09
UD
1501 * ctype/ctype-info.c (__ctype_init): Define.
1502 * include/ctype.h (__ctype_init): Declare.
1503 (__ctype_b_loc): The variable is always initialized.
1504 (__ctype_toupper_loc): Likewise.
1505 (__ctype_tolower_loc): Likewise.
1506 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1507 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1508
7872cfb0
AS
15092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1510
b468825a
AS
1511 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1512
7872cfb0
AS
1513 * configure.in: Also look in $cxxmachine/include for C++ system
1514 headers.
1515
be13f7bf
LD
15162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1517
1518 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1519 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1520 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1521 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1523 (USE_AS_WMEMCMP): New macro.
1524 Fixing indents.
1525 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1526 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1527 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1528 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1530 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1531 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1533 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1534 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1535 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1536 (USE_AS_WMEMCMP): New macro.
1537 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1538 * sysdeps/string/test-memcmp.c: Update.
1539 Fix simple_wmemcmp.
1540 Add new tests.
1541 * wcsmbs/wmemcmp.c: Update.
1542 (WMEMCMP): New macro.
1543 Fix overflow bug.
1544
556a2007
AJ
15452011-10-12 Andreas Jaeger <aj@suse.de>
1546
1547 [BZ #13268]
1548 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1549
538faaa7
UD
15502011-10-15 Ulrich Drepper <drepper@gmail.com>
1551
ab6737ff
UD
1552 * libio/iofwide.c (do_length): Avoid warning.
1553
538faaa7
UD
1554 * ctype/ctype.h (__isctype_f): Add missing __THROW.
1555
396a21b1
UD
15562011-10-14 Ulrich Drepper <drepper@gmail.com>
1557
cdf2901f
UD
1558 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1559
38ad40ce
UD
1560 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1561 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1562 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1563 * sysdeps/i386/i686/fpu/e_log.S: New file.
1564 * sysdeps/i386/i686/fpu/e_logf.S: New file.
1565 * sysdeps/i386/i686/fpu/e_logl.S: New file.
1566
396a21b1
UD
1567 * ctype/ctype.h: Add support for inlined isXXX functions when
1568 compiling C++ code.
1569
6b1f68c9
AS
15702011-10-14 Andreas Schwab <schwab@redhat.com>
1571
349290c0
AS
1572 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1573
6b1f68c9
AS
1574 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1575
f2282d42
RM
15762011-10-13 Roland McGrath <roland@hack.frob.com>
1577
1578 [BZ #13291]
1579 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1580
5298ffa8
AS
15812011-10-13 Andreas Schwab <schwab@redhat.com>
1582
714fad23
AS
1583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1584 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1585 feraiseexcept.
1586
81dcc7fb
AS
1587 * sysdeps/x86_64/memrchr.S: Check for zero size.
1588
5298ffa8
AS
1589 * string/stratcliff.c: Add memrchr tests.
1590
951fbcec
LD
15912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1592
1593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1594 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1595 rawmemchr-sse2 rawmemchr-sse2-bsf.
1596 * sysdeps/i386/i686/multiarch/memchr.S: New file.
1597 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1598 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1599 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1600 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1601 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1602 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1603 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1604 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1605 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1606 * string/memrchr.c (MEMRCHR): New macro.
1607
0ac5ae23
UD
16082011-10-12 Ulrich Drepper <drepper@gmail.com>
1609
1610 Add integration with gcc's -ffinite-math-only and optimize wrapper
1611 functions in libm.
1612 * Versions.def: Define GLIBC_2.15 version for libm.
1613 * math/Makefile (headers): Add bits/math-finite.h.
1614 * math/bits/math-finite.h: New file.
1615 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1616 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1617 * math/e_acoshl.c: Add __*_finite alias.
1618 * math/e_acosl.c: Likewise.
1619 * math/e_asinl.c: Likewise.
1620 * math/e_atan2l.c: Likewise.
1621 * math/e_atanhl.c: Likewise.
1622 * math/e_coshl.c: Likewise.
1623 * math/e_exp10.c: Likewise.
1624 * math/e_exp10f.c: Likewise.
1625 * math/e_exp10l.c: Likewise.
1626 * math/e_exp2l.c: Likewise.
1627 * math/e_fmodl.c: Likewise.
1628 * math/e_gammal_r.c: Likewise.
1629 * math/e_hypotl.c: Likewise.
1630 * math/e_j0l.c: Likewise.
1631 * math/e_j1l.c: Likewise.
1632 * math/e_jnl.c: Likewise.
1633 * math/e_lgammal_r.c: Likewise.
1634 * math/e_log10l.c: Likewise.
1635 * math/e_log2l.c: Likewise.
1636 * math/e_logl.c: Likewise.
1637 * math/e_powl.c: Likewise.
1638 * math/e_sinhl.c: Likewise.
1639 * math/e_sqrtl.c: Likewise.
1640 * math/e_scalb.c: Completely rewritten and optimized.
1641 * math/e_scalbf.c: Likewise.
1642 * math/e_scalbl.c: Likewise.
1643 * math/w_acos.c: Likewise.
1644 * math/w_acosf.c: Likewise.
1645 * math/w_acosl.c: Likewise.
1646 * math/w_acosh.c: Likewise.
1647 * math/w_acoshf.c: Likewise.
1648 * math/w_acoshl.c: Likewise.
1649 * math/w_asin.c: Likewise.
1650 * math/w_asinf.c: Likewise.
1651 * math/w_asinl.c: Likewise.
1652 * math/w_atan2.c: Likewise.
1653 * math/w_atan2f.c: Likewise.
1654 * math/w_atan2l.c: Likewise.
1655 * math/w_atanh.c: Likewise.
1656 * math/w_atanhf.c: Likewise.
1657 * math/w_atanhl.c: Likewise.
1658 * math/w_exp10.c: Likewise.
1659 * math/w_exp10f.c: Likewise.
1660 * math/w_exp10l.c: Likewise.
1661 * math/w_fmod.c: Likewise.
1662 * math/w_fmodf.c: Likewise.
1663 * math/w_fmodl.c: Likewise.
1664 * math/w_j0.c: Likewise.
1665 * math/w_j0f.c: Likewise.
1666 * math/w_j0l.c: Likewise.
1667 * math/w_j1.c: Likewise.
1668 * math/w_j1f.c: Likewise.
1669 * math/w_j1l.c: Likewise.
1670 * math/w_jn.c: Likewise.
1671 * math/w_jnf.c: Likewise.
1672 * math/w_log.c: Likewise.
1673 * math/w_logf.c: Likewise.
1674 * math/w_logl.c: Likewise.
1675 * math/w_log10.c: Likewise.
1676 * math/w_log10f.c: Likewise.
1677 * math/w_log10l.c: Likewise.
1678 * math/w_log2.c: Likewise.
1679 * math/w_log2f.c: Likewise.
1680 * math/w_log2l.c: Likewise.
1681 * math/w_pow.c: Likewise.
1682 * math/w_powf.c: Likewise.
1683 * math/w_powl.c: Likewise.
1684 * math/w_remainder.c: Likewise.
1685 * math/w_remainderf.c: Likewise.
1686 * math/w_remainderl.c: Likewise.
1687 * math/w_scalb.c: Likewise.
1688 * math/w_scalbf.c: Likewise.
1689 * math/w_scalbl.c: Likewise.
1690 * math/w_sqrt.c: Likewise.
1691 * math/w_sqrtf.c: Likewise.
1692 * math/w_sqrtl.c: Likewise.
1693 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
1694 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
1695 used.
1696 * math/math_private.h: Declare __kernel_standard_f.
1697 * math/w_cosh.c: Remove cruft and optimize a bit.
1698 * math/w_coshf.c: Likewise.
1699 * math/w_coshl.c: Likewise.
1700 * math/w_exp2.c: Likewise.
1701 * math/w_exp2f.c: Likewise.
1702 * math/w_exp2l.c: Likewise.
1703 * math/w_hypot.c: Likewise.
1704 * math/w_hypotf.c: Likewise.
1705 * math/w_hypotl.c: Likewise.
1706 * math/w_lgamma.c: Likewise.
1707 * math/w_lgamma_r.c: Likewise.
1708 * math/w_lgammaf.c: Likewise.
1709 * math/w_lgammaf_r.c: Likewise.
1710 * math/w_lgammal.c: Likewise.
1711 * math/w_lgammal_r.c: Likewise.
1712 * math/w_sinh.c: Likewise.
1713 * math/w_sinhf.c: Likewise.
1714 * math/w_sinhl.c: Likewise.
1715 * math/w_tgamma.c: Likewise.
1716 * math/w_tgammaf.c: Likewise.
1717 * math/w_tgammal.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1720 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
1721 Minor optimizations. Pretty printing. Remove cruft.
1722 * sysdeps/i386/fpu/e_acosf.S: Likewise.
1723 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1724 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1725 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1726 * sysdeps/i386/fpu/e_acosl.c: Likewise.
1727 * sysdeps/i386/fpu/e_asin.S: Likewise.
1728 * sysdeps/i386/fpu/e_asinf.S: Likewise.
1729 * sysdeps/i386/fpu/e_atan2.S: Likewise.
1730 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
1731 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
1732 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1733 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1735 * sysdeps/i386/fpu/e_exp10.S: Likewise.
1736 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
1737 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
1738 * sysdeps/i386/fpu/e_exp2.S: Likewise.
1739 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
1740 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
1741 * sysdeps/i386/fpu/e_fmod.S: Likewise.
1742 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
1743 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
1744 * sysdeps/i386/fpu/e_hypot.S: Likewise.
1745 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
1746 * sysdeps/i386/fpu/e_log.S: Likewise.
1747 * sysdeps/i386/fpu/e_log10.S: Likewise.
1748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1750 * sysdeps/i386/fpu/e_log2.S: Likewise.
1751 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1753 * sysdeps/i386/fpu/e_logf.S: Likewise.
1754 * sysdeps/i386/fpu/e_logl.S: Likewise.
1755 * sysdeps/i386/fpu/e_pow.S: Likewise.
1756 * sysdeps/i386/fpu/e_powf.S: Likewise.
1757 * sysdeps/i386/fpu/e_powl.S: Likewise.
1758 * sysdeps/i386/fpu/e_remainder.S: Likewise.
1759 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
1760 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
1761 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1764 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
1765 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
1766 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1778 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1781 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1787 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1788 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1791 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1793 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1794 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1795 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1796 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1797 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1798 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1801 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1802 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1803 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1804 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1805 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1806 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1847 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1858 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1860 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1862 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1863 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1864 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1865 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1866 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1867 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
1868 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
1869 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
1870 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
1871 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1872 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1874 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1875 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
1876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1877 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
1878 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
1879 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
1880 (__isnanf): Likewise.
1881 (__isinf_ns): Likewise.
1882 (__isinf_nsf): Likewise.
1883 (__finite): Likewise.
1884 (__finitef): Likewise.
1885 (__ieee754_sqrt): Define as macro.
1886 (__ieee754_sqrtf): Define as macro.
1887 (__ieee754_sqrtl): Define as macro.
1888 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
1889 inlined copy.
1890 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
1891 __FINITE_MATH_ONLY__ consistent.
1892 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
1893
12cc2fcd
AS
18942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
1895
a843a204
AS
1896 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
1897 of rawmemchr.
1898
12cc2fcd
AS
1899 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
1900
c853acd5
UD
19012011-10-09 Ulrich Drepper <drepper@gmail.com>
1902
1903 * po/ja.po: Update from translation team.
1904
c658d255
RM
19052011-10-08 Roland McGrath <roland@hack.frob.com>
1906
110946e4
RM
1907 * locale/programs/locarchive.c (prepare_address_space): New function.
1908 (create_archive, enlarge_archive, open_archive): Use it.
1909
50604220
RM
1910 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
1911 inside [SHARED], where it is used.
1912
c658d255
RM
1913 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
1914
1915 * nss/getent.c (netgroup_keys): Remove unused variable.
1916 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1917
6a621eb7
UD
19182011-10-08 Ulrich Drepper <drepper@gmail.com>
1919
7edb55ce
UD
1920 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
1921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
1922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
1923 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
1924 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
1925 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
1926 * math/Makefile (libm-calls): Add s_isinf_ns.
1927 * math/divtc3.c: Use __isinf_nsl instead of isinf.
1928 * math/multc3.c: Likewise.
1929 * math/s_casin.c: Likewise.
1930 * math/s_casinf.c: Likewise.
1931 * math/s_casinl.c: Likewise.
1932 * math/s_ccos.c: Likewise.
1933 * math/s_ccosf.c: Likewise.
1934 * math/s_ccosl.c: Likewise.
1935 * math/s_ctan.c: Likewise.
1936 * math/s_ctanf.c: Likewise.
1937 * math/s_ctanh.c: Likewise.
1938 * math/s_ctanhf.c: Likewise.
1939 * math/s_ctanhl.c: Likewise.
1940 * math/s_ctanl.c: Likewise.
1941 * math/w_fmod.c: Likewise.
1942 * math/w_fmodf.c: Likewise.
1943 * math/w_fmodl.c: Likewise.
1944 * math/w_remainder.c: Likewise.
1945 * math/w_remainderf.c: Likewise.
1946 * math/w_remainderl.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
1948 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
1949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
1950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
1951 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
1952 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
1953 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
1954 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
1955
187da0ae
UD
1956 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
1957 of the number.
1958 * stdio-common/printf_fphex.c: Likewise.
1959 * stdio-common/printf_size.c: Likewise.
1960
9277c064
UD
1961 * math/e_exp10.c: Include math_private.h using <...> not "...".
1962 * math/e_exp10f.c: Likewise.
1963 * math/e_exp10l.c: Likewise.
1964 * math/e_exp2l.c: Likewise.
1965 * math/e_j0l.c: Likewise.
1966 * math/e_j1l.c: Likewise.
1967 * math/e_jnl.c: Likewise.
1968 * math/e_lgammal_r.c: Likewise.
1969 * math/e_rem_pio2l.c: Likewise.
1970 * math/e_scalb.c: Likewise.
1971 * math/e_scalbf.c: Likewise.
1972 * math/e_scalbl.c: Likewise.
1973 * math/k_cosl.c: Likewise.
1974 * math/k_sinl.c: Likewise.
1975 * math/k_tanl.c: Likewise.
1976 * math/s_cacoshf.c: Likewise.
1977 * math/s_catan.c: Likewise.
1978 * math/s_catanf.c: Likewise.
1979 * math/s_catanh.c: Likewise.
1980 * math/s_catanhf.c: Likewise.
1981 * math/s_catanhl.c: Likewise.
1982 * math/s_catanl.c: Likewise.
1983 * math/s_ccosh.c: Likewise.
1984 * math/s_ccoshf.c: Likewise.
1985 * math/s_ccoshl.c: Likewise.
1986 * math/s_cexp.c: Likewise.
1987 * math/s_cexpf.c: Likewise.
1988 * math/s_cexpl.c: Likewise.
1989 * math/s_clog.c: Likewise.
1990 * math/s_clog10.c: Likewise.
1991 * math/s_clog10f.c: Likewise.
1992 * math/s_clog10l.c: Likewise.
1993 * math/s_clogf.c: Likewise.
1994 * math/s_clogl.c: Likewise.
1995 * math/s_csin.c: Likewise.
1996 * math/s_csinf.c: Likewise.
1997 * math/s_csinh.c: Likewise.
1998 * math/s_csinhf.c: Likewise.
1999 * math/s_csinhl.c: Likewise.
2000 * math/s_csinl.c: Likewise.
2001 * math/s_csqrt.c: Likewise.
2002 * math/s_csqrtf.c: Likewise.
2003 * math/s_csqrtl.c: Likewise.
2004 * math/s_ctan.c: Likewise.
2005 * math/s_ctanf.c: Likewise.
2006 * math/s_ctanh.c: Likewise.
2007 * math/s_ctanhf.c: Likewise.
2008 * math/s_ctanhl.c: Likewise.
2009 * math/s_ctanl.c: Likewise.
2010 * math/s_ldexp.c: Likewise.
2011 * math/s_ldexpf.c: Likewise.
2012 * math/s_ldexpl.c: Likewise.
2013 * math/s_significand.c: Likewise.
2014 * math/s_significandf.c: Likewise.
2015 * math/s_significandl.c: Likewise.
2016 * math/w_acos.c: Likewise.
2017 * math/w_acosf.c: Likewise.
2018 * math/w_acosh.c: Likewise.
2019 * math/w_acoshf.c: Likewise.
2020 * math/w_acoshl.c: Likewise.
2021 * math/w_acosl.c: Likewise.
2022 * math/w_asin.c: Likewise.
2023 * math/w_asinf.c: Likewise.
2024 * math/w_asinl.c: Likewise.
2025 * math/w_atan2.c: Likewise.
2026 * math/w_atan2f.c: Likewise.
2027 * math/w_atan2l.c: Likewise.
2028 * math/w_atanh.c: Likewise.
2029 * math/w_atanhf.c: Likewise.
2030 * math/w_atanhl.c: Likewise.
2031 * math/w_cosh.c: Likewise.
2032 * math/w_coshf.c: Likewise.
2033 * math/w_coshl.c: Likewise.
2034 * math/w_dremf.c: Likewise.
2035 * math/w_exp10.c: Likewise.
2036 * math/w_exp10f.c: Likewise.
2037 * math/w_exp10l.c: Likewise.
2038 * math/w_exp2.c: Likewise.
2039 * math/w_exp2f.c: Likewise.
2040 * math/w_fmod.c: Likewise.
2041 * math/w_fmodf.c: Likewise.
2042 * math/w_fmodl.c: Likewise.
2043 * math/w_hypot.c: Likewise.
2044 * math/w_hypotf.c: Likewise.
2045 * math/w_hypotl.c: Likewise.
2046 * math/w_j0.c: Likewise.
2047 * math/w_j0f.c: Likewise.
2048 * math/w_j0l.c: Likewise.
2049 * math/w_j1.c: Likewise.
2050 * math/w_j1f.c: Likewise.
2051 * math/w_j1l.c: Likewise.
2052 * math/w_jn.c: Likewise.
2053 * math/w_jnf.c: Likewise.
2054 * math/w_jnl.c: Likewise.
2055 * math/w_lgamma.c: Likewise.
2056 * math/w_lgamma_r.c: Likewise.
2057 * math/w_lgammaf.c: Likewise.
2058 * math/w_lgammaf_r.c: Likewise.
2059 * math/w_lgammal.c: Likewise.
2060 * math/w_lgammal_r.c: Likewise.
2061 * math/w_log.c: Likewise.
2062 * math/w_log10.c: Likewise.
2063 * math/w_log10f.c: Likewise.
2064 * math/w_log10l.c: Likewise.
2065 * math/w_log2.c: Likewise.
2066 * math/w_log2f.c: Likewise.
2067 * math/w_log2l.c: Likewise.
2068 * math/w_logf.c: Likewise.
2069 * math/w_logl.c: Likewise.
2070 * math/w_pow.c: Likewise.
2071 * math/w_powf.c: Likewise.
2072 * math/w_powl.c: Likewise.
2073 * math/w_remainder.c: Likewise.
2074 * math/w_remainderf.c: Likewise.
2075 * math/w_remainderl.c: Likewise.
2076 * math/w_scalb.c: Likewise.
2077 * math/w_scalbf.c: Likewise.
2078 * math/w_scalbl.c: Likewise.
2079 * math/w_sinh.c: Likewise.
2080 * math/w_sinhf.c: Likewise.
2081 * math/w_sinhl.c: Likewise.
2082 * math/w_sqrt.c: Likewise.
2083 * math/w_sqrtf.c: Likewise.
2084 * math/w_sqrtl.c: Likewise.
2085 * math/w_tgamma.c: Likewise.
2086 * math/w_tgammaf.c: Likewise.
2087 * math/w_tgammal.c: Likewise.
2088
6a621eb7
UD
2089 * po/ja.po: Update from translation team.
2090
bf582445
AJ
20912011-09-29 Andreas Jaeger <aj@suse.de>
2092
f9efbf3a
AJ
2093 [BZ #13179]
2094 * sunrpc/netname.c (netname2host): Fix logic.
2095
bf582445
AJ
2096 [BZ #6779]
2097 [BZ #6783]
2098 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2099 correctly.
2100 * math/w_remainder.c (__remainder): Likewise.
2101 * math/w_remainderf.c (__remainderf): Likewise.
2102 * math/libm-test.inc (remainder_test): Add test cases.
2103
48693bea
AK
21042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2105
2106 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2107 sdiv_qrnnd.
2108
42622229
LD
21092011-10-07 Ulrich Drepper <drepper@gmail.com>
2110
2111 * string/test-memcmp.c: Avoid unncessary #defines.
2112 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2113
093ecf92
LD
21142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2115
2116 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2117 Use new sse2 version for core i3 - i7 as it's faster
2118 than sse42 version.
2119 (bit_Prefer_PMINUB_for_stringop): New.
2120 * sysdeps/x86_64/rawmemchr.S: Update.
2121 Replace with faster SSE2 version.
2122 * sysdeps/x86_64/memrchr.S: New file.
2123 * sysdeps/x86_64/memchr.S: Update.
2124 Replace with faster SSE2 version.
2125
fde56e5c
MP
21262011-09-12 Marek Polacek <mpolacek@redhat.com>
2127
2128 * elf/dl-load.c (lose): Add cast to avoid warning.
2129
21fd49a9
UD
21302011-10-07 Ulrich Drepper <drepper@gmail.com>
2131
5a06e643
UD
2132 * po/ca.po: Update from translation team.
2133
684ae515
UD
2134 * inet/getnetgrent_r.c: Hook up nscd.
2135 * nscd/Makefile (routines): Add nscd_netgroup.
2136 (nscd-modules): Add netgroupcache.
2137 (CFLAGS-netgroupcache.c): Define.
2138 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2139 (cache_search): Add const to second parameter.
2140 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2141 INNETGR.
2142 (dbs): Add netgrdb entry.
2143 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2144 (verify_persistent_db): Handle netgrdb.
2145 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2146 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2147 GETFDNETGR.
2148 (netgroup_response_header): Define.
2149 (innetgroup_response_header): Define.
2150 (datahead): Add netgroup_response_header and innetgroup_response_header
2151 elements.
2152 * nscd/nscd.conf: Add entries for netgroup cache.
2153 * nscd/nscd.h (dbtype): Add netgrdb.
2154 (_PATH_NSCD_NETGROUP_DB): Define.
2155 (netgroup_iov_disabled): Declare.
2156 (xmalloc, xcalloc, xrealloc): Move declarations here.
2157 (cache_search): Adjust prototype.
2158 Add netgroup-related prototypes.
2159 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2160 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2161 (__nscd_innetgr): Declare.
2162 * nscd/selinux.c (perms): Use access_vector_t as element type and
2163 add netgroup-related initializers.
2164 * nscd/netgroupcache.c: New file.
2165 * nscd/nscd_netgroup.c: New file.
2166 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2167 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2168 For four parameters use innetgr.
2169 * nss/nss_files/files-init.c: Add definition and callback for netgr.
2170 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2171 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2172 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2173
21fd49a9
UD
2174 * nscd/connections.c (register_traced_file): Don't register file
2175 for disabled databases.
2176
054c0457
UD
21772011-10-06 Ulrich Drepper <drepper@gmail.com>
2178
32b63198
UD
2179 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2180
054c0457
UD
2181 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2182 from tree and freeing node.
2183
64031225
JO
21842011-09-25 Jiri Olsa <jolsa@redhat.com>
2185
2186 * nss/nsswitch.c (__nss_database_lookup): Handle
2187 nss_parse_service_list out of memory case.
2188
0490345c
JO
21892011-09-15 Jiri Olsa <jolsa@redhat.com>
2190
2191 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2192 out of memory case.
2193
3a62d00d
AS
21942011-10-04 Andreas Schwab <schwab@redhat.com>
2195
2196 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2197 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2198 pass it down.
2199 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2200 elf_machine_rela, elf_machine_lazy_rel.
2201 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2202 (ELF_DYNAMIC_DO_REL): Likewise.
2203 (ELF_DYNAMIC_DO_RELA): Likewise.
2204 (ELF_DYNAMIC_RELOCATE): Likewise.
2205 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2206 to ELF_DYNAMIC_DO_REL.
2207 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2208 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2209 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2210 elf_machine_rela.
2211 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2212 skip_ifunc, don't call ifunc function if non-zero.
2213 (elf_machine_rela): Likewise.
2214 (elf_machine_lazy_rel): Likewise.
2215 (elf_machine_lazy_rela): Likewise.
2216 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2217 (elf_machine_lazy_rel): Likewise.
2218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2219 Likewise.
2220 (elf_machine_lazy_rel): Likewise.
2221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2222 Likewise.
2223 (elf_machine_lazy_rel): Likewise.
2224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2225 (elf_machine_lazy_rel): Likewise.
2226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2227 (elf_machine_lazy_rel): Likewise.
2228 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2229 (elf_machine_lazy_rel): Likewise.
2230 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2231 (elf_machine_lazy_rel): Likewise.
2232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2233 (elf_machine_lazy_rel): Likewise.
2234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2235 (elf_machine_lazy_rel): Likewise.
2236
68577918
UD
22372011-09-28 Ulrich Drepper <drepper@gmail.com>
2238
2239 * nss/nss_files/files-init.c (_nss_files_init): Use static
2240 initialization for all the *_traced_file variables.
2241
68822d74
AS
22422011-09-28 Andreas Schwab <schwab@redhat.com>
2243
2244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2245
2056100b
RM
22462011-09-27 Roland McGrath <roland@hack.frob.com>
2247
2248 [BZ #13226]
2249 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2250
32c76b63
AS
22512011-09-27 Andreas Schwab <schwab@redhat.com>
2252
2253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2254 Reread the line before reparsing it.
2255
bf972c9d
AS
22562011-09-26 Andreas Schwab <schwab@redhat.com>
2257
2258 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2259
e057a1b5
JM
22602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2261 Maxim Kuvyrkov <maxim@codesourcery.com>
2262 Joseph Myers <joseph@codesourcery.com>
2263
2264 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2265 if needed for __stack_chk_guard.
2266
bc7e1c36
RM
22672011-09-19 Roland McGrath <roland@hack.frob.com>
2268
ecb1482f
RM
2269 * sysdeps/posix/spawni.c (script_execute): Always define it.
2270 It will be optimized away if unused.
2271 (maybe_script_execute): New function.
2272 (__spawni): Call it.
2273
bc7e1c36
RM
2274 * Makerules: Don't include tls.make.
2275 (config-tls): Always set to thread.
2276 * tls.make.c: File removed.
2277
1c3b002b
MF
22782011-09-19 Mike Frysinger <vapier@gentoo.org>
2279
2280 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2281 * config.make.in (CPPFLAGS-config): New substituted variable.
2282
2840865d
UD
22832011-09-15 Ulrich Drepper <drepper@gmail.com>
2284
88738eb6
UD
2285 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2286
cbf645a6 2287 [BZ #13192]
2840865d
UD
2288 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2289 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2290
b402e91a
RM
22912011-09-15 Roland McGrath <roland@hack.frob.com>
2292
2293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2294 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2296 (CALL_FAIL): Likewise.
2297 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2298 (CALL_FAIL): Macro removed.
2299 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2300
4c1a1f71
UD
23012011-09-15 Ulrich Drepper <drepper@gmail.com>
2302
2303 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2304 for __FINITE_MATH_ONLY__ == 1.
2305
edc121be
AS
23062011-09-15 Andreas Schwab <schwab@redhat.com>
2307
2308 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2309 __ieee754_sqrt instead of sqrt.
2310 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2311 __ieee754_sqrtf instead of sqrtf.
2312 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2313 __floorf instead of floorf.
2314 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2315 __floorf, __truncf instead of floorf, truncf.
2316
cd205654
UD
23172011-09-14 Ulrich Drepper <drepper@gmail.com>
2318
ee4d0315
UD
2319 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2320
cd205654
UD
2321 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2322 __extern_always_inline.
2323 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2324 32-bit.
2325
48b67d71
AS
23262011-09-14 Andreas Schwab <schwab@redhat.com>
2327
2328 * elf/rtld.c (dl_main): Also relocate in dependency order when
2329 doing symbol dependency testing.
2330
1ae12c75
AS
23312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2332
2333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2334 Always define `refsym'.
2335
995a80df
AS
23362011-09-13 Andreas Schwab <schwab@redhat.com>
2337
e529793b
AS
2338 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2339 (__FD_ELT): Renamed from __FDELT.
2340 * misc/bits/select2.h (__FD_ELT): Likewise.
2341 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2342 __FD_MASK instead of __FDELT, __FDMASK.
2343 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2344 Likewise.
2345 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2346 Likewise.
2347
52d4fef8
AS
2348 * elf/Makefile (gen-ldd): Fix pattern.
2349
995a80df
AS
2350 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2351 (init_tls): Likewise.
2352
8682f8b0
UD
23532011-09-12 Ulrich Drepper <drepper@gmail.com>
2354
2355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2356
de82006d
AS
23572011-09-12 Andreas Schwab <schwab@redhat.com>
2358
a7c8e6a1
AS
2359 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2360 `struct cmsghdr *' instead of `void *'.
2361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2362 Likewise.
2363
0f31fe77
AS
23642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2365
2366 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2367 if non-absolute.
2368 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2369 ldd_rewrite_script.
0f31fe77 2370
32b4c839
UD
23712011-09-11 Ulrich Drepper <drepper@gmail.com>
2372
83cd1420
UD
2373 * configure.in: Remove --with-tls option.
2374 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2375 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2376 out in case it is missing.
2377 * sysdeps/ia64/elf/configure.in: Likewise.
2378 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2379 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2380 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2381 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2382 * sysdeps/sh/elf/configure.in: Likewise.
2383 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2384 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2385 * sysdeps/x86_64/elf/configure.in: Likewise.
2386 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2387 * sysdeps/mach/hurd/tls.h: Likewise.
2388
633f745d
UD
2389 [BZ #13067]
2390 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2391
f318beb8
UD
2392 [BZ #13090]
2393 * configure.in: Fix use of AC_INIT.
2394
32b4c839
UD
2395 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2396
3ce1f295
UD
23972011-09-10 Ulrich Drepper <drepper@gmail.com>
2398
bb016596
UD
2399 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2400 __set_errno.
8e58439c
UD
2401 * malloc/hooks.c: Likewise.
2402
02d46fc4
UD
2403 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2404 variables statically.
2405 (narenas): Initialize.
2406 (list_lock): Initialize.
bb016596
UD
2407 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2408 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
2409 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2410 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2411 Add initializers to main_arena and mp_.
2412 (malloc_state): Remove pagesize member. Change all users to use
2413 GLRO(dl_pagesize).
2414
2415 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2416 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2417 is always initialized.
2418
22a89187
UD
2419 * malloc/malloc.c: Removed unused configurations and dead code.
2420 * malloc/arena.c: Likewise.
2421 * malloc/hooks.c: Likewise.
02d46fc4 2422 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 2423
d063d164
UD
2424 * include/tls.h: Removed. USE___THREAD must always be defined.
2425 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2426 * elf/dl-libc.c: Likewise.
2427 * elf/dl-tsd.c: Likewise.
2428 * include/errno.h: Likewise.
2429 * include/netdb.h: Likewise.
2430 * include/resolv.h: Likewise.
2431 * inet/herrno-loc.c: Likewise.
2432 * inet/herrno.c: Likewise.
2433 * malloc/arena.c: Likewise.
2434 * malloc/hooks.c: Likewise.
2435 * malloc/malloc.c: Likewise.
2436 * resolv/res-state.c: Likewise.
2437 * resolv/res_libc.c: Likewise.
2438 * sysdeps/i386/dl-machine.h: Likewise.
2439 * sysdeps/ia64/dl-machine.h: Likewise.
2440 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2442 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2443 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2444 * sysdeps/sh/dl-machine.h: Likewise.
2445 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2447 * sysdeps/unix/i386/sysdep.S: Likewise.
2448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2449 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2454 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2458 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2459 * sysdeps/x86_64/dl-machine.h: Likewise.
2460 * tls.make.c: Likewise.
2461
3ce1f295
UD
2462 * configure.in: Remove --with-__thread option. Make tests for
2463 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2464 tls_model attribute fail if no support is available. Remove
2465 USE_IN_LIBIO.
2466 * Makeconfig: Adjust for dropped configure option. All features are
2467 now mandatory.
2468 * Makerules: Likewise.
2469 * Versions.def: Likewise.
2470 * argp/argp-fmtstream.c: Likewise.
2471 * argp/argp-fmtstream.h: Likewise.
2472 * argp/argp-help.c: Likewise.
2473 * assert/assert.c: Likewise.
2474 * config.h.in: Likewise.
2475 * config.make.in: Likewise.
2476 * configure: Likewise.
2477 * configure.in: Likewise.
2478 * csu/Versions: Likewise.
2479 * csu/init.c: Likewise.
2480 * elf/tst-audit2.c: Likewise.
2481 * elf/tst-tls10.c: Likewise.
2482 * elf/tst-tls10.h: Likewise.
2483 * elf/tst-tls11.c: Likewise.
2484 * elf/tst-tls12.c: Likewise.
2485 * elf/tst-tls14.c: Likewise.
2486 * elf/tst-tlsmod11.c: Likewise.
2487 * elf/tst-tlsmod12.c: Likewise.
2488 * elf/tst-tlsmod13.c: Likewise.
2489 * elf/tst-tlsmod13a.c: Likewise.
2490 * elf/tst-tlsmod14a.c: Likewise.
2491 * elf/tst-tlsmod15b.c: Likewise.
2492 * elf/tst-tlsmod16a.c: Likewise.
2493 * elf/tst-tlsmod16b.c: Likewise.
2494 * elf/tst-tlsmod7.c: Likewise.
2495 * elf/tst-tlsmod8.c: Likewise.
2496 * elf/tst-tlsmod9.c: Likewise.
2497 * gmon/gmon.c: Likewise.
2498 * grp/fgetgrent_r.c: Likewise.
2499 * grp/putgrent.c: Likewise.
2500 * hurd/fopenport.c: Likewise.
2501 * include/libc-symbols.h: Likewise.
2502 * include/tls.h: Likewise.
2503 * intl/gettextP.h: Likewise.
2504 * intl/loadinfo.h: Likewise.
2505 * locale/global-locale.c: Likewise.
2506 * locale/localeinfo.h: Likewise.
2507 * mach/devstream.c: Likewise.
2508 * malloc/arena.c: Likewise.
2509 * malloc/set-freeres.c: Likewise.
2510 * misc/err.c: Likewise.
2511 * misc/getttyent.c: Likewise.
2512 * misc/mntent_r.c: Likewise.
2513 * posix/getopt.c: Likewise.
2514 * posix/wordexp.c: Likewise.
2515 * pwd/fgetpwent_r.c: Likewise.
2516 * resolv/Versions: Likewise.
2517 * resolv/res_hconf.c: Likewise.
2518 * shadow/fgetspent_r.c: Likewise.
2519 * shadow/putspent.c: Likewise.
2520 * stdio-common/printf_fphex.c: Likewise.
2521 * stdio-common/tmpfile.c: Likewise.
2522 * stdlib/abort.c: Likewise.
2523 * stdlib/fmtmsg.c: Likewise.
2524 * sunrpc/auth_unix.c: Likewise.
2525 * sunrpc/clnt_perr.c: Likewise.
2526 * sunrpc/clnt_tcp.c: Likewise.
2527 * sunrpc/clnt_udp.c: Likewise.
2528 * sunrpc/clnt_unix.c: Likewise.
2529 * sunrpc/openchild.c: Likewise.
2530 * sunrpc/svc_simple.c: Likewise.
2531 * sunrpc/svc_tcp.c: Likewise.
2532 * sunrpc/svc_udp.c: Likewise.
2533 * sunrpc/svc_unix.c: Likewise.
2534 * sunrpc/xdr.c: Likewise.
2535 * sunrpc/xdr_array.c: Likewise.
2536 * sunrpc/xdr_rec.c: Likewise.
2537 * sunrpc/xdr_ref.c: Likewise.
2538 * sunrpc/xdr_stdio.c: Likewise.
2539
1248c1c4
PB
25402011-09-09 Ulrich Drepper <drepper@gmail.com>
2541
2542 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2543
25442011-07-03 Andreas Jaeger <aj@suse.de>
2545
2546 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2547 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2548 regenerate with gen-libm-tests.pl.
2549
25502010-05-12 Petr Baudis <pasky@suse.cz>
2551
2552 [BZ #11589]
2553 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2554 around j0() zero points by switching to j1().
2555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2559
f22e1074
UD
25602011-09-09 Ulrich Drepper <drepper@gmail.com>
2561
f19009c1
UD
2562 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2563 instead of 0.
2564 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2565 instead of 0. .
2566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2567 Patch in part by Pavel Roskin <proski@gnu.org>.
2568
3f8cc204
UD
2569 [BZ #13138]
2570 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2571 realloc.
2572 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
2573 Free memory block if necessary.
2574
f22e1074
UD
2575 [BZ #12847]
2576 * libio/genops.c (INTDEF): For string streams the _lock pointer can
2577 be NULL. Don't lock in this case.
2578
0a2349f9
RM
25792011-09-09 Roland McGrath <roland@hack.frob.com>
2580
2581 * elf/elf.h (ELFOSABI_GNU): New macro.
2582 (ELFOSABI_LINUX): Define to that.
2583
f3cdd467
DZ
25842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
2585
2586 * string/strncat.c (strncat): Undef the symbol in case it has been
2587 defined in bits/string.h.
2588
74718d13
UD
25892011-09-09 Ulrich Drepper <drepper@gmail.com>
2590
633e9e0f
UD
2591 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2592
0a2349f9 2593 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
2594 link map.
2595
f9924780
AJ
25962011-08-17 Andreas Jaeger <aj@suse.de>
2597
2598 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2599
7f5517aa
PP
26002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2601 Ian Lance Taylor <iant@google.com>
2602
2603 * math/libm-test.inc (lround_test): New testcase.
2604 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2605
762011fe
UD
26062011-09-08 Ulrich Drepper <drepper@gmail.com>
2607
92963737
UD
2608 * Makefile: Remove support for automatic cvs check-ins.
2609 * Makerules: Likewise.
2610 * config.make.in: Likewise.
2611 * configure.in: Likewise.
2612 * intl/Makefile: Likewise.
2613 * locale/Makefile: Likewise.
2614 * po/Makefile: Likewise.
2615 * posix/Makefile: Likewise.
2616 * sysdeps/gnu/Makefile: Likewise.
2617 * sysdeps/mach/hurd/Makefile: Likewise.
2618 * sysdeps/sparc/sparc32/Makefile: Likewise.
2619
b0727fd8
JS
2620 [BZ #13118]
2621 * posix/Makefile (bug-regex32-ENV): Define.
2622 Patch by John Stanley <jpsinthemix@verizon.net>.
2623
a0f33f99
UD
2624 * misc/Makefile (headers): Add bits/select2.h.
2625 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2626 * misc/bits/select2.h: New file.
2627 * include/bits/select2.h: New file.
2628 * debug/Makefile (routines): Add fdelt_chk.
2629 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2630 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2631 FD_ISSET.
2632 * debug/fdelt_chk.c: New file.
2633
762011fe
UD
2634 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
2635 * wcsmbs/test-wmemcmp.c: Likewise.
2636 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 2637 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
2638
26392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2640
2641 * string/Makefile (strop-tests): Add memcmp.
2642 * string/test-wmemcmp.c: New file.
2643 * string/test-memcmp.c: Add wmemcmp support.
2644
7f513ec8
RM
26452011-09-08 Roland McGrath <roland@hack.frob.com>
2646
0442afb4
RM
2647 [BZ #13153]
2648 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2649 2011-07-19 change.
2650
7f513ec8
RM
2651 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2652 garbage value in a __mach_port_mod_refs call in the cases of the
2653 task-self and thread-self ports.
2654
a12b2239
ST
26552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2656
2657 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2658
610f9ab4
AS
26592011-09-08 Andreas Schwab <schwab@redhat.com>
2660
7f513ec8 2661 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 2662
48882a1a
LD
26632011-09-07 Ulrich Drepper <drepper@gmail.com>
2664
b49865be
UD
2665 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
2666
fdc86bc9
UD
2667 * elf/dl-libc.c (dlerror_run): Pass back error code from
2668 dl_catch_error.
2669
c966526a
UD
2670 [BZ #13123]
2671 * elf/dl-load.c (lose): Free l_origin if it is valid.
2672
48882a1a
LD
2673 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
2674 names.
2675 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2679 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2680 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
2681
77a2a8b4
AZ
26822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683
2684 * sysdeps/powerpc/fpu/e_hypot.c: New file.
2685 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
2686 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
2687 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
2688 * sysdeps/powerpc/fpu/k_cosf.c: New file.
2689 * sysdeps/powerpc/fpu/k_sinf.c: New file.
2690 * sysdeps/powerpc/fpu/s_cosf.c: New file.
2691 * sysdeps/powerpc/fpu/s_sinf.c: New file.
2692 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
2693 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
2694
24f579d8
AM
26952011-08-15 Alan Modra <amodra@gmail.com>
2696
2697 [BZ #13092]
2698 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
2699 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
2700 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
2701 ppc_mcount to static-only-routines.
2702 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
2703 __mcount_internal.
2704 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
2705 __mcount_internal with usual JUMPTARGET. Remove useless nop.
2706
3d4837df
UD
27072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
2708
2709 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
2710 for finite and infinity parameters.
2711
22700377
WS
27122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2713
2714 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
2715 and add nop instructions for throughput optimization.
2716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2717
5025581e
WS
27182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
2721 aligned copy for power7 with vector-scalar instructions.
2722 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2723
08a300c9
L
27242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
2727 AVX check.
2728
59178ef9
AS
27292011-09-07 Andreas Schwab <schwab@redhat.com>
2730
2731 [BZ #13144]
2732 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
2733 last change.
2734
e38ba7ab
UD
27352011-09-07 Ulrich Drepper <drepper@gmail.com>
2736
2737 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2738 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
2739 syscall wrapper around clock_gettime in __vdso_clock_gettime.
2740 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
2741 clock_gettime.
2742
d53a73ac
UD
27432011-09-06 Ulrich Drepper <drepper@gmail.com>
2744
fc8bffcc
UD
2745 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
2746 Forgot to demangle the pointer.
2747
ceaa0c5d
UD
2748 * sysdeps/i386/sysdep.h: Define atom_text_section.
2749 * sysdeps/x86_64/sysdep.h: Likewise.
2750 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
2751 section with atom_text_section.
2752 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2753 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2754 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2756 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
2757
a77d3c17
UD
2758 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
2759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
2760 already be defined. Change to take two parameters and don't assign
2761 result to variable. Adjust all users.
2762 Define INTERNAL_GETTIME if not already defined.
2763 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
2764 call.
2765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
2766 HAVE_CLOCK_GETTIME_VSYSCALL.
2767 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
2768
d53a73ac
UD
2769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
2770 gettimeofday vsyscall, just use time.
2771
a8f84144
AS
27722011-09-06 Andreas Schwab <schwab@redhat.com>
2773
2774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
2775 <errno.h>.
2776
ef606249
UD
27772011-09-06 Ulrich Drepper <drepper@gmail.com>
2778
2779 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
2780 syscall on x86-64.
2781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
2782 syscall.
2783 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
2785 syscall if possible.
2786
6585cb60
UD
27872011-09-05 Ulrich Drepper <drepper@gmail.com>
2788
2789 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
2790 e_ident. Don't pass to find_mapsXX.
2791 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
2792
a5f524e4
LD
27932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2794
2795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2796 strchr-sse2-no-bsf strrchr-sse2-no-bsf
2797 * sysdeps/x86_64/multiarch/strchr.S: Update.
2798 Check bit_slow_BSF bit.
2799 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
2801 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
2802
554881ef
UD
28032011-09-05 Ulrich Drepper <drepper@gmail.com>
2804
d96de963
UD
2805 [BZ #13134]
2806 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
2807 before glibc 2.15.
2808 (tryshell): Define.
2809 (__spawni): Change last parameter to be flag. Test
2810 SPAWN_XFLAGS_USE_PATH flag to use path or not.
2811 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
2812 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
2813 * posix/spawni.c: Likewise.
2814 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
2815 * posix/spawnp.c: Likewise. Change normal version to use
2816 SPAWN_XFLAGS_USE_PATH.
2817 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
2818 SPAWN_XFLAGS_TRY_SHELL.
2819
d48e5868
UD
2820 [BZ #13150]
2821 * posix/glob.h: Remove gcc 1.x support.
2822
554881ef
UD
2823 [BZ #13068]
2824 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
2825
693fb948
LD
28262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2827
2828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2829 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
2830 strrchr-sse2-bsf
2831 * sysdeps/i386/i686/multiarch/strchr.S: New file.
2832 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
2833 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
2834 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
2835 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
2836 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
2837
1b48c537
UD
28382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2839
49d42c37
UD
2840 * sysdeps/x86_64/wcscmp.S: New file.
2841
1b48c537
UD
2842 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
2843 wcscmp-c wcscmp-sse2
2844 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
2845 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
2846 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
2847 * wcsmbs/wcscmp.c: Allow renaming.
2848
15c95c5d
DM
28492011-09-05 David S. Miller <davem@davemloft.net>
2850
2851 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
2852 stack slot, rather than the struct return pointer slot.
2853 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
2854 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
2855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
2857
2f0ad8f3
UD
28582011-09-05 Ulrich Drepper <drepper@gmail.com>
2859
d88ae418
UD
2860 * po/ja.po: Update from translation team.
2861
2f0ad8f3
UD
2862 [BZ #13144]
2863 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
2864 kernel in 64-bit binaries.
2865
5f4318d1
DM
28662011-09-01 David S. Miller <davem@davemloft.net>
2867
2868 * elf/elf.h (HWCAP_SPARC_*): Move to..
2869 * sysdeps/sparc/sysdep.h: this new file and add new values.
2870 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
2871 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
2872 _DL_HWCAP_COUNT to 24.
2873 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2874 entries.
2875 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
2876 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
2877 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
2878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
2879 instead of magic constants.
2880 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2881
3ba57516
DM
28822011-08-31 David S. Miller <davem@davemloft.net>
2883
2884 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
2885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
2886 Reimplement to do errno handling inline.
2887 (SYSCALL_ERROR_HANDLER): New macro.
2888 (__SYSCALL_STRING): Do not do errno handling in asm.
2889 (__CLONE_SYSCALL_STRING): Delete.
2890 (__INTERNAL_SYSCALL_STRING): Delete.
2891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
2892 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
2893 (PSEUDO): Reimplement to do errno handling inline.
2894 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
2895 (SYSCALL_ERROR_HANDLER): New macro.
2896 (__SYSCALL_STRING): Do not do errno handling in asm.
2897 (__CLONE_SYSCALL_STRING): Delete.
2898 (__INTERNAL_SYSCALL_STRING): Delete.
2899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
2900 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
2901 i386.
2902 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
2903 (inline_syscall*): Add 'err' argument.
2904 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
2905 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
2906 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
2907 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
2908
2909 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
2910 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2911
2bc17433
AS
29122011-08-30 Andreas Schwab <schwab@redhat.com>
2913
2914 * elf/rtld.c (dl_main): Relocate objects in dependency order.
2915
fbeb5f4d
JO
29162011-08-29 Jiri Olsa <jolsa@redhat.com>
2917
2918 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
2919 directive.
2920
ad69cc26
DM
29212011-08-24 David S. Miller <davem@davemloft.net>
2922
2923 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
2924
39dd69df
AS
29252011-08-24 Andreas Schwab <schwab@redhat.com>
2926
2927 * elf/Makefile: Add rules to build and run unload8 test.
2928 * elf/unload8.c: New file.
2929 * elf/unload8mod1.c: New file.
2930 * elf/unload8mod1x.c: New file.
2931 * elf/unload8mod2.c: New file.
2932 * elf/unload8mod3.c: New file.
2933
2934 * elf/dl-close.c (_dl_close_worker): Reset private search list if
2935 it wasn't used.
2936
2c0b250a
DM
29372011-08-23 David S. Miller <davem@davemloft.net>
2938
2939 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
2940 subtract stack bias.
2941 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
2942 %sp not %fp in calculations.
2943 (_JMPBUF_UNWINDS_ADJ): Likewise.
2944
22044b48
DM
2945 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
2946 (aio_suspend): Call it to force an exception region around the
2947 AIO_MISC_WAIT() invocation.
2948
2cae4995
AS
29492011-08-23 Andreas Schwab <schwab@redhat.com>
2950
2951 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
2952 backslash.
2953
873a772e
AJ
29542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
2955
2956 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
2957 protection macro.
2958 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
2959 and <dl-machine.h>.
2960 (Elf64_FuncDesc): Remove.
2961
25ad0df1
DM
29622011-08-22 David S. Miller <davem@davemloft.net>
2963
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
2965 sigaltstack check, add missing cfi directives.
2966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
2967 missing cfi directives, and sigaltstack handling.
2968
e888bcbe
AS
29692011-08-16 Andreas Schwab <schwab@redhat.com>
2970
2971 [BZ #11724]
2972 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
2973 object is seen twice.
2974 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2975
2976 * elf/Makefile (distribute): Add tst-initorder2.c.
2977 (tests): Add tst-initorder2.
2978 (modules-names): Add tst-initorder2a tst-initorder2b
2979 tst-initorder2c tst-initorder2d. Add rules to build them.
2980 ($(objpfx)tst-initorder2.out): New rule.
2981 * elf/tst-initorder2.c: New file.
2982 * elf/tst-initorder2.exp: New file.
2983
87162f46
AS
29842011-08-22 Andreas Schwab <schwab@redhat.com>
2985
70538b7f
AS
2986 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
2987
f55ffe58
AS
2988 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
2989 dependencies back to end of function.
2990
87162f46
AS
2991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2992 $(elfobjdir)/ld.so.
2993
91b392a4
UD
29942011-08-21 Ulrich Drepper <drepper@gmail.com>
2995
2996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
2997 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
2998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
2999 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3000 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3001 of __vdso_gettimeofday.
3002 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3003 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3004 attribute_hidden.
3005 (_libc_vdso_platform_setup): Remove initialization of
3006 __vdso_gettimeofday and __vdso_time.
3007
5c43483f
UD
30082011-08-20 Ulrich Drepper <drepper@gmail.com>
3009
775a77e7
UD
3010 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3011 and fgetc_unlocked.
3012 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3013 getc_unlocked.
89f447ed 3014
49c74ba9
UD
3015 * elf/dl-open.c (add_to_global): Report additions to the global scope
3016 for LD_DEBUG=scopes.
3017 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 3018 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 3019
5c43483f
UD
3020 [BZ #13114]
3021 * stdio-common/Makefile (tests): Add bug24.
3022 * stdio-common/bug24.c: New file.
3023
a101b025
AJ
30242011-08-19 Andreas Jaeger <aj@suse.de>
3025
3026 [BZ #13114]
3027 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3028 non-existant file when using close-on-exec mode.
3029
c88f1766
UD
30302011-08-20 Ulrich Drepper <drepper@gmail.com>
3031
0276a718
UD
3032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3033 the very first instruction.
3034
c88f1766
UD
3035 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3036 the CFI state in the end.
3037 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3038 inclusion of dl-trampoline.h.
3039 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3040
51ccffa0
AS
30412011-08-19 Andreas Schwab <schwab@redhat.com>
3042
94d7165f
AS
3043 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3044 expectations for long double.
3045
51ccffa0
AS
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3047 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3048
fd708658 30492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
3050
3051 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3052 artificual limit depends upon the system page size.
3053
44f0a71e
UD
30542011-08-17 Ulrich Drepper <drepper@gmail.com>
3055
3056 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3057 * resolv/Makefile: Define CFLAGS-libresolv.
3058
8de79a24
AS
30592011-08-17 Andreas Schwab <schwab@redhat.com>
3060
3061 * nss/makedb.c (compute_tables): Make variables used in nested
3062 function static.
3063
27724598
UD
30642011-08-17 Ulrich Drepper <drepper@gmail.com>
3065
c5305d88
UD
3066 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3067 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3068 if buffer was too small.
3069
27724598
UD
3070 * elf/pldd.c (main): Attach to all threads in the process.
3071 Rewrite /proc handling to use *at functions.
3072
076fe015
UD
30732011-08-16 Ulrich Drepper <drepper@gmail.com>
3074
174baab3
UD
3075 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3076 specifies first scope to show.
3077 (dl_open_worker): Update callers. Move printing scope of new
3078 object to before the relocation.
44f0a71e 3079 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
3080 * sysdeps/generic/ldsodefs.h: Update declaration.
3081
076fe015
UD
3082 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3083 string for the scope number.
3084
a60df2c3
UD
30852011-08-14 Ulrich Drepper <drepper@gmail.com>
3086
3087 * nscd/servicescache.c (cache_addserv): Make sure written is always
3088 initialized.
3089
5e4287d1
RM
30902011-08-14 Roland McGrath <roland@hack.frob.com>
3091
85ae0589
RM
3092 * sysdeps/i386/i486/bits/atomic.h
3093 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3094 statement expression, so as to suppress "set but not used" warning.
3095 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3096
69f63097
RM
3097 * string/strncat.c (STRNCAT): Use prototype definition.
3098
675456ef
RM
3099 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3100 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3101 -Iprograms here.
3102 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3103 (localedef-modules): Add localedef.
3104 (locale-modules): Add locale.
3105
5e4287d1
RM
3106 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3107 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3108 to avoid a warning.
3109
9c96ff23
DM
31102011-08-14 David S. Miller <davem@davemloft.net>
3111
3112 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3113 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3114
f9ddf089
UD
31152011-08-13 Ulrich Drepper <drepper@gmail.com>
3116
44f0a71e 3117 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
3118 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3119 * elf/rtld.c (dl_main): Set l_name of vDSO.
3120 Call _dl_show_scope when DL_DEBUG_SCOPES.
3121 (process_dl_debug): Recognize scopes flag and also set it for all.
3122 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3123 Declare _dl_show_scope.
3124
1dc27704
UD
3125 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3126 (do_dlopen): Pass caller_dlopen to dl_open.
3127 (__libc_dlopen_mode): Initialize caller_dlopen.
3128
f9ddf089
UD
3129 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3130 of libc. Make tolower call locale-independent. Optimize a bit by
3131 using isdigit instead of isalnum.
3132 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3133
9ac533d3
UD
31342011-08-12 Ulrich Drepper <drepper@gmail.com>
3135
3136 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3137 was a dependency or dynamically loaded.
3138
89edf2e9
UD
31392011-08-11 Ulrich Drepper <drepper@gmail.com>
3140
8e999d29
UD
3141 * intl/l10nflist.c: Allow architecture-specific pop function.
3142 * sysdeps/x86_64/l10nflist.c: New file.
3143
89edf2e9
UD
3144 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3145 classification.
3146
14d96785
AS
31472011-08-10 Andreas Schwab <schwab@redhat.com>
3148
3149 * include/dirent.h: Add libc_hidden_proto for scandirat and
3150 scandirat64. Don't declare __scandirat64.
3151 * dirent/scandirat.c: Add libc_hidden_def.
3152 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3153 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3154
6761ac04
DM
31552011-08-10 David S. Miller <davem@davemloft.net>
3156
3157 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3158 enum.
3159 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3162
c55fbd1e
UD
31632011-08-09 Ulrich Drepper <drepper@gmail.com>
3164
3165 * Versions.def [libc]: Add GLIBC_2.15.
3166 * dirent/Makefile (routines): Add scandirat and scandirat64.
3167 * dirent/Versions [libc]: Export scandirat and scandirat64 for
3168 GLIBC_2.15.
3169 * dirent/dirent.h: Declare scandirat and scandirat64.
3170 * dirent/scandirat.c: New file.
3171 * dirent/scandirat64.c: New file.
3172 * sysdeps/wordsize-64/scandirat.c: New file.
3173 * sysdeps/wordsize-64/scandirat64.c: New file.
3174 * dirent/opendir.c: Define opendirat.
3175 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
3176 using scandirat.
3177 * dirent/scandir64.c: Adjust for scandir.c change.
3178 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3179 __scandirat64, and __scandir_cancel_handler.
3180 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3181 additional parameter and use openat instead of open (outside of ld.so).
3182 Add new __opendir as wrapper around __opendirat.
3183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3184 here without requiring old scandirat implementation.
3185
879165f2
UD
31862011-08-08 Ulrich Drepper <drepper@gmail.com>
3187
3188 * dirent/scandir.c (cancel_handler): Renamed to
3189 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3190 defined. Adjust users.
3191 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3192 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3193
cb7e923b
UD
31942011-08-04 Ulrich Drepper <drepper@gmail.com>
3195
16292edd
UD
3196 * string/test-string.h (IMPL): Use __STRING to expand name and then
3197 stringify it.
3198
cb7e923b
UD
3199 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3200 of cleanups.
3201
cff82933
LD
32022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3203
3204 * string/Makefile: Update.
3205 (strop-tests): Append strncat.
3206 * string/test-wcscmp.c: New file.
3207 New comprehensive test for wcscmp.
3208 * string/test-strcmp.c: Update.
3209 (WIDE): New define.
3210
9be9bfcc
AS
32112011-07-22 Andreas Schwab <schwab@redhat.com>
3212
3213 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3214 line.
3215
2e96f1c7
AS
32162011-07-26 Andreas Schwab <schwab@redhat.com>
3217
3218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3219 encoding to ACE if AI_IDN.
3220
85188888
JJ
32212011-08-01 Jakub Jelinek <jakub@redhat.com>
3222
3223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3224 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3225
5fa16e9b
LD
32262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3227
3228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3229 Fix overflow bug in strncat.
3230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3231
3232 * string/test-strncat.c: Update.
3233 Add new tests for checking overflow bugs.
3234
32352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3236
3237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3238 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3239 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3240 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3241 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3242 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3243 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3244 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3245 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3246
3247 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3248 (USE_AS_STRCAT): Define.
3249 Add strcat and strncat support.
3250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3251
8c1a459f
AS
32522011-07-25 Andreas Schwab <schwab@redhat.com>
3253
3254 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3255 __n bigger than INT_MAX+1.
3256 (__strncmp_g): Likewise.
3257
bba33c28
UD
32582011-07-23 Ulrich Drepper <drepper@gmail.com>
3259
798be72d
UD
3260 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3261 * libio/stido.h: Likewise.
3262
8accd4dc
UD
3263 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3264 (AF_NFC): Define.
3265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3266 (AF_NFC): Define.
3267
cbff0d96
UD
3268 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3270 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3271 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3273
9191c04a
UD
3274 [BZ #13021]
3275 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3276 installed.
3277
bba33c28
UD
3278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3279 typo.
3280 (_dl_x86_64_save_sse): Likewise.
3281
90f139dd
UD
32822011-07-22 Ulrich Drepper <drepper@gmail.com>
3283
1aae088a
UD
3284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3285 OSXSAVE.
3286 (_dl_x86_64_save_sse): Likewise.
3287
8e2045f5
UD
3288 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3289
90f139dd
UD
3290 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3291
1d002f25
AS
32922011-07-21 Andreas Schwab <schwab@redhat.com>
3293
3294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3295 change.
3296 (_dl_x86_64_save_sse): Use correct AVX check.
3297
21137f89
UD
32982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3299
3300 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3301 bug in strncpy/strncat.
3302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3303
a65c0b7a
UD
33042011-07-21 Ulrich Drepper <drepper@gmail.com>
3305
3306 * string/tester.c (test_strcat): Add tests for different alignments
3307 of source and destination.
3308 (test_strncat): Likewise.
3309
6986b98a
UD
33102011-07-20 Ulrich Drepper <drepper@gmail.com>
3311
90bb2039
UD
3312 [BZ #12852]
3313 * posix/glob.c (glob): Check passed in values before using them in
3314 expressions to avoid some overflows.
3315 (glob_in_dir): Likewise.
3316
5644ef54
UD
3317 [BZ #13007]
3318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3319 check for AVX enablement so that we don't crash with old kernels and
3320 new hardware.
3321 * elf/tst-audit4.c: Add same checks here.
3322 * elf/tst-audit6.c: Likewise.
3323
3324 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 3325
bfc9dc9b
AS
33262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3327
3328 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3329
702e64bb
UD
33302011-07-20 Ulrich Drepper <drepper@gmail.com>
3331
3332 * po/cs.po: Update from translation team.
3333 * po/bg.po: Likewise.
3334
295e904f
MP
33352011-07-12 Marek Polacek <mpolacek@redhat.com>
3336
3337 * misc/sys/cdefs.h: Add support for const attribute.
3338 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3339 to gnu_dev_{major,minor,makedev} functions.
3340
3ff94596
MP
33412011-07-20 Marek Polacek <mpolacek@redhat.com>
3342
3343 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3344
28b59fca
AS
33452011-07-20 Andreas Schwab <schwab@redhat.com>
3346
3347 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3348 strlen results.
3349
19df733e
AK
33502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3351
3352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3353 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3354 register in order to avoid conflicts with the soft frame pointer
3355 being held in r11 when necessary.
3356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3357 (INTERNAL_VSYSCALL_NCS): Likewise.
3358
c8835729
MP
33592011-07-14 Marek Polacek <mpolacek@redhat.com>
3360
3361 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3362 * elf/dl-fini.c (_dl_fini): Adjust caller.
3363 * elf/dl-close.c (_dl_close_worker): Likewise.
3364 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3365
b902330c
MP
33662011-07-15 Marek Polacek <mpolacek@redhat.com>
3367
8991e135
MP
3368 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3369 "aux_cache->nlibs < 0".
3370
b902330c
MP
3371 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3372 in the reload-count case.
3373
99710781
LD
33742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3375
3376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3377 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3378 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3379 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3380 * sysdeps/x86_64/multiarch/strcat.S: New file.
3381 * sysdeps/x86_64/multiarch/strncat.S: New file.
3382 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3383 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3384 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3385 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3386 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3387 (USE_AS_STRCAT): Define.
3388 Add strcat and strncat support.
3389 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3391 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3392 * string/strncat.c: Update.
3393 (USE_AS_STRNCAT): Define.
3394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3395 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3396 and i7.
3397 * sysdeps/x86_64/multiarch/init-arch.h
3398 (bit_Prefer_PMINUB_for_stringop): New.
3399 (index_Prefer_PMINUB_for_stringop): Likewise.
3400 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3401 bit_Prefer_PMINUB_for_stringop.
3402
7dc6bd90
UD
34032011-07-19 Ulrich Drepper <drepper@gmail.com>
3404
3405 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3406 buffer64.
3407 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3408 of casting of buffer.
3409 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3410 buffer32 and buffer64.
3411 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3412 writes instead of casting of buffer.
3413 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3414 buffer32.
3415 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3416 casting of buffer.
3417
e0e72284
AS
34182011-07-19 Andreas Schwab <schwab@redhat.com>
3419
3420 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3421
feb1eb0b
UD
34222011-07-19 Ulrich Drepper <drepper@gmail.com>
3423
3424 * nscd/nscd.c (termination_handler): Don't do anything for a database
3425 if it has not yet been initialized.
3426
298711ff
UD
34272011-07-18 Ulrich Drepper <drepper@gmail.com>
3428
3429 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3430
34312011-07-15 Marek Polacek <mpolacek@redhat.com>
3432
3433 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3434
f9d68389
UD
34352011-07-18 Ulrich Drepper <drepper@gmail.com>
3436
3437 * po/nl.po: Update from translation team.
3438 * po/sv.po: Likewise.
3439
db290cf5
RM
34402011-07-16 Roland McGrath <roland@hack.frob.com>
3441
3442 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3443 now disallowed by GCC.
5c550700 3444
fd5e21c7
RM
3445 * configure.in (use-default-link): Default to yes if a test -shared
3446 link meets our qualifications.
3447 * configure: Regenerated.
3448
5c550700
RM
3449 * config.make.in (output-format): New variable.
3450 * configure.in: Check for ld --print-output-format support.
3451 * configure: Regenerated.
3452 * Makerules ($(common-objpfx)format.lds)
3453 [$(output-format) != unknown]: Just use $(output-format),
3454 instead of the linker-script munging.
3455
9fa2c032
RM
34562011-07-14 Roland McGrath <roland@hack.frob.com>
3457
a6928d51
RM
3458 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3459 of $(common-objpfx)shlib.lds.
3460 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3461
661607b3
RM
3462 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3463 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3464
9fa2c032
RM
3465 * configure.in (-z relro check): Adjust test code to add a large
3466 writable data section after it.
3467 * configure: Regenerated.
3468
defe9061
RM
34692011-07-11 Roland McGrath <roland@hack.frob.com>
3470
3471 * configure.in (-z relro check): Fix test code to make the variable
3472 truly const.
3473 * configure: Regenerated.
3474
319b9ad4
UD
34752011-07-11 Ulrich Drepper <drepper@gmail.com>
3476
3477 * nscd/nscd.h (struct traced_file): Define.
3478 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3479 elements. Add traced_files.
3480 (inotify_fd): Declare.
3481 (register_traced_file): Declare.
3482 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3483 (inotify_fd): Export.
3484 (resolv_conf_descr): Remove.
3485 (nscd_init): Move inotify descriptor creation to main.
3486 Don't register files for notification here.
3487 (register_traced_file): New function.
3488 (invalidate_cache): Don't use reset_res to determine whether to call
3489 res_init, go through the list of registered files.
3490 (main_loop_poll): The inotify descriptors are now stored in the
3491 structures for the traced files.
3492 (main_loop_epoll): Likewise
3493 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3494 to __nss_disable_nscd.
3495 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3496 for a database anymore. Check the records for all the registered
3497 files instead.
3498 * nss/Makefile (libnss_files-routines): Add files-init.
3499 (libnss_db-routines): Add db-init.
3500 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3501 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3502 * nss/nss_db/db-init.c: New file.
3503 * nss/nss_files/files-init.c: New file.
3504 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3505 __nss_lookup_function.
3506 (__nss_lookup_function): Call nss_load_library.
3507 (nss_load_all_libraries): New function.
3508 (__nss_disable_nscd): Take parameter with callback function for files
3509 to register. Set is_nscd. Load all the DSOs for the NSS modules
3510 used for the cached services.
3511 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3513 options for features to all the files in nscd.
3514
3515 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3516
23bee3e8
RM
35172011-07-10 Roland McGrath <roland@hack.frob.com>
3518
3519 * csu/elf-init.c (__libc_csu_init): Comment typo.
3520
46a5b7f0
UD
35212011-07-09 Ulrich Drepper <drepper@gmail.com>
3522
3523 * po/pl.po: Update from translation team.
3524 * po/ja.po: Likewise.
3525 * po/ru.po: Likewise.
3526 * po/ko.po: Likewise.
3527 * po/fr.po: Likewise.
3528
d30cf5bb
RM
35292011-07-09 Roland McGrath <roland@hack.frob.com>
3530
113ddea4
RM
3531 * configure.in (.ctors/.dtors header and trailer check):
3532 Use an empirical test on a built program.
3533 * configure: Regenerated.
3534
574920b4
RM
3535 * configure.in (-z relro check): Use an empirical test on a built DSO.
3536 Detect, but do not require, on ia64.
3537 * configure: Regenerated.
3538
d30cf5bb
RM
3539 * configure.in (READELF): Find it with AC_CHECK_TOOL.
3540 Update tests that use readelf to use $READELF instead.
3541 * configure: Regenerated.
3542
8538fdb3
UD
35432011-07-08 Ulrich Drepper <drepper@gmail.com>
3544
3545 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3546 if the result is not used.
3547
04d08991
AJ
35482011-07-05 Andreas Jaeger <aj@suse.de>
3549
3550 [BZ#9696]
3551 * stdlib/tst-strtod.c: Add testcase.
3552
de283087
AD
35532011-07-07 Ulrich Drepper <drepper@gmail.com>
3554
4e5f31c8 3555 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 3556 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
3557 The latter has a higher limit. Take additional parameter to pass to
3558 the new function.
3559 (__pathconf): Pass file to __statfs_link_max.
3560 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3561 __statfs_link_max.
3562 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3563 __statfs_link_max.
3564
de283087
AD
3565 [BZ #12868]
3566 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3567 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3568 Handle Lustre.
3569 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3570 (__statfs_filesize_max): Likewise.
3571 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3572
c75fa153
AJ
35732011-07-05 Andreas Jaeger <aj@suse.de>
3574
3575 * resolv/res_comp.c (dn_skipname): Remove unused variable.
3576
1a544854
UD
35772011-07-06 Marek Polacek <mpolacek@redhat.com>
3578
3579 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3580 `status' variable.
3581 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3582 Likewise.
3583
6f0eec67
UD
35842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
3585
3586 * Makefile (strop-tests): Add strncat.
3587 * string/test-strncat.c: New file.
3588
aae30307
UD
35892011-06-30 Marek Polacek <mpolacek@redhat.com>
3590
3591 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3592
c0cfb5eb
UD
35932011-06-21 Andreas Jaeger <aj@suse.de>
3594
3595 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3596 Copy rule from iconvdata/Makefile.
3597
01636b21
UD
35982011-07-06 Ulrich Drepper <drepper@gmail.com>
3599
3600 [BZ #12922]
3601 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3602 but no long options are defined, just return 'W'.
3603
9895c8bc
UD
36042011-06-22 Marek Polacek <mpolacek@redhat.com>
3605
3606 [BZ #9696]
3607 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3608
5d4cf042
UD
36092011-07-06 Ulrich Drepper <drepper@gmail.com>
3610
3611 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3612 netgroups to read.
960e5535 3613 (innetgr): Likewise.
5d4cf042 3614
751eb97e
RM
36152011-07-05 Roland McGrath <roland@hack.frob.com>
3616
3617 * config.make.in (install_root): Default to $(DESTDIR).
3618
f15f1e45
UD
36192011-07-05 Ulrich Drepper <drepper@gmail.com>
3620
3621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3622
4e34ac6a
RM
36232011-07-02 Roland McGrath <roland@hack.frob.com>
3624
5e9b6af4
RM
3625 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3626
84f9ea0f
RM
3627 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3628 containing directory rather than embedding absolute directory names.
3629
ea5ee9f7
RM
3630 * scripts/check-local-headers.sh: Rewritten using awk.
3631 Match by word, not by line. Print error messages for matches.
3632 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3633
1b74661a
RM
3634 * Makerules [shlib-lds-flags empty]:
3635 ($(common-objpfx)libc_pic.opts): New target.
3636 ($(common-objpfx)libc_pic.os.clean): New target.
3637 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3638
3639 * config.make.in (OBJCOPY): New variable.
3640 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3641 * configure: Regenerated.
3642
f781ef40
RM
3643 * config.make.in (use-default-link): New variable.
3644 * configure.in (use_default_link): Grok --with-default-link to set it.
3645 * configure: Regenerated.
3646 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3647 (shlib-lds, shlib-lds-flags): Define to empty.
3648
2d4fa81e
RM
3649 * Makerules (shlib-lds): New variable.
3650 (shlib-lds-flags): New variable.
3651 (build-shlib, build-moduile, build-module-asneeded): Use it.
3652 ($(common-objpfx)libc.so): Use $(shlib-lds).
3653 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3654 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3655
31fffa6b
RM
3656 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3657 DT_FLAGS/DT_FLAGS_1 with zero flags.
3658
4e34ac6a
RM
3659 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3660 linker script munging.
3661
fcfc776b
UD
36622011-07-02 Ulrich Drepper <drepper@gmail.com>
3663
3664 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
3665 as 128-bit value.
3666 * crypt/sha512.c (sha512_process_block): Perform total addition using
3667 128-bit if possible.
3668 (__sha512_finish_ctx): Likewise.
3669 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
3670 as 64-bit value.
3671 * crypt/sha256.c (SWAP64): Define.
3672 (sha256_process_block): Perform total addition using 64-bit if
3673 possible.
3674 (__sha256_finish_ctx): Likewise.
3675
99231d9a
UD
36762011-07-01 Ulrich Drepper <drepper@gmail.com>
3677
3678 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
3679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3680 * nscd/hstcache.c (cache_addhst): Likewise.
3681 * nscd/grpcache.c (cache_addgr): Likewise.
3682 * nscd/aicache.c (addhstaiX): Likewise
3683 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
3684
445b4a53
TK
36852011-07-01 Thorsten Kukuk <kukuk@suse.de>
3686
3687 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
3688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3689 * nscd/hstcache.c (cache_addhst): Likewise.
3690 * nscd/grpcache.c (cache_addgr): Likewise.
3691 * nscd/aicache.c (addhstaiX): Likewise
3692
6d4d8e8e
AS
36932011-07-01 Andreas Schwab <schwab@redhat.com>
3694
3695 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
3696 domain only when needed.
3697
89f654c5
AS
36982011-06-30 Andreas Schwab <schwab@redhat.com>
3699
3700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
3701 is always restored.
3702
cf3b23ff
UD
37032011-06-29 Ulrich Drepper <drepper@gmail.com>
3704
3705 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
3706 are re-adding the entry.
3707 * nscd/servicescache.c (cache_addserv): Likewise.
3708
751626f9
AJ
37092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
3710
3711 * sysdeps/generic/dl-irel.h: fix protection against multiple
3712 inclusions.
3713 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
3714
9113ea1f
UD
37152011-06-28 Ulrich Drepper <drepper@gmail.com>
3716
5c0b8d90
UD
3717 [BZ #12935]
3718 * malloc/memusage.sh: Fix quoting in message.
3719 * debug/xtrace.sh: Likewise.
3720
9113ea1f
UD
3721 * configure.in: Remove support for --experimental-malloc option, make
3722 it the default.
3723 * config.make.in: Likewise.
3724 * malloc/Makefile: Likewise.
3725
a4172181
AS
37262011-06-27 Andreas Schwab <schwab@redhat.com>
3727
3728 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
3729 two-byte characters.
3730
78a7eee7
RM
37312011-06-27 Roland McGrath <roland@hack.frob.com>
3732
62bede13
RM
3733 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
3734 AC_CACHE_CHECK invocation.
3735 * configure: Regenerated.
3736
78a7eee7
RM
3737 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
3738
5ce33a62
UD
37392011-06-27 Ulrich Drepper <drepper@gmail.com>
3740
034807a9
UD
3741 [BZ #12350]
3742 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
3743 bit from old_res_options.
3744
4902da17
UD
3745 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
3746
5ce33a62
UD
3747 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
3748 value type for setfct.
3749
c2344f56
L
37502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3753 __gettimeofday instead of gettimeofday.
3754
68468076
UD
37552011-06-26 Ulrich Drepper <drepper@gmail.com>
3756
3757 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
3758
acb0d739
L
37592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
3762
3763 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
3764 info.
3765
8912479f
L
37662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3769 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3770 strcpy-sse2-unaligned strncpy-sse2-unaligned
3771 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
3772 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
3773 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
3774 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
3775 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
3776 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
3777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
3778 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
3779 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
3780 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
3781 (STRCPY): Support SSE2 and SSSE3 versions.
3782
d5495a11
UD
37832011-06-24 Ulrich Drepper <drepper@gmail.com>
3784
3785 [BZ #12874]
3786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
3787 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
3788 kernels which artificially limit size of requests.
3789
0b1cbaae
L
37902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3793 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3794 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
3795 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
3796 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
3797 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
3798 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
3799 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
3800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
3801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
3802 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
3803 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
3804 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
3805 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
3806 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
3807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3808 Enable unaligned load optimization for Intel Core i3, i5 and i7
3809 processors.
3810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
3811 Define.
3812 (index_Fast_Unaligned_Load): Define.
3813 (HAS_FAST_UNALIGNED_LOAD): Define.
3814
07f494a0
MP
38152011-06-23 Marek Polacek <mpolacek@redhat.com>
3816
3817 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
3818
fa3fc0fe
UD
38192011-06-22 Ulrich Drepper <drepper@gmail.com>
3820
3821 [BZ #12907]
3822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
3823 until it is clear that the information is realy needed.
3824 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
3825
e12df166
AS
38262011-06-22 Andreas Schwab <schwab@redhat.com>
3827
3828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
3829
852eb34d
UD
38302011-06-22 Ulrich Drepper <drepper@gmail.com>
3831
84e2a551
UD
3832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3833 /sys/devices/system/cpu/online if it is usable.
3834
852eb34d
UD
3835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
3836 reading the information from the /proc filesystem to once a second.
3837
6e502e19
UD
38382011-06-21 Andreas Jaeger <aj@suse.de>
3839
3840 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
3841 NULL after inclusion of kernel headers.
3842
75d39ff2
UD
38432011-06-21 Ulrich Drepper <drepper@gmail.com>
3844
51f9aa6a
UD
3845 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
3846 calls to internal_setent.
3847
c0244a9d
UD
3848 [BZ #12885]
3849 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
3850 addresses using gethostbyname4_r ignore IPv4 addresses.
3851
c5e3c2ae
UD
3852 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
3853 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
3854
75d39ff2
UD
3855 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
3856
42675c6f
DM
38572011-06-20 David S. Miller <davem@davemloft.net>
3858
3859 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
3860 inclusions.
3861 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
3862
3863 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
3864 (elf_irel): Use it.
3865 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
3866 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
3867 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
3868 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
3869 * sysdeps/x86_64/dl-irel.h: Likewise.
3870
3871 * elf/dl-runtime.c: Use elf_ifunc_invoke.
3872 * elf/dl-sym.c: Likewise.
3873
57912a71
UD
38742011-06-15 Ulrich Drepper <drepper@gmail.com>
3875
3876 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
3877 need to dereference resplen2.
3878
ee22793d
AS
38792011-06-14 Andreas Schwab <schwab@redhat.com>
3880
3881 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
3882
a9e836b0
UD
38832011-06-15 Ulrich Drepper <drepper@gmail.com>
3884
77fb9117
UD
3885 * Makeconfig: Define vardbdir and inst_vardbdir.
3886 * nss/Makefile: Add rules to install db-Makefile.
3887
40c1b22c
UD
3888 * nss/nss_db/db-XXX.c: Cleanup.
3889
9f2da732
UD
3890 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
3891 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
3892 GLIBC_PRIVATE.
3893 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
3894 * nss/makedb.c: Implement -g option to specify that value strings
3895 are generated and should not be added to table iterated over for
3896 get*ent calls.
3897 * nss/nss_db/db-initgroups.c: New file.
3898
82e9a1f7
UD
3899 * nss/getent.c: Add support for initgroups lookups through getgrouplist
3900 interface.
3901
c41af17e
UD
3902 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
3903 (internal_getgrouplist): Adjust to name change.
3904 Update use_initgroups_entry if this is not the first call.
3905 * nss/databases.def: Add initgroups entry.
3906
a9e836b0
UD
3907 * nss/makedb.c (compute_tables): Check result of multiple hash table
3908 sizes to minimize maximum chain length.
3909
2666d441
UD
39102011-06-14 Ulrich Drepper <drepper@gmail.com>
3911
3912 * Versions.def: Add entry for libnss_db.
3913 * shlib-versions: Likewise.
3914 * nss/Makefile: Add rules to build libnss_db.
3915 * nss/Versions: Add libnss_db information. Organize libnss_files
3916 entries better.
3917 * nss/db-Makefile: Add gshadow support. Change rules for the new
3918 makedb progra. Some minor improvements to generate smaller files.
3919 * nss/nss_db/nss_db.h: Move NSS database header data structures to
3920 here from...
3921 * nss/makedb.c: ...here.
3922 Improve database format to be smaller and require less memory at
3923 runtime.
3924 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
3925 db anymore.
3926 * nss/nss_db/db-netgrp.c: Likewise.
3927 * nss/nss_db/db-open.c: Likewise.
3928 * nss/nss_files/flies-XXX.x: Adjust comments.
3929 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
3930 * nss/nss_files/files-grp.c: Likewise.
3931 * nss/nss_files/files-hosts.c: Likewise.
3932 * nss/nss_files/files-network.c: Likewise.
3933 * nss/nss_files/files-proto.c: Likewise.
3934 * nss/nss_files/files-pwd.c: Likewise.
3935 * nss/nss_files/files-rpc.c: Likewise.
3936 * nss/nss_files/files-service.c: Likewise.
3937 * nss/nss_files/files-sgrp.c: Likewise.
3938 * nss/nss_files/files-spwd.c: Likewise.
3939 * nss/nss_db/db-alias.c: Removed.
3940 * nss/nss_db/dummy-db.h: Removed.
3941
9ee76b5a
UD
39422011-06-02 Ulrich Drepper <drepper@gmail.com>
3943
3944 * nss/makedb.c: Rewritten to not use database library.
3945 * nss/Makefile: Update to build new makedb program.
3946
c71ca1f8
AJ
39472011-06-14 Andreas Jaeger <aj@suse.de>
3948
3949 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
3950 memset declaration.
3951
3154bfb8
UD
39522011-06-10 Andreas Schwab <schwab@redhat.com>
3953
3954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
3955 tmpbuf.
3956
b350afab
RM
39572011-06-10 Roland McGrath <roland@hack.frob.com>
3958
decd4e50
RM
3959 * Makerules (shlib.lds): Fail if the linker script comes out empty.
3960 * elf/Makefile ($(objpfx)ld.so): Likewise.
3961
5615eaf2
RM
3962 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
3963 Don't list ld.so twice in dependencies.
3964
3965 * posix/bug-regex31.c: Include <stdlib.h>.
3966
3967 * nscd/hstcache.c (cache_addhst): Remove unused variable.
3968
3969 * nis/nss_compat/compat-spwd.c
3970 (getspent_next_nss_netgr): Remove unused variable.
3971 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3972
3973 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
3974 nonmembers" output to use the right array.
3975
3976 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
3977
3978 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
3979
3980 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
3981 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
3982 * catgets/gencat.c (read_input_file): Likewise.
3983 * locale/programs/locarchive.c (enlarge_archive): Likewise.
3984
3985 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
3986 variable definition inside #if's controlling its use.
3987
3988 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
3989
3990 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
3991
3992 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
3993
3994 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
3995 unreachable code.
3996
3997 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
3998
b68e08db
RM
3999 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4000 * configure: Regenerated.
4001
b350afab
RM
4002 * Makerules: Revert last change.
4003 * elf/Makefile: Likewise.
4004
28368601
RM
40052011-06-09 Roland McGrath <roland@hack.frob.com>
4006
4007 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4008 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4009 (reloc-link): Likewise.
4010
11988f8f
UD
40112011-06-09 Ulrich Drepper <drepper@gmail.com>
4012
4013 * elf/Makefile: Add rules to build pldd.
4014 * elf/pldd.c: New file.
4015 * elf/pldd-xx.c: New file.
4016
e80fab37
UD
40172011-06-07 Ulrich Drepper <drepper@gmail.com>
4018
4019 * version.h: Update for 2.15 development version.
4020
9b849836
DM
40212011-06-07 David S. Miller <davem@davemloft.net>
4022
4023 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4024 ifuncs.
4025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4026 elf_machine_lazy_rel): Likewise.
4027 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4029 elf_machine_lazy_rel): Likewise.
4030 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4031 dl_hwcap via passed in argument.
4032 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4033 Likewise.
4034
5a31b283
AK
40352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4036
4037 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4038
069e52f8
RM
40392011-06-06 Roland McGrath <roland@hack.frob.com>
4040
4041 [BZ #12849]
4042 * manual/fdl-1.1.texi: New file, verbatim from:
4043 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4044 * manual/lgpl-2.1.texi: New file, verbatim from:
4045 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4046 * manual/Makefile (licenses): New variable, list those new file names.
4047 (texis): Use it.
4048 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4049
4050 * manual/fdl.texi: File removed.
4051 * manual/lesser.texi: File removed.
4052 * manual/libc.texinfo (Copying, Documentation License):
4053 Use new @include file names, put @appendix directive before @include.
4054
f16846a5
JJ
40552011-06-04 Jakub Jelinek <jakub@redhat.com>
4056
4057 [BZ #12841]
4058 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4059 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4060 (mq_open): Add __NTH.
4061
3d29045b
L
40622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4065 Assume Intel Core i3/i5/i7 processor if AVX is available.
4066
8c297311
UD
40672011-05-31 Ulrich Drepper <drepper@gmail.com>
4068
4069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4070 typo.
4071
c8fc0c91
UD
40722011-05-31 Andreas Schwab <schwab@redhat.com>
4073
4074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4075 memory. Use alloca_account. Fix memory leak when retrying.
4076
5b27a807
UD
40772011-05-31 Ulrich Drepper <drepper@gmail.com>
4078
356f8bc6
UD
4079 * version.h (RELEASE): Bump for 2.14 release.
4080 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4081
5b27a807
UD
4082 * config.make.in (RANLIB): Remove entry.
4083
01f16ab0
UD
40842011-05-30 Ulrich Drepper <drepper@gmail.com>
4085
41fce8bd
UD
4086 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4087 (libc.pot): Work around missing support for .ksh extension in xgettext.
4088
4769ae77
UD
4089 [BZ #12684]
4090 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4091 if both request failed.
4092 (send_dg): In case of server errors clear resplen or *resplen2.
4093
6b1e7d19
UD
4094 [BZ #12454]
4095 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4096 when there are multiple maps.
4097 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4098 (_dl_fini): Remove test here.
4099
01f16ab0
UD
4100 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4101
b1ebd700
UD
41022011-05-29 Ulrich Drepper <drepper@gmail.com>
4103
7ae22829
UD
4104 [BZ #12350]
4105 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4106 bit from old_res_options.
4107 (gaih_inet): Likewise.
4108
553149f6 4109 [BZ #11099]
18a84741 4110 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
4111 as signed.
4112
652ffab1
UD
4113 * resolv/res_init.c (res_setoptions): Make the code more compact.
4114
16985fd0
UD
4115 [BZ #11558]
4116 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4117 set RES_USEVC.
4118
0464f746
UD
4119 [BZ #11634]
4120 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4121
7d17596c
UD
4122 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4123
cf6bbbd7
UD
4124 [BZ #11781]
4125 * malloc/malloc.h: Declare malloc hook variables as volatile.
4126
13f1ab36
UD
4127 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4128 in last patch.
4129
b1ebd700
UD
4130 [BZ #11799]
4131 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 4132 raise in the comment.
80e2212d
UD
4133 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4135 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 4136
ce67228d
UD
41372011-05-28 Ulrich Drepper <drepper@gmail.com>
4138
8887a920
UD
4139 [BZ #12811]
4140 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4141 grow the buffers more if it already has to be sufficient.
4142 (build_wcs_upper_buffer): Likewise.
4143 * posix/regexec.c (check_matching): Likewise.
4144 (clean_state_log_if_needed): Likewise.
4145 (extend_buffers): Don't enlarge buffers beyond size of the input
4146 buffer.
4147 Patches mostly by Emil Wojak <emil@wojak.eu>.
4148 * posix/bug-regex32.c: New file.
4149 * posix/Makefile (tests): Add bug-regex32.
4150
4f031072
UD
4151 * locale/findlocale.c (_nl_find_locale): Return right away if
4152 _nl_explode_name failed.
4153 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4154
d0478f0c
UD
4155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4156
de81b246
UD
4157 * debug/xtrace.sh: Unify messages.
4158 * malloc/memusage.sh: Likewise.
4159
c738465a
UD
4160 [BZ #12813]
4161 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4162 time symbol from vDSO. Substitute with vsyscall if not available.
4163 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4164 __vdso_time.
4165
f1f929d7
UD
4166 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4167 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4168 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4169 Add sendmmsg and internal_sendmmsg.
4170 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4171 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4172 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4173
ce67228d
UD
4174 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4175 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4177
e57420c6
UD
41782011-05-27 Ulrich Drepper <drepper@gmail.com>
4179
a8509ca5
UD
4180 [BZ #12813]
4181 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4182 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4183 available.
4184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4185 __vdso_getcpu.
4186
e57420c6
UD
4187 [BZ #12814]
4188 * iconvdata/Makefile (tests): Add bug-iconv9.
4189 * iconvdata/bug-iconv9.c: New file.
4190
4d07db15
AS
41912011-05-27 Andreas Schwab <schwab@redhat.com>
4192
4193 [BZ #12814]
4194 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4195
ea486f69
JJ
41962011-05-25 Jakub Jelinek <jakub@redhat.com>
4197
4198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4199 (struct user_regs_struct): Change intcs field back to cs.
4200
6f038433
UD
42012011-05-25 Ulrich Drepper <drepper@gmail.com>
4202
4203 * po/ja.po: Update from translation team.
4204
67f86a25
UD
42052011-05-23 Ulrich Drepper <drepper@gmail.com>
4206
4207 [BZ #12795]
4208 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4209 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4210
def7fbd6
AS
42112011-05-20 Andreas Schwab <schwab@redhat.com>
4212
4213 * stdlib/longlong.h: Update from GCC.
4214
f50ef8f1
AS
42152011-05-23 Andreas Schwab <schwab@redhat.com>
4216
4217 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4218 parameter name.
4219 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4220 Add parameter name.
4221 (__sysconf): Pass it down.
4222
de7ce8f1
UD
42232011-05-22 Ulrich Drepper <drepper@gmail.com>
4224
f2962a71
UD
4225 [BZ #12671]
4226 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4227 some situations.
4228 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4229 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4230 add in in __libc_use_alloca calls. Adjust callers.
4231 (glob): Use malloc in some situations.
4232
de7ce8f1
UD
4233 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4234 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4235 pltexit.
4236
aec84f53
UD
42372011-05-21 Ulrich Drepper <drepper@gmail.com>
4238
05bb4a68
UD
4239 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4240 and CLOCK_BOOTTIME_ALARM.
4241
7ea72f99
UD
4242 [BZ #12782]
4243 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4244 is returned.
4245
7e4afad5
UD
4246 * string/_strerror.c (__strerror_r): Print negative errors as signed
4247 numbers.
4248
8e211fec
UD
4249 [BZ #12777]
4250 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4251 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4252 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4253
f7d82dc9
UD
4254 * configure.in: Fix typo in redirection and correct removal of test
4255 files in two cases.
4256
cc9e536d
UD
4257 [BZ #12788]
4258 * locale/setlocale.c (new_composite_name): Fix test to check for
4259 identical name of all categories.
4260
aec84f53
UD
4261 [BZ #12792]
4262 * libio/filedoalloc.c (local_isatty): New function.
4263 (_IO_file_doallocate): Use local_isatty.
4264 * stdio-common/perror.c (perror): In case a new stream is used
4265 forward the stream error.
4266 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4267 error flag.
4268
78e64fdc
RT
42692011-05-20 Ulrich Drepper <drepper@gmail.com>
4270
34a9094f
UD
4271 [BZ #11869]
4272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4273 alloca.
4274 * include/alloca.h (extend_alloca_account): Define.
4275
78e64fdc
RT
4276 [BZ #11857]
4277 * posix/regex.h: Fix comments with documentation of user-accessible
4278 fields after compilation and describe correct free'ing of pattern
4279 after re_compile_pattern.
4280 Patch by Reuben Thomas <rrt@sc3d.org>.
4281
457bddfc
RA
42822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4283
4284 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4285 and -mno-altivec to prevent the compiler from using Altivec and/or
4286 VSX instructions when the corresponding registers are not available.
4287
a4527b51
AS
42882011-05-19 Andreas Schwab <schwab@redhat.com>
4289
4290 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4291
ed690b2f
UD
42922011-05-19 Ulrich Drepper <drepper@gmail.com>
4293
4294 * libio/freopen.c (freopen): Use __dup2, not dup2.
4295 * libio/freopen64.c (freopen64): Likewise.
4296
8db73634
L
42972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4298
4299 [BZ #12775]
4300 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4301 * math/Makefile (tests): Add test-powl.
4302 (CFLAGS-test-powl.c): Define.
4303 * math/test-powl.c: New file.
4304
0a197a9d
L
43052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4306
4307 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4308
ee30c380
UD
43092011-05-17 Ulrich Drepper <drepper@gmail.com>
4310
4311 [BZ #11837]
4312 * iconvdata/gb18030.c: Update to GB18020-2005.
4313
6ce75379
UD
43142011-05-16 Ulrich Drepper <drepper@gmail.com>
4315
a4b89fd8
AR
4316 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4317 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4318 Patch by Aharon Robbins <arnold@skeeve.com>.
4319
ea389b12
UD
4320 [BZ #11892]
4321 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4322 on the stack.
4323
68a3f91f
UD
4324 [BZ #11895]
4325 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4326 through underflows.
4327
15cc7dd1
UD
4328 [BZ #12766]
4329 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4330 point to strings before performing equality test for error_one_per_line
4331 mode.
4332
f3799213
UD
4333 [BZ #11697]
4334 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4335
d79a9c94
UD
4336 [BZ #11820]
4337 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4338 (struct user_fpregs_struct): Avoid __uint*_t types.
4339
56e5eb46
UD
4340 [BZ #6420]
4341 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4342 symbol info. Use it instead of calling _dl_addr locally.
4343 (lock_and_info): New function.
4344 (tr_freehook): Call lock_and_info and pass symbol info as additional
4345 parameter to tr_where.
4346 (tr_mallochook): Likewise.
4347 (tr_reallochook): Likewise.
4348 (tr_memalignhook): Likewise.
4349
6ce75379
UD
4350 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4351 used and couldn't be at all thread-safe.
4352
f8a3b5bf
UD
43532011-05-15 Ulrich Drepper <drepper@gmail.com>
4354
94b7cc37
UD
4355 * libio/freopen.c (freopen): Don't close old file descriptor
4356 before the new one is opened. Instead dup the new file descriptor
4357 to the old one after the new stream is created.
4358 * libio/freopen64.c (freopen64): Likewise.
4359 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4360 * libio/fileops.c (_IO_new_file_close_it): Handle new
4361 _IO_FLAGS2_NOCLOSE flag.
4362 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4363 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4364 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4365 _IO_FLAGS2_NOCLOSE flag.
4366 * include/unistd.h: Add hidden_proto for dup3.
4367 Define __have_dup3.
4368 * io/dup3.c: Define hidden symbol.
4369 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4370
bd25564e
UD
4371 [BZ #7101]
4372 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4373 when an incomplete long option is used.
4374 * posix/tst-getopt_long1.c: New file.
4375 * posix/Makefile (tests): Add tst-getopt_long1.
4376
c84cfef4
UD
4377 [BZ #10138]
4378 * scripts/config.guess: Update from autoconf-2.68.
4379 * scripts/config.sub: Likewise.
4380
3b85df27
UD
4381 [BZ #10157]
4382 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4383 tests into ...
4384 (has_cpuclock): ...this. New function.
4385 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4386 macro here based on has_cpuclock code.
4387
15a856b1
UD
4388 [BZ #10149]
4389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4390 First byte (not low byte) is now always NUL.
4391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4392
05f399e6
UD
4393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4394 Use non-cancelable interfaces.
4395
10a52685 4396 [BZ #9809]
94ecc67d
UD
4397 * locale/iso-639.def: Add entry for Sorani.
4398
f8a3b5bf
UD
4399 [BZ #11901]
4400 * include/stdlib.h: Move include protection to the right place.
4401 Define abort_msg_s. Declare __abort_msg with it.
4402 * stdlib/abort.c (__abort_msg): Adjust type.
4403 * assert/assert.c (__assert_fail_base): New function. Majority
4404 of code from __assert_fail. Allocate memory for __abort_msg with
4405 mmap.
4406 (__assert_fail): Now call __assert_fail_base.
4407 * assert/assert-perr.c: Remove bulk of implementation. Use
4408 __assert_fail_base.
4409 * include/assert.hL Declare __assert_fail_base.
4410 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4411 mmap.
4412 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4413
1af4e298
UD
44142011-05-14 Ulrich Drepper <drepper@gmail.com>
4415
f8a3b5bf 4416 [BZ #11952]
d26dfc60
MG
4417 [BZ #12453]
4418 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4419 until all modules are registered in the DTV.
4420 * elf/Makefile: Add rules to build and run tst-tls19.
4421 * elf/tst-tls19.c: New file.
4422 * elf/tst-tls19mod1.c: New file.
4423 * elf/tst-tls19mod2.c: New file.
4424 * elf/tst-tls19mod3.c: New file.
4425 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4426
2fc54d6f
UD
4427 [BZ #12083]
4428 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4429 correctly.
4430
98d76b46
UD
4431 [BZ #12601]
4432 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4433 two-byte sequence errors.
4434 * iconvdata/Makefile (tests): Add bug-iconv8.
4435 * iconvdata/bug-iconv8.c: New file.
4436
da3c19ef
UD
4437 [BZ #12626]
4438 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4439 buf2 definition.
4440
ca408c15
UD
4441 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4442
d6f67f7d
UD
4443 [BZ #12432]
4444 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4445 (dummy_getcfa): New function.
4446 (init): Get _Unwind_GetCFA address, use dummy if not found.
4447 (backtrace_helper): In recursion check, also check whether CFA changes.
4448 (__backtrace): Completely initialize arg.
4449
1af4e298 4450 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
4451 storing incomplete byte sequence in state object. Avoid testing for
4452 guaranteed too small input if we know there is enough data available.
1af4e298 4453
da62f81b
AS
44542011-05-11 Andreas Schwab <schwab@redhat.com>
4455
4456 * Makeconfig (+link-pie): Indent.
4457 * Rules (binaries-pie): Define if $(have-fpie) and
4458 $(build-shared).
4459 (binaries-shared): Also filter out $(binaries-pie).
4460 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4461 * nscd/Makefile (others-pie): Add nscd.
4462 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4463 ($(objpfx)nscd): Remove command override.
4464 * login/Makefile (others-pie): Add pt_chown.
4465 ($(objpfx)pt_chown): Remove command override.
4466 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4467 remove command overrides.
4468
fcabc0f8
UD
44692011-05-13 Ulrich Drepper <drepper@gmail.com>
4470
20030ae6
UD
4471 * libio/tst_putwc.c: Fix error messages.
4472
fcabc0f8
UD
4473 [BZ #12724]
4474 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4475 currently writing and seek to current position when not.
4476 * libio/Makefile (tests): Add bug-fclose1.
4477 * libio/bug-fclose1.c: New file.
4478
320a5dc0
PB
44792011-05-12 Ulrich Drepper <drepper@gmail.com>
4480
4481 [BZ #12511]
4482 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4483 don't set DF_1_NODELETE here.
4484 (do_lookup_x): When entering new entry test for copy relocation
4485 and if necessary set DF_1_NODELETE flag.
4486 * elf/tst-unique4.cc: New file.
4487 * elf/tst-unique4.h: New file.
4488 * elf/tst-unique4lib.cc: New file.
4489 * elf/Makefile: Add rules to build and run tst-unique4.
4490 Patch by Piotr Bury <pbury@goahead.com>.
4491
22836f52
UD
44922011-05-11 Ulrich Drepper <drepper@gmail.com>
4493
f574184a
UD
4494 [BZ #12052]
4495 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4496
e1fb097f
UD
4497 [BZ #12625]
4498 * misc/mntent_r.c (addmntent): Flush the stream after the output
4499
22836f52
UD
4500 [BZ #12393]
4501 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4502 (is_trusted_path_normalize): Skip initial colon. Append slash
4503 to empty buffer. Duplicate is_trusted_path code but allow
4504 constructed patch to be prefix.
4505 (is_dst): Allow $ORIGIN followed by /.
4506 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4507 Correct testing of result of is_trusted_path_normalize
4508 (decompose_rpath): Fix warning.
4509
7b3b0b2a
UD
45102011-05-10 Ulrich Drepper <drepper@gmail.com>
4511
4512 [BZ #11257]
4513 * grp/initgroups.c (internal_getgrouplist): When we found the service
4514 list through the initgroups entry in nsswitch.conf do not always
4515 continue on a successful lookup. Don't always use the
eac80ce2 4516 __nss_group_database value if it is set.
7b3b0b2a
UD
4517 * nss/nsswitch.conf (initgroups): Change action for successful db
4518 lookup to continue for compatibility.
4519
2a81eaa5
UD
45202011-05-09 Ulrich Drepper <drepper@gmail.com>
4521
be97a69e
UD
4522 [BZ #11532]
4523 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4524 and CP774 modules.
4525 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4526 and CP774 modules.
4527 * iconvdata/tst-tables.sh: Likewise.
4528 * iconvdata/cp770.c: New file.
4529 * iconvdata/cp771.c: New file.
4530 * iconvdata/cp772.c: New file.
4531 * iconvdata/cp773.c: New file.
4532 * iconvdata/cp774.c: New file.
4533 * iconvdata/testdata/CP770: New file.
4534 * iconvdata/testdata/CP770..UTF8: New file.
4535 * iconvdata/testdata/CP771: New file.
4536 * iconvdata/testdata/CP771..UTF8: New file.
4537 * iconvdata/testdata/CP772: New file.
4538 * iconvdata/testdata/CP772..UTF8: New file.
4539 * iconvdata/testdata/CP773: New file.
4540 * iconvdata/testdata/CP773..UTF8: New file.
4541 * iconvdata/testdata/CP774: New file.
4542 * iconvdata/testdata/CP774..UTF8: New file.
4543
4544 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4545 END CHARMAP line.
4546 * iconvdata/gen-8bit-gap.sh: Likewise.
4547 * iconvdata/gen-8bit.sh: Likewise.
4548
c1e9e399
UD
4549 * locale/iso-639.def: Add ary entry.
4550
24c55fb3 4551 [BZ #11258]
96b4b1b0
UD
4552 * locale/C-translit.h.in: Add U20A1 transliteration.
4553
bdc2f971
KB
4554 [BZ #12178]
4555 * locale/iso-639.def: Add wae entry.
4556 Patch by Kevin Bortis <bortis@translate-wae.ch>.
4557
2952b117
UD
4558 [BZ #12545]
4559 * locale/programs/localedef.c (construct_output_path): Use ssize_t
4560 for n.
4561
2a81eaa5
UD
4562 [BZ #12711]
4563 * locale/C-translit.h.in: Add entry for U20B9.
4564 Patch by pravin.d.s@gmail.com.
4565
28377d1b
UD
45662011-05-08 Ulrich Drepper <drepper@gmail.com>
4567
7fb90fb8
UD
4568 [BZ #12713]
4569 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4570 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
4571 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
4572 in rtld. Use *stat64.
7fb90fb8 4573 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 4574 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 4575 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
4576 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4577 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4578 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4579 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4580 __fstatat64 macros.
7fb90fb8
UD
4581 * include/dirent.h: Add libc_hidden_proto for rewinddir.
4582 * dirent/rewinddir.c: Add libc_hidden_def.
4583 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 4584 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 4585
28377d1b
UD
4586 * include/dirent.h (__alloc_dir): Add flags parameter.
4587 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4588 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4589 __alloc_dir.
4590 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
4591 from fdopendir if O_CLOEXEC is already set.
4592
66bdbaa4
AM
45932011-03-15 Alan Modra <amodra@gmail.com>
4594
4595 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4596 l_tls_firstbyte_offset non-zero. Save padding offset in
4597 l_tls_firstbyte_offset for later use.
4598 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4599 freeing static tls block.
4600
95721191
JN
46012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
4602
4603 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4604 where #ifdef was intended. The intent is to prevent ARG_MAX from
4605 being defined by the kernel headers.
4606
f87dfb1f
UD
46072011-05-07 Ulrich Drepper <drepper@gmail.com>
4608
4609 [BZ #12734]
4610 * resolv/resolv.h: Define RES_NOTLDQUERY.
4611 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4612 no-tld-query and set RES_NOTLDQUERY.
4613 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4614 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4615 modern BIND to search name as TLD unless forbidden.
4616
47c3cd7a
UD
46172011-05-07 Petr Baudis <pasky@suse.cz>
4618 Ulrich Drepper <drepper@gmail.com>
4619
4620 [BZ #12393]
4621 * elf/dl-load.c (fillin_rpath): Move trusted path check...
4622 (is_trusted_path): ...to here.
c1e9ea35 4623 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 4624 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 4625 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 4626
8a35c912
PP
46272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4628
4629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4630 __BEGIN/__END_DECLS.
4631
acd41f47
UD
46322011-05-06 Ulrich Drepper <drepper@gmail.com>
4633
4634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4635 NSS_STATUS_NOTFOUND if no record was found.
4636
597df647
AS
46372011-05-05 Andreas Schwab <schwab@redhat.com>
4638
4639 * sunrpc/Makefile (headers): Add rpc/netdb.h.
4640 (headers-not-in-tirpc): Remove rpc/netdb.h
4641 * resolv/netdb.h: Revert last change.
4642
b9af1301
PP
46432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4644
4645 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4646 circular dependency between libgcc.a and libc.a.
4647
4e34d5f5
AS
46482011-05-05 Andreas Schwab <schwab@redhat.com>
4649
4650 * resolv/netdb.h: Don't include <rpc/netdb.h>.
4651 * nis/Makefile: Don't install rpcsvc/*.
4652 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4653 instead of <rpc/types.h>.
4654 (MAXHOSTNAMELEN): Define.
4655
00ee369c
AS
46562011-05-03 Andreas Schwab <schwab@redhat.com>
4657
4658 * elf/ldconfig.c (add_dir): Don't crash on empty path.
4659
0b592a30
MB
46602011-04-28 Maciej Babinski <mbabinski@google.com>
4661
4662 [BZ #12714]
4663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4664 gethostbyname4_r when IPv6 results are possible.
4665
6e04cbbe
UD
46662011-05-02 Ulrich Drepper <drepper@gmail.com>
4667
4668 [BZ #12723]
4669 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
4670 _PC_PIPE_BUF handling.
4671
e4ecafe0
BH
46722011-04-30 Bruno Haible <bruno@clisp.org>
4673
4674 [BZ #12717]
4675 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
4676 * resolv/netdb.h (getnameinfo): Change type of flags parameter
4677 to 'int'.
4678 * inet/getnameinfo.c (getnameinfo): Likewise.
4679
125ee683
UD
46802011-04-29 Ulrich Drepper <drepper@gmail.com>
4681
4682 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
4683 to groups setting in database lookup.
4684 * nss/nsswitch.conf: Add initgroups entry.
4685
b722481a
EB
46862011-04-22 Ulrich Drepper <drepper@gmail.com>
4687
4688 [BZ #12685]
4689 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
4690 mode string.
4691 Patch by Eric Blake <eblake@redhat.com>.
4692
4df46dbd
L
46932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
4694
4695 * sunrpc/Makefile (need-export-routines): Add svc_run.
4696 (routines): Remove svc_run.
4697 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
4698 * sunrpc/clnt_perr.c (clnt_perrno): Export.
4699 * sunrpc/svc_run.c (svc_run): Likewise.
4700 * sunrpc/svc_udp.c (svcudp_create): Likewise.
4701
e84142d2
UD
47022011-04-21 Ulrich Drepper <drepper@gmail.com>
4703
4704 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
4705 problem in reallocation in last patch.
4706
877175d8
UD
47072011-04-20 Ulrich Drepper <drepper@gmail.com>
4708
4709 * sunrpc/Makefile: Move inclusion of Rules.
4710
ab8eed78
UD
47112011-04-19 Ulrich Drepper <drepper@gmail.com>
4712
4713 * nss/nss_files/files-initgroups.c: New file.
4714 * nss/Makefile (libnss_files-routines): Add files-initgroups.
4715 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
4716 _nss_files_initgroups_dyn.
4717
e3d8f584
RS
47182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
4719
4720 * elf/elf.h (R_ARM_IRELATIVE): Define.
4721
af190f45
UD
47222011-04-19 Ulrich Drepper <drepper@gmail.com>
4723
4724 * po/ru.po: Update from translation team.
4725
53cf59ef
UD
47262011-04-17 Ulrich Drepper <drepper@gmail.com>
4727
4728 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
4729 dependencies.
4730
4c559bcd
MF
47312011-02-06 Mike Frysinger <vapier@gentoo.org>
4732
4733 [BZ #12653]
4734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
4735 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
4736 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4738 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4739
4420675c
AS
47402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
4741
4742 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
4743 differing bytes.
4744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4747
75ea32ab
UD
47482011-04-17 Ulrich Drepper <drepper@gmail.com>
4749
4750 [BZ #12420]
4751 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
4752 storing it.
4753 * stdlib/bug-getcontext.c: New file.
4754 * stdlib/Makefile: Add rules to build and run bug-getcontext.
4755
27390476
AK
47562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4757
4758 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
4759 instructions into .machine "z9-109".
4760 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4761 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4762
10442705
AK
47632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4764
4765 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
4766 between environment variables and auxiliary vector.
4767
7b57bfe5
UD
47682011-04-16 Ulrich Drepper <drepper@gmail.com>
4769
4770 * Makefile: Add rules to build linkobj/libc.so.
4771 * include/libc-symbols.h: Define libc_hidden_nolink.
4772 * include/rpc/auth.h: Mark functions which are to be hidden.
4773 * include/rpc/auth_des.h: Likewise.
4774 * include/rpc/auth_unix.h: Likewise.
4775 * include/rpc/clnt.h: Likewise.
4776 * include/rpc/des_crypt.h: Likewise.
4777 * include/rpc/key_prot.h: Likewise.
4778 * include/rpc/pmap_clnt.h: Likewise.
4779 * include/rpc/pmap_prot.h: Likewise.
4780 * include/rpc/pmap_rmt.h: Likewise.
4781 * include/rpc/rpc_msg.h: Likewise.
4782 * include/rpc/svc.h: Likewise.
4783 * include/rpc/svc_auth.h: Likewise.
4784 * include/rpc/xdr.h: Likewise.
4785 * nis/Makefile: Link all DSOs against linkobj/libc.so.
4786 * nss/Makefile: Likewise.
4787 * sunrpc/Makefile: Don't install headers. Build library with normal
4788 entry points. Don't build rpcinfo. Link RPC tests appropriately.
4789 * sunrpc/auth_des.c: Hide exported symbols by default, export some
4790 for the compat linking library. Remove use of INTDEF/INTUSE.
4791 * sunrpc/auth_none.c: Likewise.
4792 * sunrpc/auth_unix.c: Likewise.
4793 * sunrpc/authdes_prot.c: Likewise.
4794 * sunrpc/authuxprot.c: Likewise.
4795 * sunrpc/clnt_gen.c: Likewise.
4796 * sunrpc/clnt_perr.c: Likewise.
4797 * sunrpc/clnt_raw.c: Likewise.
4798 * sunrpc/clnt_simp.c: Likewise.
4799 * sunrpc/clnt_tcp.c: Likewise.
4800 * sunrpc/clnt_udp.c: Likewise.
4801 * sunrpc/clnt_unix.c: Likewise.
4802 * sunrpc/des_crypt.c: Likewise.
4803 * sunrpc/des_soft.c: Likewise.
4804 * sunrpc/get_myaddr.c: Likewise.
4805 * sunrpc/key_call.c: Likewise.
4806 * sunrpc/key_prot.c: Likewise.
4807 * sunrpc/netname.c: Likewise.
4808 * sunrpc/pm_getmaps.c: Likewise.
4809 * sunrpc/pm_getport.c: Likewise.
4810 * sunrpc/pmap_clnt.c: Likewise.
4811 * sunrpc/pmap_prot.c: Likewise.
4812 * sunrpc/pmap_prot2.c: Likewise.
4813 * sunrpc/pmap_rmt.c: Likewise.
4814 * sunrpc/publickey.c: Likewise.
4815 * sunrpc/rpc_cmsg.c: Likewise.
4816 * sunrpc/rpc_common.c: Likewise.
4817 * sunrpc/rpc_dtable.c: Likewise.
4818 * sunrpc/rpc_prot.c: Likewise.
4819 * sunrpc/rpc_thread.c: Likewise.
4820 * sunrpc/rtime.c: Likewise.
4821 * sunrpc/svc.c: Likewise.
4822 * sunrpc/svc_auth.c: Likewise.
4823 * sunrpc/svc_authux.c: Likewise.
4824 * sunrpc/svc_raw.c: Likewise.
4825 * sunrpc/svc_run.c: Likewise.
4826 * sunrpc/svc_simple.c: Likewise.
4827 * sunrpc/svc_tcp.c: Likewise.
4828 * sunrpc/svc_udp.c: Likewise.
4829 * sunrpc/svc_unix.c: Likewise.
4830 * sunrpc/svcauth_des.c: Likewise.
4831 * sunrpc/xcrypt.c: Likewise.
4832 * sunrpc/xdr.c: Likewise.
4833 * sunrpc/xdr_array.c: Likewise.
4834 * sunrpc/xdr_float.c: Likewise.
4835 * sunrpc/xdr_intXX_t.c: Likewise.
4836 * sunrpc/xdr_mem.c: Likewise.
4837 * sunrpc/xdr_rec.c: Likewise.
4838 * sunrpc/xdr_ref.c: Likewise.
4839 * sunrpc/xdr_sizeof.c: Likewise.
4840 * sunrpc/xdr_stdio.c: Likewise.
4841
e6c61494
UD
48422011-04-10 Ulrich Drepper <drepper@gmail.com>
4843
4844 [BZ #12650]
4845 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
4846 * sysdeps/ia64/dl-tls.h: Likewise.
4847 * sysdeps/powerpc/dl-tls.h: Likewise.
4848 * sysdeps/s390/dl-tls.h: Likewise.
4849 * sysdeps/sh/dl-tls.h: Likewise.
4850 * sysdeps/sparc/dl-tls.h: Likewise.
4851 * sysdeps/x86_64/dl-tls.h: Likewise.
4852 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
4853
34fe483e
AS
48542011-03-14 Andreas Schwab <schwab@redhat.com>
4855
4856 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
4857 rpath element also skip the following colon.
4858 (expand_dynamic_string_token): Add is_path parameter and pass
4859 down to DL_DST_REQUIRED and _dl_dst_substitute.
4860 (decompose_rpath): Call expand_dynamic_string_token with
4861 non-zero is_path. Ignore empty rpaths.
4862 (_dl_map_object_from_fd): Call expand_dynamic_string_token
4863 with zero is_path.
4864
f12a32e6
AS
48652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
4866
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4868 Make cancelable.
4869
38a7d692
UD
48702011-04-09 Ulrich Drepper <drepper@gmail.com>
4871
4872 [BZ #12655]
4873 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
4874 Patch by Filipe David Manana <fdmanana@apache.org>.
4875
e451d22b
AS
48762011-04-07 Andreas Schwab <schwab@redhat.com>
4877
4878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
4879 Maintain aligned stack.
4880 (CHECK_RSP): Remove unused macro.
4881
dedc7c7b
UD
48822011-04-03 Ulrich Drepper <drepper@gmail.com>
4883
4884 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
4885 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
4886
94521213
UD
48872011-04-02 Ulrich Drepper <drepper@gmail.com>
4888
4889 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
4890
8cb700c0 4891 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 4892
0354e355
L
48932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
4894
4895 [BZ #12518]
4896 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
4897 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
4898 * sysdeps/x86_64/memmove.c: New file.
4899 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
4900 (memcpy): Renamed to ...
4901 (__new_memcpy): This.
4902 (memcpy): Provide GLIBC_2_14 memcpy.
4903 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
4904 (memcpy): Provide GLIBC_2_2_5 memcpy.
4905
8593482f
UD
49062011-04-01 Ulrich Drepper <drepper@gmail.com>
4907
4908 [BZ #12631]
4909 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
4910
81a5726b
AS
49112011-03-30 Andreas Schwab <schwab@redhat.com>
4912
4913 * misc/syncfs.c: New file.
4914 * misc/Makefile (routines): Add syncfs.
4915 * posix/unistd.h: Declare syncfs.
4916 * sysdeps/unix/syscalls.list: Add syncfs.
4917
00e5419f
AS
49182011-04-01 Andreas Schwab <schwab@redhat.com>
4919
4920 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
4921 open_by_handle_at.
4922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4923 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4927 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4928 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4929
748876bf
UD
49302011-04-01 Ulrich Drepper <drepper@gmail.com>
4931
658e451d
UD
4932 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
4933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4936 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4939
748876bf
UD
4940 * io/Makefile: Compile fallocate.c, fallocate64.c, and
4941 sync_file_range.c with -fexceptions.
4942 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
4943 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
4944 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4945 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4946 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4947 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
4949 sync_file_range as cancellation point
4950 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
4951 now a wrapper around __call_sync_file_range with cancellation handling.
4952 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
4953 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
4954 function name to __call_sync_file_range.
4955 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
4956 Add call_sync_file_range.
748876bf 4957
6e63d5e1
AS
49582011-04-01 Andreas Schwab <schwab@redhat.com>
4959
4960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 4961 bits/timex.h.
6e63d5e1 4962
46998f74
UD
49632011-04-01 Ulrich Drepper <drepper@gmail.com>
4964
4c1423ed
UD
4965 * iconv/iconv.h: Fix typo in comment.
4966 * io/fcntl.h: Likewise.
4967 * libio/stdio.h: Likewise.
4968 * posix/spawn.h: Likewise.
4969 * posix/unistd.h: Likewise.
4970 * stdlib/stdlib.h: Likewise.
4971 * time/time.h: Likewise.
4972 * wcsmbs/wchar.h: Likewise.
4973
158648c0
UD
4974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
4975 open_by_handle): Add.
4976 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
4977 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
4978 Augment a few comments.
4979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4984 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
4985 open_by_handle.
4986
46998f74
UD
4987 * io/fcntl.h (AT_EMPTY_PATH): Define.
4988
83fe108b
UD
49892011-03-30 Ulrich Drepper <drepper@gmail.com>
4990
4991 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
4992 * sysdeps/unix/sysv/linux/bits/time.h: New file.
4993 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
4994 to...
4995 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
4996 * Versions.def: Add GLIBC_2.14.
4997 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
4998 Export.
83fe108b 4999
bb242059
UD
50002011-03-22 Ulrich Drepper <drepper@gmail.com>
5001
5002 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5003 round counter.
5004 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5005
c97a1282
L
50062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5007
5008 [BZ #12597]
5009 * string/test-strncmp.c (do_page_test): New function.
5010 (check2): Likewise.
5011 (test_main): Call check2.
5012 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5013
2a115601
UD
50142011-03-20 Ulrich Drepper <drepper@gmail.com>
5015
5016 [BZ #12587]
5017 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5018 Handle cache information in CPU leaf 4.
5019 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5020
8126d904
UD
50212011-03-18 Ulrich Drepper <drepper@gmail.com>
5022
042c49c6 5023 [BZ #12583]
8126d904
UD
5024 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5025 character representation.
5026 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5027
ccfe366e
RA
50282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5029
5030 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5031 END(__isnan) to END(__isnanf) to match function entry point/label
5032 EALIGN(__isnanf,...).
5033
c6e13027
JJ
50342011-03-10 Jakub Jelinek <jakub@redhat.com>
5035
5036 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5037
33f85a3f
UD
50382011-03-10 Ulrich Drepper <drepper@gmail.com>
5039
028478fa
UD
5040 [BZ #12510]
5041 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5042 copy from the symbol referenced in the relocation to initialize the
5043 used variable.
5044 Patch by Piotr Bury <pbury@goahead.com>.
5045 * elf/Makefile: Add rules to build and tst-unique3.
5046 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5047 * elf/tst-unique3.cc: New file.
5048 * elf/tst-unique3.h: New file.
5049 * elf/tst-unique3lib.cc: New file.
5050 * elf/tst-unique3lib2.cc: New file.
5051
33f85a3f
UD
5052 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5053
03592fc7
MF
50542011-03-10 Mike Frysinger <vapier@gentoo.org>
5055
5056 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5057 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5058 to _start.
03592fc7 5059
6a5ee102
UD
50602011-03-06 Ulrich Drepper <drepper@gmail.com>
5061
5062 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5063 to-be-loaded object along a path to loader is ld.so.
5064
7e4ba49c
HJ
50652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5066 Ulrich Drepper <drepper@gmail.com>
5067
5068 * sysdeps/x86_64/memset.S: After aligning destination, code
5069 branches to different locations depending on the value of
5070 misalignment, when multiarch is enabled. Fix this.
5071
50722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5073
5074 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5075 Set _x86_64_preferred_memory_instruction for AMD processsors.
5076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5077 Set bit_Prefer_SSE_for_memop for AMD processors.
5078
13a804de
UD
50792011-03-04 Ulrich Drepper <drepper@gmail.com>
5080
5081 * libio/fmemopen.c (fmemopen): Optimize a bit.
5082
9d25c392
AS
50832011-03-03 Andreas Schwab <schwab@redhat.com>
5084
5085 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5086
a5543c6a
RM
50872011-03-03 Roland McGrath <roland@redhat.com>
5088
5089 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5090
012d35f7
DM
50912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5092
7e4ba49c 5093 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
5094 __bzero_ultra1 instead of __memset_ultra1.
5095
4bff6e01
AS
50962011-02-23 Andreas Schwab <schwab@redhat.com>
5097 Ulrich Drepper <drepper@gmail.com>
5098
5099 [BZ #12509]
5100 * include/link.h (struct link_map): Add l_orig_initfini.
5101 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5102 returning unsuccessfully.
5103 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5104 close of a file loaded at startup, restore the original l_initfini
5105 list.
5106 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5107 list, store the pointer.
5108 * elf/Makefile ($(objpfx)noload-mem): New rule.
5109 (noload-ENV): Define.
5110 (tests): Add $(objpfx)noload-mem.
5111 * elf/noload.c: Include <memcheck.h>.
5112 (main): Call mtrace. Close all opened handles.
5113
f2092faf
AS
51142011-02-17 Andreas Schwab <schwab@redhat.com>
5115
5116 [BZ #12454]
5117 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5118 dependencies are missing.
5119
6c8a2e88
ST
51202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5121
f2092faf 5122 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
5123 Hurd needs munmap.
5124 * sysdeps/mach/hurd/ifreq.h: New file.
5125
84a42118
PB
51262011-01-27 Petr Baudis <pasky@suse.cz>
5127 Ulrich Drepper <drepper@gmail.com>
5128
071f805e 5129 [BZ 12445]#
84a42118
PB
5130 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5131 to extend_alloca().
5132 * stdio-common/bug23.c: New file.
5133 * stdio-common/Makefile (tests): Add bug23.
5134
e23fe25b
AS
51352010-09-28 Andreas Schwab <schwab@redhat.com>
5136 Ulrich Drepper <drepper@gmail.com>
5137
5138 [BZ #12489]
5139 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5140 before performing relro protection. At old place add assertion
5141 to make sure nothing changed.
5142
d3f02e10
NS
51432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
5144 Glauber de Oliveira Costa <glommer@gmail.com>
5145
5146 * elf/elf.h: Add new ARM TLS relocs.
5147
d55fd7a5
RA
51482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
5149
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5151 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5152 cast from r3.
5153 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
5154 'tests' variable.
5155 * sysdeps/wordsize-64/tst-writev.c: New file.
5156
2206397e
RA
51572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
5158
5159 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5160 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5161 insns in _dl_start to prevent a TOC reference before relocs are
5162 resolved.
5163
e9433893
UD
51642011-02-15 Ulrich Drepper <drepper@gmail.com>
5165
5166 [BZ #12469]
5167 * Makeconfig: Remove RANLIB definition.
5168 * Makerules: Don't use RANLIB.
5169 * aclocal.m4: Remove ranlib test.
5170 * configure.in: No need to check for ranlib.
5171 * elf/rtld-Rules: Don't use RANLIB.
5172
f75286c6
ST
51732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5174
8e31c82d
ST
5175 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5176 protection macro.
5177 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5178 inclusion protection macro.
5179
f75286c6
ST
5180 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5181 SIGRTMIN and SIGRTMAX and print information in that case only when
5182 SIGRTMIN is defined.
5183
c1d0e639
JJ
51842011-02-11 Jakub Jelinek <jakub@redhat.com>
5185
5186 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5187 arginfo fn returning -1.
5188
5189 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5190 and thousands string is zero terminated.
5191
edf9294e
AS
51922011-02-03 Andreas Schwab <schwab@redhat.com>
5193
5194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5195 sysdeps/unix/sysv/linux/bits/socket.h.
5196
2b7e92df
ST
51972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5198
edf9294e
AS
5199 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5200 (__CPU_COUNT): Remove old macros.
5201 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5202 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5203 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
5204 (__sched_cpualloc, __sched_cpufree): Add declarations.
5205
a4c7ea7b
UD
52062011-02-05 Ulrich Drepper <drepper@gmail.com>
5207
5208 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5209 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5210 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5211 (readdhstai): Return value of addhstaiX call.
5212 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5213 (addgrbyX): Return value returned by cache_addgr.
5214 (readdgrbyname): Return value returned by addgrbyX.
5215 (readdgrbygid): Likewise.
5216 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5217 (addpwbyX): Return value returned by cache_addpw.
5218 (readdpwbyname): Return value returned by addhstbyX.
5219 (readdpwbyuid): Likewise.
5220 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5221 (addservbyX): Return value returned by cache_addserv.
5222 (readdservbyname): Return value returned by addservbyX:
5223 (readdservbyport): Likewise.
5224 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5225 (addhstbyX): Return value returned by cache_addhst.
5226 (readdhstbyname): Return value returned by addhstbyX.
5227 (readdhstbyaddr): Likewise.
5228 (readdhstbynamev6): Likewise.
5229 (readdhstbyaddrv6): Likewise.
5230 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5231 (readdinitgroups): Return value returned by addinitgroupsX.
5232 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5233 (prune_cache): Keep track of timeout value of re-added entries.
5234 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5235 * nscd/nscd.h: Adjust prototypes of readd* functions.
5236
a0bf67cc
RM
52372011-02-04 Roland McGrath <roland@redhat.com>
5238
5239 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5240 (nis_stats): Likewise.
5241 * nis/nis_modify.c (nis_modify): Likewise.
5242 * nis/nis_remove.c (nis_remove): Likewise.
5243 * nis/nis_add.c (nis_add): Likewise.
5244
5245 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5246
5247 * posix/fnmatch_loop.c: Add some consts.
5248
5249 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5250
435b95eb
L
52512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5252
5253 [BZ #12460]
5254 * config.make.in (config-cflags-novzeroupper): Define.
5255 * configure.in: Substitute libc_cv_cc_novzeroupper.
5256 * elf/Makefile (AVX-CFLAGS): Define.
5257 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5258 (CFLAGS-tst-auditmod4a.c): Likewise.
5259 (CFLAGS-tst-auditmod4b.c): Likewise.
5260 (CFLAGS-tst-auditmod6b.c): Likewise.
5261 (CFLAGS-tst-auditmod6c.c): Likewise.
5262 (CFLAGS-tst-auditmod7b.c): Likewise.
5263 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5264
8517b15e
UD
52652011-02-02 Ulrich Drepper <drepper@gmail.com>
5266
5267 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5268 function to the callback.
5269 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5270
10a656fe
AS
52712011-02-02 Andreas Schwab <schwab@redhat.com>
5272
5273 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5274 of errno.
5275
968dad0a
UD
52762011-01-19 Ulrich Drepper <drepper@gmail.com>
5277
9f94d2ea 5278 [BZ #11724]
968dad0a
UD
5279 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5280 of constructors.
5281 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5282 of destructors.
5283 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5284
5285 [BZ #11724]
5286 * elf/Makefile: Add rules to build and run new test.
5287 * elf/tst-initorder.c: New file.
5288 * elf/tst-initorder.exp: New file.
5289 * elf/tst-initordera1.c: New file.
5290 * elf/tst-initordera2.c: New file.
5291 * elf/tst-initordera3.c: New file.
5292 * elf/tst-initordera4.c: New file.
5293 * elf/tst-initorderb1.c: New file.
5294 * elf/tst-initorderb2.c: New file.
5295 * elf/tst-order-a1.c: New file.
5296 * elf/tst-order-a2.c: New file.
5297 * elf/tst-order-a3.c: New file.
5298 * elf/tst-order-a4.c: New file.
5299 * elf/tst-order-b1.c: New file.
5300 * elf/tst-order-b2.c: New file.
5301 * elf/tst-order-main.c: New file.
5302 New test case by George Gensure <werkt0@gmail.com>.
5303
86e92359
UD
53042010-10-01 Andreas Schwab <schwab@redhat.com>
5305
5306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5307 decoding ACE if AI_CANONIDN.
5308
5d5732b0
UD
53092011-01-18 Ulrich Drepper <drepper@gmail.com>
5310
5311 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5312
a77e8cbc
UD
53132011-01-17 Ulrich Drepper <drepper@gmail.com>
5314
6392473f
UD
5315 * version.h (RELEASE): Bump for 2.13 release.
5316 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5317
620a0529
UD
5318 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5319
18ba70a5
UD
5320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5321 MADV_NOHUGEPAGE.
32465c3e
UD
5322 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5328
c0dafcf1
UD
5329 * posix/getconf.c: Update copyright year.
5330 * catgets/gencat.c: Likewise.
5331 * csu/version.c: Likewise.
5332 * debug/catchsegv.sh: Likewise.
5333 * debug/xtrace.sh: Likewise.
5334 * elf/ldconfig.c: Likewise.
5335 * elf/ldd.bash.in: Likewise.
5336 * elf/sprof.c (print_version): Likewise.
5337 * iconv/iconv_prog.c: Likewise.
5338 * iconv/iconvconfig.c: Likewise.
5339 * locale/programs/locale.c: Likewise.
5340 * locale/programs/localedef.c: Likewise.
5341 * malloc/memusage.sh: Likewise.
5342 * malloc/mtrace.pl: Likewise.
5343 * nscd/nscd.c (print_version): Likewise.
5344 * nss/getent.c: Likewise.
5345
a77e8cbc
UD
5346 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5347 PF_CAIF, and PF_ALG.
5348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5349
77e8bddf
AS
53502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5351
1f20b93a
AS
5352 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5353 (modules-names): Use them.
5354 (ifunc-test-modules, ifunc-pie-tests): Define.
5355 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5356 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5357 (test-extras): Likewise.
5358 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5359 $(compile-command.c).
5360 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5361 (all-built-dso): Define.
5362 (check-textrel.out, check-execstack.out): Depend on it.
5363
77e8bddf
AS
5364 * configure.in: Don't override --enable-multi-arch.
5365
bc425b33
UD
53662011-01-15 Ulrich Drepper <drepper@gmail.com>
5367
5368 [BZ #6812]
5369 * nscd/hstcache.c (tryagain): Define.
5370 (cache_addhst): Return tryagain not notfound for temporary errors.
5371 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5372 failed.
5373
794c3ad3
UD
53742011-01-14 Ulrich Drepper <drepper@gmail.com>
5375
70181fdd
UD
5376 [BZ #10563]
5377 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5378 to make the syscall.
5379 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5380
794c3ad3
UD
5381 [BZ #12378]
5382 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5383 and fall back to matching as normal character if the string ends before
5384 the matching ']' is found. This is what POSIX requires.
5385 * posix/testfnm.c: Adjust test result.
5386 * posix/globtest.sh: Adjust test result. Add new test.
5387 * posix/tst-fnmatch.input: Likewise.
5388 * posix/tst-fnmatch2.c: Add new test.
5389
68dc9497
AS
53902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5391
5392 * elf/Makefile (check-execstack): Revert last change. Depend on
5393 check-execstack.h.
5394 (check-execstack.h): New target.
5395 (generated): Add check-execstack.h.
5396 * elf/check-execstack.c: Include "check-execstack.h".
5397 (main): Revert last change.
5398 (handle_file): Return zero if GNU_STACK is absent and
5399 DEFAULT_STACK_PERMS doesn't include PF_X.
5400
451f001b
UD
54012011-01-13 Ulrich Drepper <drepper@gmail.com>
5402
cfa28e56
UD
5403 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5404 in child fails because the descriptor is already closed.
8cf8ce17
UD
5405 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5406 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5407 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 5408
1086d70d
UD
5409 [BZ #12397]
5410 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5411 syscall.
5412
451f001b
UD
5413 [BZ #10484]
5414 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5415 temporary buffer used to handle multi lookups locally.
a85b5cb4 5416 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 5417
08769175
UD
54182011-01-12 Ulrich Drepper <drepper@gmail.com>
5419
5420 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5421 loader is ld.so.
5422
5e49c52e
UD
54232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5424
5425 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5426 alignment for SSE2.
5427
60522a5f
UD
54282011-01-12 Ulrich Drepper <drepper@gmail.com>
5429
5430 [BZ #12394]
5431 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5432 characters. When rounding increased number of integer digits recompute
5433 number of groups.
5434 * stdio-common/tst-grouping.c: New file.
5435 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5436
f257bbd7
UD
54372011-01-09 Ulrich Drepper <drepper@gmail.com>
5438
5439 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5440 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5441
5442 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5443 void.
5444 * bits/select.h: Likewise.
5445
fa9c15cb
UD
54462011-01-08 Ulrich Drepper <drepper@gmail.com>
5447
5448 * po/ja.po: Update from translation team.
5449
16c2895f
DM
54502011-01-04 David S. Miller <davem@sunset.davemloft.net>
5451
5452 [BZ #11155]
5453 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5454 implementation just like for lxstat, fxstatat, et al.
5455
2543fef2
JM
54562010-12-27 Jim Meyering <meyering@redhat.com>
5457
5458 [BZ #12348]
5459 * posix/regexec.c (build_trtable): Return failure indication upon
5460 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5461
98727dbe
UD
54622010-12-25 Ulrich Drepper <drepper@gmail.com>
5463
5bd6dc5c
UD
5464 [BZ #12201]
5465 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5466 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5467 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5469
97983464
UD
5470 [BZ #12207]
5471 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5472
98727dbe
UD
5473 [BZ #12204]
5474 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5475 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5476
4a531bb0
L
54772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5478
5479 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5480 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5481 script has SORT_BY_INIT_PRIORITY.
5482 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5483 NO_CTORS_DTORS_SECTIONS is defined.
5484 * elf/soinit.c: Likewise.
5485 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5486 NO_CTORS_DTORS_SECTIONS is defined.
5487 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5488 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5489 * sysdeps/sh/init-first.c: Likewise.
5490 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5491
07eb4b71
UD
54922010-12-24 Ulrich Drepper <drepper@gmail.com>
5493
5494 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5495 always use the slow path.
5496
30950a5f
RA
54972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5498
5499 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5500 similar rule which adds the sysdep directories to the header search in
5501 order to pick up the correct platform stackinfo.h.
5502 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5503 perform test if it is, otherwise return successfully without testing.
5504 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5505 DEFAULT_STACK_PERMS define in stackinfo.h.
5506 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5507 defined in stackinfo.h.
5508 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5509 DEFAULT_STACK_PERMS defined in stackinfo.h.
5510 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5511 * sysdeps/ia64/stackinfo.h: Likewise.
5512 * sysdeps/s390/stackinfo.h: Likewise.
5513 * sysdeps/sh/stackinfo.h: Likewise.
5514 * sysdeps/sparc/stackinfo.h: Likewise.
5515 * sysdeps/x86_64/stackinfo.h: Likewise.
5516 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5517 PF_X for powerpc64. Retain PF_X for powerpc32.
5518
db753e2c
UD
55192010-12-19 Ulrich Drepper <drepper@gmail.com>
5520
14b697f7
UD
5521 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5522 accurately.
db753e2c
UD
5523 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5524 GETDENTS_64BIT_ALIGNED.
5525
28300719
UD
55262010-12-14 Ulrich Drepper <dreper@gmail.com>
5527
14b697f7 5528 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 5529
4f197237
AS
55302010-12-10 Andreas Schwab <schwab@redhat.com>
5531
dbb0472f
AS
5532 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5533 _GNU_SOURCE.
5534
4f197237
AS
5535 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5536 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5537 Remove __restrict.
5538 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5539 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5540
fb88ac72
UD
55412010-12-09 Ulrich Drepper <drepper@gmail.com>
5542
5543 [BZ #11655]
5544 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5545 are initialized.
5546
42acbb92
JJ
55472010-12-09 Jakub Jelinek <jakub@redhat.com>
5548
5549 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5550
c038d98d
UD
55512010-12-03 Ulrich Drepper <drepper@gmail.com>
5552
5553 * po/it.po: Update from translation team.
5554
3a4a2499
L
55552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
5556
5557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5558 unused codes.
5559
1e24cf6e
UD
55602010-11-30 Ulrich Drepper <drepper@gmail.com>
5561
5562 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5563
a7690819
AS
55642010-11-24 Andreas Schwab <schwab@redhat.com>
5565
5566 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5567 specially.
5568 (gaih_getanswer_slice): Likewise.
5569
3bf8d1b1
JJ
55702010-10-20 Jakub Jelinek <jakub@redhat.com>
5571
5572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5573
6db52fbb
PB
55742010-05-31 Petr Baudis <pasky@suse.cz>
5575
5576 [BZ #11149]
5577 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5578 silently even in the chroot mode.
5579
eaca7569
UD
55802010-11-22 Ulrich Drepper <drepper@gmail.com>
5581
5582 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5583 last patch a bit. Pretty printing
5584
3056dcdb
UD
55852010-05-31 Petr Baudis <pasky@suse.cz>
5586
5587 [BZ #10085]
5588 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5589 initialization of skip_initgroups_dyn.
5590
cf7c9078
UD
55912010-11-19 Ulrich Drepper <drepper@gmail.com>
5592
5593 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5594 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5595
a1fb5e3e
UD
55962010-11-16 Ulrich Drepper <drepper@gmail.com>
5597
5598 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5599
3540d66b
AS
56002010-11-11 Andreas Schwab <schwab@redhat.com>
5601
5602 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5603 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5604 (tst-fnmatch-ENV): Set MALLOC_TRACE.
5605 ($(objpfx)tst-fnmatch-mem): New rule.
5606 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5607 * posix/tst-fnmatch.c (main): Call mtrace.
5608
13b69574
L
56092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
5610
5611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5612 Support Intel processor model 6 and model 0x2c.
5613
da93d214
LM
56142010-11-10 Luis Machado <luisgpm@br.ibm.com>
5615
5616 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5617 signed comparison.
5618
8ca52c6e
L
56192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
5620
5621 [BZ #12205]
5622 * string/test-strncasecmp.c (check_result): New function.
5623 (do_one_test): Use it.
5624 (check1): New function.
5625 (test_main): Use it.
5626 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5627 Support strcasecmp and strncasecmp.
5628
69da074d
UD
56292010-11-08 Ulrich Drepper <drepper@gmail.com>
5630
5631 [BZ #12194]
5632 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5634
ff02d528
L
56352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
5636
5637 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5638 IFUNC support.
5639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5640 memset-x86-64.
5641 * sysdeps/x86_64/multiarch/bzero.S: New file.
5642 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5643 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5644 * sysdeps/x86_64/multiarch/memset.S: New file.
5645 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5647 Set bit_Prefer_SSE_for_memop for Intel processors.
5648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5649 Define.
5650 (index_Prefer_SSE_for_memop): Define.
5651 (HAS_PREFER_SSE_FOR_MEMOP): Define.
5652
344d0b54
LM
56532010-11-04 Luis Machado <luisgpm@br.ibm.com>
5654
5655 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5657
c0dde15b
UD
56582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 [BZ #12191]
5661 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5662 (__x86_64_raw_data_cache_size_half): Likewise.
5663 (__x86_64_raw_shared_cache_size): Likewise.
5664 (__x86_64_raw_shared_cache_size_half): Likewise.
5665
5666 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5667 (__x86_64_raw_data_cache_size_half): Likewise.
5668 (__x86_64_raw_shared_cache_size): Likewise.
5669 (__x86_64_raw_shared_cache_size_half): Likewise.
5670 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
5671 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
5672 and __x86_64_raw_shared_cache_size_half. Round
5673 __x86_64_data_cache_size_half, __x86_64_data_cache_size
5674 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
5675 to multiple of 256 bytes.
5676
0e516e0e
MS
56772010-11-03 Ulrich Drepper <drepper@gmail.com>
5678
5679 [BZ #12167]
5680 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
5681 of inacessible symlinks. Verify result of symlink before returning it.
5682 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5683 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
5684
0e012e87
ER
56852010-10-28 Erich Ritz <erichritz@gmail.com>
5686
5687 * math/math.h (isinf): Fix typo in comment.
5688
de0ff7bc
UD
56892010-11-01 Ulrich Drepper <drepper@gmail.com>
5690
5691 * po/da.po: Update from translation team.
5692
fa41c84d
UD
56932010-10-26 Ulrich Drepper <drepper@gmail.com>
5694
5695 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
5696 is added to the list.
5697
f0967738
AK
56982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5699 Ulrich Drepper <drepper@gmail.com>
5700
5701 * elf/dl-object.c (_dl_new_object): Don't append the new object to
5702 the global list here. Move code to...
5703 (_dl_add_to_namespace_list): ...here. New function.
5704 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
5705 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
5706 * elf/dl-load.c (lose): Don't remove the element from the list.
5707 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
5708 (_dl_map_object): Likewise.
5709
57102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
5711
5712 [BZ #12159]
5713 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
5714 into all bytes of SSE register.
5715 Patch by Richard Li <richardpku@gmail.com>.
5716
f0967738 57172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
5718
5719 [BZ #12140]
5720 * malloc/malloc.c (_int_free): Fill correct number of bytes when
5721 perturbing.
5722
d0b9e94f
MB
57232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
5724
5725 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
5726 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
5727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
5728 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
5730 submachine.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
5732
8e9f92e9
AS
57332010-10-22 Andreas Schwab <schwab@redhat.com>
5734
5735 * include/dlfcn.h (__RTLD_SECURE): Define.
5736 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
5737 mode & __RTLD_SECURE instead.
5738 (open_path): Rename preloaded parameter to secure.
5739 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
5740 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
5741 * elf/dl-deps.c (openaux): Likewise.
5742 * elf/rtld.c (struct map_args): Remove is_preloaded.
5743 (map_doit): Don't use it.
5744 (dl_main): Likewise.
5745 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
5746 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
5747
bc96fbda
AS
57482010-09-09 Andreas Schwab <schwab@redhat.com>
5749
5750 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
5751 (sysd-rules-targets): Remove duplicates.
5752 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
5753 rtld-%.$o dependency.
5754
22cd1c9b
AS
57552010-10-18 Andreas Schwab <schwab@redhat.com>
5756
5757 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
5758 _dl_map_object do it.
5759
18edac48
UD
57602010-10-19 Ulrich Drepper <drepper@gmail.com>
5761
5762 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
5763 fast fma builtins, define the macros in the C99 standard.
5764 (FP_FAST_FMAF): Likewise.
5765 (FP_FAST_FMAL): Likewise.
5766 * sysdeps/x86_64/bits/mathdef.h: Likewise.
5767
5768 * bits/mathdef.h: Update copyright year.
5769 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5770
d2050124
MM
57712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
5772
5773 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
5774 builtins, define the macros in the C99 standard.
5775 (FP_FAST_FMAF): Likewise.
5776 (FP_FAST_FMAL): Likewise.
5777 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
5778 multiply/add.
5779 (FP_FAST_FMAF): Likewise.
5780
475facd1
JJ
57812010-10-15 Jakub Jelinek <jakub@redhat.com>
5782
5783 [BZ #3268]
5784 * math/libm-test.inc (fma_test): Some new testcases.
5785 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
5786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
5787 y and infinite z. Do multiplication by C already in long double.
5788 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
5789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
5790 y and infinite z. Do bitwise or of inexact bit into u.d.
5791 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
5792 * sysdeps/i386/fpu/s_fmaf.S: Removed.
5793 * sysdeps/i386/fpu/s_fma.S: Removed.
5794 * sysdeps/i386/fpu/s_fmal.S: Removed.
5795
7c08a05c
JJ
57962010-10-16 Jakub Jelinek <jakub@redhat.com>
5797
5798 [BZ #3268]
5799 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
5800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
5801 computation is not scheduled after fetestexcept. Fix value
5802 of minimum denormal long double.
5803
f3f7372d
JJ
58042010-10-14 Jakub Jelinek <jakub@redhat.com>
5805
5806 [BZ #3268]
5807 * math/libm-test.inc (fma_test): Add some more tests.
5808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
5809 correctly.
5810
14d43591
AS
58112010-10-15 Andreas Schwab <schwab@redhat.com>
5812
5813 * scripts/data/localplt-s390-linux-gnu.data: New file.
5814 * scripts/data/localplt-s390x-linux-gnu.data: New file.
5815
5e908464
JJ
58162010-10-13 Jakub Jelinek <jakub@redhat.com>
5817
5818 [BZ #3268]
5819 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
5820 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
5821 instead of dbl-64.
5822 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
5823 inlines.
5824 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
5825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
5826 if one of x and y is very large and the other is subnormal.
5827 * sysdeps/s390/fpu/s_fmaf.c: New file.
5828 * sysdeps/s390/fpu/s_fma.c: New file.
5829 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
5830 * sysdeps/powerpc/fpu/s_fma.S: New file.
5831 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
5832 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
5833 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
5834
58352010-10-12 Jakub Jelinek <jakub@redhat.com>
5836
5837 [BZ #3268]
5838 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
5839 fma tests.
5840 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
5841 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
5842 * sysdeps/i386/i686/multiarch/s_fma.c: Include
5843 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
5844 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
5845 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
5846 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
5847
b833d51f
UD
58482010-10-12 Ulrich Drepper <drepper@redhat.com>
5849
5850 [BZ #12078]
5851 * posix/regcomp.c (parse_branch): One more memory leak plugged.
5852 * posix/bug-regex31.input: Add test case.
5853
1751705d
UD
58542010-10-11 Ulrich Drepper <drepper@gmail.com>
5855
e9b9cbf5
UD
5856 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
5857 * posix/bug-regex31.input: New file.
5858
5859 [BZ #12078]
5860 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
5861 (parse_sub_exp): Fix last change, use postorder.
5862
ef06edbe
UD
5863 * posix/bug-regex31.c: New file.
5864 * posix/Makefile: Add rules to build and run bug-regex31.
5865
a129c80d
UD
5866 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
5867
5868 [BZ #12078]
5869 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
5870
b76b818e
UD
5871 [BZ #12108]
5872 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
5873 to have entries in sys_siglist.
5874
1751705d
UD
5875 [BZ #12093]
5876 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
5877 be NULL.
5878
9ff8d36f
JJ
58792010-10-07 Jakub Jelinek <jakub@redhat.com>
5880
5881 [BZ #3268]
5882 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
5883 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
5884 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
5885 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
5886 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5887 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
5888 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
5889 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
5890 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
5891 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
5892 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
5893 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
5894 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5895 * math/ftestexcept.c (fetestexcept): Likewise.
5896 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
5897 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5898 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5899 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
5900 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
5901 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
5902 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5903
af325969
UD
59042010-10-11 Ulrich Drepper <drepper@gmail.com>
5905
c579b202 5906 [BZ #12107]
af325969
UD
5907 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
5908 newline.
5909
67a67b95
UD
59102010-10-06 Ulrich Drepper <drepper@gmail.com>
5911
5912 * string/bug-strstr1.c: New file.
5913 * string/Makefile: Add rules to build and run bug-strstr1.
5914
5fb308bc
EB
59152010-10-05 Eric Blake <eblake@redhat.com>
5916
5917 [BZ #12092]
5918 * string/str-two-way.h (two_way_long_needle): Always clear memory
5919 when skipping input due to the shift table.
5920
45db99c7
UD
59212010-10-03 Ulrich Drepper <drepper@gmail.com>
5922
3b111893
UD
5923 [BZ #12005]
5924 * malloc/mcheck.c: Handle large requests.
5925
45db99c7
UD
5926 [BZ #12077]
5927 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
5928 for strncmp and strncasecmp.
5929 * string/stratcliff.c: Add tests for strcmp and strncmp.
5930 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
5931
cf7a1eb8
NI
59322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5933
5934 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
5935 __set_fpscr.
5936
6484ba5e
AJ
59372010-09-30 Andreas Jaeger <aj@suse.de>
5938
5939 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
5940 (CGROUP_SUPER_MAGIC): Define.
5941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5942 Handle btrfs and cgroup file systems.
5943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5944 Likewise.
5945
91c42559
LM
59462010-09-27 Luis Machado <luisgpm@br.ibm.com>
5947
5948 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
5949 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
5950
87a97932
AK
59512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5952
5953 [BZ #12067]
5954 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
5955 trying to locate the ELF header.
5956
c21cc9bc
AS
59572010-09-27 Andreas Schwab <schwab@redhat.com>
5958
5959 [BZ #11611]
5960 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
5961 Mask out sign-bit copies when constructing f_fsid.
5962
315970f6
PB
59632010-09-24 Petr Baudis <pasky@suse.cz>
5964
5965 * debug/stack_chk_fail_local.c: Add missing licence exception.
5966 * debug/warning-nop.c: Likewise.
5967
1ac7a2c7
JM
59682010-09-15 Joseph Myers <joseph@codesourcery.com>
5969
5970 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
5971 implementing getdents64 using getdents syscall, set d_type if
5972 __ASSUME_GETDENTS32_D_TYPE.
5973
56801c50
AS
59742010-09-16 Andreas Schwab <schwab@redhat.com>
5975
5976 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
5977 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
5978
dda51327
UD
59792010-09-21 Ulrich Drepper <drepper@redhat.com>
5980
5981 [BZ #12037]
5982 * posix/unistd.h: Undo change of feature selection for ftruncate from
5983 2010-01-11.
5984
8ffcee4a
UD
59852010-09-20 Ulrich Drepper <drepper@redhat.com>
5986
a545ecd9 5987 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
5988 detection.
5989
e24f0a8b
AS
59902010-09-20 Andreas Schwab <schwab@redhat.com>
5991
5992 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
5993 fanotify_mark.
5994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5995
7291c56f
AS
59962010-09-14 Andreas Schwab <schwab@redhat.com>
5997
5998 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
5999 variables after CHECK_SP call.
6000 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6001
bc5fb037
AS
60022010-09-13 Andreas Schwab <schwab@redhat.com>
6003 Ulrich Drepper <drepper@redhat.com>
6004
6005 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6006 re-relocationg ld.so.
6007 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6008 _dl_init_paths call.
6009 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6010 here anymore.
6011
e66e7419
UD
60122010-09-14 Ulrich Drepper <drepper@redhat.com>
6013
6014 * resolv/res_init.c (__res_vinit): Count the default server we added.
6015
c044aa75
CLT
60162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6017 Ulrich Drepper <drepper@redhat.com>
6018
6019 [BZ #11968]
6020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6021 (____longjmp_chk): Use %ebx for saving value across system call.
6022 Add unwind info.
6023
32cf4069
AS
60242010-09-06 Andreas Schwab <schwab@redhat.com>
6025
6026 * manual/Makefile: Don't mix pattern rules with normal rules.
6027
817328ee
AS
60282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6029
6030 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6031 operation.
6032 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6033 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6034 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6035 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6037 Likewise.
6038
29fddf61
UD
60392010-09-04 Ulrich Drepper <drepper@redhat.com>
6040
6041 [BZ #11979]
6042 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6043 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6044
0959ffc9
UD
60452010-09-02 Ulrich Drepper <drepper@redhat.com>
6046
6047 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6048 * sysdeps/x86_64/addmul_1.S: Likewise.
6049 * sysdeps/x86_64/lshift.S: Likewise.
6050 * sysdeps/x86_64/mul_1.S: Likewise.
6051 * sysdeps/x86_64/rshift.S: Likewise.
6052 * sysdeps/x86_64/sub_n.S: Likewise.
6053 * sysdeps/x86_64/submul_1.S: Likewise.
6054
ece29840
ST
60552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6056
0959ffc9
UD
6057 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6058 Define __sched_param instead of SCHED_* and sched_param when
ece29840 6059 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 6060 * bits/sched.h [__need_schedparam]
ece29840 6061 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
6062 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6063 (__defined_schedparam): Define to 1.
ece29840
ST
6064 (__sched_param): New structure, identical to sched_param.
6065 (__need_schedparam): Undefine.
6066
e53a31fe
MF
60672010-08-31 Mike Frysinger <vapier@gentoo.org>
6068
fdc0c10d
MF
6069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6070 (epoll_create1): Declare.
6071
e53a31fe
MF
6072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6073
a726d796
AS
60742010-08-31 Andreas Schwab <schwab@redhat.com>
6075
6076 [BZ #7066]
6077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6078 shifting retval into place.
6079
2f3e3dc7
UD
60802010-09-01 Ulrich Drepper <drepper@redhat.com>
6081
f2933da9
UD
6082 * nis/rpcsvc/nis.h: Update copyright notice.
6083 * nis/rpcsvc/nis.x: Likewise.
6084 * nis/rpcsvc/nis_callback.h: Likewise.
6085 * nis/rpcsvc/nis_callback.x: Likewise.
6086 * nis/rpcsvc/nis_object.x: Likewise.
6087 * nis/rpcsvc/nis_tags.h: Likewise.
6088 * nis/rpcsvc/yp.h: Likewise.
6089 * nis/rpcsvc/yp.x: Likewise.
6090 * nis/rpcsvc/ypupd.h: Likewise.
6091 * nis/yp_xdr.c: Likewise.
6092 * nis/ypupdate_xdr.c: Likewise.
6093
2f3e3dc7
UD
6094 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6095 mainly the body of pmap_getport. Add parameters to specify timeouts.
6096 (pmap_getport): Use __libc_rpc_getport.
6097 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6098 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6099 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6100
f3dcc2f9
AS
61012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6102
6103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6104 fanotify_mark.
6105
6d34eb5b
RM
61062010-08-27 Roland McGrath <roland@redhat.com>
6107
6108 * sysdeps/i386/i686/multiarch/Makefile
6109 (CFLAGS-varshift.c): New variable.
6110
9ea3de11
UD
61112010-08-27 Ulrich Drepper <drepper@redhat.com>
6112
c96d23fc
UD
6113 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6114 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6115
9ea3de11
UD
6116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6117
6118 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6119
623aac7f
L
61202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 * sysdeps/x86_64/strlen.S: Unroll the loop.
6123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6124 strlen-sse2 strlen-sse2-bsf.
6125 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6126 __strlen_no_bsf if bit_Slow_BSF is set.
6127 (__strlen_sse42): Removed.
6128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6129 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6130
8b2b7715
RM
61312010-08-25 Roland McGrath <roland@redhat.com>
6132
6133 * sysdeps/x86_64/multiarch/varshift.S: File removed.
6134 * sysdeps/x86_64/multiarch/varshift.c: New file.
6135 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6136 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6137 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6138 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6139
e73015f2
L
61402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6143 strlen-sse2 strlen-sse2-bsf.
6144 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6145 __strlen_sse2_bsf if bit_Slow_BSF is unset.
6146 (__strlen_sse2): Removed.
6147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6150 bit_Slow_BSF for Atom.
6151 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6152 (index_Slow_BSF): Define.
6153 (HAS_SLOW_BSF): Define.
6154
df24a73e
UD
61552010-08-25 Ulrich Drepper <drepper@redhat.com>
6156
6157 [BZ #10851]
6158 * resolv/res_init.c (__res_vinit): When no server address at all
6159 is given default to loopback.
6160
f2ac4868
RM
61612010-08-24 Roland McGrath <roland@redhat.com>
6162
09055553
RM
6163 * configure.in: Remove config-name.h generation.
6164 * configure: Regenerated.
6165 * config-name.in: File removed.
6166 * scripts/config-uname.sh: New file.
6167 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6168 ($(objdir)config-name.h): New target.
6169
f2ac4868
RM
6170 * sunrpc/rpc_parse.h: Avoid nested comment.
6171
73f27d5e
RH
61722010-08-24 Richard Henderson <rth@redhat.com>
6173 Ulrich Drepper <drepper@redhat.com>
6174 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6178 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6179 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6180 _mm_alignr_epi8 with _mm_loadu_si128.
6181 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6182 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6183 (__m128i_shift_right): Removed.
6184 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6185 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6186 * sysdeps/x86_64/multiarch/varshift.h: New file.
6187 * sysdeps/x86_64/multiarch/varshift.S: New file.
6188
84b9230c
MF
61892010-08-21 Mike Frysinger <vapier@gentoo.org>
6190
6191 * configure.in: Move assembler checks to before sysdep dir checking.
6192
9bbd0ddc
PB
61932010-08-20 Petr Baudis <pasky@suse.cz>
6194
6195 * LICENSES: Sync the sunrpc license.
6196
9da4bb31
UD
61972010-08-19 Ulrich Drepper <drepper@redhat.com>
6198
a7ab6ec8
UD
6199 * sunrpc/auth_des.c: Update copyright notice once again.
6200 * sunrpc/auth_none.c: Likewise.
6201 * sunrpc/auth_unix.c: Likewise.
6202 * sunrpc/authdes_prot.c: Likewise.
6203 * sunrpc/authuxprot.c: Likewise.
6204 * sunrpc/bindrsvprt.c: Likewise.
6205 * sunrpc/clnt_gen.c: Likewise.
6206 * sunrpc/clnt_perr.c: Likewise.
6207 * sunrpc/clnt_raw.c: Likewise.
6208 * sunrpc/clnt_simp.c: Likewise.
6209 * sunrpc/clnt_tcp.c: Likewise.
6210 * sunrpc/clnt_udp.c: Likewise.
6211 * sunrpc/clnt_unix.c: Likewise.
6212 * sunrpc/des_crypt.c: Likewise.
6213 * sunrpc/des_soft.c: Likewise.
6214 * sunrpc/get_myaddr.c: Likewise.
6215 * sunrpc/getrpcport.c: Likewise.
6216 * sunrpc/key_call.c: Likewise.
6217 * sunrpc/key_prot.c: Likewise.
6218 * sunrpc/openchild.c: Likewise.
6219 * sunrpc/pm_getmaps.c: Likewise.
6220 * sunrpc/pm_getport.c: Likewise.
6221 * sunrpc/pmap_clnt.c: Likewise.
6222 * sunrpc/pmap_prot.c: Likewise.
6223 * sunrpc/pmap_prot2.c: Likewise.
6224 * sunrpc/pmap_rmt.c: Likewise.
6225 * sunrpc/rpc/auth.h: Likewise.
6226 * sunrpc/rpc/auth_unix.h: Likewise.
6227 * sunrpc/rpc/clnt.h: Likewise.
6228 * sunrpc/rpc/des_crypt.h: Likewise.
6229 * sunrpc/rpc/key_prot.h: Likewise.
6230 * sunrpc/rpc/netdb.h: Likewise.
6231 * sunrpc/rpc/pmap_clnt.h: Likewise.
6232 * sunrpc/rpc/pmap_prot.h: Likewise.
6233 * sunrpc/rpc/pmap_rmt.h: Likewise.
6234 * sunrpc/rpc/rpc.h: Likewise.
6235 * sunrpc/rpc/rpc_des.h: Likewise.
6236 * sunrpc/rpc/rpc_msg.h: Likewise.
6237 * sunrpc/rpc/svc.h: Likewise.
6238 * sunrpc/rpc/svc_auth.h: Likewise.
6239 * sunrpc/rpc/types.h: Likewise.
6240 * sunrpc/rpc/xdr.h: Likewise.
6241 * sunrpc/rpc_clntout.c: Likewise.
6242 * sunrpc/rpc_cmsg.c: Likewise.
6243 * sunrpc/rpc_common.c: Likewise.
6244 * sunrpc/rpc_cout.c: Likewise.
6245 * sunrpc/rpc_dtable.c: Likewise.
6246 * sunrpc/rpc_hout.c: Likewise.
6247 * sunrpc/rpc_main.c: Likewise.
6248 * sunrpc/rpc_parse.c: Likewise.
6249 * sunrpc/rpc_parse.h: Likewise.
6250 * sunrpc/rpc_prot.c: Likewise.
6251 * sunrpc/rpc_sample.c: Likewise.
6252 * sunrpc/rpc_scan.c: Likewise.
6253 * sunrpc/rpc_scan.h: Likewise.
6254 * sunrpc/rpc_svcout.c: Likewise.
6255 * sunrpc/rpc_tblout.c: Likewise.
6256 * sunrpc/rpc_util.c: Likewise.
6257 * sunrpc/rpc_util.h: Likewise.
6258 * sunrpc/rpcinfo.c: Likewise.
6259 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6260 * sunrpc/rpcsvc/key_prot.x: Likewise.
6261 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6262 * sunrpc/rpcsvc/mount.x: Likewise.
6263 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6264 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6265 * sunrpc/rpcsvc/rex.x: Likewise.
6266 * sunrpc/rpcsvc/rstat.x: Likewise.
6267 * sunrpc/rpcsvc/rusers.x: Likewise.
6268 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6269 * sunrpc/rpcsvc/spray.x: Likewise.
6270 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6271 * sunrpc/rtime.c: Likewise.
6272 * sunrpc/svc.c: Likewise.
6273 * sunrpc/svc_auth.c: Likewise.
6274 * sunrpc/svc_authux.c: Likewise.
6275 * sunrpc/svc_raw.c: Likewise.
6276 * sunrpc/svc_run.c: Likewise.
6277 * sunrpc/svc_simple.c: Likewise.
6278 * sunrpc/svc_tcp.c: Likewise.
6279 * sunrpc/svc_udp.c: Likewise.
6280 * sunrpc/svc_unix.c: Likewise.
6281 * sunrpc/svcauth_des.c: Likewise.
6282 * sunrpc/xcrypt.c: Likewise.
6283 * sunrpc/xdr.c: Likewise.
6284 * sunrpc/xdr_array.c: Likewise.
6285 * sunrpc/xdr_float.c: Likewise.
6286 * sunrpc/xdr_mem.c: Likewise.
6287 * sunrpc/xdr_rec.c: Likewise.
6288 * sunrpc/xdr_ref.c: Likewise.
6289 * sunrpc/xdr_sizeof.c: Likewise.
6290 * sunrpc/xdr_stdio.c: Likewise.
6291
9da4bb31
UD
6292 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6293 handling.
6294
bdaa77bc
AS
62952010-08-19 Andreas Schwab <schwab@redhat.com>
6296
6297 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6298
fe2f79db
LM
62992010-08-19 Luis Machado <luisgpm@br.ibm.com>
6300
6301 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6303 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6304 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6306 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6307 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6308 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6310 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6311 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6312 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6313 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6314 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6315
b9b42ee0
AB
63162010-07-26 Anton Blanchard <anton@samba.org>
6317
6318 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6319 * malloc/arena.c (heap_trim): Likewise.
6320
1c06ba31
UD
63212010-08-16 Ulrich Drepper <drepper@redhat.com>
6322
6323 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6324 here. Not...
6325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6326 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6327
f8392f40
L
63282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6329
6330 * sysdeps/i386/elf/Makefile: New file.
6331
3162f12e
AS
63322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6333
6334 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6335 from fanotify_init.
6336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6338
28c90b2c
UD
63392010-08-15 Ulrich Drepper <drepper@redhat.com>
6340
6341 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6342 of strncasecmp_l.
1feccb6c 6343 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 6344
ca6bb004
UD
63452010-08-14 Ulrich Drepper <drepper@redhat.com>
6346
e9f82e0d
UD
6347 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6348 strncase_l-nonascii.
6349 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6350 Add strncase_l-ssse3.
6351 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6352 * sysdeps/x86_64/strcmp.S: Likewise.
6353 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6354 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6355 * sysdeps/x86_64/strncase.S: New file.
6356 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6357 * sysdeps/x86_64/strncase_l.S: New file.
6358 * string/Makefile (strop-tests): Add strncasecmp.
6359 * string/test-strncasecmp.c: New file.
6360
6361 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6362 warning.
6363
ca6bb004
UD
6364 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6365 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6366
052fa7b3
AS
63672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6368
6369 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6370
962dba78
UD
63712010-08-12 Ulrich Drepper <drepper@redhat.com>
6372
6373 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6375 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6376
bebff237
AM
63772010-05-01 Alan Modra <amodra@gmail.com>
6378
6379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6380 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6381 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6382 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6383 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6384 tidying. Don't tail-call __sigjmp_save for static lib.
6385 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6386 save location.
6387 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6388 (CALL_MCOUNT): Add eh info, and nop after bl.
6389 (TAIL_CALL_SYSCALL_ERROR): New macro.
6390 (PSEUDO_RET): Use it.
6391 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6392 Correct save location of integer regs and cr.
6393 (_dl_profile_resolve): Correct cr save location. Delete nops
6394 after bl when SHARED. Reduce cfi size a little by better
6395 placement of cfi directives.
6396 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6397 make a stack frame. Instead use parm save area as a temp.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6399 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6401 Don't make a stack frame for parent, use parm save area.
6402 Increase child stack frame to 112 bytes. Don't save unused reg,
6403 and adjust reg usage. Set up cfi on error recovery and
6404 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6406 (__makecontext): Add dummy nop after jump to exit.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6408 Use correct parm save area and cr save, reduce stack frame.
6409 Correct cfi for possible PSEUDO_RET frame setup.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6411 Branch to local label emitted by PSEUDO_RET rather than
6412 __syscall_error.
6413
02637374
AS
64142010-08-12 Andreas Schwab <schwab@redhat.com>
6415
6416 [BZ #11904]
6417 * locale/programs/locale.c (print_assignment): New function.
6418 (show_locale_vars): Use it.
6419
c3e2f19b
UD
64202010-08-11 Ulrich Drepper <drepper@redhat.com>
6421
3cdaa6ad
UD
6422 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6423 field.
6424 (struct statfs64): Likewise.
6425 (_STATFS_F_FLAGS): Define.
6426 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6427 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6428 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6429 (ST_VALID): Define locally.
6430 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6431 __statvfs_getflags, use the provided value.
6432 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6433 __ASSUME_STATFS_F_FLAGS.
6434
754f7da3
UD
6435 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6436
10b3bedc
UD
6437 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6438 Add sys/fanotify.h.
6439 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6440 fanotify_mask for GLIBC_2.13.
6441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6442 fanotify_init and fanotify_mark.
6443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6444 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6445
c08fb0d7
UD
6446 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6447 Add prlimit.
6448 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6449 prlimit64 for GLIBC_2.13.
6450 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6451 prlimit64.
6452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6453 syscall.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6456 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6459 add prlimit alias.
6460 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6461
15bac72b
UD
6462 [BZ #11903]
6463 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6464 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6465
c3e2f19b
UD
6466 * nss/Makefile: Add rules to build and run tst-nss-test1.
6467 * shlib-versions: Add entry for libnss_test1.
6468 * nss/nss_test1.c: New file.
6469 * nss/tst-nss-test1.c: New file.
6470
6471 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6472 (__nss_configure_lookup): Set appropriate entry in
6473 __nss_configure_lookup to true.
6474 * nss/nsswitch.h: Define enum with indeces of databases in
6475 databases and __nss_database_custom arrays. Declare
6476 __nss_database_custom.
6477 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6478 to avoid using nscd when custom rules are installed.
6479 * nss/getXXbyYY_r.c: Likewise.
6480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6481
6482 * nss/nss_files/files-parse.c: Whitespace fixes.
6483
f15ce4d8
UD
64842010-08-09 Ulrich Drepper <drepper@redhat.com>
6485
6486 [BZ #11883]
6487 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6488 * posix/fnmatch_loop.c: Likewise.
6489
d22e4cc9
AK
64902010-07-17 Andi Kleen <ak@linux.intel.com>
6491
6492 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6493 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6494 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6495 * Versions.def [GLIBC_2.13]: Add.
6496
805bc17d
UD
64972010-08-06 Ulrich Drepper <drepper@redhat.com>
6498
6499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6500 Also fail if tpwd after pwuid call is NULL.
6501
5a42321d
ST
65022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6503
6504 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6505 when converting to ms.
6506
fd3ebeda
ST
65072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6508
6509 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6510 EOPNOTSUPP errors with ENOTTY.
6511 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6512 EOPNOTSUPP errors with ENOTTY.
6513
73507d3a
UD
65142010-07-31 Ulrich Drepper <drepper@redhat.com>
6515
6516 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6517 Add strcasecmp_l-ssse3.
6518 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6519 strcasecmp.
6520 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6521 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6523
fe36dd02
UD
65242010-07-30 Ulrich Drepper <drepper@redhat.com>
6525
66f6765a
UD
6526 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6527
42e08a54
UD
6528 * string/Makefile (strop-tests): Add strcasecmp.
6529 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6530 strcasecmp_l-nonascii.
6531 (gen-as-const-headers): Add locale-defines.sym.
6532 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6533 * sysdeps/x86_64/strcasecmp.S: New file.
6534 * sysdeps/x86_64/strcasecmp_l.S: New file.
6535 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6536 * sysdeps/x86_64/locale-defines.sym: New file.
6537 * string/test-strcasecmp.c: New file.
6538
fe36dd02
UD
6539 * string/test-strcasestr.c: Test both ends of the range of characters.
6540 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6541
48cbc0d6
RM
65422010-07-29 Roland McGrath <roland@redhat.com>
6543
76e6d6bc 6544 [BZ #11856]
48cbc0d6
RM
6545 * manual/locale.texi (Yes-or-No Questions): Fix example code.
6546
880113d9
UD
65472010-07-27 Ulrich Drepper <drepper@redhat.com>
6548
6549 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6550 for ld.so.
6551
deb9cabb
AS
65522010-07-27 Andreas Schwab <schwab@redhat.com>
6553
6554 * manual/memory.texi (Malloc Tunable Parameters): Document
6555 M_PERTURB.
6556
1c7570ff
RM
65572010-07-26 Roland McGrath <roland@redhat.com>
6558
6559 [BZ #11840]
6560 * configure.in (-fgnu89-inline check): Set and substitute
6561 gnu89_inline, not libc_cv_gnu89_inline.
6562 * configure: Regenerated.
6563 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6564
24fb0f88
UD
65652010-07-26 Ulrich Drepper <drepper@redhat.com>
6566
6567 * string/test-strnlen.c: New file.
6568 * string/Makefile (strop-tests): Add strnlen.
6569 * string/tester.c (test_strnlen): Add a few more test cases.
6570 * string/tst-strlen.c: Better error reporting.
6571
6572 * sysdeps/x86_64/strnlen.S: New file.
6573
8e96b93a
UD
65742010-07-24 Ulrich Drepper <drepper@redhat.com>
6575
6576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6577 lower-latency instructions.
6578
dbc676d4
UD
65792010-07-23 Ulrich Drepper <drepper@redhat.com>
6580
6581 * string/test-strcasestr.c: New file.
6582 * string/test-strstr.c: New file.
6583 * string/Makefile (strop-tests): Add strstr and strcasestr.
6584 * string/str-two-way.h: Don't undefine MAX.
6585 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6586
f6a31e0e
AS
65872010-07-21 Andreas Schwab <schwab@redhat.com>
6588
6589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6590 strcasestr-nonascii.
6591 (CFLAGS-strcasestr-nonascii.c): Define.
6592 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6594 Remove unused attribute.
6595
5dbc3b6c
RM
65962010-07-20 Roland McGrath <roland@redhat.com>
6597
6598 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6599 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
6600 ld.so.cache was broken. With it, there is no way to disable dsocaps
6601 like LD_HWCAP_MASK can disable hwcaps.
6602
23d101d8
EPM
66032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6604
6605 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6606
cc9f2e47
UD
66072010-07-16 Ulrich Drepper <drepper@redhat.com>
6608
6609 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6610 call in strcasestr.
6611 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6612 __strcasestr_sse42_nonascii.
6613 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6614 strcasestr-nonascii.c.
6615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6616
77c1b069
LM
66172010-06-15 Luis Machado <luisgpm@br.ibm.com>
6618
6619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6620 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6622 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6623
440566c3
UD
66242010-07-09 Ulrich Drepper <drepper@redhat.com>
6625
6626 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6627 fcntl.
6628
5be9d05d
AS
66292010-07-06 Andreas Schwab <schwab@redhat.com>
6630
c30b7ee2 6631 [BZ #11577]
5be9d05d
AS
6632 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6633 dl_signal_cerror.
6634
8a492a67
UD
66352010-07-06 Ulrich Drepper <drepper@redhat.com>
6636
6637 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6638 _PC_PIPE_BUF using F_GETPIPE_SZ.
6639
713df3d5
RM
66402010-07-05 Roland McGrath <roland@redhat.com>
6641
6642 * manual/arith.texi (Rounding Functions): Fix rint description
6643 implicit in round description.
6644
702e8f14
UD
66452010-07-02 Ulrich Drepper <drepper@redhat.com>
6646
6647 * elf/Makefile: Fix linking for a few tests to make recent linker
6648 happy.
6649
52ed8be9
AS
66502010-06-30 Andreas Schwab <schwab@redhat.com>
6651
6652 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6653 $(common-objpfx)libc_nonshared.a.
6654
f47c9a11
LM
66552010-06-21 Luis Machado <luisgpm@br.ibm.com>
6656
6657 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6658 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6659 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6660 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6661 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6662 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6663 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6664 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
6679 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
6680 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
6681 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
6682 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
6683 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
6684 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
6685 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
6686 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
6687 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
6688 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
6689 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
6690 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
6705
6fb8cbcb
L
67062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
6707
6708 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
6709 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
6710 * string/memmove.c (memmove): Renamed to ...
6711 (MEMMOVE): ...this. Default to memmove.
6712 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
6713 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
6714 (END_CHK): Define.
6715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6716 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
6717 mempcpy-ssse3-back memmove-ssse3-back.
6718 * sysdeps/x86_64/multiarch/bcopy.S: New file .
6719 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
6720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
6721 * sysdeps/x86_64/multiarch/memcpy.S: New file.
6722 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
6723 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
6724 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
6725 * sysdeps/x86_64/multiarch/memmove.c: New file.
6726 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
6727 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
6728 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
6729 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
6730 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
6731 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
6732 Define.
6733 (index_Fast_Copy_Backward): Define.
6734 (HAS_ARCH_FEATURE): Define.
6735 (HAS_FAST_REP_STRING): Define.
6736 (HAS_FAST_COPY_BACKWARD): Define.
6737
4e733bac 67382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
6739
6740 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6741 Restore proper fallback handling.
6742
63c4ed22
UD
67432010-06-19 Ulrich Drepper <drepper@redhat.com>
6744
ac2b484c
UD
6745 [BZ #11701]
6746 * posix/group_member.c (__group_member): Correct checking loop.
6747
63c4ed22
UD
6748 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
6749 OOM in getpwuid_r correctly. Return error number when the caller
6750 should return, otherwise -1.
6751 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
6752 call returning > 0 value.
6753 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
6754
765ade4b
AS
67552010-06-07 Andreas Schwab <schwab@redhat.com>
6756
6757 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
6758 libc_nonshared.a from targets in modules-names.
6759
80da2e09
KS
67602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
6761
6762 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
6763 requires it.
6764
158db122
LM
67652010-06-10 Luis Machado <luisgpm@br.ibm.com>
6766
6767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
6768 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
6769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
6770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
6771
caa78cf8
AS
67722010-06-02 Andreas Schwab <schwab@redhat.com>
6773
6774 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
6775
b2ef2c01
UD
67762010-06-14 Ulrich Drepper <drepper@redhat.com>
6777
6778 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
6779 and F_GETPIPE_SZ.
6780 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6784 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
6786
fbd643b6
RM
67872010-06-14 Roland McGrath <roland@redhat.com>
6788
6789 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
6790
f32f2869
JJ
67912010-06-07 Jakub Jelinek <jakub@redhat.com>
6792
6793 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
6794 __REDIRECT followed by __THROW.
6795 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
6796 * posix/getopt.h (getopt): Likewise.
6797
2a50c078
EPM
67982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6799
6800 * hurd/lookup-at.c (__file_name_lookup_at): Accept
6801 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
6802 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
6803 in AT_FLAGS.
6804 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
6805 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
6806
eb5ad2eb
LM
68072010-05-28 Luis Machado <luisgpm@br.ibm.com>
6808
6809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
6810
3c88fe1e
L
68112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 [BZ #11640]
6814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6815 Properly check family and model.
6816
d2f73151
TY
68172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
6818
6819 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
6820
ebd2e13d
LM
68212010-05-24 Luis Machado <luisgpm@br.ibm.com>
6822
6823 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
6824
b32b8b45
UD
68252010-05-21 Ulrich Drepper <drepper@redhat.com>
6826
6827 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
6828 symbol reference.
6829
9acbe24d
AS
68302010-05-19 Andreas Schwab <schwab@redhat.com>
6831
6832 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
6833 symbol reference.
6834
f0ccf6ea
AS
68352010-05-21 Andreas Schwab <schwab@redhat.com>
6836
3d04ff3a
AS
6837 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
6838 and internal_recvmmsg.
6839 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
6840 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
6841 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
6842 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
6843
f0ccf6ea
AS
6844 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
6845 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6846 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6847
5b08ac57
AS
68482010-05-20 Andreas Schwab <schwab@redhat.com>
6849
6850 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
6851
4828935d
LM
68522010-05-17 Luis Machado <luisgpm@br.ibm.com>
6853
6854 POWER7 optimizations.
6855 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
6856 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
6857
373d545e
UD
68582010-05-19 Ulrich Drepper <drepper@redhat.com>
6859
6860 * version.h: Update for 2.13 development version.
6861
21a2b1ae
AS
68622010-05-12 Andrew Stubbs <ams@codesourcery.com>
6863
6864 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
6865 exceptions. Return 0.
6866
3f7dcb2b
RM
68672010-05-07 Roland McGrath <roland@redhat.com>
6868
6869 * elf/ldconfig.c (main): Add a const.
6870
5f24d53a 68712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 6872
a160f8d8
UD
6873 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
6874 (args_options): Add no-idn option.
6875 (ahosts_keys_int): Add idn_flags to ai_flags.
6876 (parse_option): Handle 'i' option to clear idn_flags.
6877
5f24d53a
UD
6878 * malloc/malloc.c (_int_free): Possible race in the most recently
6879 added check. Only act on the data if no current modification
6880 happened.
265bb1ce
UD
6881
6882See ChangeLog.17 for earlier changes.