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