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