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