]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
A bit of testsuite cleanup.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
fb779be7
TS
12012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2
3 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4 nanosleep invocations.
5 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6 strings, and add error checking for a nanosleep invocations.
7
59ba27a6
PE
82012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9
10 Replace FSF snail mail address with URLs, as per GNU coding standards.
11 Most of the snail mail addresses were wrong anyway, and omitting
12 them makes the source code easier to maintain. Almost all of the
13 changes are to license notices and to locale LC_IDENTIFICATION
14 addresses, except for this one:
15 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16 not its snail mail address.
17
57b957eb
RH
182012-02-09 Richard Henderson <rth@twiddle.net>
19
af850b1c
RH
20 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21 of kernel-features.h.
22
57b957eb
RH
23 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24
6b73181a
MP
252012-02-08 Marek Polacek <polacek@redhat.com>
26
27 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29 * sysdeps/gnu/_G_config.h: Likewise.
30 * sysdeps/generic/_G_config.h: Likewise.
31
26ecc33a
AS
322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
33
6c6dbc63
AS
34 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35 tests.
36 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37
e216c012
AS
38 * sysdeps/powerpc/powerpc32/crti.S: New file.
39 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40 * sysdeps/powerpc/powerpc64/crti.S: New file.
41 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42
26ecc33a
AS
43 * Makeconfig (have-initfini): Don't set.
44 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45 * configure.in (nopic_initfini): Don't substitute.
46 * config.h.in (HAVE_INITFINI): Don't #undef.
47 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49
3add8e13
JM
502012-02-08 Joseph Myers <joseph@codesourcery.com>
51
52 Support crti.S and crtn.S provided directly by architectures.
53 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54 [crti.S in sysdirs] (omit-deps): Likewise.
55 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
59 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
60 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64 compiler output for sysdeps/generic/initfini.c.
65 * sysdeps/i386/elf/Makefile: Remove file.
66 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67
a22f12b4
MP
682012-02-07 Marek Polacek <polacek@redhat.com>
69
70 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71 * sysdeps/gnu/_G_config.h: Likewise.
72 * sysdeps/mach/hurd/_G_config.h: Likewise.
73
148cf100
MP
742012-02-07 Marek Polacek <polacek@redhat.com>
75
76 * math/Makefile (tests): Add tst-CMPLX2.
77 * math/tst-CMPLX2.c: New file.
78
cfdc0dd7
AS
792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
80
84ba42c4
AS
81 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82
cfdc0dd7
AS
83 * math/libm-test.inc (jn_test): Add missing L suffix.
84
622c86f4
MP
852012-02-06 Marek Polacek <polacek@redhat.com>
86
87 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88 * sysdeps/i386/fpu/e_powf.S: Likewise.
89 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
91 * sysdeps/i386/fpu/e_acosh.S: Likewise.
92 * sysdeps/i386/fpu/e_pow.S: Likewise.
93 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
94 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
95 * sysdeps/i386/fpu/s_expm1.S: Likewise.
96 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
97 * sysdeps/i386/fpu/e_log2.S: Likewise.
98 * sysdeps/i386/fpu/e_log2l.S: Likewise.
99 * sysdeps/i386/fpu/e_scalb.S: Likewise.
100 * sysdeps/i386/fpu/e_powl.S: Likewise.
101 * sysdeps/i386/fpu/s_log1p.S: Likewise.
102 * sysdeps/i386/fpu/e_log10f.S: Likewise.
103 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
104 * sysdeps/i386/fpu/e_logl.S: Likewise.
105 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
106 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
107 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
108 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
109 * sysdeps/i386/fpu/e_log2f.S: Likewise.
110 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
111 * sysdeps/i386/fpu/e_log.S: Likewise.
112 * sysdeps/i386/fpu/s_cexp.S: Likewise.
113 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
114 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
115 * sysdeps/i386/fpu/e_logf.S: Likewise.
116 * sysdeps/i386/fpu/e_log10l.S: Likewise.
117 * sysdeps/i386/fpu/e_atanh.S: Likewise.
118 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
119 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
120 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
121 * sysdeps/i386/fpu/e_log10.S: Likewise.
122 * sysdeps/i386/fpu/s_frexp.S: Likewise.
123 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
124 * sysdeps/i386/fpu/s_asinh.S: Likewise.
125 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
126 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
127 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
128 * sysdeps/i386/asm-syntax.h: Likewise.
129 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
130 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
131 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
132 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
133 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
134 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
135 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
136 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
137 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
138 * sysdeps/powerpc/sysdep.h: Likewise.
139 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
140 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
141
d4a54ac6
JM
1422012-02-06 Joseph Myers <joseph@codesourcery.com>
143
144 [BZ #411]
145 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
146
314054ea
JM
1472012-02-06 Joseph Myers <joseph@codesourcery.com>
148
149 * sysdeps/i386/sysdep.h: Include <features.h>.
150 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
151 version.
152
d8e0ca50
JM
1532012-02-05 Joseph Myers <joseph@codesourcery.com>
154
155 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
156 Define.
157 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
158 LOAD_PIC_REG_STR.
159
b1da7dd9
JM
1602012-02-03 Joseph Myers <joseph@codesourcery.com>
161
162 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
163 (SETUP_PIC_REG): Use GET_PC_THUNK.
164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
165 macro.
166
9a1d9254
JM
1672012-02-03 Joseph Myers <joseph@codesourcery.com>
168
169 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
170 for non-PIC compilation.
171 (SETUP_PIC_REG): Add .p2align directive.
172 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
173 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
174 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
175 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
176 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
177 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
178 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
180 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
181 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
182 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
183 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
184 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
185 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
186 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
187 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
188 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
189 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
190 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
191 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
192 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
193 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
194 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
195 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
196 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
198 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
199 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
200 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
201 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
202 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
203 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
204 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
205 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
206 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
207 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
208 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
209 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
210 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
211 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
212 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
213
65dc3b75
JM
2142012-02-03 Joseph Myers <joseph@codesourcery.com>
215
216 * math/tst-CMPLX.c: Include <stdio.h>.
217
d55bf177
JM
2182012-01-31 Joseph Myers <joseph@codesourcery.com>
219
220 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
221 float.
222 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
223 * sysdeps/sparc/bits/mathdef.h: Likewise.
224
69db4f8f
MP
2252012-01-31 Marek Polacek <polacek@redhat.com>
226
227 * libio/libio.h: Don't define _PARAMS.
228 * locale/programs/config.h: Don't define PARAMS.
229 * stdlib/strtol_l.c: Likewise.
230 (__strtol_l): Remove PARAMS from the prototype.
231
41b81892
UD
2322012-01-31 Ulrich Drepper <drepper@gmail.com>
233
3b49edc0
UD
234 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
235 names. Just use the correct names. Remove unnecessary wrapper
236 functions.
237 * malloc/arena.c: Likewise.
238 * malloc/hooks.c: Likewise.
239
41b81892
UD
240 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
241 ARENA_TEST says not to. Simplify test for creation of a new arena.
242 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
243
27a25b6e
UD
2442012-01-30 Ulrich Drepper <drepper@gmail.com>
245
246 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
247 into tail calls.
248 (update_get_addr): New function.
249 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
250 GET_ADDR_MODULE parameter.
251
c8a89e7d
JM
2522012-01-30 Joseph Myers <joseph@codesourcery.com>
253
254 * crypt/cert.c: Remove __STDC__ conditionals.
255 * crypt/crypt-entry.c: Likewise.
256 * crypt/crypt_util.c: Likewise.
257 * libio/filedoalloc.c: Likewise.
258 * libio/fileops.c: Likewise.
259 * libio/genops.c: Likewise.
260 * libio/iofclose.c: Likewise.
261 * libio/iofdopen.c: Likewise.
262 * libio/iofopen.c: Likewise.
263 * libio/iofopen64.c: Likewise.
264 * libio/iogetdelim.c: Likewise.
265 * libio/iopopen.c: Likewise.
266 * libio/obprintf.c: Likewise.
267 * libio/oldfileops.c: Likewise.
268 * libio/oldiofclose.c: Likewise.
269 * libio/oldiofdopen.c: Likewise.
270 * libio/oldiofopen.c: Likewise.
271 * libio/oldiopopen.c: Likewise.
272 * libio/wfiledoalloc.c: Likewise.
273 * libio/wgenops.c: Likewise.
274 * locale/programs/xmalloc.c: Likewise.
275 * misc/syslog.c: Likewise.
276 * stdio-common/xbug.c: Likewise.
277 * string/memchr.c: Likewise.
278 * string/memcmp.c: Likewise.
279 * string/memrchr.c: Likewise.
280 * string/rawmemchr.c: Likewise.
281 * sysdeps/posix/getcwd.c: Likewise.
282 * time/strftime_l.c: Likewise.
283
3b100462
JM
2842012-01-30 Joseph Myers <joseph@codesourcery.com>
285
286 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
287 * config.make.in (config-cflags-sse2avx): Define.
288 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
289 Fix typo.
290
607998af
CM
2912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
292
293 * scripts/config.guess: Update from upstream config git repository.
294 * scripts/config.sub: Likewise.
295
3601428f
CM
2962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
297
3ac8b282
CM
298 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
299 (EM_NUM): Update.
300 (R_TILEPRO_*, R_TILEGX_*): New macros.
301
e034841e
CM
302 * scripts/firstversions.awk: Fix bug in version range handling.
303
540d7568
CM
304 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
305
3601428f
CM
306 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
307
463de862
CM
308 * include/sys/epoll.h: New file.
309 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
310 libc_hidden_def.
311
73139a76
UD
3122012-01-28 Ulrich Drepper <drepper@gmail.com>
313
96bc5b45
UD
314 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
315 Avoid unnecessary __WORDSIZE == 64 test.
316 (fmaxf): Use VEX format if possible.
317 (fmax): Likewise.
318 (fminf): Likewise.
319 (fmin): Likewise.
320
56f6f6a2
UD
321 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
322 * math/math_private.h: Remove libc_fegetround* and
323 libc_fesetround*.
324 * sysdeps/i386/configure.in: Check for -msse2avx.
325 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
326 also if SSE2AVX is defined.
327 Remove libc_fegetround* and libc_fesetround*.
328 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
329 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
331 of HAS_YMM_USABLE.
332 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
333 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
336 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
337
73139a76
UD
338 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
339
d73f93a4
AZ
3402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341
342 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
343 size is not set.
344 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
345
6ee65ed6
UD
3462012-01-27 Ulrich Drepper <drepper@gmail.com>
347
348 [BZ #13618]
349 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
350 relocation.
351 * Makeconfig (libm): Define.
352 * elf/Makefile: Add rules to build and run tst-relsort1.
353 * elf/tst-relsort1.c: New file.
354 * elf/tst-relsort1mod1.c: New file.
355 * elf/tst-relsort1mod2.c: New file.
356
8db21882
JM
3572012-01-27 Joseph Myers <joseph@codesourcery.com>
358
359 * math/s_ldexp.c: Remove __STDC__ conditionals.
360 * math/s_ldexpf.c: Likewise.
361 * math/s_ldexpl.c: Likewise.
362 * math/s_nextafter.c: Likewise.
363 * math/s_nexttowardf.c: Likewise.
364 * math/s_significand.c: Likewise.
365 * math/s_significandf.c: Likewise.
366 * math/s_significandl.c: Likewise.
367 * math/w_jnl.c: Likewise.
368 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
369 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
370 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
371 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
372 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
373 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
374 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
375 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
376 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
377 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
378 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
379 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
380 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
381 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
382 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
383 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
385 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
387 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
388 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
389 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
390 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
392 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
393 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
394 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
395 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
396 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
397 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
399 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
400 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
401 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
402 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
403 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
404 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
405 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
406 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
407 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
408 * sysdeps/ieee754/k_standard.c: Likewise.
409 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
411 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
412 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
413 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
414 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
415 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
416 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
417 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
418 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
421 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
422 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
423 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
424 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
425 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
426 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
427 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
428 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
429 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
433 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
434 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
444 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
445 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
446 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
448 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
449 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
451 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
452 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
453 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
454 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
455 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
457 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
458 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
459 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
460 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
461 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
462 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
463 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
464 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
465 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
466 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
467 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
468 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
469 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
470 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
471 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
473 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
474 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
475 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
476 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
477 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
478 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
479 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
480 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
481 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
482 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
483 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
484 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
485 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
486 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
487 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
488 * sysdeps/ieee754/s_matherr.c: Likewise.
489 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
490 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
493
965a54a4
JM
4942012-01-26 Joseph Myers <joseph@codesourcery.com>
495
496 * crypt/md5.h: Remove __STDC__ conditionals.
497 * libio/libioP.h: Likewise.
498 * locale/programs/config.h: Likewise.
499 * sysdeps/generic/sysdep.h: Likewise.
500 * sysdeps/i386/asm-syntax.h: Likewise.
501 * sysdeps/s390/asm-syntax.h: Likewise.
502 * sysdeps/unix/sysdep.h: Likewise.
503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
505
7071ad79
JM
5062012-01-26 Joseph Myers <joseph@codesourcery.com>
507
508 * libio/libio.h: Remove __STDC__ conditionals.
509 * malloc/obstack.h: Likewise.
510 * math/complex.h: Likewise.
511 * math/math.h: Likewise.
512 * sysdeps/generic/_G_config.h: Likewise.
513 * sysdeps/gnu/_G_config.h: Likewise.
514 * sysdeps/mach/hurd/_G_config.h: Likewise.
515 * sysdeps/powerpc/bits/mathdef.h: Likewise.
516 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
517 * sysdeps/sparc/bits/mathdef.h: Likewise.
518
afc5ed09
UD
5192012-01-26 Ulrich Drepper <drepper@gmail.com>
520
521 [BZ #13583]
522 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 523 Clean up HAS_* macros.
afc5ed09 524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
525 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
526 possible.
527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
528 HAS_AVX.
529 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
530 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
533 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 534
bdb6de1d
JM
5352012-01-25 Joseph Myers <joseph@codesourcery.com>
536
537 * elf/tst-unique3.cc (gets): Remove declaration.
538 * elf/tst-unique3lib.cc (gets): Likewise.
539 * elf/tst-unique3lib2.cc (gets): Likewise.
540 * elf/tst-unique4.cc (gets): Likewise.
541
b15549e6
UD
5422012-01-24 Ulrich Drepper <drepper@gmail.com>
543
544 * include/stdio.h: Add C++ protection. Add gets declarations and
545 definitions.
546 * debug/tst-chk1.c: Don't declare gets here.
547 * stdio-common/tst-gets.c: Likewise.
548
a037381f
JM
5492012-01-24 Joseph Myers <joseph@codesourcery.com>
550
551 * posix/glob: Remove directory.
552
f1d4aa75
JM
5532012-01-24 Joseph Myers <joseph@codesourcery.com>
554
555 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
556
81c0c964
PT
5572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
558
559 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
560 of the non-standard EPFNOSUPPORT.
561
0ea698ae
ST
5622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
563
564 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
565 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
566 ANYWHERE set to 1 only on KERN_NO_SPACE error.
567
d220b117
UD
5682012-01-21 Ulrich Drepper <drepper@gmail.com>
569
570 * wcsmbs/uchar.h: Test __STDC_VERSION__.
571
3e1aa84e
UD
5722012-01-20 Ulrich Drepper <drepper@gmail.com>
573
574 * nscd/aicache.c (addhstaiX): Do not cache negative results of
575 transient errors.
576 * nscd/grpcache.c (cache_addgr): Likewise.
577 * nscd/hstcache.c (cache_addhst): Likewise.
578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
579 * nscd/pwdcache.c (cache_addpw): Likewise.
580 * nscd/servicescache.c (cache_addserv): Likewise.
581
400aa020
UD
5822012-01-16 Ulrich Drepper <drepper@gmail.com>
583
d77e7869
UD
584 * malloc/malloc.c: Various cleanups.
585 * malloc/hooks.c: Likewise.
586
400aa020
UD
587 * stdlib/Makefile (tests): Add bug-fmtmsg1.
588 * stdlib/bug-fmtmsg1.c: New file.
589
590 * stdlib/fmtmsg.c (init): Add missing unlock.
591 Patch by Peng Haitao <penght@cn.fujitsu.com>.
592
e0a309cf
MP
5932012-01-12 Marek Polacek <polacek@redhat.com>
594
595 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
596 and _GNU_SOURCE.
597
929d11c7
WS
5982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
599
600 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
601 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
602 macro to ensure uniqueness of label name.
603 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
604 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
605
41d0e869
UD
6062012-01-11 Ulrich Drepper <drepper@gmail.com>
607
0cc5ed3b
UD
608 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
609
41d0e869
UD
610 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
611 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
614
a47a831a
UD
6152012-01-10 Ulrich Drepper <drepper@gmail.com>
616
daa891c0
UD
617 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
618
619 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
620 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
621 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
622
e58ef0f2
UD
623 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
624
a47a831a 625 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
626 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
627 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
629
630 * math/bits/math-finite.h: Add ldexp support.
631
a0bfc9c7
MP
6322012-01-10 Marek Polacek <polacek@redhat.com>
633
634 * locale/programs/localedef.h (show_archive_content): Add noreturn
635 attribute.
636
d6e97a1d
UD
6372012-01-09 Ulrich Drepper <drepper@gmail.com>
638
639 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
640
d5835c26
UD
6412012-01-08 Ulrich Drepper <drepper@gmail.com>
642
e5f484c6
UD
643 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
644
d5835c26
UD
645 * io/Makefile (headers): Add bits/poll2.h.
646
d1f741e9
WS
6472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
648
649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
650 typo #include statement.
651
ec09c1c4
UD
6522012-01-08 Ulrich Drepper <drepper@gmail.com>
653
654 * include/sys/cdefs.h: Define __attribute_alloc_size.
655 * catgets/gencat.c: Add alloc_size attribute and apply consistently
656 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
657 * elf/pldd.c: Likewise.
658 * iconv/iconv_charmap.c: Likewise.
659 * iconv/iconvconfig.c: Likewise.
660 * iconv/strtab.c: Likewise.
661 * locale/programs/locale.c: Likewise.
662 * locale/programs/localedef.h: Likewise.
663 * locale/programs/simple-hash.c: Likewise.
664 * nscd/nscd.h: Likewise.
665 * nss/makedb.c: Likewise.
666 * sysdeps/generic/ldconfig.h: Likewise.
667 * locale/programs/localedef.c: Remove xmalloc prototype.
668 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
669
20b38e03
PP
6702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
671
672 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
673 appropriate.
674
a0da5fe1
UD
6752012-01-08 Ulrich Drepper <drepper@gmail.com>
676
1d5a644a 677 * math/Makefile (tests): Add tst-CMPLX.
669704fd 678 * math/tst-CMPLX.c: New file.
1d5a644a 679
8784a6db
UD
680 * math/complex.h (CMPLXL): Fix typo.
681
d9a216c0
UD
682 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
683 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
684 GLIBC_2.16.
685 * debug/tst-chk1.c: Add poll and ppoll tests.
686 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
687 * include/sys/poll.h: Add hidden proto for ppoll.
688 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
689 * sysdeps/mach/hurd/ppoll.c: Likewise.
690 * io/ppoll.c: Likewise.
691 * debug/poll_chk.c: New file.
692 * debug/ppoll_chk.c: New file.
693 * include/bits/poll2.h: New file.
694 * io/bits/poll2.h: New file.
695
ac097f5c
UD
696 [BZ #1350]
697 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
698
2119dcfa
UD
699 * configure.in: static is always set to yes. Remove.
700 * config.make.in: Don't set build-static.
701 * Makeconfig: Remove use of build-static.
702 * dlfcn/Makefile: Likewise.
703 * elf/Makefile: Likewise.
704 * math/Makefile: Likewise.
705 * misc/Makefile: Likewise.
706 * nptl/Makefile: Likewise.
707 * sysdeps/mach/hurd/Makefile: Likewise.
708
121766a9
UD
709 * configure.in: PWD_P is not used anymore.
710 * config.make.in: Remove PWD_P entry.
711
51a1d39c 712 * configure.in: Remove last remnants of RANLIB.
8720d066 713 No need to check for signed size_t anymore.
215f4bdc
UD
714 Don't set libc_commonpagesize and libc_relro_required here for Alpha
715 and IA-64.
3857022a 716 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
717 * aclocal.m4: Likewise.
718
d3ed7225
UD
719 * wcsmbs/mbrtoc16.c: Implement using towc function.
720 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
721 * wcsmbs/wcsmbsload.c: Likewise.
722 * iconv/gconv_simple.c: Likewise.
723 * iconv/gconv_int.h: Likewise.
724 * iconv/gconv_builtin.h: Likewise.
725 * iconv/iconv_prog.c: Remove CHAR16 handling.
726
727 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
728
729 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
730
a0da5fe1
UD
731 * configure.in: Remove --with-elf and --enable-bounded options.
732 Dont set base_machine for ia64. More non-ELF conditions removed.
733 Remove testing and setting of leading underscore information.
734 * config.make.in (build-bounded): Set to no.
735 * config.h.in: Remove NO_UNDERSCORES entry.
736 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
737 them.
738 * csu/start.c: Remove !NO_UNDERSCORE code.
739 * locale/localeinfo.h: Likewise.
740 * sysdeps/generic/machine-gmon.h: Likewise.
741 * sysdeps/generic/sysdep.h: Likewise.
742 * sysdeps/i386/sysdep.h: Likewise.
743 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
744 * sysdeps/mach/sysdep.h: Likewise.
745 * sysdeps/s390/s390-32/sysdep.h: Likewise.
746 * sysdeps/s390/s390-64/sysdep.h: Likewise.
747 * sysdeps/sh/sysdep.h: Likewise.
748 * sysdeps/sparc/sparc32/alloca.S: Likewise.
749 * sysdeps/unix/i386/sysdep.S: Likewise.
750 * sysdeps/unix/sparc/start.c: Likewise.
751 * sysdeps/unix/sparc/sysdep.S: Likewise.
752 * sysdeps/unix/sparc/sysdep.h: Likewise.
753 * sysdeps/unix/start.c: Likewise.
754 * sysdeps/unix/x86_64/sysdep.S: Likewise.
755 * sysdeps/x86_64/sysdep.h: Likewise.
756
df78418a
UD
7572012-01-07 Ulrich Drepper <drepper@gmail.com>
758
a784e502
UD
759 [BZ #13553]
760 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
761 for non-gcc.
762 * argp/argp-fmtstream.h: Use const instead __const.
763 * argp/argp.h: Likewise.
764 * assert/assert.h: Likewise.
765 * bits/fenv.h: Likewise.
766 * bits/sched.h: Likewise.
767 * bits/sigset.h: Likewise.
768 * bits/sigthread.h: Likewise.
769 * catgets/nl_types.h: Likewise.
770 * conform/data/pthread.h-data: Likewise.
771 * crypt/crypt-private.h: Likewise.
772 * crypt/crypt.h: Likewise.
773 * crypt/crypt_util.c: Likewise.
774 * ctype/ctype.h: Likewise.
775 * debug/execinfo.h: Likewise.
776 * debug/mbsnrtowcs_chk.c: Likewise.
777 * debug/mbsrtowcs_chk.c: Likewise.
778 * debug/wcsnrtombs_chk.c: Likewise.
779 * debug/wcsrtombs_chk.c: Likewise.
780 * debug/wcstombs_chk.c: Likewise.
781 * dirent/dirent.h: Likewise.
782 * dlfcn/dlfcn.h: Likewise.
783 * elf/neededtest4.c: Likewise.
784 * grp/grp.h: Likewise.
785 * gshadow/gshadow.h: Likewise.
786 * iconv/gconv.h: Likewise.
787 * iconv/gconv_int.h: Likewise.
788 * iconv/gconv_simple.c: Likewise.
789 * iconv/iconv.h: Likewise.
790 * iconv/loop.c: Likewise.
791 * iconv/skeleton.c: Likewise.
792 * include/aio.h: Likewise.
793 * include/aliases.h: Likewise.
794 * include/argz.h: Likewise.
795 * include/arpa/inet.h: Likewise.
796 * include/assert.h: Likewise.
797 * include/dirent.h: Likewise.
798 * include/dlfcn.h: Likewise.
799 * include/execinfo.h: Likewise.
800 * include/fcntl.h: Likewise.
801 * include/fenv.h: Likewise.
802 * include/glob.h: Likewise.
803 * include/grp.h: Likewise.
804 * include/libintl.h: Likewise.
805 * include/mntent.h: Likewise.
806 * include/netdb.h: Likewise.
807 * include/pwd.h: Likewise.
808 * include/rpc/netdb.h: Likewise.
809 * include/sched.h: Likewise.
810 * include/search.h: Likewise.
811 * include/shadow.h: Likewise.
812 * include/signal.h: Likewise.
813 * include/stdio.h: Likewise.
814 * include/stdlib.h: Likewise.
815 * include/string.h: Likewise.
816 * include/sys/socket.h: Likewise.
817 * include/sys/stat.h: Likewise.
818 * include/sys/statfs.h: Likewise.
819 * include/sys/statvfs.h: Likewise.
820 * include/sys/syslog.h: Likewise.
821 * include/sys/time.h: Likewise.
822 * include/sys/uio.h: Likewise.
823 * include/time.h: Likewise.
824 * include/unistd.h: Likewise.
825 * include/utmp.h: Likewise.
826 * include/wchar.h: Likewise.
827 * include/wctype.h: Likewise.
828 * inet/aliases.h: Likewise.
829 * inet/arpa/inet.h: Likewise.
830 * inet/netinet/ether.h: Likewise.
831 * inet/netinet/in.h: Likewise.
832 * intl/libintl.h: Likewise.
833 * io/bits/fcntl2.h: Likewise.
834 * io/fcntl.h: Likewise.
835 * io/ftw.h: Likewise.
836 * io/sys/poll.h: Likewise.
837 * io/sys/stat.h: Likewise.
838 * io/sys/statfs.h: Likewise.
839 * io/sys/statvfs.h: Likewise.
840 * io/utime.h: Likewise.
841 * libio/bits/stdio.h: Likewise.
842 * libio/bits/stdio2.h: Likewise.
843 * libio/libio.h: Likewise.
844 * libio/libioP.h: Likewise.
845 * libio/stdio.h: Likewise.
846 * locale/lc-ctype.c: Likewise.
847 * locale/locale.h: Likewise.
848 * login/utmp.h: Likewise.
849 * malloc/arena.c: Likewise.
850 * malloc/malloc.c: Likewise.
851 * malloc/malloc.h: Likewise.
852 * malloc/mcheck.c: Likewise.
853 * malloc/mtrace.c: Likewise.
854 * math/bits/mathcalls.h: Likewise.
855 * math/fenv.h: Likewise.
856 * math/math_private.h: Likewise.
857 * misc/bits/error.h: Likewise.
858 * misc/bits/syslog.h: Likewise.
859 * misc/err.h: Likewise.
860 * misc/error.h: Likewise.
861 * misc/fstab.h: Likewise.
862 * misc/mntent.h: Likewise.
863 * misc/regexp.h: Likewise.
864 * misc/search.h: Likewise.
865 * misc/sgtty.h: Likewise.
866 * misc/sys/mman.h: Likewise.
867 * misc/sys/syslog.h: Likewise.
868 * misc/sys/uio.h: Likewise.
869 * misc/sys/xattr.h: Likewise.
870 * misc/ttyent.h: Likewise.
871 * nis/rpcsvc/ypclnt.h: Likewise.
872 * nss/nss.h: Likewise.
873 * posix/bits/unistd.h: Likewise.
874 * posix/fnmatch.h: Likewise.
875 * posix/glob.h: Likewise.
876 * posix/sched.h: Likewise.
877 * posix/spawn.h: Likewise.
878 * posix/sys/wait.h: Likewise.
879 * posix/unistd.h: Likewise.
880 * posix/wordexp.h: Likewise.
881 * pwd/pwd.h: Likewise.
882 * resolv/netdb.h: Likewise.
883 * resource/sys/resource.h: Likewise.
884 * rt/aio.h: Likewise.
885 * rt/bits/mqueue2.h: Likewise.
886 * rt/mqueue.h: Likewise.
887 * shadow/shadow.h: Likewise.
888 * signal/signal.h: Likewise.
889 * socket/send.c: Likewise.
890 * socket/sendto.c: Likewise.
891 * socket/sys/socket.h: Likewise.
892 * stdio-common/printf.h: Likewise.
893 * stdlib/bits/stdlib.h: Likewise.
894 * stdlib/fmtmsg.h: Likewise.
895 * stdlib/monetary.h: Likewise.
896 * stdlib/stdlib.h: Likewise.
897 * stdlib/ucontext.h: Likewise.
898 * streams/stropts.h: Likewise.
899 * string/argz.h: Likewise.
900 * string/bits/string2.h: Likewise.
901 * string/string.h: Likewise.
902 * string/strings.h: Likewise.
903 * sunrpc/rpc/auth.h: Likewise.
904 * sunrpc/rpc/auth_des.h: Likewise.
905 * sunrpc/rpc/clnt.h: Likewise.
906 * sunrpc/rpc/netdb.h: Likewise.
907 * sunrpc/rpc/pmap_clnt.h: Likewise.
908 * sunrpc/rpc/xdr.h: Likewise.
909 * sysdeps/generic/inttypes.h: Likewise.
910 * sysdeps/generic/net/if.h: Likewise.
911 * sysdeps/generic/sys/swap.h: Likewise.
912 * sysdeps/gnu/net/if.h: Likewise.
913 * sysdeps/gnu/utmpx.h: Likewise.
914 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
915 * sysdeps/i386/i486/bits/string.h: Likewise.
916 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
917 * sysdeps/s390/bits/string.h: Likewise.
918 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
919 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
920 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
921 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
922 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
923 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
924 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
925 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
926 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
927 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
928 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
929 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
930 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
931 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
932 * sysdeps/unix/sysv/linux/readv.c: Likewise.
933 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
934 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
940 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
941 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
942 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
943 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
944 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
946 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
947 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
948 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
949 * sysvipc/sys/ipc.h: Likewise.
950 * sysvipc/sys/msg.h: Likewise.
951 * sysvipc/sys/sem.h: Likewise.
952 * sysvipc/sys/shm.h: Likewise.
953 * termios/termios.h: Likewise.
954 * time/sys/time.h: Likewise.
955 * time/time.h: Likewise.
956 * wcsmbs/bits/wchar2.h: Likewise.
957 * wcsmbs/uchar.h: Likewise.
958 * wcsmbs/wchar.h: Likewise.
959 * wctype/wctype.h: Likewise.
960
0269750c
UD
961 [BZ #13551]
962 * Makeconfig: Remove all but ELF support including AIX support.
963 * Makerules: Likewise.
964 * config.h.in: Likewise.
965 * config.make.in: Likewise.
966 * configure: Likewise.
967 * configure.in: Likewise.
968 * csu/Makefile: Likewise.
969 * csu/version.c: Likewise.
970 * debug/Makefile: Likewise.
971 * dlfcn/Makefile: Likewise.
972 * elf/Makefile: Likewise.
973 * extra-lib.mk: Likewise.
974 * iconv/Makefile: Likewise.
975 * include/libc-symbols.h: Likewise.
976 * include/shlib-compat.h: Likewise.
977 * resolv/Makefile: Likewise.
978 * resolv/res_libc.c: Likewise.
979 * rt/Makefile: Likewise.
980 * sysdeps/i386/asm-syntax.h: Likewise.
981 * sysdeps/i386/sysdep.h: Likewise.
982 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
983 * sysdeps/mach/sysdep.h: Likewise.
984 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
985 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
986 * sysdeps/s390/asm-syntax.h: Likewise.
987 * sysdeps/s390/s390-32/sysdep.h: Likewise.
988 * sysdeps/s390/s390-64/sysdep.h: Likewise.
989 * sysdeps/sh/sysdep.h: Likewise.
990 * sysdeps/unix/sparc/sysdep.h: Likewise.
991 * sysdeps/wordsize-32/divdi3.c: Likewise.
992 * sysdeps/x86_64/sysdep.h: Likewise.
993
00bbd29b
UD
994 * argp/Versions: Remove _argp_unlock_xxx.
995
996 [BZ #13559]
997 * abilist/ld.abilist: Update. Adjust for removal of tls option.
998 * abilist/libBrokenLocale.abilist: Likewise.
999 * abilist/libanl.abilist: Likewise.
1000 * abilist/libc.abilist: Likewise.
1001 * abilist/libcrypt.abilist: Likewise.
1002 * abilist/libdl.abilist: Likewise.
1003 * abilist/libm.abilist: Likewise.
1004 * abilist/libnsl.abilist: Likewise.
1005 * abilist/libpthread.abilist: Likewise.
1006 * abilist/libresolv.abilist: Likewise.
1007 * abilist/librt.abilist: Likewise.
1008 * abilist/libthread_db.abilist: Likewise.
1009 * abilist/libutil.abilist: Likewise.
1010 * abilist/libnss_db.abilist: New file.
1011
1012 * scripts/abilist.awk: Add support for indirect functions.
1013
a2693a0e
UD
1014 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1015
3f05895f
UD
1016 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1017
ecb6fb48
UD
1018 * shlib-versions: Remove entries for ports architectures.
1019
664f8cb9
UD
1020 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1021 files in ports.
1022 * elf/stackguard-macros.h: Remove support for IA-64.
1023 * elf/tst-auditmod1.c: Likewise.
1024 * sysdeps/generic/ldsodefs.h: Likewise.
1025
7ae81d88
UD
1026 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1027 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1028 configure files.
1029
bdeba135
UD
1030 [BZ #13552]
1031 * configure.in: Remove --enable-omitfp support.
1032 * FAQ.in: Adjust.
1033 * config.make.in: Likewise.
1034 * Makeconfig: Likewise.
1035 * manual/install.texi: Likewise.
1036
d75a0a62
UD
1037 In case anyone cares, the IA-64 architecture could move to ports.
1038 * sysdeps/ia64/*: Removed.
1039 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 1040 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 1041
dcc9756b
UD
1042 [BZ #13555]
1043 * configure.in: Remove entries for unsupported architectures.
1044
d3761ebc 1045 [BZ #13533]
9954432e
UD
1046 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1047 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1048 routines.
1049 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1050 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1051 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1052 fall back to using wcrtomb.
1053 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1054 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1055 renaming.
1056 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1057 * wcsmbs/tst-c16c32-1.c: New file.
1058
1059 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1060 local variable.
1061
c3a87236
UD
1062 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1063
28926a1b
UD
1064 * elf/tst-unique3.cc: Add explicit declaration of gets.
1065 * elf/tst-unique3lib.cc: Likewise.
1066 * elf/tst-unique3lib2.cc: Likewise.
1067 * elf/tst-unique4.cc: Likewise.
1068
df78418a
UD
1069 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1070
8ecd6b2a
JM
10712012-01-06 Joseph Myers <joseph@codesourcery.com>
1072
1073 [BZ #13566]
1074 * assert/assert.h (static_assert): Don't define for C++.
1075 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1076 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1077
9f115170
UD
10782012-01-03 Ulrich Drepper <drepper@gmail.com>
1079
5e0d0300
UD
1080 * iconv/loop.c (single loop): Fix assertion in storing of
1081 remaining bytes.
1082
9f115170
UD
1083 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1084
81fb02b0
UD
10852012-01-01 Ulrich Drepper <drepper@gmail.com>
1086
1087 * posix/getconf.c: Update copyright year.
1088 * nss/getent.c: Likewise.
a316c1f6 1089 * nss/makedb.c: Likewise.
81fb02b0
UD
1090 * iconv/iconvconfig.c: Likewise.
1091 * iconv/iconv_prog.c: Likewise.
1092 * elf/ldconfig.c: Likewise.
a316c1f6
UD
1093 * elf/pldd.c: Likewise.
1094 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
1095 * catgets/gencat.c: Likewise.
1096 * csu/version.c: Likewise.
1097 * elf/ldd.bash.in: Likewise.
1098 * elf/sprof.c (print_version): Likewise.
1099 * locale/programs/locale.c: Likewise.
1100 * locale/programs/localedef.c: Likewise.
a316c1f6 1101 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
1102 * nscd/nscd.c (print_version): Likewise.
1103 * debug/xtrace.sh: Likewise.
1104 * malloc/memusage.sh: Likewise.
1105 * malloc/mtrace.pl: Likewise.
1106 * debug/catchsegv.sh: Likewise.
1107
2ba92745
JJ
11082011-12-30 Jakub Jelinek <jakub@redhat.com>
1109
1110 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1111 pure attribute.
1112
dadebdae
UD
11132011-12-24 Ulrich Drepper <drepper@gmail.com>
1114
d3761ebc 1115 [BZ #13533]
db6af3eb
UD
1116 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1117 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1118 transformations.
1119 * iconv/gconv_int.h: Likewise.
1120 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1121 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
1122 from libc for GLIBC_2.16.
1123 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
1124 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
1125 * wcsmbs/uchar.h: Really define mbstate_t.
1126 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
1127 * wcsmbs/c16rtomb.c: New file.
1128 * wcsmbs/mbrtoc16.c: New file.
1129 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
1130 for C/POSIX locale.
1131 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
1132 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
1133
dadebdae
UD
1134 * wcsmbs/wchar.h: Add missing __restrict.
1135
67371b56
UD
11362011-12-23 Ulrich Drepper <drepper@gmail.com>
1137
74033a25
UD
1138 [BZ #13532]
1139 * time/Makefile (routines): Add timespec_get.
1140 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
1141 * time/time.h: Define TIME_UTC and declare timespec_get. Define
1142 timespec for ISO C11.
1143 * time/timespec_get.c: New file.
1144 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
1145 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
1146
380d7e87
UD
1147 [BZ #13531]
1148 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
1149 * stdlib/stdlib.h: Declare aligned_alloc.
1150 * Versions.def: Add GLIBC_2.16 for libc.
1151 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1152
4e9e7a35
UD
1153 [BZ 13527]
1154 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1155 ISO C11.
1156
380d7e87 1157 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
1158 code.
1159
03a71829
UD
1160 [BZ #13528]
1161 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1162
839e283e
UD
1163 [BZ #13529]
1164 * assert/assert.h (static_assert): Define.
1165
ce5294e2 1166 * version.h: Update for 2.16 development version.
90fa7312 1167
8d44e150 1168 [BZ #13526]
d7809905
UD
1169 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1170 _ISOC11_SOURCE.
1171
c0da14cd
UD
1172 * version.h (RELEASE): Bump for 2.15 release.
1173 * include/features.h (__GLIBC_MINOR__): Bump to 15.
1174
530a3249
MP
1175 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
1176 Patch by Marek Polacek <mpolacek@redhat.com>.
1177
67371b56
UD
1178 * bits/byteswap.h: Protect long long constants with __extension__.
1179 * sysdeps/i386/bits/byteswap.h: Likewise.
1180 * sysdeps/ia64/bits/byteswap.h: Likewise.
1181 * sysdeps/s390/bits/byteswap.h: Likewise.
1182 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1183
15db4de1
LD
11842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1185
1186 [BZ #13540]
bbe315ea
LD
1187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
1188 destination buffer.
15db4de1
LD
1189 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1190
2b2596b1
MP
11912011-12-23 Marek Polacek <polacek@redhat.com>
1192
1193 * elf/dl-addr.c (determine_info): Add inline keyword.
1194 * elf/tst-auditmod4b.c (check_avx): Likewise.
1195 * elf/tst-auditmod6b.c (check_avx): Likewise.
1196 * elf/tst-auditmod6c.c (check_avx): Likewise.
1197 * elf/tst-auditmod7b.c (check_avx): Likewise.
1198
70c6c246
UD
11992011-12-23 Ulrich Drepper <drepper@gmail.com>
1200
1201 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
1202 !__SSE_MATH__.
1203
c044cf14
LD
12042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1205
15db4de1 1206 [BZ #13540]
c044cf14
LD
1207 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
1208 processing for last bytes.
1209
6b13d9d9
BH
12102011-08-06 Bruno Haible <bruno@clisp.org>
1211
d455f537
BH
1212 [BZ #13061]
1213 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
1214 U+0385, not to U+1FEE.
1215
6b13d9d9
BH
1216 [BZ #13062]
1217 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
1218 entry for U+00A5 U+0301.
1219
db910efd
UD
12202011-12-22 Ulrich Drepper <drepper@gmail.com>
1221
27deeafc
UD
1222 [BZ #13166]
1223 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
1224 buffer for the output is too small.
1225
aed9d171
UD
1226 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
1227 optimization.
1228
db910efd
UD
1229 [BZ #13185]
1230 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
1231 SSE flags if possible.
1232
2bd779ae
LD
12332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1234
e7f9dac3 1235 [BZ #13540]
2bd779ae
LD
1236 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
1237 processing for last bytes.
1238
154bfc16
JM
12392011-12-22 Joseph Myers <joseph@codesourcery.com>
1240
1241 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
1242 (syscall-list-default-options, syscall-list-default-condition)
1243 (syscall-list-includes): Define.
1244 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
1245 list of ABIs and options and #if conditions for each ABI. Do not
1246 handle common syscalls between ABIs specially.
1247 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
1248 Remove.
1249 (syscall-list-variants, syscall-list-32bit-options)
1250 (syscall-list-32bit-condition, syscall-list-64bit-options)
1251 (syscall-list-64bit-condition): Define.
1252 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
1253 (syscall-list-variants, syscall-list-32bit-options)
1254 (syscall-list-32bit-condition, syscall-list-64bit-options)
1255 (syscall-list-64bit-condition): Define.
1256 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
1257 Remove.
1258 (syscall-list-variants, syscall-list-32bit-options)
1259 (syscall-list-32bit-condition, syscall-list-64bit-options)
1260 (syscall-list-64bit-condition): Define.
1261 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
1262 Remove.
1263 (syscall-list-variants, syscall-list-32bit-options)
1264 (syscall-list-32bit-condition, syscall-list-64bit-options)
1265 (syscall-list-64bit-condition): Define.
1266
21eaf3a5
UD
12672011-12-22 Ulrich Drepper <drepper@gmail.com>
1268
16c6f992
UD
1269 * locale/iso-639.def: Add brx entry.
1270
41043168
UD
1271 [BZ #13328]
1272 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
1273 Proposed by Mariusz_Cukr <marcukr@op.pl>.
1274
21eaf3a5
UD
1275 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
1276 __feraiseexcept_renamed.
1277
e3a851a2
UD
12782011-12-21 Ulrich Drepper <drepper@gmail.com>
1279
4920765e
UD
1280 [BZ #13538]
1281 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
1282 EPOLLET with unsigned values.
1283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1285
e3a851a2
UD
1286 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
1287 to large cancellation.
1288 * math/s_cacoshf.c: Likewise.
1289 * math/s_cacoshl.c: Likewise.
1290
b27e24b8
RK
12912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
1292
1293 [BZ #13305]
aebefeee 1294 [BZ #12786]
b27e24b8
RK
1295 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
1296 * math/s_cacoshf.c: Likewise.
1297 * math/s_cacoshl.c: Likewise.
1298
ee190f67
UD
12992011-12-21 Ulrich Drepper <drepper@gmail.com>
1300
1301 [BZ #13439]
1302 * iconv/gconv.h: Define __GCONV_SWAP.
1303 * iconvdata/unicode.c: The swap bit must be stored in __flags.
1304 * iconvdata/utf-16.c: Likewise.
1305 * iconvdata/utf-32.c: Likewise.
1306
707f25df
AS
13072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
1308
1309 [BZ #13524]
1310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
1311 numerator after shifting it by one limb.
1312
d2daaa1e
RÁE
13132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
1314
1315 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
1316 under [__USE_EXTERN_INLINES].
1317
a4647e72
UD
13182011-12-17 Ulrich Drepper <drepper@gmail.com>
1319
1320 [BZ #13446]
1321 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
1322
f0b264f1
AZ
13232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324
1325 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
1326 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
1327 optimized code.
1328 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
1329 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
1330 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
1331 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
1332 for strncasecmp/strncasecmp_l compilation.
1333 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
1334 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
1335
8ef4f244
MP
13362011-12-08 Marek Polacek <mpolacek@redhat.com>
1337
1338 [BZ #13484]
1339 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
1340 of __asm__.
1341
97ac2654
UD
13422011-12-17 Ulrich Drepper <drepper@gmail.com>
1343
1344 [BZ #13506]
1345 * time/tzfile.c (__tzfile_read): Check values from file header.
1346
91d2a845
WS
13472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1348
1349 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
1350 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
1351 * powerpc/powerpc32/dl-start.S: Likewise.
1352 * powerpc/powerpc32/elf/start.S: Likewise.
1353 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1354 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
1355 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1356 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
1357 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1358 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
1359 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
1360 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1361 * powerpc/powerpc32/fpu/s_round.S: Likewise.
1362 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1363 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1364 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1365 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1366 * powerpc/powerpc32/memset.S: Likewise.
1367 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1368 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1369 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1370 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1371 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1372 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1373 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1374 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1375 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
1376 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1377 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
1378 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1379 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1380
a1267ba1
AZ
13812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * math/libm-test.inc: Added more nearbyint tests.
1384 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
1385 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
1386 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
1387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
1388
ad8ac1bd
RL
13892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
1390
1391 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
1392 FD_CLOEXEC.
1393
1d3e4b61
UD
13942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1395
1396 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
1397 Add wcscpy-ssse3 wcscpy-c.
1398 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
1399 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
1400 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
1401 * sysdeps/x86_64/wcschr.S: New file.
1402 * sysdeps/x86_64/wcsrchr.S: New file.
1403 * string/test-strcmp.c: Remove checking of wcscmp function for
1404 wrong alignments.
1405 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
1406 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
1407 wcsrchr-sse2 wcsrchr-c.
1408 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
1409 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
1410 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
1411 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
1412 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
1413 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
1414 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
1415 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
1416 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
1417 * wcsmbc/wcschr.c (WCSCHR): New macro.
1418
5b330a2d
UD
14192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1420
1421 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
1422 * wcsmbs/test-wcsrchr.c: New file.
1423 * string/test-strrchr.c: Add wcsrchr support.
1424 (WIDE): New macro.
1425 * wcsmbs/test-wcscpy.c: New file.
1426 * string/test-strcpy.c: Add wcscpy support.
1427 (WIDE): New macro.
26428b7c 1428
f039c043
UD
14292011-12-10 Ulrich Drepper <drepper@gmail.com>
1430
1431 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
1432 the inner loop.
1433
850fb039
AS
14342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
1435
1436 [BZ #13472]
1437 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
1438
4efbd5cb
UD
14392011-12-04 Ulrich Drepper <drepper@gmail.com>
1440
52ff5dd0 1441 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 1442 Minor optimizations.
52ff5dd0 1443
4efbd5cb
UD
1444 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
1445 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
1446 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1447
8a426e12
UD
14482011-12-03 Ulrich Drepper <drepper@gmail.com>
1449
aff2453d
UD
1450 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
1451 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1452 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
1453 for gcc to avoid warnings.
1454 * inet/Makefile (tests): Add tst-checks.
1455 * inet/tst-checks.c: New file.
1456
1457 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
1458 warning.
1459
1460 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
1461 __wmemcmp_sse2.
1462
1463 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
1464 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
1465
8a426e12
UD
1466 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
1467
9bea3473
UD
14682011-12-02 Ulrich Drepper <drepper@gmail.com>
1469
3a965496
UD
1470 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
1471 problem.
1472
9bea3473
UD
1473 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
1474
f101631b
UD
14752011-11-29 Joseph Myers <joseph@codesourcery.com>
1476
1477 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
1478 conditional on GCC version.
1479 (__arch_compare_and_exchange_val_8_acq)
1480 (__arch_compare_and_exchange_val_16_acq)
1481 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
1482 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
1483 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
1484
a98275aa
UD
14852011-12-02 Joseph Myers <joseph@codesourcery.com>
1486
1487 * sysdeps/sh/backtrace.c: New file.
1488
d4cc29a2
AS
14892011-12-02 Andreas Schwab <schwab@redhat.com>
1490
1491 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
1492 parenthesis.
1493
6257af2d
AS
14942011-12-01 Andreas Schwab <schwab@redhat.com>
1495
1496 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
1497 falling back to utime.
1498
b5f44c1a
AS
14992011-11-30 Andreas Schwab <schwab@redhat.com>
1500
1501 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
1502 expectations for float.
1503
f3a6cc0a
AS
15042011-11-29 Andreas Schwab <schwab@redhat.com>
1505
1506 * locale/weight.h (findidx): Add parameter len.
1507 * locale/weightwc.h (findidx): Likewise.
1508 * posix/fnmatch_loop.c (FCT): Adjust caller.
1509 * posix/regcomp.c (build_equiv_class): Likewise.
1510 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
1511 * posix/regexec.c (check_node_accept_bytes): Likewise.
1512 * string/strcoll_l.c (STRCOLL): Likewise.
1513 * string/strxfrm_l.c (STRXFRM): Likewise.
1514
9d65ea3a
UD
15152011-11-17 Ulrich Drepper <drepper@gmail.com>
1516
1517 * Makefile.in: Remove CVSOPT handling.
1518 * configure.in: Remove use of AC_REVISION.
1519 * iconvdata/Makefile (distribute): No need to filter out CVS.
1520 * scripts/list-sources.sh: Remove CVS, subversion and monotone
1521 handling.
1522
5583a086
AS
15232011-11-16 Andreas Schwab <schwab@redhat.com>
1524
1525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
1526 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
1527 [USE_AS_STRNCASECMP_L]: Likewise.
1528 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
1529 NO_TLS_DIRECT_SEG_REFS.
1530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
1531 Fix argument offsets for non-PIC.
1532 [USE_AS_STRNCASECMP_L]: Likewise.
1533 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
1534 NO_TLS_DIRECT_SEG_REFS.
1535
d62a8200
UD
15362011-11-15 Ulrich Drepper <drepper@gmail.com>
1537
9d65ea3a 1538 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
1539 O_CLOEXEC.
1540 * locale/loadlocale.c (_nl_load_locale): Likewise.
1541
09f93bd3
AS
15422011-11-15 Andreas Schwab <schwab@redhat.com>
1543
446514f9
AS
1544 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
1545 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
1546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
1547 (SYSCALL_GETTIME): Set errno on error.
1548
09f93bd3
AS
1549 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
1550 count references to noai6ai_cached.
1551
312be3f9
UD
15522011-11-15 Ulrich Drepper <drepper@gmail.com>
1553
1554 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1555
1556 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1557 FD_CLOEXEC for /proc/self/maps.
1558
1559 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1560 FD_CLOEXEC for /proc/meminfo.
1561
1562 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1563 gai.conf.
1564
1565 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
1566 FD_CLOEXEC for given file.
1567
1568 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1569
1570 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1571 FD_CLOEXEC for /etc/hosts.
1572 (_gethtent): Likewise.
1573
1574 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1575
1576 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1577 cancellation and set FD_CLOEXEC for /etc/netgroup.
1578
1579 * nss/nss_files/files-key.c (search): Don't allow cancellation when
1580 reading /etc/publickey.
1581
1582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1583 allow cancellation when reading /etc/group.
1584
1585 * nss/nss_files/files-alias.c (internal_setent): Don't allow
1586 cancellation.
1587 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
1588
1589 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1590 when using data file.
1591
1592 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1593
1594 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1595 (write_nis_obj): Use "c" and "e" in fopen.
1596
1597 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1598
1599 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1600
1601 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1602
1603 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1604
1605 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1606 locale.alias.
1607
1608 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1609
1610 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1611
1612 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1613
1614 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1615 file parsing and set FD_CLOEXEC.
1616
82af0fa8
UD
16172011-11-14 Ulrich Drepper <drepper@gmail.com>
1618
1619 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1620
a5fb313c
AS
16212011-11-14 Andreas Schwab <schwab@redhat.com>
1622
1623 * malloc/arena.c (arena_get2): Don't call reused_arena when
1624 _int_new_arena failed.
1625
6abf3465
UD
16262011-11-14 Ulrich Drepper <drepper@gmail.com>
1627
1628 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1629 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1630 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1631 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1632 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1633 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1634 to compile strcasecmp and strncasecmp.
1635 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
1636 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
1637
1638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
1639
76e3966e
UD
16402011-11-13 Ulrich Drepper <drepper@gmail.com>
1641
1642 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
1643 locale-defines.sym to gen-as-const-headers.
1644 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
1645 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
1646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
1647 to compile strcasecmp and strncasecmp.
1648 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
1649 strcasecmp_l and strncasecmp_l.
1650 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
1651 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
1652 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
1653 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
1654 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
1655 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
1656 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
1657 * sysdeps/i386/i686/multiarch/strncase.S: New file.
1658 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
1659 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
1660 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
1661
ab26144e
UD
16622011-11-12 Ulrich Drepper <drepper@gmail.com>
1663
7edb22ef
UD
1664 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
1665 result of SYSDEP_GETTIME_CPU to retval.
1666 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
1667 parameter list to macro. Remove trailing semicolon. Adjust users.
1668
9694fc44
UD
1669 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
1670 variable.
1671
8ad89ef8
UD
1672 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
1673 mantissa words.
1674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1675
0c822ef9
UD
1676 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
1677 from unused variable.
1678
874e0564
UD
1679 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
1680 DWARF definitions.
1681 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
1682 for assembling.
1683
3a2edc79
UD
1684 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
1685 over namespaces.
1686
f3c2577f
UD
1687 * sunrpc/rpc_prot.c (rejected): Fix case value.
1688
294ce126
UD
1689 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
1690 unsigned long long int to avoid warnings in shift.
1691
5e2b63c6
UD
1692 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1693 of use of trans.
1694 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1695 variable tmp.
1696
e7f4b08e
UD
1697 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1698 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1699 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1700
ab26144e
UD
1701 * nis/nis_table.c (nis_list): Use variable of correct type for
1702 result of __follow_path call.
1703
8a6d5255
AZ
17042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1705
1706 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1707 of math functions ceil, trunc, floor, round, and sqrt, when
1708 avaliable on the platform.
1709 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1710 name clash.
1711 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1712 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1713 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1714
aaddc98c
MP
17152011-10-30 Marek Polacek <mpolacek@redhat.com>
1716
1717 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1718 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1719
95b7042b
RM
17202011-11-11 Roland McGrath <roland@hack.frob.com>
1721
1722 * include/unistd.h: Fix __readlink return type.
1723 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1724
57769839
UD
17252011-11-11 Ulrich Drepper <drepper@gmail.com>
1726
1727 * stdlib/ucontext.h: Undo last change for makecontext.
1728
edc5984d
AS
17292011-11-11 Andreas Schwab <schwab@redhat.com>
1730
98591e58
AS
1731 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1732
edc5984d
AS
1733 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1734 * setjmp/setjmp.h: Mark functions as non-leaf.
1735 * setjmp/bits/setjmp2.h: Likewise.
1736 * stdlib/ucontext.h: Likewise.
1737
77cdc054
AS
17382011-11-10 Andreas Schwab <schwab@redhat.com>
1739
1740 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1741 (reused_arena): Don't check arena limit.
1742 (arena_get2): Atomically check arena limit.
1743
fe72eebd
UD
17442011-11-08 Ulrich Drepper <drepper@gmail.com>
1745
5f078c32
UD
1746 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1747 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1748
fe72eebd
UD
1749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1750 instructions.
1751
ae1bc2fa
AS
17522011-11-07 Andreas Schwab <schwab@redhat.com>
1753
7583a88d
AS
1754 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1755 handler when locking.
1756
ae1bc2fa
AS
1757 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1758 Fix size of allocated buffer.
1759
10fb0bfa
AS
17602011-11-04 Andreas Schwab <schwab@redhat.com>
1761
998832a4
AS
1762 [BZ #10103]
1763 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1764 declarations for long double functions.
1765 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1766
10fb0bfa
AS
1767 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1768
3d7ba52b
AS
17692011-11-03 Andreas Schwab <schwab@redhat.com>
1770
a9ae54a1
AS
1771 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1772 installed.
1773
3d7ba52b
AS
1774 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1775 is disabled.
1776
bc8db248
ST
17772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1778
1779 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1780
45b96dd6
AS
17812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1782
647776f6
AS
1783 * include/alloca.h (stackinfo_alloca_round): Define.
1784 (extend_alloca): Use it.
1785 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1786 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1787 here.
1788
d91a8b93
AS
1789 * scripts/check-local-headers.sh: Ignore libaudit.h.
1790
45b96dd6
AS
1791 * nscd/Makefile (extra-objs): Make recursively expanded.
1792
432d41ce
UD
17932011-11-01 Ulrich Drepper <drepper@gmail.com>
1794
34372fc6
UD
1795 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1797
fadb59f8
UD
1798 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1799 * posix/tst-rfc3484-2.c: Likewise.
1800 * posix/tst-rfc3484-3.c: Likewise.
1801
78239589
UD
1802 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1803 process_vm_writev.
1804 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1805 process_vm_writev.
1806 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1807 process_vm_writev from libc using GLIBC_2.15 version.
1808
432d41ce
UD
1809 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1810
02f9c6cf
PP
18112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1812
1813 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1814 stack usage.
1815
3a2c0242
UD
18162011-10-31 Ulrich Drepper <drepper@gmail.com>
1817
f4ec4833
UD
1818 [BZ #13367]
1819 * nss/getent.c (initgroups_keys): Show error message in case no group
1820 names are given.
1821
3a2c0242
UD
1822 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1823 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1824 __bump_nl_timestamp.
1825 * nscd/connections (nscd_init): When host database is served open
1826 netlink socket and request notification about configuration changes.
1827 (main_loop_poll): Track netlink file descriptor and bump timestamp
1828 in case data becomes available.
1829 (main_loop_epoll): Likewise.
1830 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1831 (database_pers_head): Add extra_data fileds.
1832 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1833 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1834 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1835 Adjust caller.
1836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1837 in6ai data, call __free_in6ai.
1838 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1839 Add -DHAVE_NETLINK.
1840 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1841 interface information. Reuse previous data if netlink timestamp
1842 is not changed.
1843 (__bump_nl_timestamp): New function.
1844 (__free_in6ai): New function.
1845
636064eb
UD
18462011-10-30 Ulrich Drepper <drepper@gmail.com>
1847
1848 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1849 close_not_cancel_no_status here.
1850 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1851
9beb2334
UD
18522011-10-29 Ulrich Drepper <drepper@gmail.com>
1853
6ef76f3b
UD
1854 [BZ #13276]
1855 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1856 return value.
1857
0ffc4f3e 1858 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
1859 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1860 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1861
cb95113e
UD
18622011-07-03 Andreas Jaeger <aj@suse.de>
1863
1864 [BZ #10709]
1865 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1866 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1867 * math/libm-test.inc (sin_test): Add test case.
1868
a1b560ff
UD
18692011-10-29 Ulrich Drepper <drepper@gmail.com>
1870
c9aaface
UD
1871 [BZ #13337]
1872 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1873 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1874
d272e7f1
UD
1875 * elf/chroot_canon.c (chroot_canon): Cleanups.
1876
1bc33071
UD
1877 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1878
1760874d
TJ
1879 [BZ #13335]
1880 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1881 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1882
51d91b18
UD
1883 * string/test-strchr.c: Make usable for strchrnul testing.
1884 * string/test-strchrnul.c: New file.
1885 * string/Makefile (strop-tests): Add strchrnul.
1886
a1b560ff 1887 * po/it.po: Update from translation team.
b611fb81 1888 * po/es.po: Likewise.
a1b560ff 1889
a5b81e1f
UD
18902011-10-28 Ulrich Drepper <drepper@gmail.com>
1891
fd52bc6d
UD
1892 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1893 the three constants needed as parameters. Drop the others.
1894 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1895 __m128i_strloadu_tolower.
52e4b9eb
UD
1896 Create and initialize variable zero and use it in all the places
1897 where _mm_setzero_si128 was used.
fd52bc6d 1898
a5b81e1f
UD
1899 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1900 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1901 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1902 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1903 anymore.
1904 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1905 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1906 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1907 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1908 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1909 __mpranred, __mptan.
1910 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1911 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1912 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1913 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1914 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1915 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1917 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1918 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1919
b4343346
AS
19202011-10-28 Andreas Schwab <schwab@redhat.com>
1921
0c92d8a8
AS
1922 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1923 redefine if SHARED.
1924 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1925
b4343346
AS
1926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1927 wide char related routines to wcsmbs subdir.
1928
3871f58f
AS
19292011-10-27 Andreas Schwab <schwab@redhat.com>
1930
1931 [BZ #13344]
1932 * misc/sys/cdefs.h (__THROWNL): Define.
1933 * posix/unistd.h: Use __THREADNL instead of __THREAD
1934 for memory synchronization functions.
1935
94d44d9f
RM
19362011-10-26 Roland McGrath <roland@hack.frob.com>
1937
21b64b15 1938 [BZ #13349]
94d44d9f
RM
1939 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1940 doesn't exist.
1941 * manual/stdio.texi (Obstack Streams): Node removed.
1942
f6ce9294
AS
19432011-10-26 Andreas Schwab <schwab@redhat.com>
1944
80479147
AS
1945 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1947 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1948
f6ce9294
AS
1949 * math/math_private.h (math_force_eval): Allow non-addressable
1950 arguments.
1951 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1952
618280a1
UD
19532011-10-25 Ulrich Drepper <drepper@gmail.com>
1954
e0016b11
UD
1955 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1956 file is not needed.
1957
1958 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1960 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1961 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1962 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1963 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1964 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1965 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1966 Add AVX variants.
1967 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1968 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1969 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1970 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1971 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1972 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1973 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1974 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1975 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1976 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1977 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1978 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1979 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1980 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1981 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1982 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1983 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1984 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1985 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1986
1987 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1988 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1989
618280a1
UD
1990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1991 place. Use VEX encoding when compiling for AVX.
1992
37822576
AS
19932011-10-25 Andreas Schwab <schwab@redhat.com>
1994
1f1e1947
AS
1995 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1996 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1997
37822576
AS
1998 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1999
31ea014d
UD
20002011-10-25 Ulrich Drepper <drepper@gmail.com>
2001
d7826aa1 2002 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 2003 useless if() expression.
d7826aa1
UD
2004 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2014 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2015 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2016 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2017 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2018 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2021 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2022 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2023
31ea014d
UD
2024 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2025
16437fec
AS
20262011-10-25 Andreas Schwab <schwab@redhat.com>
2027
2028 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2029 condition.
2030 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2031
31d3cc00
UD
20322011-10-25 Ulrich Drepper <drepper@gmail.com>
2033
2034 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2035 .text section. Avoid duplicate constants.
2036 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2046 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2048 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2051 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2053 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2059 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2060 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2061 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2062 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2063 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2064 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2065 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2066 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2067 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2068 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2069 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2070 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2071 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2072 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2074 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2075 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2076 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2078 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2079 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2080 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2081
58985aa9
UD
20822011-10-24 Ulrich Drepper <drepper@gmail.com>
2083
202c9deb
UD
2084 * sysdeps/x86_64/dla.h: Move to ...
2085 * sysdeps/x86_64/fpu/dla.h: ...here.
2086 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2087 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 2088
af968f62
UD
2089 * config.make.in: Add have-mfma4 entry.
2090 * configure.in: Substitute libc_cv_cc_fma4.
2091 * math/Makefile (dbl-only-routines): Add sincostab.
2092 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2093 Use __sincostab not sincos.
2094 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2095 name is a macro.
2096 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
2100 using __copysign.
2101 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
2102 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
2103 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2104 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2105 and __inv.
2106 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2107 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2108 __copysign.
2109 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
2110 define aliases when function name is a macro.
2111 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2112 sysdeps/ieee754/dbl-64/sincos.tbl.
2113 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2114 fma4-enabled routines.
2115 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2116 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2117 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2118 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2119 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2120 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2121 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
2122 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
2123 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
2124 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
2125 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
2126 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
2127 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
2128 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
2129 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
2130 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
2131 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
2132 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
2133 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
2134 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
2135 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
2136 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
2137 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
2138 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
2139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
2140 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
2141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
2142 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
2143 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
2144 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
2145
58985aa9
UD
2146 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
2147 rename.
2148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2156
a201fbcf
AS
21572011-10-24 Andreas Schwab <schwab@redhat.com>
2158
2159 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2160
fc2ee42a
LD
21612011-10-23 Ulrich Drepper <drepper@gmail.com>
2162
bb3129bd
UD
2163 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2164
0275fff8
UD
2165 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2166 prediction.
2167 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2168
2fa2ae85
UD
2169 * string/strnlen.c: Don't define STRNLEN, reverse logic.
2170 Remove unused variable magic_bits.
2171 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2172
fc2ee42a
LD
2173 * string/strnlen.c: Define and use STRNLEN macro.
2174 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
2175 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
2176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
2177 * wcsmbs/wcslen.c: Define and use WCSLEN.
2178 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
2179 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
2180 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
2181 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
2182 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
2183 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
2184 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2185
ce7dd29f
LD
21862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2187
2188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2189 strnlen-sse2-no-bsf.
2190 Rename strlen-no-bsf to strlen-sse2-no-bsf.
2191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
2192 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
2193 Add strnlen support.
2194 (USE_AS_STRNLEN): New macro.
2195 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
2196 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
2197 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
2198 * sysdeps/x86_64/wcslen.S: New file.
2199
979c70a3
MZ
22002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
2201
2202 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2203 XMM-moves are used for copying on small sizes.
2204
2d09f82f
LD
22052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2206
2207 * wcsmbs/Makefile (strop-tests): Add wcschr.
2208 * wcsmbs/test-wcschr.c: New file.
2209 * string/test-strchr.c: Update.
2210 Add wcschr support.
2211 (WIDE): New macro.
2212
619fccca
LD
22132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2214
2d09f82f 2215 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
2216 * wcsmbs/test-wcslen.c: New file.
2217 * string/test-strlen.c: Update.
2218 Add wcslen support.
2219 (WIDE): New macro.
2220
09f699ea
UD
22212011-10-23 Ulrich Drepper <drepper@gmail.com>
2222
2223 * po/it.po: Update from translation team.
2224
95584d3b
LD
22252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2226
2227 * sysdeps/x86_64/wcscmp.S: Update.
2228 Fix wrong comparison semantics.
2229 wcscmp shall use signed comparison not unsigned.
2230 Don't use substraction to avoid overflow bug.
2231 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2232 * wcsmbc/wcscmp.c: Likewise.
2233 * string/test-strcmp.c: Likewise.
2234 Add new tests to check cases with negative values.
2235
c8b3296b
UD
22362011-10-23 Ulrich Drepper <drepper@gmail.com>
2237
2238 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
2239 * sysdeps/x86_64/dla.h: ...here. New file.
2240 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
2241 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2245 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2246 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2249
246ad57a
AS
22502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
2251
2252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
2253 __ynl_finite aliases.
2254
a1a87169
UD
22552011-10-22 Ulrich Drepper <drepper@gmail.com>
2256
0d355eb7
UD
2257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2258
a1a87169
UD
2259 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
2260 define DLA_FMA.
2261 [DLA_FMA] (EMULV): Use DLA_FMA.
2262 [DLA_FMA] (MUL12): Use EMULV.
2263 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
2264 that are not needed.
2265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2272
ee2aafe0
AS
22732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
2274
2275 * math/s_nan.c: Undef __nan.
2276 * math/s_nanf.c: Undef __nanf.
2277 * math/s_nanl.c: Undef __nanl.
2278 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
2279 "math_private.h".
2280
bc62c2fb
UD
22812011-10-22 Ulrich Drepper <drepper@gmail.com>
2282
77425c63
UD
2283 * math/s_catan.c: Add branch predictions.
2284 * math/s_catanf.c: Likewise.
2285 * math/s_catanh.c: Likewise.
2286 * math/s_catanhf.c: Likewise.
2287 * math/s_catanhl.c: Likewise.
2288 * math/s_catanl.c: Likewise.
2289 * math/s_cexp.c: Likewise.
2290 * math/s_cexpf.c: Likewise.
2291 * math/s_cexpl.c: Likewise.
2292 * math/s_clog.c: Likewise.
2293 * math/s_clog10.c: Likewise.
2294 * math/s_clog10f.c: Likewise.
2295 * math/s_clog10l.c: Likewise.
2296 * math/s_clogf.c: Likewise.
2297 * math/s_clogl.c: Likewise.
2298 * math/s_csqrt.c: Likewise.
2299 * math/s_csqrtf.c: Likewise.
2300 * math/s_csqrtl.c: Likewise.
2301 * math/s_ctanf.c: Likewise.
2302 * math/s_ctanh.c: Likewise.
2303 * math/s_ctanhf.c: Likewise.
2304 * math/s_ctanhl.c: Likewise.
2305 * math/s_ctanl.c: Likewise.
2306
bc62c2fb
UD
2307 * math/math_private.h: Define __nan, __nanf, __nanl.
2308 * math/s_cacosh.c: Include <math_private.h>.
2309 * math/s_cacoshl.c: Likewise.
2310 * math/s_casinh.c: Likewise.
2311 * math/s_casinhf.c: Likewise.
2312 * math/s_casinhl.c: Likewise.
2313 * math/s_ccos.c: Rely entire on ccosh.
2314 * math/s_ccosf.c: Rely entire on ccoshf.
2315 * math/s_ccosl.c: Rely entirely on ccoshl.
2316 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
2317 Remove tests for FE_INVALID.
2318 * math/s_ccoshf.c: Likewise.
2319 * math/s_ccoshl.c: Likewise.
2320 * math/s_csin.c: Likewise.
2321 * math/s_csinf.c: Likewise.
2322 * math/s_csinh.c Likewise.
2323 * math/s_csinhf.c: Likewise.
2324 * math/s_csinhl.c: Likewise.
2325 * math/s_csinl.c: Likewise.
2326 * math/s_ctan.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
2328 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
2329 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
2330
8ec250a4
UD
23312011-10-21 Ulrich Drepper <drepper@gmail.com>
2332
c196fed8
UD
2333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
2334 compilation problems.
2335
8ec250a4
UD
2336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
2337 __builtin_expect.
2338
8d4f46c6
UD
23392011-10-20 Ulrich Drepper <drepper@gmail.com>
2340
ed72b654
UD
2341 * sysdeps/i386/configure.in: Test for -mfma4 option.
2342 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
2343 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
2344 COMMON_CPUID_INDEX_80000001.
2345 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
2346 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
2347 use it if FMA3 is not supported.
2348 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2349
8d4f46c6
UD
2350 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
2351 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2352
d45c60c2
AS
23532011-10-20 Andreas Schwab <schwab@redhat.com>
2354
2355 [BZ #12892]
2356 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
2357 it would create a cycle with a link time dependency.
2358
d9a4d2ab
UD
23592011-10-19 Ulrich Drepper <drepper@gmail.com>
2360
855d1560
UD
2361 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
2362 instruction.
2363 * string/Makefile (strop-tests): Add rawmemchr.
2364 * string/test-rawmemchr.c: New file.
2365
d9a4d2ab
UD
2366 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
2367 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
2368 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
2369 when compiling str{,n}casecmp and when AVX is available. Hook up
2370 new optimized code in initializers.
2371
8f3b1ffe
AS
23722011-10-19 Andreas Schwab <schwab@redhat.com>
2373
2374 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
2375 __feraiseexcept instead of feraiseexcept.
2376
d38f1dba
UD
23772011-10-18 Ulrich Drepper <drepper@gmail.com>
2378
d9a8d0ab
UD
2379 * math/math_private.h: Define defaults for libc_fetestexcept and
2380 libc_feupdateenv.
2381 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
2382 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2383 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2384 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2385 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2386 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2387 libc_fetestexcept and libc_feupdateenv.
2388
4855e3dd
UD
2389 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
2390 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
2391 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
2392 * sysdeps/x86_64/fpu/math_private.h: Define special version of
2393 libc_feholdexcept_setround.
2394
581d30e3
UD
2395 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
2396 Add s_nearbyint-c and s_nearbyintf-c.
2397 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
2398 nearbyintf inlines.
2399 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
2400 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
2401 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
2402 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
2403
d38f1dba
UD
2404 * math/math_private.h: Define defaults for libc_fegetround,
2405 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
2406 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
2407 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
2408 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
2409 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
2410 standard functions.
2411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2412 Remove comments and hacks for old compiler versions.
2413 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2414 libc_fegetround, libc_fesetround, libc_feholdexcept, and
2415 libc_feholdexceptl.
2416
caa6c9d8
AS
24172011-10-18 Andreas Schwab <schwab@redhat.com>
2418
2419 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
2420 (__feraiseexcept_renamed): Add __NTH.
2421 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
2422 namespace violations.
2423
97c066e6
UD
24242011-10-17 Ulrich Drepper <drepper@gmail.com>
2425
99ce7b04
UD
2426 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
2427
1004d182
UD
2428 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
2429
228a984d
UD
2430 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
2431 recently added interfaces.
2432 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
2433
c8553a6a
UD
2434 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
2435 about macro parameter expansion.
2436
ed22dcf6
UD
2437 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
2438 __NO_MATH_INLINES is defined. Cleanups.
2439
2440 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
2441 and __floorf is target has SSE4.1.
2442 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
2443 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
2444 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
2445 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
2446
b171c137
UD
2447 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
2448 name.
2449 (floorf): Likewise.
2450
97c066e6
UD
2451 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2452
629f62ef
AS
24532011-10-17 Andreas Schwab <schwab@redhat.com>
2454
49a43d80
AS
2455 * misc/sys/cdefs.h: Fix last change.
2456
629f62ef
AS
2457 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
2458 database lookup.
2459
e453f6cd
UD
24602011-10-16 Ulrich Drepper <drepper@gmail.com>
2461
aa78043a
UD
2462 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
2463
ad0f5cad
UD
2464 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
2465 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2466 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2467 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2469 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2470 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2471 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2472 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2473 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
2474 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
2475 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
2476 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
2477 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
2478 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
2479 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
2480 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
2481 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
2482 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
2483 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
2484 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
2485 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
2486
2487 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
2488 ceil, ceilf, floor, floorf.
2489
2490 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
2491 Perform IRELATIVE relocations last.
2492
e453f6cd
UD
2493 * elf/do-rel.h: Add another parameter nrelative, replacing the
2494 local variable with the same name. Change name of the function
2495 to end in Rel or Rela (uppercase).
2496 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
2497 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
2498 elf_dynamic_do_##reloc function.
2499
fd5bdc09
UD
25002011-10-15 Ulrich Drepper <drepper@gmail.com>
2501
79b195b5
UD
2502 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
2503 is sufficient, at least on modern CPUs.
2504
d4a28569
UD
2505 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
2506
b61099b5
UD
2507 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
2508 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
2509
bcf01e6d
UD
2510 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
2511 __expl_finite.
2512 * math/bits/math-finite.h: Add entries for exp.
2513 * math/e_expl.c: Add __*_finite alias.
2514 * sysdeps/i386/fpu/e_exp.S: Likewise.
2515 * sysdeps/i386/fpu/e_expf.S: Likewise.
2516 * sysdeps/i386/fpu/e_expl.c: Likewise.
2517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2521 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
2522 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2524
ba1a0d59
UD
2525 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
2526 is sufficient, at least on modern CPUs.
2527
fd5bdc09
UD
2528 * ctype/ctype-info.c (__ctype_init): Define.
2529 * include/ctype.h (__ctype_init): Declare.
2530 (__ctype_b_loc): The variable is always initialized.
2531 (__ctype_toupper_loc): Likewise.
2532 (__ctype_tolower_loc): Likewise.
2533 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
2534 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
2535
7872cfb0
AS
25362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
2537
b468825a
AS
2538 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
2539
7872cfb0
AS
2540 * configure.in: Also look in $cxxmachine/include for C++ system
2541 headers.
2542
be13f7bf
LD
25432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2544
2545 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
2546 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
2547 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
2548 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
2549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
2550 (USE_AS_WMEMCMP): New macro.
2551 Fixing indents.
2552 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2553 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2554 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2555 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2557 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2558 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2559 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2560 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2561 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2562 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2563 (USE_AS_WMEMCMP): New macro.
2564 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2565 * sysdeps/string/test-memcmp.c: Update.
2566 Fix simple_wmemcmp.
2567 Add new tests.
2568 * wcsmbs/wmemcmp.c: Update.
2569 (WMEMCMP): New macro.
2570 Fix overflow bug.
2571
556a2007
AJ
25722011-10-12 Andreas Jaeger <aj@suse.de>
2573
2574 [BZ #13268]
2575 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2576
538faaa7
UD
25772011-10-15 Ulrich Drepper <drepper@gmail.com>
2578
ab6737ff
UD
2579 * libio/iofwide.c (do_length): Avoid warning.
2580
538faaa7
UD
2581 * ctype/ctype.h (__isctype_f): Add missing __THROW.
2582
396a21b1
UD
25832011-10-14 Ulrich Drepper <drepper@gmail.com>
2584
cdf2901f
UD
2585 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2586
38ad40ce
UD
2587 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2588 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2589 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2590 * sysdeps/i386/i686/fpu/e_log.S: New file.
2591 * sysdeps/i386/i686/fpu/e_logf.S: New file.
2592 * sysdeps/i386/i686/fpu/e_logl.S: New file.
2593
396a21b1
UD
2594 * ctype/ctype.h: Add support for inlined isXXX functions when
2595 compiling C++ code.
2596
6b1f68c9
AS
25972011-10-14 Andreas Schwab <schwab@redhat.com>
2598
349290c0
AS
2599 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2600
6b1f68c9
AS
2601 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2602
f2282d42
RM
26032011-10-13 Roland McGrath <roland@hack.frob.com>
2604
2605 [BZ #13291]
2606 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2607
5298ffa8
AS
26082011-10-13 Andreas Schwab <schwab@redhat.com>
2609
714fad23
AS
2610 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2611 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2612 feraiseexcept.
2613
81dcc7fb
AS
2614 * sysdeps/x86_64/memrchr.S: Check for zero size.
2615
5298ffa8
AS
2616 * string/stratcliff.c: Add memrchr tests.
2617
951fbcec
LD
26182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2619
2620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2621 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2622 rawmemchr-sse2 rawmemchr-sse2-bsf.
2623 * sysdeps/i386/i686/multiarch/memchr.S: New file.
2624 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2625 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2626 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2627 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2628 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2629 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2630 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2631 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2632 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2633 * string/memrchr.c (MEMRCHR): New macro.
2634
0ac5ae23
UD
26352011-10-12 Ulrich Drepper <drepper@gmail.com>
2636
2637 Add integration with gcc's -ffinite-math-only and optimize wrapper
2638 functions in libm.
2639 * Versions.def: Define GLIBC_2.15 version for libm.
2640 * math/Makefile (headers): Add bits/math-finite.h.
2641 * math/bits/math-finite.h: New file.
2642 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
2643 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
2644 * math/e_acoshl.c: Add __*_finite alias.
2645 * math/e_acosl.c: Likewise.
2646 * math/e_asinl.c: Likewise.
2647 * math/e_atan2l.c: Likewise.
2648 * math/e_atanhl.c: Likewise.
2649 * math/e_coshl.c: Likewise.
2650 * math/e_exp10.c: Likewise.
2651 * math/e_exp10f.c: Likewise.
2652 * math/e_exp10l.c: Likewise.
2653 * math/e_exp2l.c: Likewise.
2654 * math/e_fmodl.c: Likewise.
2655 * math/e_gammal_r.c: Likewise.
2656 * math/e_hypotl.c: Likewise.
2657 * math/e_j0l.c: Likewise.
2658 * math/e_j1l.c: Likewise.
2659 * math/e_jnl.c: Likewise.
2660 * math/e_lgammal_r.c: Likewise.
2661 * math/e_log10l.c: Likewise.
2662 * math/e_log2l.c: Likewise.
2663 * math/e_logl.c: Likewise.
2664 * math/e_powl.c: Likewise.
2665 * math/e_sinhl.c: Likewise.
2666 * math/e_sqrtl.c: Likewise.
2667 * math/e_scalb.c: Completely rewritten and optimized.
2668 * math/e_scalbf.c: Likewise.
2669 * math/e_scalbl.c: Likewise.
2670 * math/w_acos.c: Likewise.
2671 * math/w_acosf.c: Likewise.
2672 * math/w_acosl.c: Likewise.
2673 * math/w_acosh.c: Likewise.
2674 * math/w_acoshf.c: Likewise.
2675 * math/w_acoshl.c: Likewise.
2676 * math/w_asin.c: Likewise.
2677 * math/w_asinf.c: Likewise.
2678 * math/w_asinl.c: Likewise.
2679 * math/w_atan2.c: Likewise.
2680 * math/w_atan2f.c: Likewise.
2681 * math/w_atan2l.c: Likewise.
2682 * math/w_atanh.c: Likewise.
2683 * math/w_atanhf.c: Likewise.
2684 * math/w_atanhl.c: Likewise.
2685 * math/w_exp10.c: Likewise.
2686 * math/w_exp10f.c: Likewise.
2687 * math/w_exp10l.c: Likewise.
2688 * math/w_fmod.c: Likewise.
2689 * math/w_fmodf.c: Likewise.
2690 * math/w_fmodl.c: Likewise.
2691 * math/w_j0.c: Likewise.
2692 * math/w_j0f.c: Likewise.
2693 * math/w_j0l.c: Likewise.
2694 * math/w_j1.c: Likewise.
2695 * math/w_j1f.c: Likewise.
2696 * math/w_j1l.c: Likewise.
2697 * math/w_jn.c: Likewise.
2698 * math/w_jnf.c: Likewise.
2699 * math/w_log.c: Likewise.
2700 * math/w_logf.c: Likewise.
2701 * math/w_logl.c: Likewise.
2702 * math/w_log10.c: Likewise.
2703 * math/w_log10f.c: Likewise.
2704 * math/w_log10l.c: Likewise.
2705 * math/w_log2.c: Likewise.
2706 * math/w_log2f.c: Likewise.
2707 * math/w_log2l.c: Likewise.
2708 * math/w_pow.c: Likewise.
2709 * math/w_powf.c: Likewise.
2710 * math/w_powl.c: Likewise.
2711 * math/w_remainder.c: Likewise.
2712 * math/w_remainderf.c: Likewise.
2713 * math/w_remainderl.c: Likewise.
2714 * math/w_scalb.c: Likewise.
2715 * math/w_scalbf.c: Likewise.
2716 * math/w_scalbl.c: Likewise.
2717 * math/w_sqrt.c: Likewise.
2718 * math/w_sqrtf.c: Likewise.
2719 * math/w_sqrtl.c: Likewise.
2720 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2721 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2722 used.
2723 * math/math_private.h: Declare __kernel_standard_f.
2724 * math/w_cosh.c: Remove cruft and optimize a bit.
2725 * math/w_coshf.c: Likewise.
2726 * math/w_coshl.c: Likewise.
2727 * math/w_exp2.c: Likewise.
2728 * math/w_exp2f.c: Likewise.
2729 * math/w_exp2l.c: Likewise.
2730 * math/w_hypot.c: Likewise.
2731 * math/w_hypotf.c: Likewise.
2732 * math/w_hypotl.c: Likewise.
2733 * math/w_lgamma.c: Likewise.
2734 * math/w_lgamma_r.c: Likewise.
2735 * math/w_lgammaf.c: Likewise.
2736 * math/w_lgammaf_r.c: Likewise.
2737 * math/w_lgammal.c: Likewise.
2738 * math/w_lgammal_r.c: Likewise.
2739 * math/w_sinh.c: Likewise.
2740 * math/w_sinhf.c: Likewise.
2741 * math/w_sinhl.c: Likewise.
2742 * math/w_tgamma.c: Likewise.
2743 * math/w_tgammaf.c: Likewise.
2744 * math/w_tgammal.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2746 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2747 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2748 Minor optimizations. Pretty printing. Remove cruft.
2749 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2750 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2751 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2752 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2753 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2754 * sysdeps/i386/fpu/e_asin.S: Likewise.
2755 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2756 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2757 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2758 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2759 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2760 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2761 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2762 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2763 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2764 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2765 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2766 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2767 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2768 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2769 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2770 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2771 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2772 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2773 * sysdeps/i386/fpu/e_log.S: Likewise.
2774 * sysdeps/i386/fpu/e_log10.S: Likewise.
2775 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2776 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2777 * sysdeps/i386/fpu/e_log2.S: Likewise.
2778 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2779 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2780 * sysdeps/i386/fpu/e_logf.S: Likewise.
2781 * sysdeps/i386/fpu/e_logl.S: Likewise.
2782 * sysdeps/i386/fpu/e_pow.S: Likewise.
2783 * sysdeps/i386/fpu/e_powf.S: Likewise.
2784 * sysdeps/i386/fpu/e_powl.S: Likewise.
2785 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2786 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2787 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2788 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2789 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2790 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2791 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2792 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2793 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2815 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2816 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2817 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2818 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2819 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2820 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2821 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2822 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2823 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2825 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2826 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2827 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2828 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2829 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2830 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2831 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2832 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2833 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2834 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2835 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2874 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2877 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2879 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2880 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2885 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2886 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2887 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2888 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2889 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2890 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2891 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2892 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2893 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2894 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2895 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2896 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2897 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2899 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2900 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2902 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2903 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2904 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2905 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2906 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2907 (__isnanf): Likewise.
2908 (__isinf_ns): Likewise.
2909 (__isinf_nsf): Likewise.
2910 (__finite): Likewise.
2911 (__finitef): Likewise.
2912 (__ieee754_sqrt): Define as macro.
2913 (__ieee754_sqrtf): Define as macro.
2914 (__ieee754_sqrtl): Define as macro.
2915 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2916 inlined copy.
2917 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2918 __FINITE_MATH_ONLY__ consistent.
2919 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2920
12cc2fcd
AS
29212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2922
a843a204
AS
2923 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2924 of rawmemchr.
2925
12cc2fcd
AS
2926 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2927
c853acd5
UD
29282011-10-09 Ulrich Drepper <drepper@gmail.com>
2929
2930 * po/ja.po: Update from translation team.
2931
c658d255
RM
29322011-10-08 Roland McGrath <roland@hack.frob.com>
2933
110946e4
RM
2934 * locale/programs/locarchive.c (prepare_address_space): New function.
2935 (create_archive, enlarge_archive, open_archive): Use it.
2936
50604220
RM
2937 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2938 inside [SHARED], where it is used.
2939
c658d255
RM
2940 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2941
2942 * nss/getent.c (netgroup_keys): Remove unused variable.
2943 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2944
6a621eb7
UD
29452011-10-08 Ulrich Drepper <drepper@gmail.com>
2946
7edb55ce
UD
2947 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2948 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2950 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2951 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2952 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2953 * math/Makefile (libm-calls): Add s_isinf_ns.
2954 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2955 * math/multc3.c: Likewise.
2956 * math/s_casin.c: Likewise.
2957 * math/s_casinf.c: Likewise.
2958 * math/s_casinl.c: Likewise.
2959 * math/s_ccos.c: Likewise.
2960 * math/s_ccosf.c: Likewise.
2961 * math/s_ccosl.c: Likewise.
2962 * math/s_ctan.c: Likewise.
2963 * math/s_ctanf.c: Likewise.
2964 * math/s_ctanh.c: Likewise.
2965 * math/s_ctanhf.c: Likewise.
2966 * math/s_ctanhl.c: Likewise.
2967 * math/s_ctanl.c: Likewise.
2968 * math/w_fmod.c: Likewise.
2969 * math/w_fmodf.c: Likewise.
2970 * math/w_fmodl.c: Likewise.
2971 * math/w_remainder.c: Likewise.
2972 * math/w_remainderf.c: Likewise.
2973 * math/w_remainderl.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2975 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2978 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2979 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2980 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2981 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2982
187da0ae
UD
2983 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2984 of the number.
2985 * stdio-common/printf_fphex.c: Likewise.
2986 * stdio-common/printf_size.c: Likewise.
2987
9277c064
UD
2988 * math/e_exp10.c: Include math_private.h using <...> not "...".
2989 * math/e_exp10f.c: Likewise.
2990 * math/e_exp10l.c: Likewise.
2991 * math/e_exp2l.c: Likewise.
2992 * math/e_j0l.c: Likewise.
2993 * math/e_j1l.c: Likewise.
2994 * math/e_jnl.c: Likewise.
2995 * math/e_lgammal_r.c: Likewise.
2996 * math/e_rem_pio2l.c: Likewise.
2997 * math/e_scalb.c: Likewise.
2998 * math/e_scalbf.c: Likewise.
2999 * math/e_scalbl.c: Likewise.
3000 * math/k_cosl.c: Likewise.
3001 * math/k_sinl.c: Likewise.
3002 * math/k_tanl.c: Likewise.
3003 * math/s_cacoshf.c: Likewise.
3004 * math/s_catan.c: Likewise.
3005 * math/s_catanf.c: Likewise.
3006 * math/s_catanh.c: Likewise.
3007 * math/s_catanhf.c: Likewise.
3008 * math/s_catanhl.c: Likewise.
3009 * math/s_catanl.c: Likewise.
3010 * math/s_ccosh.c: Likewise.
3011 * math/s_ccoshf.c: Likewise.
3012 * math/s_ccoshl.c: Likewise.
3013 * math/s_cexp.c: Likewise.
3014 * math/s_cexpf.c: Likewise.
3015 * math/s_cexpl.c: Likewise.
3016 * math/s_clog.c: Likewise.
3017 * math/s_clog10.c: Likewise.
3018 * math/s_clog10f.c: Likewise.
3019 * math/s_clog10l.c: Likewise.
3020 * math/s_clogf.c: Likewise.
3021 * math/s_clogl.c: Likewise.
3022 * math/s_csin.c: Likewise.
3023 * math/s_csinf.c: Likewise.
3024 * math/s_csinh.c: Likewise.
3025 * math/s_csinhf.c: Likewise.
3026 * math/s_csinhl.c: Likewise.
3027 * math/s_csinl.c: Likewise.
3028 * math/s_csqrt.c: Likewise.
3029 * math/s_csqrtf.c: Likewise.
3030 * math/s_csqrtl.c: Likewise.
3031 * math/s_ctan.c: Likewise.
3032 * math/s_ctanf.c: Likewise.
3033 * math/s_ctanh.c: Likewise.
3034 * math/s_ctanhf.c: Likewise.
3035 * math/s_ctanhl.c: Likewise.
3036 * math/s_ctanl.c: Likewise.
3037 * math/s_ldexp.c: Likewise.
3038 * math/s_ldexpf.c: Likewise.
3039 * math/s_ldexpl.c: Likewise.
3040 * math/s_significand.c: Likewise.
3041 * math/s_significandf.c: Likewise.
3042 * math/s_significandl.c: Likewise.
3043 * math/w_acos.c: Likewise.
3044 * math/w_acosf.c: Likewise.
3045 * math/w_acosh.c: Likewise.
3046 * math/w_acoshf.c: Likewise.
3047 * math/w_acoshl.c: Likewise.
3048 * math/w_acosl.c: Likewise.
3049 * math/w_asin.c: Likewise.
3050 * math/w_asinf.c: Likewise.
3051 * math/w_asinl.c: Likewise.
3052 * math/w_atan2.c: Likewise.
3053 * math/w_atan2f.c: Likewise.
3054 * math/w_atan2l.c: Likewise.
3055 * math/w_atanh.c: Likewise.
3056 * math/w_atanhf.c: Likewise.
3057 * math/w_atanhl.c: Likewise.
3058 * math/w_cosh.c: Likewise.
3059 * math/w_coshf.c: Likewise.
3060 * math/w_coshl.c: Likewise.
3061 * math/w_dremf.c: Likewise.
3062 * math/w_exp10.c: Likewise.
3063 * math/w_exp10f.c: Likewise.
3064 * math/w_exp10l.c: Likewise.
3065 * math/w_exp2.c: Likewise.
3066 * math/w_exp2f.c: Likewise.
3067 * math/w_fmod.c: Likewise.
3068 * math/w_fmodf.c: Likewise.
3069 * math/w_fmodl.c: Likewise.
3070 * math/w_hypot.c: Likewise.
3071 * math/w_hypotf.c: Likewise.
3072 * math/w_hypotl.c: Likewise.
3073 * math/w_j0.c: Likewise.
3074 * math/w_j0f.c: Likewise.
3075 * math/w_j0l.c: Likewise.
3076 * math/w_j1.c: Likewise.
3077 * math/w_j1f.c: Likewise.
3078 * math/w_j1l.c: Likewise.
3079 * math/w_jn.c: Likewise.
3080 * math/w_jnf.c: Likewise.
3081 * math/w_jnl.c: Likewise.
3082 * math/w_lgamma.c: Likewise.
3083 * math/w_lgamma_r.c: Likewise.
3084 * math/w_lgammaf.c: Likewise.
3085 * math/w_lgammaf_r.c: Likewise.
3086 * math/w_lgammal.c: Likewise.
3087 * math/w_lgammal_r.c: Likewise.
3088 * math/w_log.c: Likewise.
3089 * math/w_log10.c: Likewise.
3090 * math/w_log10f.c: Likewise.
3091 * math/w_log10l.c: Likewise.
3092 * math/w_log2.c: Likewise.
3093 * math/w_log2f.c: Likewise.
3094 * math/w_log2l.c: Likewise.
3095 * math/w_logf.c: Likewise.
3096 * math/w_logl.c: Likewise.
3097 * math/w_pow.c: Likewise.
3098 * math/w_powf.c: Likewise.
3099 * math/w_powl.c: Likewise.
3100 * math/w_remainder.c: Likewise.
3101 * math/w_remainderf.c: Likewise.
3102 * math/w_remainderl.c: Likewise.
3103 * math/w_scalb.c: Likewise.
3104 * math/w_scalbf.c: Likewise.
3105 * math/w_scalbl.c: Likewise.
3106 * math/w_sinh.c: Likewise.
3107 * math/w_sinhf.c: Likewise.
3108 * math/w_sinhl.c: Likewise.
3109 * math/w_sqrt.c: Likewise.
3110 * math/w_sqrtf.c: Likewise.
3111 * math/w_sqrtl.c: Likewise.
3112 * math/w_tgamma.c: Likewise.
3113 * math/w_tgammaf.c: Likewise.
3114 * math/w_tgammal.c: Likewise.
3115
6a621eb7
UD
3116 * po/ja.po: Update from translation team.
3117
bf582445
AJ
31182011-09-29 Andreas Jaeger <aj@suse.de>
3119
f9efbf3a
AJ
3120 [BZ #13179]
3121 * sunrpc/netname.c (netname2host): Fix logic.
3122
bf582445
AJ
3123 [BZ #6779]
3124 [BZ #6783]
3125 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
3126 correctly.
3127 * math/w_remainder.c (__remainder): Likewise.
3128 * math/w_remainderf.c (__remainderf): Likewise.
3129 * math/libm-test.inc (remainder_test): Add test cases.
3130
48693bea
AK
31312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3132
3133 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
3134 sdiv_qrnnd.
3135
42622229
LD
31362011-10-07 Ulrich Drepper <drepper@gmail.com>
3137
3138 * string/test-memcmp.c: Avoid unncessary #defines.
3139 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3140
093ecf92
LD
31412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3142
3143 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
3144 Use new sse2 version for core i3 - i7 as it's faster
3145 than sse42 version.
3146 (bit_Prefer_PMINUB_for_stringop): New.
3147 * sysdeps/x86_64/rawmemchr.S: Update.
3148 Replace with faster SSE2 version.
3149 * sysdeps/x86_64/memrchr.S: New file.
3150 * sysdeps/x86_64/memchr.S: Update.
3151 Replace with faster SSE2 version.
3152
fde56e5c
MP
31532011-09-12 Marek Polacek <mpolacek@redhat.com>
3154
3155 * elf/dl-load.c (lose): Add cast to avoid warning.
3156
21fd49a9
UD
31572011-10-07 Ulrich Drepper <drepper@gmail.com>
3158
5a06e643
UD
3159 * po/ca.po: Update from translation team.
3160
684ae515
UD
3161 * inet/getnetgrent_r.c: Hook up nscd.
3162 * nscd/Makefile (routines): Add nscd_netgroup.
3163 (nscd-modules): Add netgroupcache.
3164 (CFLAGS-netgroupcache.c): Define.
3165 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3166 (cache_search): Add const to second parameter.
3167 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3168 INNETGR.
3169 (dbs): Add netgrdb entry.
3170 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3171 (verify_persistent_db): Handle netgrdb.
3172 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3173 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
3174 GETFDNETGR.
3175 (netgroup_response_header): Define.
3176 (innetgroup_response_header): Define.
3177 (datahead): Add netgroup_response_header and innetgroup_response_header
3178 elements.
3179 * nscd/nscd.conf: Add entries for netgroup cache.
3180 * nscd/nscd.h (dbtype): Add netgrdb.
3181 (_PATH_NSCD_NETGROUP_DB): Define.
3182 (netgroup_iov_disabled): Declare.
3183 (xmalloc, xcalloc, xrealloc): Move declarations here.
3184 (cache_search): Adjust prototype.
3185 Add netgroup-related prototypes.
3186 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
3187 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
3188 (__nscd_innetgr): Declare.
3189 * nscd/selinux.c (perms): Use access_vector_t as element type and
3190 add netgroup-related initializers.
3191 * nscd/netgroupcache.c: New file.
3192 * nscd/nscd_netgroup.c: New file.
3193 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
3194 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
3195 For four parameters use innetgr.
3196 * nss/nss_files/files-init.c: Add definition and callback for netgr.
3197 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
3198 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
3199 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
3200
21fd49a9
UD
3201 * nscd/connections.c (register_traced_file): Don't register file
3202 for disabled databases.
3203
054c0457
UD
32042011-10-06 Ulrich Drepper <drepper@gmail.com>
3205
32b63198
UD
3206 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
3207
054c0457
UD
3208 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
3209 from tree and freeing node.
3210
64031225
JO
32112011-09-25 Jiri Olsa <jolsa@redhat.com>
3212
3213 * nss/nsswitch.c (__nss_database_lookup): Handle
3214 nss_parse_service_list out of memory case.
3215
0490345c
JO
32162011-09-15 Jiri Olsa <jolsa@redhat.com>
3217
3218 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
3219 out of memory case.
3220
3a62d00d
AS
32212011-10-04 Andreas Schwab <schwab@redhat.com>
3222
3223 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
3224 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
3225 pass it down.
3226 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
3227 elf_machine_rela, elf_machine_lazy_rel.
3228 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
3229 (ELF_DYNAMIC_DO_REL): Likewise.
3230 (ELF_DYNAMIC_DO_RELA): Likewise.
3231 (ELF_DYNAMIC_RELOCATE): Likewise.
3232 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
3233 to ELF_DYNAMIC_DO_REL.
3234 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
3235 (dl_main): In trace mode always set __RTLD_NOIFUNC.
3236 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
3237 elf_machine_rela.
3238 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
3239 skip_ifunc, don't call ifunc function if non-zero.
3240 (elf_machine_rela): Likewise.
3241 (elf_machine_lazy_rel): Likewise.
3242 (elf_machine_lazy_rela): Likewise.
3243 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3244 (elf_machine_lazy_rel): Likewise.
3245 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3246 Likewise.
3247 (elf_machine_lazy_rel): Likewise.
3248 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3249 Likewise.
3250 (elf_machine_lazy_rel): Likewise.
3251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
3252 (elf_machine_lazy_rel): Likewise.
3253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3254 (elf_machine_lazy_rel): Likewise.
3255 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3256 (elf_machine_lazy_rel): Likewise.
3257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3258 (elf_machine_lazy_rel): Likewise.
3259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3260 (elf_machine_lazy_rel): Likewise.
3261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3262 (elf_machine_lazy_rel): Likewise.
3263
68577918
UD
32642011-09-28 Ulrich Drepper <drepper@gmail.com>
3265
3266 * nss/nss_files/files-init.c (_nss_files_init): Use static
3267 initialization for all the *_traced_file variables.
3268
68822d74
AS
32692011-09-28 Andreas Schwab <schwab@redhat.com>
3270
3271 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3272
2056100b
RM
32732011-09-27 Roland McGrath <roland@hack.frob.com>
3274
3275 [BZ #13226]
3276 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
3277
32c76b63
AS
32782011-09-27 Andreas Schwab <schwab@redhat.com>
3279
3280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3281 Reread the line before reparsing it.
3282
bf972c9d
AS
32832011-09-26 Andreas Schwab <schwab@redhat.com>
3284
3285 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
3286
e057a1b5
JM
32872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
3288 Maxim Kuvyrkov <maxim@codesourcery.com>
3289 Joseph Myers <joseph@codesourcery.com>
3290
3291 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
3292 if needed for __stack_chk_guard.
3293
bc7e1c36
RM
32942011-09-19 Roland McGrath <roland@hack.frob.com>
3295
ecb1482f
RM
3296 * sysdeps/posix/spawni.c (script_execute): Always define it.
3297 It will be optimized away if unused.
3298 (maybe_script_execute): New function.
3299 (__spawni): Call it.
3300
bc7e1c36
RM
3301 * Makerules: Don't include tls.make.
3302 (config-tls): Always set to thread.
3303 * tls.make.c: File removed.
3304
1c3b002b
MF
33052011-09-19 Mike Frysinger <vapier@gentoo.org>
3306
3307 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
3308 * config.make.in (CPPFLAGS-config): New substituted variable.
3309
2840865d
UD
33102011-09-15 Ulrich Drepper <drepper@gmail.com>
3311
88738eb6
UD
3312 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
3313
cbf645a6 3314 [BZ #13192]
2840865d
UD
3315 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
3316 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
3317
b402e91a
RM
33182011-09-15 Roland McGrath <roland@hack.frob.com>
3319
3320 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
3321 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
3322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3323 (CALL_FAIL): Likewise.
3324 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
3325 (CALL_FAIL): Macro removed.
3326 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
3327
4c1a1f71
UD
33282011-09-15 Ulrich Drepper <drepper@gmail.com>
3329
3330 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
3331 for __FINITE_MATH_ONLY__ == 1.
3332
edc121be
AS
33332011-09-15 Andreas Schwab <schwab@redhat.com>
3334
3335 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
3336 __ieee754_sqrt instead of sqrt.
3337 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
3338 __ieee754_sqrtf instead of sqrtf.
3339 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3340 __floorf instead of floorf.
3341 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
3342 __floorf, __truncf instead of floorf, truncf.
3343
cd205654
UD
33442011-09-14 Ulrich Drepper <drepper@gmail.com>
3345
ee4d0315
UD
3346 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
3347
cd205654
UD
3348 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
3349 __extern_always_inline.
3350 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
3351 32-bit.
3352
48b67d71
AS
33532011-09-14 Andreas Schwab <schwab@redhat.com>
3354
3355 * elf/rtld.c (dl_main): Also relocate in dependency order when
3356 doing symbol dependency testing.
3357
1ae12c75
AS
33582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
3359
3360 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3361 Always define `refsym'.
3362
995a80df
AS
33632011-09-13 Andreas Schwab <schwab@redhat.com>
3364
e529793b
AS
3365 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
3366 (__FD_ELT): Renamed from __FDELT.
3367 * misc/bits/select2.h (__FD_ELT): Likewise.
3368 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
3369 __FD_MASK instead of __FDELT, __FDMASK.
3370 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3371 Likewise.
3372 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3373 Likewise.
3374
52d4fef8
AS
3375 * elf/Makefile (gen-ldd): Fix pattern.
3376
995a80df
AS
3377 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
3378 (init_tls): Likewise.
3379
8682f8b0
UD
33802011-09-12 Ulrich Drepper <drepper@gmail.com>
3381
3382 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
3383
de82006d
AS
33842011-09-12 Andreas Schwab <schwab@redhat.com>
3385
a7c8e6a1
AS
3386 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
3387 `struct cmsghdr *' instead of `void *'.
3388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
3389 Likewise.
3390
0f31fe77
AS
33912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3392
3393 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
3394 if non-absolute.
3395 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
3396 ldd_rewrite_script.
0f31fe77 3397
32b4c839
UD
33982011-09-11 Ulrich Drepper <drepper@gmail.com>
3399
83cd1420
UD
3400 * configure.in: Remove --with-tls option.
3401 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
3402 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
3403 out in case it is missing.
3404 * sysdeps/ia64/elf/configure.in: Likewise.
3405 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
3406 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
3407 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
3408 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
3409 * sysdeps/sh/elf/configure.in: Likewise.
3410 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
3411 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3412 * sysdeps/x86_64/elf/configure.in: Likewise.
3413 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
3414 * sysdeps/mach/hurd/tls.h: Likewise.
3415
633f745d
UD
3416 [BZ #13067]
3417 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
3418
f318beb8
UD
3419 [BZ #13090]
3420 * configure.in: Fix use of AC_INIT.
3421
32b4c839
UD
3422 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
3423
3ce1f295
UD
34242011-09-10 Ulrich Drepper <drepper@gmail.com>
3425
bb016596
UD
3426 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
3427 __set_errno.
8e58439c
UD
3428 * malloc/hooks.c: Likewise.
3429
aebae053 3430 [BZ #11929]
02d46fc4
UD
3431 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
3432 variables statically.
3433 (narenas): Initialize.
3434 (list_lock): Initialize.
bb016596
UD
3435 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
3436 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
3437 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
3438 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
3439 Add initializers to main_arena and mp_.
3440 (malloc_state): Remove pagesize member. Change all users to use
3441 GLRO(dl_pagesize).
3442
3443 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
3444 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
3445 is always initialized.
3446
22a89187
UD
3447 * malloc/malloc.c: Removed unused configurations and dead code.
3448 * malloc/arena.c: Likewise.
3449 * malloc/hooks.c: Likewise.
02d46fc4 3450 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 3451
d063d164
UD
3452 * include/tls.h: Removed. USE___THREAD must always be defined.
3453 * bits/libc-tsd.h: Don't handle !USE___THREAD.
3454 * elf/dl-libc.c: Likewise.
3455 * elf/dl-tsd.c: Likewise.
3456 * include/errno.h: Likewise.
3457 * include/netdb.h: Likewise.
3458 * include/resolv.h: Likewise.
3459 * inet/herrno-loc.c: Likewise.
3460 * inet/herrno.c: Likewise.
3461 * malloc/arena.c: Likewise.
3462 * malloc/hooks.c: Likewise.
3463 * malloc/malloc.c: Likewise.
3464 * resolv/res-state.c: Likewise.
3465 * resolv/res_libc.c: Likewise.
3466 * sysdeps/i386/dl-machine.h: Likewise.
3467 * sysdeps/ia64/dl-machine.h: Likewise.
3468 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3469 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3470 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3471 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3472 * sysdeps/sh/dl-machine.h: Likewise.
3473 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3474 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3475 * sysdeps/unix/i386/sysdep.S: Likewise.
3476 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3477 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3482 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3486 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3487 * sysdeps/x86_64/dl-machine.h: Likewise.
3488 * tls.make.c: Likewise.
3489
3ce1f295
UD
3490 * configure.in: Remove --with-__thread option. Make tests for
3491 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
3492 tls_model attribute fail if no support is available. Remove
3493 USE_IN_LIBIO.
3494 * Makeconfig: Adjust for dropped configure option. All features are
3495 now mandatory.
3496 * Makerules: Likewise.
3497 * Versions.def: Likewise.
3498 * argp/argp-fmtstream.c: Likewise.
3499 * argp/argp-fmtstream.h: Likewise.
3500 * argp/argp-help.c: Likewise.
3501 * assert/assert.c: Likewise.
3502 * config.h.in: Likewise.
3503 * config.make.in: Likewise.
3504 * configure: Likewise.
3505 * configure.in: Likewise.
3506 * csu/Versions: Likewise.
3507 * csu/init.c: Likewise.
3508 * elf/tst-audit2.c: Likewise.
3509 * elf/tst-tls10.c: Likewise.
3510 * elf/tst-tls10.h: Likewise.
3511 * elf/tst-tls11.c: Likewise.
3512 * elf/tst-tls12.c: Likewise.
3513 * elf/tst-tls14.c: Likewise.
3514 * elf/tst-tlsmod11.c: Likewise.
3515 * elf/tst-tlsmod12.c: Likewise.
3516 * elf/tst-tlsmod13.c: Likewise.
3517 * elf/tst-tlsmod13a.c: Likewise.
3518 * elf/tst-tlsmod14a.c: Likewise.
3519 * elf/tst-tlsmod15b.c: Likewise.
3520 * elf/tst-tlsmod16a.c: Likewise.
3521 * elf/tst-tlsmod16b.c: Likewise.
3522 * elf/tst-tlsmod7.c: Likewise.
3523 * elf/tst-tlsmod8.c: Likewise.
3524 * elf/tst-tlsmod9.c: Likewise.
3525 * gmon/gmon.c: Likewise.
3526 * grp/fgetgrent_r.c: Likewise.
3527 * grp/putgrent.c: Likewise.
3528 * hurd/fopenport.c: Likewise.
3529 * include/libc-symbols.h: Likewise.
3530 * include/tls.h: Likewise.
3531 * intl/gettextP.h: Likewise.
3532 * intl/loadinfo.h: Likewise.
3533 * locale/global-locale.c: Likewise.
3534 * locale/localeinfo.h: Likewise.
3535 * mach/devstream.c: Likewise.
3536 * malloc/arena.c: Likewise.
3537 * malloc/set-freeres.c: Likewise.
3538 * misc/err.c: Likewise.
3539 * misc/getttyent.c: Likewise.
3540 * misc/mntent_r.c: Likewise.
3541 * posix/getopt.c: Likewise.
3542 * posix/wordexp.c: Likewise.
3543 * pwd/fgetpwent_r.c: Likewise.
3544 * resolv/Versions: Likewise.
3545 * resolv/res_hconf.c: Likewise.
3546 * shadow/fgetspent_r.c: Likewise.
3547 * shadow/putspent.c: Likewise.
3548 * stdio-common/printf_fphex.c: Likewise.
3549 * stdio-common/tmpfile.c: Likewise.
3550 * stdlib/abort.c: Likewise.
3551 * stdlib/fmtmsg.c: Likewise.
3552 * sunrpc/auth_unix.c: Likewise.
3553 * sunrpc/clnt_perr.c: Likewise.
3554 * sunrpc/clnt_tcp.c: Likewise.
3555 * sunrpc/clnt_udp.c: Likewise.
3556 * sunrpc/clnt_unix.c: Likewise.
3557 * sunrpc/openchild.c: Likewise.
3558 * sunrpc/svc_simple.c: Likewise.
3559 * sunrpc/svc_tcp.c: Likewise.
3560 * sunrpc/svc_udp.c: Likewise.
3561 * sunrpc/svc_unix.c: Likewise.
3562 * sunrpc/xdr.c: Likewise.
3563 * sunrpc/xdr_array.c: Likewise.
3564 * sunrpc/xdr_rec.c: Likewise.
3565 * sunrpc/xdr_ref.c: Likewise.
3566 * sunrpc/xdr_stdio.c: Likewise.
3567
1248c1c4
PB
35682011-09-09 Ulrich Drepper <drepper@gmail.com>
3569
3570 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3571
35722011-07-03 Andreas Jaeger <aj@suse.de>
3573
3574 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3575 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3576 regenerate with gen-libm-tests.pl.
3577
35782010-05-12 Petr Baudis <pasky@suse.cz>
3579
3580 [BZ #11589]
3581 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3582 around j0() zero points by switching to j1().
3583 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3587
f22e1074
UD
35882011-09-09 Ulrich Drepper <drepper@gmail.com>
3589
f19009c1
UD
3590 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3591 instead of 0.
3592 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3593 instead of 0. .
3594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3595 Patch in part by Pavel Roskin <proski@gnu.org>.
3596
3f8cc204
UD
3597 [BZ #13138]
3598 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3599 realloc.
3600 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
3601 Free memory block if necessary.
3602
f22e1074
UD
3603 [BZ #12847]
3604 * libio/genops.c (INTDEF): For string streams the _lock pointer can
3605 be NULL. Don't lock in this case.
3606
0a2349f9
RM
36072011-09-09 Roland McGrath <roland@hack.frob.com>
3608
3609 * elf/elf.h (ELFOSABI_GNU): New macro.
3610 (ELFOSABI_LINUX): Define to that.
3611
f3cdd467
DZ
36122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3613
3614 * string/strncat.c (strncat): Undef the symbol in case it has been
3615 defined in bits/string.h.
3616
74718d13
UD
36172011-09-09 Ulrich Drepper <drepper@gmail.com>
3618
633e9e0f
UD
3619 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3620
0a2349f9 3621 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
3622 link map.
3623
f9924780
AJ
36242011-08-17 Andreas Jaeger <aj@suse.de>
3625
3626 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3627
7f5517aa
PP
36282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3629 Ian Lance Taylor <iant@google.com>
3630
3631 * math/libm-test.inc (lround_test): New testcase.
3632 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3633
762011fe
UD
36342011-09-08 Ulrich Drepper <drepper@gmail.com>
3635
92963737
UD
3636 * Makefile: Remove support for automatic cvs check-ins.
3637 * Makerules: Likewise.
3638 * config.make.in: Likewise.
3639 * configure.in: Likewise.
3640 * intl/Makefile: Likewise.
3641 * locale/Makefile: Likewise.
3642 * po/Makefile: Likewise.
3643 * posix/Makefile: Likewise.
3644 * sysdeps/gnu/Makefile: Likewise.
3645 * sysdeps/mach/hurd/Makefile: Likewise.
3646 * sysdeps/sparc/sparc32/Makefile: Likewise.
3647
b0727fd8
JS
3648 [BZ #13118]
3649 * posix/Makefile (bug-regex32-ENV): Define.
3650 Patch by John Stanley <jpsinthemix@verizon.net>.
3651
a0f33f99
UD
3652 * misc/Makefile (headers): Add bits/select2.h.
3653 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
3654 * misc/bits/select2.h: New file.
3655 * include/bits/select2.h: New file.
3656 * debug/Makefile (routines): Add fdelt_chk.
3657 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
3658 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
3659 FD_ISSET.
3660 * debug/fdelt_chk.c: New file.
3661
762011fe
UD
3662 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
3663 * wcsmbs/test-wmemcmp.c: Likewise.
3664 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 3665 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
3666
36672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3668
3669 * string/Makefile (strop-tests): Add memcmp.
3670 * string/test-wmemcmp.c: New file.
3671 * string/test-memcmp.c: Add wmemcmp support.
3672
7f513ec8
RM
36732011-09-08 Roland McGrath <roland@hack.frob.com>
3674
0442afb4
RM
3675 [BZ #13153]
3676 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
3677 2011-07-19 change.
3678
7f513ec8
RM
3679 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
3680 garbage value in a __mach_port_mod_refs call in the cases of the
3681 task-self and thread-self ports.
3682
a12b2239
ST
36832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3684
3685 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
3686
610f9ab4
AS
36872011-09-08 Andreas Schwab <schwab@redhat.com>
3688
7f513ec8 3689 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 3690
48882a1a
LD
36912011-09-07 Ulrich Drepper <drepper@gmail.com>
3692
b49865be
UD
3693 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3694
fdc86bc9
UD
3695 * elf/dl-libc.c (dlerror_run): Pass back error code from
3696 dl_catch_error.
3697
c966526a
UD
3698 [BZ #13123]
3699 * elf/dl-load.c (lose): Free l_origin if it is valid.
3700
48882a1a
LD
3701 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3702 names.
3703 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3706 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3707 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3708 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3709
77a2a8b4
AZ
37102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3711
3712 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3713 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3714 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3715 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3716 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3717 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3718 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3719 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3720 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3721 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3722
24f579d8
AM
37232011-08-15 Alan Modra <amodra@gmail.com>
3724
3725 [BZ #13092]
3726 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3727 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3728 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3729 ppc_mcount to static-only-routines.
3730 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3731 __mcount_internal.
3732 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3733 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3734
3d4837df
UD
37352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3736
3737 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3738 for finite and infinity parameters.
3739
22700377
WS
37402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3741
3742 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3743 and add nop instructions for throughput optimization.
3744 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3745
5025581e
WS
37462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3747
3748 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3749 aligned copy for power7 with vector-scalar instructions.
3750 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3751
08a300c9
L
37522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3753
3754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3755 AVX check.
3756
59178ef9
AS
37572011-09-07 Andreas Schwab <schwab@redhat.com>
3758
3759 [BZ #13144]
3760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3761 last change.
3762
e38ba7ab
UD
37632011-09-07 Ulrich Drepper <drepper@gmail.com>
3764
3765 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3766 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3767 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3768 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3769 clock_gettime.
3770
d53a73ac
UD
37712011-09-06 Ulrich Drepper <drepper@gmail.com>
3772
fc8bffcc
UD
3773 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3774 Forgot to demangle the pointer.
3775
ceaa0c5d
UD
3776 * sysdeps/i386/sysdep.h: Define atom_text_section.
3777 * sysdeps/x86_64/sysdep.h: Likewise.
3778 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3779 section with atom_text_section.
3780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3781 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3782 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3784 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3785
a77d3c17
UD
3786 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3787 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3788 already be defined. Change to take two parameters and don't assign
3789 result to variable. Adjust all users.
3790 Define INTERNAL_GETTIME if not already defined.
3791 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3792 call.
3793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3794 HAVE_CLOCK_GETTIME_VSYSCALL.
3795 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3796
d53a73ac
UD
3797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3798 gettimeofday vsyscall, just use time.
3799
a8f84144
AS
38002011-09-06 Andreas Schwab <schwab@redhat.com>
3801
3802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3803 <errno.h>.
3804
ef606249
UD
38052011-09-06 Ulrich Drepper <drepper@gmail.com>
3806
3807 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3808 syscall on x86-64.
3809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3810 syscall.
3811 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3813 syscall if possible.
3814
6585cb60
UD
38152011-09-05 Ulrich Drepper <drepper@gmail.com>
3816
3817 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3818 e_ident. Don't pass to find_mapsXX.
3819 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3820
a5f524e4
LD
38212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3822
3823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3824 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3825 * sysdeps/x86_64/multiarch/strchr.S: Update.
3826 Check bit_slow_BSF bit.
3827 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3828 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3829 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3830
554881ef
UD
38312011-09-05 Ulrich Drepper <drepper@gmail.com>
3832
d96de963
UD
3833 [BZ #13134]
3834 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3835 before glibc 2.15.
3836 (tryshell): Define.
3837 (__spawni): Change last parameter to be flag. Test
3838 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3839 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3840 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3841 * posix/spawni.c: Likewise.
3842 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3843 * posix/spawnp.c: Likewise. Change normal version to use
3844 SPAWN_XFLAGS_USE_PATH.
3845 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3846 SPAWN_XFLAGS_TRY_SHELL.
3847
d48e5868
UD
3848 [BZ #13150]
3849 * posix/glob.h: Remove gcc 1.x support.
3850
554881ef
UD
3851 [BZ #13068]
3852 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3853
693fb948
LD
38542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3855
3856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3857 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3858 strrchr-sse2-bsf
3859 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3860 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3861 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3862 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3863 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3864 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3865
1b48c537
UD
38662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3867
49d42c37
UD
3868 * sysdeps/x86_64/wcscmp.S: New file.
3869
1b48c537
UD
3870 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3871 wcscmp-c wcscmp-sse2
3872 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3873 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3874 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3875 * wcsmbs/wcscmp.c: Allow renaming.
3876
15c95c5d
DM
38772011-09-05 David S. Miller <davem@davemloft.net>
3878
3879 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3880 stack slot, rather than the struct return pointer slot.
3881 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3882 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3885
2f0ad8f3
UD
38862011-09-05 Ulrich Drepper <drepper@gmail.com>
3887
d88ae418
UD
3888 * po/ja.po: Update from translation team.
3889
2f0ad8f3
UD
3890 [BZ #13144]
3891 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3892 kernel in 64-bit binaries.
3893
5f4318d1
DM
38942011-09-01 David S. Miller <davem@davemloft.net>
3895
3896 * elf/elf.h (HWCAP_SPARC_*): Move to..
3897 * sysdeps/sparc/sysdep.h: this new file and add new values.
3898 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3899 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3900 _DL_HWCAP_COUNT to 24.
3901 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3902 entries.
3903 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3904 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3905 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3907 instead of magic constants.
3908 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3909
3ba57516
DM
39102011-08-31 David S. Miller <davem@davemloft.net>
3911
3912 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3914 Reimplement to do errno handling inline.
3915 (SYSCALL_ERROR_HANDLER): New macro.
3916 (__SYSCALL_STRING): Do not do errno handling in asm.
3917 (__CLONE_SYSCALL_STRING): Delete.
3918 (__INTERNAL_SYSCALL_STRING): Delete.
3919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3920 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3921 (PSEUDO): Reimplement to do errno handling inline.
3922 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3923 (SYSCALL_ERROR_HANDLER): New macro.
3924 (__SYSCALL_STRING): Do not do errno handling in asm.
3925 (__CLONE_SYSCALL_STRING): Delete.
3926 (__INTERNAL_SYSCALL_STRING): Delete.
3927 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3928 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3929 i386.
3930 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3931 (inline_syscall*): Add 'err' argument.
3932 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3933 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3934 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3935 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3936
3937 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3938 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3939
2bc17433
AS
39402011-08-30 Andreas Schwab <schwab@redhat.com>
3941
3942 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3943
fbeb5f4d
JO
39442011-08-29 Jiri Olsa <jolsa@redhat.com>
3945
3946 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3947 directive.
3948
ad69cc26
DM
39492011-08-24 David S. Miller <davem@davemloft.net>
3950
3951 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3952
39dd69df
AS
39532011-08-24 Andreas Schwab <schwab@redhat.com>
3954
3955 * elf/Makefile: Add rules to build and run unload8 test.
3956 * elf/unload8.c: New file.
3957 * elf/unload8mod1.c: New file.
3958 * elf/unload8mod1x.c: New file.
3959 * elf/unload8mod2.c: New file.
3960 * elf/unload8mod3.c: New file.
3961
3962 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3963 it wasn't used.
3964
2c0b250a
DM
39652011-08-23 David S. Miller <davem@davemloft.net>
3966
3967 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3968 subtract stack bias.
3969 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3970 %sp not %fp in calculations.
3971 (_JMPBUF_UNWINDS_ADJ): Likewise.
3972
22044b48
DM
3973 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3974 (aio_suspend): Call it to force an exception region around the
3975 AIO_MISC_WAIT() invocation.
3976
2cae4995
AS
39772011-08-23 Andreas Schwab <schwab@redhat.com>
3978
3979 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3980 backslash.
3981
873a772e
AJ
39822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3983
3984 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3985 protection macro.
3986 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3987 and <dl-machine.h>.
3988 (Elf64_FuncDesc): Remove.
3989
25ad0df1
DM
39902011-08-22 David S. Miller <davem@davemloft.net>
3991
3992 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3993 sigaltstack check, add missing cfi directives.
3994 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3995 missing cfi directives, and sigaltstack handling.
3996
e888bcbe
AS
39972011-08-16 Andreas Schwab <schwab@redhat.com>
3998
3999 [BZ #11724]
4000 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4001 object is seen twice.
4002 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4003
4004 * elf/Makefile (distribute): Add tst-initorder2.c.
4005 (tests): Add tst-initorder2.
4006 (modules-names): Add tst-initorder2a tst-initorder2b
4007 tst-initorder2c tst-initorder2d. Add rules to build them.
4008 ($(objpfx)tst-initorder2.out): New rule.
4009 * elf/tst-initorder2.c: New file.
4010 * elf/tst-initorder2.exp: New file.
4011
87162f46
AS
40122011-08-22 Andreas Schwab <schwab@redhat.com>
4013
70538b7f
AS
4014 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4015
f55ffe58
AS
4016 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4017 dependencies back to end of function.
4018
87162f46
AS
4019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4020 $(elfobjdir)/ld.so.
4021
91b392a4
UD
40222011-08-21 Ulrich Drepper <drepper@gmail.com>
4023
4024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4025 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4027 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4028 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4029 of __vdso_gettimeofday.
4030 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4031 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4032 attribute_hidden.
4033 (_libc_vdso_platform_setup): Remove initialization of
4034 __vdso_gettimeofday and __vdso_time.
4035
5c43483f
UD
40362011-08-20 Ulrich Drepper <drepper@gmail.com>
4037
775a77e7
UD
4038 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4039 and fgetc_unlocked.
4040 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4041 getc_unlocked.
89f447ed 4042
49c74ba9
UD
4043 * elf/dl-open.c (add_to_global): Report additions to the global scope
4044 for LD_DEBUG=scopes.
4045 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 4046 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 4047
5c43483f
UD
4048 [BZ #13114]
4049 * stdio-common/Makefile (tests): Add bug24.
4050 * stdio-common/bug24.c: New file.
4051
a101b025
AJ
40522011-08-19 Andreas Jaeger <aj@suse.de>
4053
4054 [BZ #13114]
4055 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4056 non-existant file when using close-on-exec mode.
4057
c88f1766
UD
40582011-08-20 Ulrich Drepper <drepper@gmail.com>
4059
0276a718
UD
4060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4061 the very first instruction.
4062
c88f1766
UD
4063 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4064 the CFI state in the end.
4065 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4066 inclusion of dl-trampoline.h.
4067 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4068
51ccffa0
AS
40692011-08-19 Andreas Schwab <schwab@redhat.com>
4070
94d7165f
AS
4071 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4072 expectations for long double.
4073
51ccffa0
AS
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4075 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4076
fd708658 40772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
4078
4079 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4080 artificual limit depends upon the system page size.
4081
44f0a71e
UD
40822011-08-17 Ulrich Drepper <drepper@gmail.com>
4083
4084 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4085 * resolv/Makefile: Define CFLAGS-libresolv.
4086
8de79a24
AS
40872011-08-17 Andreas Schwab <schwab@redhat.com>
4088
4089 * nss/makedb.c (compute_tables): Make variables used in nested
4090 function static.
4091
27724598
UD
40922011-08-17 Ulrich Drepper <drepper@gmail.com>
4093
c5305d88
UD
4094 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4095 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4096 if buffer was too small.
4097
27724598
UD
4098 * elf/pldd.c (main): Attach to all threads in the process.
4099 Rewrite /proc handling to use *at functions.
4100
076fe015
UD
41012011-08-16 Ulrich Drepper <drepper@gmail.com>
4102
174baab3
UD
4103 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4104 specifies first scope to show.
4105 (dl_open_worker): Update callers. Move printing scope of new
4106 object to before the relocation.
44f0a71e 4107 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
4108 * sysdeps/generic/ldsodefs.h: Update declaration.
4109
076fe015
UD
4110 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4111 string for the scope number.
4112
a60df2c3
UD
41132011-08-14 Ulrich Drepper <drepper@gmail.com>
4114
4115 * nscd/servicescache.c (cache_addserv): Make sure written is always
4116 initialized.
4117
5e4287d1
RM
41182011-08-14 Roland McGrath <roland@hack.frob.com>
4119
85ae0589
RM
4120 * sysdeps/i386/i486/bits/atomic.h
4121 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
4122 statement expression, so as to suppress "set but not used" warning.
4123 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
4124
69f63097
RM
4125 * string/strncat.c (STRNCAT): Use prototype definition.
4126
675456ef
RM
4127 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
4128 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
4129 -Iprograms here.
4130 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
4131 (localedef-modules): Add localedef.
4132 (locale-modules): Add locale.
4133
5e4287d1
RM
4134 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
4135 * elf/rtld.c (dl_main): Invert order of assignment in last change,
4136 to avoid a warning.
4137
9c96ff23
DM
41382011-08-14 David S. Miller <davem@davemloft.net>
4139
4140 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
4141 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
4142
f9ddf089
UD
41432011-08-13 Ulrich Drepper <drepper@gmail.com>
4144
44f0a71e 4145 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
4146 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
4147 * elf/rtld.c (dl_main): Set l_name of vDSO.
4148 Call _dl_show_scope when DL_DEBUG_SCOPES.
4149 (process_dl_debug): Recognize scopes flag and also set it for all.
4150 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
4151 Declare _dl_show_scope.
4152
1dc27704
UD
4153 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4154 (do_dlopen): Pass caller_dlopen to dl_open.
4155 (__libc_dlopen_mode): Initialize caller_dlopen.
4156
f9ddf089
UD
4157 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4158 of libc. Make tolower call locale-independent. Optimize a bit by
4159 using isdigit instead of isalnum.
4160 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4161
9ac533d3
UD
41622011-08-12 Ulrich Drepper <drepper@gmail.com>
4163
4164 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4165 was a dependency or dynamically loaded.
4166
89edf2e9
UD
41672011-08-11 Ulrich Drepper <drepper@gmail.com>
4168
8e999d29
UD
4169 * intl/l10nflist.c: Allow architecture-specific pop function.
4170 * sysdeps/x86_64/l10nflist.c: New file.
4171
89edf2e9
UD
4172 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4173 classification.
4174
14d96785
AS
41752011-08-10 Andreas Schwab <schwab@redhat.com>
4176
4177 * include/dirent.h: Add libc_hidden_proto for scandirat and
4178 scandirat64. Don't declare __scandirat64.
4179 * dirent/scandirat.c: Add libc_hidden_def.
4180 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
4181 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
4182
6761ac04
DM
41832011-08-10 David S. Miller <davem@davemloft.net>
4184
4185 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
4186 enum.
4187 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4188 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4190
c55fbd1e
UD
41912011-08-09 Ulrich Drepper <drepper@gmail.com>
4192
4193 * Versions.def [libc]: Add GLIBC_2.15.
4194 * dirent/Makefile (routines): Add scandirat and scandirat64.
4195 * dirent/Versions [libc]: Export scandirat and scandirat64 for
4196 GLIBC_2.15.
4197 * dirent/dirent.h: Declare scandirat and scandirat64.
4198 * dirent/scandirat.c: New file.
4199 * dirent/scandirat64.c: New file.
4200 * sysdeps/wordsize-64/scandirat.c: New file.
4201 * sysdeps/wordsize-64/scandirat64.c: New file.
4202 * dirent/opendir.c: Define opendirat.
4203 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
4204 using scandirat.
4205 * dirent/scandir64.c: Adjust for scandir.c change.
4206 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
4207 __scandirat64, and __scandir_cancel_handler.
4208 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
4209 additional parameter and use openat instead of open (outside of ld.so).
4210 Add new __opendir as wrapper around __opendirat.
4211 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
4212 here without requiring old scandirat implementation.
4213
879165f2
UD
42142011-08-08 Ulrich Drepper <drepper@gmail.com>
4215
4216 * dirent/scandir.c (cancel_handler): Renamed to
4217 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
4218 defined. Adjust users.
4219 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
4220 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
4221
cb7e923b
UD
42222011-08-04 Ulrich Drepper <drepper@gmail.com>
4223
16292edd
UD
4224 * string/test-string.h (IMPL): Use __STRING to expand name and then
4225 stringify it.
4226
cb7e923b
UD
4227 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
4228 of cleanups.
4229
cff82933
LD
42302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4231
4232 * string/Makefile: Update.
4233 (strop-tests): Append strncat.
4234 * string/test-wcscmp.c: New file.
4235 New comprehensive test for wcscmp.
4236 * string/test-strcmp.c: Update.
4237 (WIDE): New define.
4238
9be9bfcc
AS
42392011-07-22 Andreas Schwab <schwab@redhat.com>
4240
4241 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
4242 line.
4243
2e96f1c7
AS
42442011-07-26 Andreas Schwab <schwab@redhat.com>
4245
4246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4247 encoding to ACE if AI_IDN.
4248
85188888
JJ
42492011-08-01 Jakub Jelinek <jakub@redhat.com>
4250
4251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
4252 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
4253
5fa16e9b
LD
42542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4255
4256 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
4257 Fix overflow bug in strncat.
4258 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4259
4260 * string/test-strncat.c: Update.
4261 Add new tests for checking overflow bugs.
4262
42632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4264
4265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4266 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
4267 * sysdeps/i386/i686/multiarch/strcat.S: New file.
4268 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
4269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
4270 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
4271 * sysdeps/i386/i686/multiarch/strncat.S: New file.
4272 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
4273 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
4274
4275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
4276 (USE_AS_STRCAT): Define.
4277 Add strcat and strncat support.
4278 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4279
8c1a459f
AS
42802011-07-25 Andreas Schwab <schwab@redhat.com>
4281
4282 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
4283 __n bigger than INT_MAX+1.
4284 (__strncmp_g): Likewise.
4285
bba33c28
UD
42862011-07-23 Ulrich Drepper <drepper@gmail.com>
4287
798be72d
UD
4288 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
4289 * libio/stido.h: Likewise.
4290
8accd4dc
UD
4291 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
4292 (AF_NFC): Define.
4293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
4294 (AF_NFC): Define.
4295
cbff0d96
UD
4296 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
4297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4299 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4300 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4301
9191c04a
UD
4302 [BZ #13021]
4303 * scripts/test-installation.pl: Don't expect libnss_test1 to be
4304 installed.
4305
bba33c28
UD
4306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
4307 typo.
4308 (_dl_x86_64_save_sse): Likewise.
4309
90f139dd
UD
43102011-07-22 Ulrich Drepper <drepper@gmail.com>
4311
1aae088a
UD
4312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
4313 OSXSAVE.
4314 (_dl_x86_64_save_sse): Likewise.
4315
8e2045f5
UD
4316 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
4317
90f139dd
UD
4318 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
4319
1d002f25
AS
43202011-07-21 Andreas Schwab <schwab@redhat.com>
4321
4322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
4323 change.
4324 (_dl_x86_64_save_sse): Use correct AVX check.
4325
21137f89
UD
43262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4327
4328 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
4329 bug in strncpy/strncat.
4330 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4331
a65c0b7a
UD
43322011-07-21 Ulrich Drepper <drepper@gmail.com>
4333
4334 * string/tester.c (test_strcat): Add tests for different alignments
4335 of source and destination.
4336 (test_strncat): Likewise.
4337
6986b98a
UD
43382011-07-20 Ulrich Drepper <drepper@gmail.com>
4339
90bb2039
UD
4340 [BZ #12852]
4341 * posix/glob.c (glob): Check passed in values before using them in
4342 expressions to avoid some overflows.
4343 (glob_in_dir): Likewise.
4344
5644ef54
UD
4345 [BZ #13007]
4346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
4347 check for AVX enablement so that we don't crash with old kernels and
4348 new hardware.
4349 * elf/tst-audit4.c: Add same checks here.
4350 * elf/tst-audit6.c: Likewise.
4351
4352 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 4353
bfc9dc9b
AS
43542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
4355
4356 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
4357
702e64bb
UD
43582011-07-20 Ulrich Drepper <drepper@gmail.com>
4359
4360 * po/cs.po: Update from translation team.
4361 * po/bg.po: Likewise.
4362
295e904f
MP
43632011-07-12 Marek Polacek <mpolacek@redhat.com>
4364
4365 * misc/sys/cdefs.h: Add support for const attribute.
4366 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
4367 to gnu_dev_{major,minor,makedev} functions.
4368
3ff94596
MP
43692011-07-20 Marek Polacek <mpolacek@redhat.com>
4370
4371 * intl/dcigettext.c (get_output_charset): Add missing bracket.
4372
28b59fca
AS
43732011-07-20 Andreas Schwab <schwab@redhat.com>
4374
4375 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
4376 strlen results.
4377
19df733e
AK
43782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4379
4380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4381 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
4382 register in order to avoid conflicts with the soft frame pointer
4383 being held in r11 when necessary.
4384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4385 (INTERNAL_VSYSCALL_NCS): Likewise.
4386
c8835729
MP
43872011-07-14 Marek Polacek <mpolacek@redhat.com>
4388
4389 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
4390 * elf/dl-fini.c (_dl_fini): Adjust caller.
4391 * elf/dl-close.c (_dl_close_worker): Likewise.
4392 * sysdeps/generic/ldsodefs.h: Adjust declaration.
4393
b902330c
MP
43942011-07-15 Marek Polacek <mpolacek@redhat.com>
4395
8991e135
MP
4396 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
4397 "aux_cache->nlibs < 0".
4398
b902330c
MP
4399 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
4400 in the reload-count case.
4401
99710781
LD
44022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4403
4404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4405 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
4406 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
4407 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
4408 * sysdeps/x86_64/multiarch/strcat.S: New file.
4409 * sysdeps/x86_64/multiarch/strncat.S: New file.
4410 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
4411 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
4412 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
4413 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
4414 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
4415 (USE_AS_STRCAT): Define.
4416 Add strcat and strncat support.
4417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4418 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4419 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
4420 * string/strncat.c: Update.
4421 (USE_AS_STRNCAT): Define.
4422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4423 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
4424 and i7.
4425 * sysdeps/x86_64/multiarch/init-arch.h
4426 (bit_Prefer_PMINUB_for_stringop): New.
4427 (index_Prefer_PMINUB_for_stringop): Likewise.
4428 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
4429 bit_Prefer_PMINUB_for_stringop.
4430
7dc6bd90
UD
44312011-07-19 Ulrich Drepper <drepper@gmail.com>
4432
4433 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
4434 buffer64.
4435 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
4436 of casting of buffer.
4437 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
4438 buffer32 and buffer64.
4439 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
4440 writes instead of casting of buffer.
4441 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
4442 buffer32.
4443 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
4444 casting of buffer.
4445
e0e72284
AS
44462011-07-19 Andreas Schwab <schwab@redhat.com>
4447
4448 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
4449
feb1eb0b
UD
44502011-07-19 Ulrich Drepper <drepper@gmail.com>
4451
4452 * nscd/nscd.c (termination_handler): Don't do anything for a database
4453 if it has not yet been initialized.
4454
298711ff
UD
44552011-07-18 Ulrich Drepper <drepper@gmail.com>
4456
4457 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4458
44592011-07-15 Marek Polacek <mpolacek@redhat.com>
4460
4461 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4462
f9d68389
UD
44632011-07-18 Ulrich Drepper <drepper@gmail.com>
4464
4465 * po/nl.po: Update from translation team.
4466 * po/sv.po: Likewise.
4467
db290cf5
RM
44682011-07-16 Roland McGrath <roland@hack.frob.com>
4469
4470 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
4471 now disallowed by GCC.
5c550700 4472
fd5e21c7
RM
4473 * configure.in (use-default-link): Default to yes if a test -shared
4474 link meets our qualifications.
4475 * configure: Regenerated.
4476
5c550700
RM
4477 * config.make.in (output-format): New variable.
4478 * configure.in: Check for ld --print-output-format support.
4479 * configure: Regenerated.
4480 * Makerules ($(common-objpfx)format.lds)
4481 [$(output-format) != unknown]: Just use $(output-format),
4482 instead of the linker-script munging.
4483
9fa2c032
RM
44842011-07-14 Roland McGrath <roland@hack.frob.com>
4485
a6928d51
RM
4486 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
4487 of $(common-objpfx)shlib.lds.
4488 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
4489
661607b3
RM
4490 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
4491 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
4492
9fa2c032
RM
4493 * configure.in (-z relro check): Adjust test code to add a large
4494 writable data section after it.
4495 * configure: Regenerated.
4496
defe9061
RM
44972011-07-11 Roland McGrath <roland@hack.frob.com>
4498
4499 * configure.in (-z relro check): Fix test code to make the variable
4500 truly const.
4501 * configure: Regenerated.
4502
319b9ad4
UD
45032011-07-11 Ulrich Drepper <drepper@gmail.com>
4504
4505 * nscd/nscd.h (struct traced_file): Define.
4506 (struct database_dyn): Remove inotify_descr, reset_res, and filename
4507 elements. Add traced_files.
4508 (inotify_fd): Declare.
4509 (register_traced_file): Declare.
4510 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
4511 (inotify_fd): Export.
4512 (resolv_conf_descr): Remove.
4513 (nscd_init): Move inotify descriptor creation to main.
4514 Don't register files for notification here.
4515 (register_traced_file): New function.
4516 (invalidate_cache): Don't use reset_res to determine whether to call
4517 res_init, go through the list of registered files.
4518 (main_loop_poll): The inotify descriptors are now stored in the
4519 structures for the traced files.
4520 (main_loop_epoll): Likewise
4521 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
4522 to __nss_disable_nscd.
4523 * nscd/cache.c (prune_cache): There is no single inotify descriptor
4524 for a database anymore. Check the records for all the registered
4525 files instead.
4526 * nss/Makefile (libnss_files-routines): Add files-init.
4527 (libnss_db-routines): Add db-init.
4528 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
4529 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
4530 * nss/nss_db/db-init.c: New file.
4531 * nss/nss_files/files-init.c: New file.
4532 * nss/nsswitch.c (nss_load_library): New function. Broken out of
4533 __nss_lookup_function.
4534 (__nss_lookup_function): Call nss_load_library.
4535 (nss_load_all_libraries): New function.
4536 (__nss_disable_nscd): Take parameter with callback function for files
4537 to register. Set is_nscd. Load all the DSOs for the NSS modules
4538 used for the cached services.
4539 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
4540 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
4541 options for features to all the files in nscd.
4542
4543 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
4544
23bee3e8
RM
45452011-07-10 Roland McGrath <roland@hack.frob.com>
4546
4547 * csu/elf-init.c (__libc_csu_init): Comment typo.
4548
46a5b7f0
UD
45492011-07-09 Ulrich Drepper <drepper@gmail.com>
4550
4551 * po/pl.po: Update from translation team.
4552 * po/ja.po: Likewise.
4553 * po/ru.po: Likewise.
4554 * po/ko.po: Likewise.
4555 * po/fr.po: Likewise.
4556
d30cf5bb
RM
45572011-07-09 Roland McGrath <roland@hack.frob.com>
4558
113ddea4
RM
4559 * configure.in (.ctors/.dtors header and trailer check):
4560 Use an empirical test on a built program.
4561 * configure: Regenerated.
4562
574920b4
RM
4563 * configure.in (-z relro check): Use an empirical test on a built DSO.
4564 Detect, but do not require, on ia64.
4565 * configure: Regenerated.
4566
d30cf5bb
RM
4567 * configure.in (READELF): Find it with AC_CHECK_TOOL.
4568 Update tests that use readelf to use $READELF instead.
4569 * configure: Regenerated.
4570
8538fdb3
UD
45712011-07-08 Ulrich Drepper <drepper@gmail.com>
4572
4573 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4574 if the result is not used.
4575
04d08991
AJ
45762011-07-05 Andreas Jaeger <aj@suse.de>
4577
4578 [BZ#9696]
4579 * stdlib/tst-strtod.c: Add testcase.
4580
de283087
AD
45812011-07-07 Ulrich Drepper <drepper@gmail.com>
4582
4e5f31c8 4583 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 4584 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
4585 The latter has a higher limit. Take additional parameter to pass to
4586 the new function.
4587 (__pathconf): Pass file to __statfs_link_max.
4588 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4589 __statfs_link_max.
4590 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4591 __statfs_link_max.
4592
de283087
AD
4593 [BZ #12868]
4594 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4595 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4596 Handle Lustre.
4597 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4598 (__statfs_filesize_max): Likewise.
4599 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4600
c75fa153
AJ
46012011-07-05 Andreas Jaeger <aj@suse.de>
4602
4603 * resolv/res_comp.c (dn_skipname): Remove unused variable.
4604
1a544854
UD
46052011-07-06 Marek Polacek <mpolacek@redhat.com>
4606
4607 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4608 `status' variable.
4609 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4610 Likewise.
4611
6f0eec67
UD
46122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
4613
4614 * Makefile (strop-tests): Add strncat.
4615 * string/test-strncat.c: New file.
4616
aae30307
UD
46172011-06-30 Marek Polacek <mpolacek@redhat.com>
4618
4619 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4620
c0cfb5eb
UD
46212011-06-21 Andreas Jaeger <aj@suse.de>
4622
4623 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4624 Copy rule from iconvdata/Makefile.
4625
01636b21
UD
46262011-07-06 Ulrich Drepper <drepper@gmail.com>
4627
4628 [BZ #12922]
4629 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4630 but no long options are defined, just return 'W'.
4631
9895c8bc
UD
46322011-06-22 Marek Polacek <mpolacek@redhat.com>
4633
4634 [BZ #9696]
4635 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
4636
5d4cf042
UD
46372011-07-06 Ulrich Drepper <drepper@gmail.com>
4638
4639 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
4640 netgroups to read.
960e5535 4641 (innetgr): Likewise.
5d4cf042 4642
751eb97e
RM
46432011-07-05 Roland McGrath <roland@hack.frob.com>
4644
4645 * config.make.in (install_root): Default to $(DESTDIR).
4646
f15f1e45
UD
46472011-07-05 Ulrich Drepper <drepper@gmail.com>
4648
4649 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
4650
4e34ac6a
RM
46512011-07-02 Roland McGrath <roland@hack.frob.com>
4652
5e9b6af4
RM
4653 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
4654
84f9ea0f
RM
4655 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
4656 containing directory rather than embedding absolute directory names.
4657
ea5ee9f7
RM
4658 * scripts/check-local-headers.sh: Rewritten using awk.
4659 Match by word, not by line. Print error messages for matches.
4660 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
4661
1b74661a
RM
4662 * Makerules [shlib-lds-flags empty]:
4663 ($(common-objpfx)libc_pic.opts): New target.
4664 ($(common-objpfx)libc_pic.os.clean): New target.
4665 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
4666
4667 * config.make.in (OBJCOPY): New variable.
4668 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
4669 * configure: Regenerated.
4670
f781ef40
RM
4671 * config.make.in (use-default-link): New variable.
4672 * configure.in (use_default_link): Grok --with-default-link to set it.
4673 * configure: Regenerated.
4674 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
4675 (shlib-lds, shlib-lds-flags): Define to empty.
4676
2d4fa81e
RM
4677 * Makerules (shlib-lds): New variable.
4678 (shlib-lds-flags): New variable.
4679 (build-shlib, build-moduile, build-module-asneeded): Use it.
4680 ($(common-objpfx)libc.so): Use $(shlib-lds).
4681 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
4682 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
4683
31fffa6b
RM
4684 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
4685 DT_FLAGS/DT_FLAGS_1 with zero flags.
4686
4e34ac6a
RM
4687 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
4688 linker script munging.
4689
fcfc776b
UD
46902011-07-02 Ulrich Drepper <drepper@gmail.com>
4691
4692 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4693 as 128-bit value.
4694 * crypt/sha512.c (sha512_process_block): Perform total addition using
4695 128-bit if possible.
4696 (__sha512_finish_ctx): Likewise.
4697 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4698 as 64-bit value.
4699 * crypt/sha256.c (SWAP64): Define.
4700 (sha256_process_block): Perform total addition using 64-bit if
4701 possible.
4702 (__sha256_finish_ctx): Likewise.
4703
99231d9a
UD
47042011-07-01 Ulrich Drepper <drepper@gmail.com>
4705
4706 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4708 * nscd/hstcache.c (cache_addhst): Likewise.
4709 * nscd/grpcache.c (cache_addgr): Likewise.
4710 * nscd/aicache.c (addhstaiX): Likewise
4711 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4712
445b4a53
TK
47132011-07-01 Thorsten Kukuk <kukuk@suse.de>
4714
4715 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4717 * nscd/hstcache.c (cache_addhst): Likewise.
4718 * nscd/grpcache.c (cache_addgr): Likewise.
4719 * nscd/aicache.c (addhstaiX): Likewise
4720
6d4d8e8e
AS
47212011-07-01 Andreas Schwab <schwab@redhat.com>
4722
4723 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4724 domain only when needed.
4725
89f654c5
AS
47262011-06-30 Andreas Schwab <schwab@redhat.com>
4727
4728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4729 is always restored.
4730
cf3b23ff
UD
47312011-06-29 Ulrich Drepper <drepper@gmail.com>
4732
4733 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4734 are re-adding the entry.
4735 * nscd/servicescache.c (cache_addserv): Likewise.
4736
751626f9
AJ
47372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4738
4739 * sysdeps/generic/dl-irel.h: fix protection against multiple
4740 inclusions.
4741 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4742
9113ea1f
UD
47432011-06-28 Ulrich Drepper <drepper@gmail.com>
4744
5c0b8d90
UD
4745 [BZ #12935]
4746 * malloc/memusage.sh: Fix quoting in message.
4747 * debug/xtrace.sh: Likewise.
4748
9113ea1f
UD
4749 * configure.in: Remove support for --experimental-malloc option, make
4750 it the default.
4751 * config.make.in: Likewise.
4752 * malloc/Makefile: Likewise.
4753
a4172181
AS
47542011-06-27 Andreas Schwab <schwab@redhat.com>
4755
4756 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4757 two-byte characters.
4758
78a7eee7
RM
47592011-06-27 Roland McGrath <roland@hack.frob.com>
4760
62bede13
RM
4761 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4762 AC_CACHE_CHECK invocation.
4763 * configure: Regenerated.
4764
78a7eee7
RM
4765 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4766
5ce33a62
UD
47672011-06-27 Ulrich Drepper <drepper@gmail.com>
4768
034807a9
UD
4769 [BZ #12350]
4770 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4771 bit from old_res_options.
4772
4902da17
UD
4773 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4774
5ce33a62
UD
4775 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4776 value type for setfct.
4777
c2344f56
L
47782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4779
4780 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4781 __gettimeofday instead of gettimeofday.
4782
68468076
UD
47832011-06-26 Ulrich Drepper <drepper@gmail.com>
4784
4785 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4786
acb0d739
L
47872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4790
4791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4792 info.
4793
8912479f
L
47942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4795
4796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4797 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4798 strcpy-sse2-unaligned strncpy-sse2-unaligned
4799 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4800 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4801 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4802 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4803 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4806 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4807 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4808 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4809 (STRCPY): Support SSE2 and SSSE3 versions.
4810
d5495a11
UD
48112011-06-24 Ulrich Drepper <drepper@gmail.com>
4812
4813 [BZ #12874]
4814 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4815 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4816 kernels which artificially limit size of requests.
4817
0b1cbaae
L
48182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4821 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4822 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4823 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4824 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4825 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4826 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4827 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4828 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4829 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4830 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4831 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4832 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4833 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4834 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4836 Enable unaligned load optimization for Intel Core i3, i5 and i7
4837 processors.
4838 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4839 Define.
4840 (index_Fast_Unaligned_Load): Define.
4841 (HAS_FAST_UNALIGNED_LOAD): Define.
4842
07f494a0
MP
48432011-06-23 Marek Polacek <mpolacek@redhat.com>
4844
4845 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4846
fa3fc0fe
UD
48472011-06-22 Ulrich Drepper <drepper@gmail.com>
4848
4849 [BZ #12907]
4850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4851 until it is clear that the information is realy needed.
4852 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4853
e12df166
AS
48542011-06-22 Andreas Schwab <schwab@redhat.com>
4855
4856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4857
852eb34d
UD
48582011-06-22 Ulrich Drepper <drepper@gmail.com>
4859
84e2a551
UD
4860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4861 /sys/devices/system/cpu/online if it is usable.
4862
852eb34d
UD
4863 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4864 reading the information from the /proc filesystem to once a second.
4865
6e502e19
UD
48662011-06-21 Andreas Jaeger <aj@suse.de>
4867
4868 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4869 NULL after inclusion of kernel headers.
4870
75d39ff2
UD
48712011-06-21 Ulrich Drepper <drepper@gmail.com>
4872
51f9aa6a
UD
4873 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4874 calls to internal_setent.
4875
c0244a9d
UD
4876 [BZ #12885]
4877 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4878 addresses using gethostbyname4_r ignore IPv4 addresses.
4879
c5e3c2ae
UD
4880 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4881 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4882
75d39ff2
UD
4883 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4884
42675c6f
DM
48852011-06-20 David S. Miller <davem@davemloft.net>
4886
4887 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4888 inclusions.
4889 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4890
4891 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4892 (elf_irel): Use it.
4893 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4894 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4895 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4896 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4897 * sysdeps/x86_64/dl-irel.h: Likewise.
4898
4899 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4900 * elf/dl-sym.c: Likewise.
4901
57912a71
UD
49022011-06-15 Ulrich Drepper <drepper@gmail.com>
4903
4904 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4905 need to dereference resplen2.
4906
ee22793d
AS
49072011-06-14 Andreas Schwab <schwab@redhat.com>
4908
4909 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4910
a9e836b0
UD
49112011-06-15 Ulrich Drepper <drepper@gmail.com>
4912
77fb9117
UD
4913 * Makeconfig: Define vardbdir and inst_vardbdir.
4914 * nss/Makefile: Add rules to install db-Makefile.
4915
40c1b22c
UD
4916 * nss/nss_db/db-XXX.c: Cleanup.
4917
9f2da732
UD
4918 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4919 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4920 GLIBC_PRIVATE.
4921 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4922 * nss/makedb.c: Implement -g option to specify that value strings
4923 are generated and should not be added to table iterated over for
4924 get*ent calls.
4925 * nss/nss_db/db-initgroups.c: New file.
4926
82e9a1f7
UD
4927 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4928 interface.
4929
c41af17e
UD
4930 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4931 (internal_getgrouplist): Adjust to name change.
4932 Update use_initgroups_entry if this is not the first call.
4933 * nss/databases.def: Add initgroups entry.
4934
a9e836b0
UD
4935 * nss/makedb.c (compute_tables): Check result of multiple hash table
4936 sizes to minimize maximum chain length.
4937
2666d441
UD
49382011-06-14 Ulrich Drepper <drepper@gmail.com>
4939
4940 * Versions.def: Add entry for libnss_db.
4941 * shlib-versions: Likewise.
4942 * nss/Makefile: Add rules to build libnss_db.
4943 * nss/Versions: Add libnss_db information. Organize libnss_files
4944 entries better.
4945 * nss/db-Makefile: Add gshadow support. Change rules for the new
4946 makedb progra. Some minor improvements to generate smaller files.
4947 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4948 here from...
4949 * nss/makedb.c: ...here.
4950 Improve database format to be smaller and require less memory at
4951 runtime.
4952 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4953 db anymore.
4954 * nss/nss_db/db-netgrp.c: Likewise.
4955 * nss/nss_db/db-open.c: Likewise.
4956 * nss/nss_files/flies-XXX.x: Adjust comments.
4957 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4958 * nss/nss_files/files-grp.c: Likewise.
4959 * nss/nss_files/files-hosts.c: Likewise.
4960 * nss/nss_files/files-network.c: Likewise.
4961 * nss/nss_files/files-proto.c: Likewise.
4962 * nss/nss_files/files-pwd.c: Likewise.
4963 * nss/nss_files/files-rpc.c: Likewise.
4964 * nss/nss_files/files-service.c: Likewise.
4965 * nss/nss_files/files-sgrp.c: Likewise.
4966 * nss/nss_files/files-spwd.c: Likewise.
4967 * nss/nss_db/db-alias.c: Removed.
4968 * nss/nss_db/dummy-db.h: Removed.
4969
9ee76b5a
UD
49702011-06-02 Ulrich Drepper <drepper@gmail.com>
4971
4972 * nss/makedb.c: Rewritten to not use database library.
4973 * nss/Makefile: Update to build new makedb program.
4974
c71ca1f8
AJ
49752011-06-14 Andreas Jaeger <aj@suse.de>
4976
4977 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4978 memset declaration.
4979
3154bfb8
UD
49802011-06-10 Andreas Schwab <schwab@redhat.com>
4981
4982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4983 tmpbuf.
4984
b350afab
RM
49852011-06-10 Roland McGrath <roland@hack.frob.com>
4986
decd4e50
RM
4987 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4988 * elf/Makefile ($(objpfx)ld.so): Likewise.
4989
5615eaf2
RM
4990 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4991 Don't list ld.so twice in dependencies.
4992
4993 * posix/bug-regex31.c: Include <stdlib.h>.
4994
4995 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4996
4997 * nis/nss_compat/compat-spwd.c
4998 (getspent_next_nss_netgr): Remove unused variable.
4999 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5000
5001 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5002 nonmembers" output to use the right array.
5003
5004 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5005
5006 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5007
5008 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5009 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5010 * catgets/gencat.c (read_input_file): Likewise.
5011 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5012
5013 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5014 variable definition inside #if's controlling its use.
5015
5016 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5017
5018 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5019
5020 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5021
5022 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5023 unreachable code.
5024
5025 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5026
b68e08db
RM
5027 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5028 * configure: Regenerated.
5029
b350afab
RM
5030 * Makerules: Revert last change.
5031 * elf/Makefile: Likewise.
5032
28368601
RM
50332011-06-09 Roland McGrath <roland@hack.frob.com>
5034
5035 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5036 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5037 (reloc-link): Likewise.
5038
11988f8f
UD
50392011-06-09 Ulrich Drepper <drepper@gmail.com>
5040
5041 * elf/Makefile: Add rules to build pldd.
5042 * elf/pldd.c: New file.
5043 * elf/pldd-xx.c: New file.
5044
e80fab37
UD
50452011-06-07 Ulrich Drepper <drepper@gmail.com>
5046
5047 * version.h: Update for 2.15 development version.
5048
9b849836
DM
50492011-06-07 David S. Miller <davem@davemloft.net>
5050
5051 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5052 ifuncs.
5053 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5054 elf_machine_lazy_rel): Likewise.
5055 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5057 elf_machine_lazy_rel): Likewise.
5058 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5059 dl_hwcap via passed in argument.
5060 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5061 Likewise.
5062
5a31b283
AK
50632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5064
5065 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5066
069e52f8
RM
50672011-06-06 Roland McGrath <roland@hack.frob.com>
5068
5069 [BZ #12849]
5070 * manual/fdl-1.1.texi: New file, verbatim from:
5071 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5072 * manual/lgpl-2.1.texi: New file, verbatim from:
5073 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5074 * manual/Makefile (licenses): New variable, list those new file names.
5075 (texis): Use it.
5076 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5077
5078 * manual/fdl.texi: File removed.
5079 * manual/lesser.texi: File removed.
5080 * manual/libc.texinfo (Copying, Documentation License):
5081 Use new @include file names, put @appendix directive before @include.
5082
f16846a5
JJ
50832011-06-04 Jakub Jelinek <jakub@redhat.com>
5084
5085 [BZ #12841]
5086 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5087 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5088 (mq_open): Add __NTH.
5089
3d29045b
L
50902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
5091
5092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5093 Assume Intel Core i3/i5/i7 processor if AVX is available.
5094
8c297311
UD
50952011-05-31 Ulrich Drepper <drepper@gmail.com>
5096
5097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5098 typo.
5099
c8fc0c91
UD
51002011-05-31 Andreas Schwab <schwab@redhat.com>
5101
5102 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5103 memory. Use alloca_account. Fix memory leak when retrying.
5104
5b27a807
UD
51052011-05-31 Ulrich Drepper <drepper@gmail.com>
5106
356f8bc6
UD
5107 * version.h (RELEASE): Bump for 2.14 release.
5108 * include/features.h (__GLIBC_MINOR__): Bump to 14.
5109
5b27a807
UD
5110 * config.make.in (RANLIB): Remove entry.
5111
01f16ab0
UD
51122011-05-30 Ulrich Drepper <drepper@gmail.com>
5113
41fce8bd
UD
5114 * po/Makefile (po-sed-cmd): Add ksh to extensions.
5115 (libc.pot): Work around missing support for .ksh extension in xgettext.
5116
4769ae77
UD
5117 [BZ #12684]
5118 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5119 if both request failed.
5120 (send_dg): In case of server errors clear resplen or *resplen2.
5121
6b1e7d19
UD
5122 [BZ #12454]
5123 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
5124 when there are multiple maps.
5125 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
5126 (_dl_fini): Remove test here.
5127
01f16ab0
UD
5128 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
5129
b1ebd700
UD
51302011-05-29 Ulrich Drepper <drepper@gmail.com>
5131
7ae22829
UD
5132 [BZ #12350]
5133 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
5134 bit from old_res_options.
5135 (gaih_inet): Likewise.
5136
553149f6 5137 [BZ #11099]
18a84741 5138 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
5139 as signed.
5140
652ffab1
UD
5141 * resolv/res_init.c (res_setoptions): Make the code more compact.
5142
16985fd0
UD
5143 [BZ #11558]
5144 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
5145 set RES_USEVC.
5146
0464f746
UD
5147 [BZ #11634]
5148 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
5149
7d17596c
UD
5150 * malloc/malloc.h: Mark malloc hook variables as deprecated.
5151
cf6bbbd7
UD
5152 [BZ #11781]
5153 * malloc/malloc.h: Declare malloc hook variables as volatile.
5154
13f1ab36
UD
5155 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5156 in last patch.
5157
b1ebd700
UD
5158 [BZ #11799]
5159 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 5160 raise in the comment.
80e2212d
UD
5161 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5163 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 5164
ce67228d
UD
51652011-05-28 Ulrich Drepper <drepper@gmail.com>
5166
8887a920
UD
5167 [BZ #12811]
5168 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5169 grow the buffers more if it already has to be sufficient.
5170 (build_wcs_upper_buffer): Likewise.
5171 * posix/regexec.c (check_matching): Likewise.
5172 (clean_state_log_if_needed): Likewise.
5173 (extend_buffers): Don't enlarge buffers beyond size of the input
5174 buffer.
5175 Patches mostly by Emil Wojak <emil@wojak.eu>.
5176 * posix/bug-regex32.c: New file.
5177 * posix/Makefile (tests): Add bug-regex32.
5178
4f031072
UD
5179 * locale/findlocale.c (_nl_find_locale): Return right away if
5180 _nl_explode_name failed.
5181 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5182
d0478f0c
UD
5183 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
5184
de81b246
UD
5185 * debug/xtrace.sh: Unify messages.
5186 * malloc/memusage.sh: Likewise.
5187
c738465a
UD
5188 [BZ #12813]
5189 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
5190 time symbol from vDSO. Substitute with vsyscall if not available.
5191 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
5192 __vdso_time.
5193
f1f929d7
UD
5194 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
5195 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
5196 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
5197 Add sendmmsg and internal_sendmmsg.
5198 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
5199 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
5200 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
5201
ce67228d
UD
5202 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
5203 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
5204 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
5205
e57420c6
UD
52062011-05-27 Ulrich Drepper <drepper@gmail.com>
5207
a8509ca5
UD
5208 [BZ #12813]
5209 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
5210 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
5211 available.
5212 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
5213 __vdso_getcpu.
5214
e57420c6
UD
5215 [BZ #12814]
5216 * iconvdata/Makefile (tests): Add bug-iconv9.
5217 * iconvdata/bug-iconv9.c: New file.
5218
4d07db15
AS
52192011-05-27 Andreas Schwab <schwab@redhat.com>
5220
5221 [BZ #12814]
5222 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
5223
ea486f69
JJ
52242011-05-25 Jakub Jelinek <jakub@redhat.com>
5225
5226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5227 (struct user_regs_struct): Change intcs field back to cs.
5228
6f038433
UD
52292011-05-25 Ulrich Drepper <drepper@gmail.com>
5230
5231 * po/ja.po: Update from translation team.
5232
67f86a25
UD
52332011-05-23 Ulrich Drepper <drepper@gmail.com>
5234
5235 [BZ #12795]
5236 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5237 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5238
def7fbd6
AS
52392011-05-20 Andreas Schwab <schwab@redhat.com>
5240
5241 * stdlib/longlong.h: Update from GCC.
5242
f50ef8f1
AS
52432011-05-23 Andreas Schwab <schwab@redhat.com>
5244
5245 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
5246 parameter name.
5247 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
5248 Add parameter name.
5249 (__sysconf): Pass it down.
5250
de7ce8f1
UD
52512011-05-22 Ulrich Drepper <drepper@gmail.com>
5252
f2962a71
UD
5253 [BZ #12671]
5254 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
5255 some situations.
5256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5257 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
5258 add in in __libc_use_alloca calls. Adjust callers.
5259 (glob): Use malloc in some situations.
5260
de7ce8f1
UD
5261 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
5262 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
5263 pltexit.
5264
aec84f53
UD
52652011-05-21 Ulrich Drepper <drepper@gmail.com>
5266
05bb4a68
UD
5267 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
5268 and CLOCK_BOOTTIME_ALARM.
5269
7ea72f99
UD
5270 [BZ #12782]
5271 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
5272 is returned.
5273
7e4afad5
UD
5274 * string/_strerror.c (__strerror_r): Print negative errors as signed
5275 numbers.
5276
8e211fec
UD
5277 [BZ #12777]
5278 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
5279 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
5280 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
5281
f7d82dc9
UD
5282 * configure.in: Fix typo in redirection and correct removal of test
5283 files in two cases.
5284
cc9e536d
UD
5285 [BZ #12788]
5286 * locale/setlocale.c (new_composite_name): Fix test to check for
5287 identical name of all categories.
5288
aec84f53
UD
5289 [BZ #12792]
5290 * libio/filedoalloc.c (local_isatty): New function.
5291 (_IO_file_doallocate): Use local_isatty.
5292 * stdio-common/perror.c (perror): In case a new stream is used
5293 forward the stream error.
5294 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
5295 error flag.
5296
78e64fdc
RT
52972011-05-20 Ulrich Drepper <drepper@gmail.com>
5298
34a9094f
UD
5299 [BZ #11869]
5300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
5301 alloca.
5302 * include/alloca.h (extend_alloca_account): Define.
5303
78e64fdc
RT
5304 [BZ #11857]
5305 * posix/regex.h: Fix comments with documentation of user-accessible
5306 fields after compilation and describe correct free'ing of pattern
5307 after re_compile_pattern.
5308 Patch by Reuben Thomas <rrt@sc3d.org>.
5309
457bddfc
RA
53102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
5311
5312 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
5313 and -mno-altivec to prevent the compiler from using Altivec and/or
5314 VSX instructions when the corresponding registers are not available.
5315
a4527b51
AS
53162011-05-19 Andreas Schwab <schwab@redhat.com>
5317
5318 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
5319
ed690b2f
UD
53202011-05-19 Ulrich Drepper <drepper@gmail.com>
5321
5322 * libio/freopen.c (freopen): Use __dup2, not dup2.
5323 * libio/freopen64.c (freopen64): Likewise.
5324
8db73634
L
53252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
5326
5327 [BZ #12775]
5328 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
5329 * math/Makefile (tests): Add test-powl.
5330 (CFLAGS-test-powl.c): Define.
5331 * math/test-powl.c: New file.
5332
0a197a9d
L
53332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
5336
ee30c380
UD
53372011-05-17 Ulrich Drepper <drepper@gmail.com>
5338
5339 [BZ #11837]
5340 * iconvdata/gb18030.c: Update to GB18020-2005.
5341
6ce75379
UD
53422011-05-16 Ulrich Drepper <drepper@gmail.com>
5343
a4b89fd8
AR
5344 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
5345 RE_SYNTAX_POSIX_AWK): Update to match recent development.
5346 Patch by Aharon Robbins <arnold@skeeve.com>.
5347
ea389b12
UD
5348 [BZ #11892]
5349 * stdlib/putenv.c (putenv): Don't always create copy of the variable
5350 on the stack.
5351
68a3f91f
UD
5352 [BZ #11895]
5353 * misc/pselect.c (__pselect): Handle timeout value errors hidden
5354 through underflows.
5355
15cc7dd1
UD
5356 [BZ #12766]
5357 * misc/error.c (error_at_line): Ensure file_name and old_file_name
5358 point to strings before performing equality test for error_one_per_line
5359 mode.
5360
f3799213
UD
5361 [BZ #11697]
5362 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
5363
d79a9c94
UD
5364 [BZ #11820]
5365 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5366 (struct user_fpregs_struct): Avoid __uint*_t types.
5367
56e5eb46
UD
5368 [BZ #6420]
5369 * malloc/mtrace.c (tr_where): Add additional parameter to point to
5370 symbol info. Use it instead of calling _dl_addr locally.
5371 (lock_and_info): New function.
5372 (tr_freehook): Call lock_and_info and pass symbol info as additional
5373 parameter to tr_where.
5374 (tr_mallochook): Likewise.
5375 (tr_reallochook): Likewise.
5376 (tr_memalignhook): Likewise.
5377
6ce75379
UD
5378 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
5379 used and couldn't be at all thread-safe.
5380
f8a3b5bf
UD
53812011-05-15 Ulrich Drepper <drepper@gmail.com>
5382
94b7cc37
UD
5383 * libio/freopen.c (freopen): Don't close old file descriptor
5384 before the new one is opened. Instead dup the new file descriptor
5385 to the old one after the new stream is created.
5386 * libio/freopen64.c (freopen64): Likewise.
5387 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
5388 * libio/fileops.c (_IO_new_file_close_it): Handle new
5389 _IO_FLAGS2_NOCLOSE flag.
5390 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
5391 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
5392 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
5393 _IO_FLAGS2_NOCLOSE flag.
5394 * include/unistd.h: Add hidden_proto for dup3.
5395 Define __have_dup3.
5396 * io/dup3.c: Define hidden symbol.
5397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
5398
bd25564e
UD
5399 [BZ #7101]
5400 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
5401 when an incomplete long option is used.
5402 * posix/tst-getopt_long1.c: New file.
5403 * posix/Makefile (tests): Add tst-getopt_long1.
5404
c84cfef4
UD
5405 [BZ #10138]
5406 * scripts/config.guess: Update from autoconf-2.68.
5407 * scripts/config.sub: Likewise.
5408
3b85df27
UD
5409 [BZ #10157]
5410 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
5411 tests into ...
5412 (has_cpuclock): ...this. New function.
5413 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
5414 macro here based on has_cpuclock code.
5415
15a856b1
UD
5416 [BZ #10149]
5417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5418 First byte (not low byte) is now always NUL.
5419 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
5420
05f399e6
UD
5421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5422 Use non-cancelable interfaces.
5423
10a52685 5424 [BZ #9809]
94ecc67d
UD
5425 * locale/iso-639.def: Add entry for Sorani.
5426
f8a3b5bf
UD
5427 [BZ #11901]
5428 * include/stdlib.h: Move include protection to the right place.
5429 Define abort_msg_s. Declare __abort_msg with it.
5430 * stdlib/abort.c (__abort_msg): Adjust type.
5431 * assert/assert.c (__assert_fail_base): New function. Majority
5432 of code from __assert_fail. Allocate memory for __abort_msg with
5433 mmap.
5434 (__assert_fail): Now call __assert_fail_base.
5435 * assert/assert-perr.c: Remove bulk of implementation. Use
5436 __assert_fail_base.
5437 * include/assert.hL Declare __assert_fail_base.
5438 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
5439 mmap.
5440 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
5441
1af4e298
UD
54422011-05-14 Ulrich Drepper <drepper@gmail.com>
5443
f8a3b5bf 5444 [BZ #11952]
d26dfc60
MG
5445 [BZ #12453]
5446 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
5447 until all modules are registered in the DTV.
5448 * elf/Makefile: Add rules to build and run tst-tls19.
5449 * elf/tst-tls19.c: New file.
5450 * elf/tst-tls19mod1.c: New file.
5451 * elf/tst-tls19mod2.c: New file.
5452 * elf/tst-tls19mod3.c: New file.
5453 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
5454
2fc54d6f
UD
5455 [BZ #12083]
5456 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
5457 correctly.
5458
98d76b46
UD
5459 [BZ #12601]
5460 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
5461 two-byte sequence errors.
5462 * iconvdata/Makefile (tests): Add bug-iconv8.
5463 * iconvdata/bug-iconv8.c: New file.
5464
da3c19ef
UD
5465 [BZ #12626]
5466 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
5467 buf2 definition.
5468
ca408c15
UD
5469 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
5470
d6f67f7d
UD
5471 [BZ #12432]
5472 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
5473 (dummy_getcfa): New function.
5474 (init): Get _Unwind_GetCFA address, use dummy if not found.
5475 (backtrace_helper): In recursion check, also check whether CFA changes.
5476 (__backtrace): Completely initialize arg.
5477
1af4e298 5478 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
5479 storing incomplete byte sequence in state object. Avoid testing for
5480 guaranteed too small input if we know there is enough data available.
1af4e298 5481
da62f81b
AS
54822011-05-11 Andreas Schwab <schwab@redhat.com>
5483
5484 * Makeconfig (+link-pie): Indent.
5485 * Rules (binaries-pie): Define if $(have-fpie) and
5486 $(build-shared).
5487 (binaries-shared): Also filter out $(binaries-pie).
5488 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
5489 * nscd/Makefile (others-pie): Add nscd.
5490 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
5491 ($(objpfx)nscd): Remove command override.
5492 * login/Makefile (others-pie): Add pt_chown.
5493 ($(objpfx)pt_chown): Remove command override.
5494 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
5495 remove command overrides.
5496
fcabc0f8
UD
54972011-05-13 Ulrich Drepper <drepper@gmail.com>
5498
20030ae6
UD
5499 * libio/tst_putwc.c: Fix error messages.
5500
fcabc0f8
UD
5501 [BZ #12724]
5502 * libio/fileops.c (_IO_new_file_close_it): Always flush when
5503 currently writing and seek to current position when not.
5504 * libio/Makefile (tests): Add bug-fclose1.
5505 * libio/bug-fclose1.c: New file.
5506
320a5dc0
PB
55072011-05-12 Ulrich Drepper <drepper@gmail.com>
5508
5509 [BZ #12511]
5510 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
5511 don't set DF_1_NODELETE here.
5512 (do_lookup_x): When entering new entry test for copy relocation
5513 and if necessary set DF_1_NODELETE flag.
5514 * elf/tst-unique4.cc: New file.
5515 * elf/tst-unique4.h: New file.
5516 * elf/tst-unique4lib.cc: New file.
5517 * elf/Makefile: Add rules to build and run tst-unique4.
5518 Patch by Piotr Bury <pbury@goahead.com>.
5519
22836f52
UD
55202011-05-11 Ulrich Drepper <drepper@gmail.com>
5521
f574184a
UD
5522 [BZ #12052]
5523 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
5524
e1fb097f
UD
5525 [BZ #12625]
5526 * misc/mntent_r.c (addmntent): Flush the stream after the output
5527
22836f52
UD
5528 [BZ #12393]
5529 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
5530 (is_trusted_path_normalize): Skip initial colon. Append slash
5531 to empty buffer. Duplicate is_trusted_path code but allow
5532 constructed patch to be prefix.
5533 (is_dst): Allow $ORIGIN followed by /.
5534 (_dl_dst_substitute): Correct clearing of check_for_trusted.
5535 Correct testing of result of is_trusted_path_normalize
5536 (decompose_rpath): Fix warning.
5537
7b3b0b2a
UD
55382011-05-10 Ulrich Drepper <drepper@gmail.com>
5539
5540 [BZ #11257]
5541 * grp/initgroups.c (internal_getgrouplist): When we found the service
5542 list through the initgroups entry in nsswitch.conf do not always
5543 continue on a successful lookup. Don't always use the
eac80ce2 5544 __nss_group_database value if it is set.
7b3b0b2a
UD
5545 * nss/nsswitch.conf (initgroups): Change action for successful db
5546 lookup to continue for compatibility.
5547
2a81eaa5
UD
55482011-05-09 Ulrich Drepper <drepper@gmail.com>
5549
be97a69e
UD
5550 [BZ #11532]
5551 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5552 and CP774 modules.
5553 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5554 and CP774 modules.
5555 * iconvdata/tst-tables.sh: Likewise.
5556 * iconvdata/cp770.c: New file.
5557 * iconvdata/cp771.c: New file.
5558 * iconvdata/cp772.c: New file.
5559 * iconvdata/cp773.c: New file.
5560 * iconvdata/cp774.c: New file.
5561 * iconvdata/testdata/CP770: New file.
5562 * iconvdata/testdata/CP770..UTF8: New file.
5563 * iconvdata/testdata/CP771: New file.
5564 * iconvdata/testdata/CP771..UTF8: New file.
5565 * iconvdata/testdata/CP772: New file.
5566 * iconvdata/testdata/CP772..UTF8: New file.
5567 * iconvdata/testdata/CP773: New file.
5568 * iconvdata/testdata/CP773..UTF8: New file.
5569 * iconvdata/testdata/CP774: New file.
5570 * iconvdata/testdata/CP774..UTF8: New file.
5571
5572 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5573 END CHARMAP line.
5574 * iconvdata/gen-8bit-gap.sh: Likewise.
5575 * iconvdata/gen-8bit.sh: Likewise.
5576
c1e9e399
UD
5577 * locale/iso-639.def: Add ary entry.
5578
24c55fb3 5579 [BZ #11258]
96b4b1b0
UD
5580 * locale/C-translit.h.in: Add U20A1 transliteration.
5581
bdc2f971
KB
5582 [BZ #12178]
5583 * locale/iso-639.def: Add wae entry.
5584 Patch by Kevin Bortis <bortis@translate-wae.ch>.
5585
2952b117
UD
5586 [BZ #12545]
5587 * locale/programs/localedef.c (construct_output_path): Use ssize_t
5588 for n.
5589
2a81eaa5
UD
5590 [BZ #12711]
5591 * locale/C-translit.h.in: Add entry for U20B9.
5592 Patch by pravin.d.s@gmail.com.
5593
28377d1b
UD
55942011-05-08 Ulrich Drepper <drepper@gmail.com>
5595
7fb90fb8
UD
5596 [BZ #12713]
5597 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5598 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
5599 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
5600 in rtld. Use *stat64.
7fb90fb8 5601 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 5602 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 5603 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
5604 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5605 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5606 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5607 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5608 __fstatat64 macros.
7fb90fb8
UD
5609 * include/dirent.h: Add libc_hidden_proto for rewinddir.
5610 * dirent/rewinddir.c: Add libc_hidden_def.
5611 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 5612 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 5613
28377d1b
UD
5614 * include/dirent.h (__alloc_dir): Add flags parameter.
5615 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5616 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5617 __alloc_dir.
5618 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
5619 from fdopendir if O_CLOEXEC is already set.
5620
66bdbaa4
AM
56212011-03-15 Alan Modra <amodra@gmail.com>
5622
5623 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5624 l_tls_firstbyte_offset non-zero. Save padding offset in
5625 l_tls_firstbyte_offset for later use.
5626 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5627 freeing static tls block.
5628
95721191
JN
56292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
5630
5631 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5632 where #ifdef was intended. The intent is to prevent ARG_MAX from
5633 being defined by the kernel headers.
5634
f87dfb1f
UD
56352011-05-07 Ulrich Drepper <drepper@gmail.com>
5636
5637 [BZ #12734]
5638 * resolv/resolv.h: Define RES_NOTLDQUERY.
5639 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
5640 no-tld-query and set RES_NOTLDQUERY.
5641 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
5642 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
5643 modern BIND to search name as TLD unless forbidden.
5644
47c3cd7a
UD
56452011-05-07 Petr Baudis <pasky@suse.cz>
5646 Ulrich Drepper <drepper@gmail.com>
5647
5648 [BZ #12393]
5649 * elf/dl-load.c (fillin_rpath): Move trusted path check...
5650 (is_trusted_path): ...to here.
c1e9ea35 5651 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 5652 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 5653 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 5654
8a35c912
PP
56552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5656
5657 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
5658 __BEGIN/__END_DECLS.
5659
acd41f47
UD
56602011-05-06 Ulrich Drepper <drepper@gmail.com>
5661
5662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
5663 NSS_STATUS_NOTFOUND if no record was found.
5664
597df647
AS
56652011-05-05 Andreas Schwab <schwab@redhat.com>
5666
5667 * sunrpc/Makefile (headers): Add rpc/netdb.h.
5668 (headers-not-in-tirpc): Remove rpc/netdb.h
5669 * resolv/netdb.h: Revert last change.
5670
b9af1301
PP
56712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5672
5673 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
5674 circular dependency between libgcc.a and libc.a.
5675
4e34d5f5
AS
56762011-05-05 Andreas Schwab <schwab@redhat.com>
5677
5678 * resolv/netdb.h: Don't include <rpc/netdb.h>.
5679 * nis/Makefile: Don't install rpcsvc/*.
5680 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
5681 instead of <rpc/types.h>.
5682 (MAXHOSTNAMELEN): Define.
5683
00ee369c
AS
56842011-05-03 Andreas Schwab <schwab@redhat.com>
5685
5686 * elf/ldconfig.c (add_dir): Don't crash on empty path.
5687
0b592a30
MB
56882011-04-28 Maciej Babinski <mbabinski@google.com>
5689
5690 [BZ #12714]
5691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
5692 gethostbyname4_r when IPv6 results are possible.
5693
6e04cbbe
UD
56942011-05-02 Ulrich Drepper <drepper@gmail.com>
5695
5696 [BZ #12723]
5697 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5698 _PC_PIPE_BUF handling.
5699
e4ecafe0
BH
57002011-04-30 Bruno Haible <bruno@clisp.org>
5701
5702 [BZ #12717]
5703 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5704 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5705 to 'int'.
5706 * inet/getnameinfo.c (getnameinfo): Likewise.
5707
125ee683
UD
57082011-04-29 Ulrich Drepper <drepper@gmail.com>
5709
5710 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5711 to groups setting in database lookup.
5712 * nss/nsswitch.conf: Add initgroups entry.
5713
b722481a
EB
57142011-04-22 Ulrich Drepper <drepper@gmail.com>
5715
5716 [BZ #12685]
5717 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5718 mode string.
5719 Patch by Eric Blake <eblake@redhat.com>.
5720
4df46dbd
L
57212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5722
5723 * sunrpc/Makefile (need-export-routines): Add svc_run.
5724 (routines): Remove svc_run.
5725 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5726 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5727 * sunrpc/svc_run.c (svc_run): Likewise.
5728 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5729
e84142d2
UD
57302011-04-21 Ulrich Drepper <drepper@gmail.com>
5731
5732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5733 problem in reallocation in last patch.
5734
877175d8
UD
57352011-04-20 Ulrich Drepper <drepper@gmail.com>
5736
5737 * sunrpc/Makefile: Move inclusion of Rules.
5738
ab8eed78
UD
57392011-04-19 Ulrich Drepper <drepper@gmail.com>
5740
5741 * nss/nss_files/files-initgroups.c: New file.
5742 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5743 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5744 _nss_files_initgroups_dyn.
5745
e3d8f584
RS
57462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5747
5748 * elf/elf.h (R_ARM_IRELATIVE): Define.
5749
af190f45
UD
57502011-04-19 Ulrich Drepper <drepper@gmail.com>
5751
5752 * po/ru.po: Update from translation team.
5753
53cf59ef
UD
57542011-04-17 Ulrich Drepper <drepper@gmail.com>
5755
5756 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5757 dependencies.
5758
4c559bcd
MF
57592011-02-06 Mike Frysinger <vapier@gentoo.org>
5760
5761 [BZ #12653]
5762 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5763 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5764 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5765 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5767
4420675c
AS
57682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5769
5770 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5771 differing bytes.
5772 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5773 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5775
75ea32ab
UD
57762011-04-17 Ulrich Drepper <drepper@gmail.com>
5777
5778 [BZ #12420]
5779 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5780 storing it.
5781 * stdlib/bug-getcontext.c: New file.
5782 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5783
27390476
AK
57842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5785
5786 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5787 instructions into .machine "z9-109".
5788 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5789 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5790
10442705
AK
57912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5792
5793 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5794 between environment variables and auxiliary vector.
5795
7b57bfe5
UD
57962011-04-16 Ulrich Drepper <drepper@gmail.com>
5797
5798 * Makefile: Add rules to build linkobj/libc.so.
5799 * include/libc-symbols.h: Define libc_hidden_nolink.
5800 * include/rpc/auth.h: Mark functions which are to be hidden.
5801 * include/rpc/auth_des.h: Likewise.
5802 * include/rpc/auth_unix.h: Likewise.
5803 * include/rpc/clnt.h: Likewise.
5804 * include/rpc/des_crypt.h: Likewise.
5805 * include/rpc/key_prot.h: Likewise.
5806 * include/rpc/pmap_clnt.h: Likewise.
5807 * include/rpc/pmap_prot.h: Likewise.
5808 * include/rpc/pmap_rmt.h: Likewise.
5809 * include/rpc/rpc_msg.h: Likewise.
5810 * include/rpc/svc.h: Likewise.
5811 * include/rpc/svc_auth.h: Likewise.
5812 * include/rpc/xdr.h: Likewise.
5813 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5814 * nss/Makefile: Likewise.
5815 * sunrpc/Makefile: Don't install headers. Build library with normal
5816 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5817 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5818 for the compat linking library. Remove use of INTDEF/INTUSE.
5819 * sunrpc/auth_none.c: Likewise.
5820 * sunrpc/auth_unix.c: Likewise.
5821 * sunrpc/authdes_prot.c: Likewise.
5822 * sunrpc/authuxprot.c: Likewise.
5823 * sunrpc/clnt_gen.c: Likewise.
5824 * sunrpc/clnt_perr.c: Likewise.
5825 * sunrpc/clnt_raw.c: Likewise.
5826 * sunrpc/clnt_simp.c: Likewise.
5827 * sunrpc/clnt_tcp.c: Likewise.
5828 * sunrpc/clnt_udp.c: Likewise.
5829 * sunrpc/clnt_unix.c: Likewise.
5830 * sunrpc/des_crypt.c: Likewise.
5831 * sunrpc/des_soft.c: Likewise.
5832 * sunrpc/get_myaddr.c: Likewise.
5833 * sunrpc/key_call.c: Likewise.
5834 * sunrpc/key_prot.c: Likewise.
5835 * sunrpc/netname.c: Likewise.
5836 * sunrpc/pm_getmaps.c: Likewise.
5837 * sunrpc/pm_getport.c: Likewise.
5838 * sunrpc/pmap_clnt.c: Likewise.
5839 * sunrpc/pmap_prot.c: Likewise.
5840 * sunrpc/pmap_prot2.c: Likewise.
5841 * sunrpc/pmap_rmt.c: Likewise.
5842 * sunrpc/publickey.c: Likewise.
5843 * sunrpc/rpc_cmsg.c: Likewise.
5844 * sunrpc/rpc_common.c: Likewise.
5845 * sunrpc/rpc_dtable.c: Likewise.
5846 * sunrpc/rpc_prot.c: Likewise.
5847 * sunrpc/rpc_thread.c: Likewise.
5848 * sunrpc/rtime.c: Likewise.
5849 * sunrpc/svc.c: Likewise.
5850 * sunrpc/svc_auth.c: Likewise.
5851 * sunrpc/svc_authux.c: Likewise.
5852 * sunrpc/svc_raw.c: Likewise.
5853 * sunrpc/svc_run.c: Likewise.
5854 * sunrpc/svc_simple.c: Likewise.
5855 * sunrpc/svc_tcp.c: Likewise.
5856 * sunrpc/svc_udp.c: Likewise.
5857 * sunrpc/svc_unix.c: Likewise.
5858 * sunrpc/svcauth_des.c: Likewise.
5859 * sunrpc/xcrypt.c: Likewise.
5860 * sunrpc/xdr.c: Likewise.
5861 * sunrpc/xdr_array.c: Likewise.
5862 * sunrpc/xdr_float.c: Likewise.
5863 * sunrpc/xdr_intXX_t.c: Likewise.
5864 * sunrpc/xdr_mem.c: Likewise.
5865 * sunrpc/xdr_rec.c: Likewise.
5866 * sunrpc/xdr_ref.c: Likewise.
5867 * sunrpc/xdr_sizeof.c: Likewise.
5868 * sunrpc/xdr_stdio.c: Likewise.
5869
e6c61494
UD
58702011-04-10 Ulrich Drepper <drepper@gmail.com>
5871
5872 [BZ #12650]
5873 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5874 * sysdeps/ia64/dl-tls.h: Likewise.
5875 * sysdeps/powerpc/dl-tls.h: Likewise.
5876 * sysdeps/s390/dl-tls.h: Likewise.
5877 * sysdeps/sh/dl-tls.h: Likewise.
5878 * sysdeps/sparc/dl-tls.h: Likewise.
5879 * sysdeps/x86_64/dl-tls.h: Likewise.
5880 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5881
34fe483e
AS
58822011-03-14 Andreas Schwab <schwab@redhat.com>
5883
5884 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5885 rpath element also skip the following colon.
5886 (expand_dynamic_string_token): Add is_path parameter and pass
5887 down to DL_DST_REQUIRED and _dl_dst_substitute.
5888 (decompose_rpath): Call expand_dynamic_string_token with
5889 non-zero is_path. Ignore empty rpaths.
5890 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5891 with zero is_path.
5892
f12a32e6
AS
58932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5894
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5896 Make cancelable.
5897
38a7d692
UD
58982011-04-09 Ulrich Drepper <drepper@gmail.com>
5899
5900 [BZ #12655]
5901 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5902 Patch by Filipe David Manana <fdmanana@apache.org>.
5903
e451d22b
AS
59042011-04-07 Andreas Schwab <schwab@redhat.com>
5905
5906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5907 Maintain aligned stack.
5908 (CHECK_RSP): Remove unused macro.
5909
dedc7c7b
UD
59102011-04-03 Ulrich Drepper <drepper@gmail.com>
5911
5912 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5913 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5914
94521213
UD
59152011-04-02 Ulrich Drepper <drepper@gmail.com>
5916
5917 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5918
8cb700c0 5919 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 5920
0354e355
L
59212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 [BZ #12518]
5924 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5925 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5926 * sysdeps/x86_64/memmove.c: New file.
5927 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5928 (memcpy): Renamed to ...
5929 (__new_memcpy): This.
5930 (memcpy): Provide GLIBC_2_14 memcpy.
5931 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5932 (memcpy): Provide GLIBC_2_2_5 memcpy.
5933
8593482f
UD
59342011-04-01 Ulrich Drepper <drepper@gmail.com>
5935
5936 [BZ #12631]
5937 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5938
81a5726b
AS
59392011-03-30 Andreas Schwab <schwab@redhat.com>
5940
5941 * misc/syncfs.c: New file.
5942 * misc/Makefile (routines): Add syncfs.
5943 * posix/unistd.h: Declare syncfs.
5944 * sysdeps/unix/syscalls.list: Add syncfs.
5945
00e5419f
AS
59462011-04-01 Andreas Schwab <schwab@redhat.com>
5947
5948 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5949 open_by_handle_at.
5950 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5951 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5955 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5957
748876bf
UD
59582011-04-01 Ulrich Drepper <drepper@gmail.com>
5959
658e451d
UD
5960 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5962 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5967
748876bf
UD
5968 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5969 sync_file_range.c with -fexceptions.
5970 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5971 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5972 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5973 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5974 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5975 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5976 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
5977 sync_file_range as cancellation point
5978 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5979 now a wrapper around __call_sync_file_range with cancellation handling.
5980 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5981 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5982 function name to __call_sync_file_range.
5983 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5984 Add call_sync_file_range.
748876bf 5985
6e63d5e1
AS
59862011-04-01 Andreas Schwab <schwab@redhat.com>
5987
5988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 5989 bits/timex.h.
6e63d5e1 5990
46998f74
UD
59912011-04-01 Ulrich Drepper <drepper@gmail.com>
5992
4c1423ed
UD
5993 * iconv/iconv.h: Fix typo in comment.
5994 * io/fcntl.h: Likewise.
5995 * libio/stdio.h: Likewise.
5996 * posix/spawn.h: Likewise.
5997 * posix/unistd.h: Likewise.
5998 * stdlib/stdlib.h: Likewise.
5999 * time/time.h: Likewise.
6000 * wcsmbs/wchar.h: Likewise.
6001
158648c0
UD
6002 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6003 open_by_handle): Add.
6004 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6005 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6006 Augment a few comments.
6007 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6009 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6012 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6013 open_by_handle.
6014
46998f74
UD
6015 * io/fcntl.h (AT_EMPTY_PATH): Define.
6016
83fe108b
UD
60172011-03-30 Ulrich Drepper <drepper@gmail.com>
6018
6019 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6020 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6021 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6022 to...
6023 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
6024 * Versions.def: Add GLIBC_2.14.
6025 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6026 Export.
83fe108b 6027
bb242059
UD
60282011-03-22 Ulrich Drepper <drepper@gmail.com>
6029
6030 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6031 round counter.
6032 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6033
c97a1282
L
60342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 [BZ #12597]
6037 * string/test-strncmp.c (do_page_test): New function.
6038 (check2): Likewise.
6039 (test_main): Call check2.
6040 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6041
2a115601
UD
60422011-03-20 Ulrich Drepper <drepper@gmail.com>
6043
6044 [BZ #12587]
6045 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6046 Handle cache information in CPU leaf 4.
6047 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6048
8126d904
UD
60492011-03-18 Ulrich Drepper <drepper@gmail.com>
6050
042c49c6 6051 [BZ #12583]
8126d904
UD
6052 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6053 character representation.
6054 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6055
ccfe366e
RA
60562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6057
6058 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6059 END(__isnan) to END(__isnanf) to match function entry point/label
6060 EALIGN(__isnanf,...).
6061
c6e13027
JJ
60622011-03-10 Jakub Jelinek <jakub@redhat.com>
6063
6064 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6065
33f85a3f
UD
60662011-03-10 Ulrich Drepper <drepper@gmail.com>
6067
028478fa
UD
6068 [BZ #12510]
6069 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6070 copy from the symbol referenced in the relocation to initialize the
6071 used variable.
6072 Patch by Piotr Bury <pbury@goahead.com>.
6073 * elf/Makefile: Add rules to build and tst-unique3.
6074 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6075 * elf/tst-unique3.cc: New file.
6076 * elf/tst-unique3.h: New file.
6077 * elf/tst-unique3lib.cc: New file.
6078 * elf/tst-unique3lib2.cc: New file.
6079
33f85a3f
UD
6080 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6081
03592fc7
MF
60822011-03-10 Mike Frysinger <vapier@gentoo.org>
6083
6084 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6085 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6086 to _start.
03592fc7 6087
6a5ee102
UD
60882011-03-06 Ulrich Drepper <drepper@gmail.com>
6089
6090 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6091 to-be-loaded object along a path to loader is ld.so.
6092
7e4ba49c
HJ
60932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6094 Ulrich Drepper <drepper@gmail.com>
6095
6096 * sysdeps/x86_64/memset.S: After aligning destination, code
6097 branches to different locations depending on the value of
6098 misalignment, when multiarch is enabled. Fix this.
6099
61002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6101
6102 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6103 Set _x86_64_preferred_memory_instruction for AMD processsors.
6104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6105 Set bit_Prefer_SSE_for_memop for AMD processors.
6106
13a804de
UD
61072011-03-04 Ulrich Drepper <drepper@gmail.com>
6108
6109 * libio/fmemopen.c (fmemopen): Optimize a bit.
6110
9d25c392
AS
61112011-03-03 Andreas Schwab <schwab@redhat.com>
6112
6113 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6114
a5543c6a
RM
61152011-03-03 Roland McGrath <roland@redhat.com>
6116
6117 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6118
012d35f7
DM
61192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
6120
7e4ba49c 6121 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
6122 __bzero_ultra1 instead of __memset_ultra1.
6123
4bff6e01
AS
61242011-02-23 Andreas Schwab <schwab@redhat.com>
6125 Ulrich Drepper <drepper@gmail.com>
6126
6127 [BZ #12509]
6128 * include/link.h (struct link_map): Add l_orig_initfini.
6129 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
6130 returning unsuccessfully.
6131 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
6132 close of a file loaded at startup, restore the original l_initfini
6133 list.
6134 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
6135 list, store the pointer.
6136 * elf/Makefile ($(objpfx)noload-mem): New rule.
6137 (noload-ENV): Define.
6138 (tests): Add $(objpfx)noload-mem.
6139 * elf/noload.c: Include <memcheck.h>.
6140 (main): Call mtrace. Close all opened handles.
6141
f2092faf
AS
61422011-02-17 Andreas Schwab <schwab@redhat.com>
6143
6144 [BZ #12454]
6145 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
6146 dependencies are missing.
6147
6c8a2e88
ST
61482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149
f2092faf 6150 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
6151 Hurd needs munmap.
6152 * sysdeps/mach/hurd/ifreq.h: New file.
6153
84a42118
PB
61542011-01-27 Petr Baudis <pasky@suse.cz>
6155 Ulrich Drepper <drepper@gmail.com>
6156
071f805e 6157 [BZ 12445]#
84a42118
PB
6158 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6159 to extend_alloca().
6160 * stdio-common/bug23.c: New file.
6161 * stdio-common/Makefile (tests): Add bug23.
6162
e23fe25b
AS
61632010-09-28 Andreas Schwab <schwab@redhat.com>
6164 Ulrich Drepper <drepper@gmail.com>
6165
6166 [BZ #12489]
6167 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6168 before performing relro protection. At old place add assertion
6169 to make sure nothing changed.
6170
d3f02e10
NS
61712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
6172 Glauber de Oliveira Costa <glommer@gmail.com>
6173
6174 * elf/elf.h: Add new ARM TLS relocs.
6175
d55fd7a5
RA
61762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
6177
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6179 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
6180 cast from r3.
6181 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
6182 'tests' variable.
6183 * sysdeps/wordsize-64/tst-writev.c: New file.
6184
2206397e
RA
61852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
6186
6187 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
6188 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
6189 insns in _dl_start to prevent a TOC reference before relocs are
6190 resolved.
6191
e9433893
UD
61922011-02-15 Ulrich Drepper <drepper@gmail.com>
6193
6194 [BZ #12469]
6195 * Makeconfig: Remove RANLIB definition.
6196 * Makerules: Don't use RANLIB.
6197 * aclocal.m4: Remove ranlib test.
6198 * configure.in: No need to check for ranlib.
6199 * elf/rtld-Rules: Don't use RANLIB.
6200
f75286c6
ST
62012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6202
8e31c82d
ST
6203 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
6204 protection macro.
6205 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
6206 inclusion protection macro.
6207
f75286c6
ST
6208 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
6209 SIGRTMIN and SIGRTMAX and print information in that case only when
6210 SIGRTMIN is defined.
6211
c1d0e639
JJ
62122011-02-11 Jakub Jelinek <jakub@redhat.com>
6213
6214 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
6215 arginfo fn returning -1.
6216
6217 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
6218 and thousands string is zero terminated.
6219
edf9294e
AS
62202011-02-03 Andreas Schwab <schwab@redhat.com>
6221
6222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
6223 sysdeps/unix/sysv/linux/bits/socket.h.
6224
2b7e92df
ST
62252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6226
edf9294e
AS
6227 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
6228 (__CPU_COUNT): Remove old macros.
6229 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
6230 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
6231 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
6232 (__sched_cpualloc, __sched_cpufree): Add declarations.
6233
a4c7ea7b
UD
62342011-02-05 Ulrich Drepper <drepper@gmail.com>
6235
6236 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
6237 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
6238 * nscd/aicache.c (addhstaiX): Return timeout of added value.
6239 (readdhstai): Return value of addhstaiX call.
6240 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
6241 (addgrbyX): Return value returned by cache_addgr.
6242 (readdgrbyname): Return value returned by addgrbyX.
6243 (readdgrbygid): Likewise.
6244 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
6245 (addpwbyX): Return value returned by cache_addpw.
6246 (readdpwbyname): Return value returned by addhstbyX.
6247 (readdpwbyuid): Likewise.
6248 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
6249 (addservbyX): Return value returned by cache_addserv.
6250 (readdservbyname): Return value returned by addservbyX:
6251 (readdservbyport): Likewise.
6252 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
6253 (addhstbyX): Return value returned by cache_addhst.
6254 (readdhstbyname): Return value returned by addhstbyX.
6255 (readdhstbyaddr): Likewise.
6256 (readdhstbynamev6): Likewise.
6257 (readdhstbyaddrv6): Likewise.
6258 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
6259 (readdinitgroups): Return value returned by addinitgroupsX.
6260 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
6261 (prune_cache): Keep track of timeout value of re-added entries.
6262 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
6263 * nscd/nscd.h: Adjust prototypes of readd* functions.
6264
a0bf67cc
RM
62652011-02-04 Roland McGrath <roland@redhat.com>
6266
6267 * nis/nis_server.c (nis_servstate): Use the right name for 0.
6268 (nis_stats): Likewise.
6269 * nis/nis_modify.c (nis_modify): Likewise.
6270 * nis/nis_remove.c (nis_remove): Likewise.
6271 * nis/nis_add.c (nis_add): Likewise.
6272
6273 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
6274
6275 * posix/fnmatch_loop.c: Add some consts.
6276
6277 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
6278
435b95eb
L
62792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
6280
6281 [BZ #12460]
6282 * config.make.in (config-cflags-novzeroupper): Define.
6283 * configure.in: Substitute libc_cv_cc_novzeroupper.
6284 * elf/Makefile (AVX-CFLAGS): Define.
6285 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
6286 (CFLAGS-tst-auditmod4a.c): Likewise.
6287 (CFLAGS-tst-auditmod4b.c): Likewise.
6288 (CFLAGS-tst-auditmod6b.c): Likewise.
6289 (CFLAGS-tst-auditmod6c.c): Likewise.
6290 (CFLAGS-tst-auditmod7b.c): Likewise.
6291 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
6292
8517b15e
UD
62932011-02-02 Ulrich Drepper <drepper@gmail.com>
6294
6295 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
6296 function to the callback.
6297 Patch partly by Jiri Olsa <jolsa@redhat.com>.
6298
10a656fe
AS
62992011-02-02 Andreas Schwab <schwab@redhat.com>
6300
6301 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
6302 of errno.
6303
968dad0a
UD
63042011-01-19 Ulrich Drepper <drepper@gmail.com>
6305
9f94d2ea 6306 [BZ #11724]
968dad0a
UD
6307 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
6308 of constructors.
6309 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
6310 of destructors.
6311 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
6312
6313 [BZ #11724]
6314 * elf/Makefile: Add rules to build and run new test.
6315 * elf/tst-initorder.c: New file.
6316 * elf/tst-initorder.exp: New file.
6317 * elf/tst-initordera1.c: New file.
6318 * elf/tst-initordera2.c: New file.
6319 * elf/tst-initordera3.c: New file.
6320 * elf/tst-initordera4.c: New file.
6321 * elf/tst-initorderb1.c: New file.
6322 * elf/tst-initorderb2.c: New file.
6323 * elf/tst-order-a1.c: New file.
6324 * elf/tst-order-a2.c: New file.
6325 * elf/tst-order-a3.c: New file.
6326 * elf/tst-order-a4.c: New file.
6327 * elf/tst-order-b1.c: New file.
6328 * elf/tst-order-b2.c: New file.
6329 * elf/tst-order-main.c: New file.
6330 New test case by George Gensure <werkt0@gmail.com>.
6331
86e92359
UD
63322010-10-01 Andreas Schwab <schwab@redhat.com>
6333
6334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6335 decoding ACE if AI_CANONIDN.
6336
5d5732b0
UD
63372011-01-18 Ulrich Drepper <drepper@gmail.com>
6338
6339 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
6340
a77e8cbc
UD
63412011-01-17 Ulrich Drepper <drepper@gmail.com>
6342
6392473f
UD
6343 * version.h (RELEASE): Bump for 2.13 release.
6344 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
6345
620a0529
UD
6346 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
6347
18ba70a5
UD
6348 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
6349 MADV_NOHUGEPAGE.
32465c3e
UD
6350 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6352 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6353 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6354 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6355 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6356
c0dafcf1
UD
6357 * posix/getconf.c: Update copyright year.
6358 * catgets/gencat.c: Likewise.
6359 * csu/version.c: Likewise.
6360 * debug/catchsegv.sh: Likewise.
6361 * debug/xtrace.sh: Likewise.
6362 * elf/ldconfig.c: Likewise.
6363 * elf/ldd.bash.in: Likewise.
6364 * elf/sprof.c (print_version): Likewise.
6365 * iconv/iconv_prog.c: Likewise.
6366 * iconv/iconvconfig.c: Likewise.
6367 * locale/programs/locale.c: Likewise.
6368 * locale/programs/localedef.c: Likewise.
6369 * malloc/memusage.sh: Likewise.
6370 * malloc/mtrace.pl: Likewise.
6371 * nscd/nscd.c (print_version): Likewise.
6372 * nss/getent.c: Likewise.
6373
a77e8cbc
UD
6374 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
6375 PF_CAIF, and PF_ALG.
6376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6377
77e8bddf
AS
63782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
6379
1f20b93a
AS
6380 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
6381 (modules-names): Use them.
6382 (ifunc-test-modules, ifunc-pie-tests): Define.
6383 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
6384 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
6385 (test-extras): Likewise.
6386 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
6387 $(compile-command.c).
6388 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
6389 (all-built-dso): Define.
6390 (check-textrel.out, check-execstack.out): Depend on it.
6391
77e8bddf
AS
6392 * configure.in: Don't override --enable-multi-arch.
6393
bc425b33
UD
63942011-01-15 Ulrich Drepper <drepper@gmail.com>
6395
6396 [BZ #6812]
6397 * nscd/hstcache.c (tryagain): Define.
6398 (cache_addhst): Return tryagain not notfound for temporary errors.
6399 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
6400 failed.
6401
794c3ad3
UD
64022011-01-14 Ulrich Drepper <drepper@gmail.com>
6403
70181fdd
UD
6404 [BZ #10563]
6405 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
6406 to make the syscall.
6407 * sysdeps/unix/sysv/linux/setgroups.c: New file.
6408
794c3ad3
UD
6409 [BZ #12378]
6410 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
6411 and fall back to matching as normal character if the string ends before
6412 the matching ']' is found. This is what POSIX requires.
6413 * posix/testfnm.c: Adjust test result.
6414 * posix/globtest.sh: Adjust test result. Add new test.
6415 * posix/tst-fnmatch.input: Likewise.
6416 * posix/tst-fnmatch2.c: Add new test.
6417
68dc9497
AS
64182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
6419
6420 * elf/Makefile (check-execstack): Revert last change. Depend on
6421 check-execstack.h.
6422 (check-execstack.h): New target.
6423 (generated): Add check-execstack.h.
6424 * elf/check-execstack.c: Include "check-execstack.h".
6425 (main): Revert last change.
6426 (handle_file): Return zero if GNU_STACK is absent and
6427 DEFAULT_STACK_PERMS doesn't include PF_X.
6428
451f001b
UD
64292011-01-13 Ulrich Drepper <drepper@gmail.com>
6430
cfa28e56
UD
6431 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
6432 in child fails because the descriptor is already closed.
8cf8ce17
UD
6433 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
6434 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
6435 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 6436
1086d70d
UD
6437 [BZ #12397]
6438 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
6439 syscall.
6440
451f001b
UD
6441 [BZ #10484]
6442 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
6443 temporary buffer used to handle multi lookups locally.
a85b5cb4 6444 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 6445
08769175
UD
64462011-01-12 Ulrich Drepper <drepper@gmail.com>
6447
6448 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
6449 loader is ld.so.
6450
5e49c52e
UD
64512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
6452
6453 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
6454 alignment for SSE2.
6455
60522a5f
UD
64562011-01-12 Ulrich Drepper <drepper@gmail.com>
6457
6458 [BZ #12394]
6459 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
6460 characters. When rounding increased number of integer digits recompute
6461 number of groups.
6462 * stdio-common/tst-grouping.c: New file.
6463 * stdio-common/Makefile: Add rules to build and run tst-grouping.
6464
f257bbd7
UD
64652011-01-09 Ulrich Drepper <drepper@gmail.com>
6466
6467 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
6468 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
6469
6470 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
6471 void.
6472 * bits/select.h: Likewise.
6473
fa9c15cb
UD
64742011-01-08 Ulrich Drepper <drepper@gmail.com>
6475
6476 * po/ja.po: Update from translation team.
6477
16c2895f
DM
64782011-01-04 David S. Miller <davem@sunset.davemloft.net>
6479
6480 [BZ #11155]
6481 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
6482 implementation just like for lxstat, fxstatat, et al.
6483
2543fef2
JM
64842010-12-27 Jim Meyering <meyering@redhat.com>
6485
6486 [BZ #12348]
6487 * posix/regexec.c (build_trtable): Return failure indication upon
6488 calloc failure. Otherwise, re_search_internal could infloop on OOM.
6489
98727dbe
UD
64902010-12-25 Ulrich Drepper <drepper@gmail.com>
6491
5bd6dc5c
UD
6492 [BZ #12201]
6493 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
6494 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
6495 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
6496 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
6497
97983464
UD
6498 [BZ #12207]
6499 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
6500
98727dbe
UD
6501 [BZ #12204]
6502 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
6503 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
6504
4a531bb0
L
65052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
6506
6507 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
6508 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
6509 script has SORT_BY_INIT_PRIORITY.
6510 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
6511 NO_CTORS_DTORS_SECTIONS is defined.
6512 * elf/soinit.c: Likewise.
6513 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
6514 NO_CTORS_DTORS_SECTIONS is defined.
6515 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6516 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
6517 * sysdeps/sh/init-first.c: Likewise.
6518 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6519
07eb4b71
UD
65202010-12-24 Ulrich Drepper <drepper@gmail.com>
6521
6522 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
6523 always use the slow path.
6524
30950a5f
RA
65252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
6526
6527 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
6528 similar rule which adds the sysdep directories to the header search in
6529 order to pick up the correct platform stackinfo.h.
6530 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
6531 perform test if it is, otherwise return successfully without testing.
6532 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
6533 DEFAULT_STACK_PERMS define in stackinfo.h.
6534 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
6535 defined in stackinfo.h.
6536 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
6537 DEFAULT_STACK_PERMS defined in stackinfo.h.
6538 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
6539 * sysdeps/ia64/stackinfo.h: Likewise.
6540 * sysdeps/s390/stackinfo.h: Likewise.
6541 * sysdeps/sh/stackinfo.h: Likewise.
6542 * sysdeps/sparc/stackinfo.h: Likewise.
6543 * sysdeps/x86_64/stackinfo.h: Likewise.
6544 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
6545 PF_X for powerpc64. Retain PF_X for powerpc32.
6546
db753e2c
UD
65472010-12-19 Ulrich Drepper <drepper@gmail.com>
6548
14b697f7
UD
6549 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
6550 accurately.
db753e2c
UD
6551 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6552 GETDENTS_64BIT_ALIGNED.
6553
28300719
UD
65542010-12-14 Ulrich Drepper <dreper@gmail.com>
6555
14b697f7 6556 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 6557
4f197237
AS
65582010-12-10 Andreas Schwab <schwab@redhat.com>
6559
dbb0472f
AS
6560 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6561 _GNU_SOURCE.
6562
4f197237
AS
6563 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6564 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6565 Remove __restrict.
6566 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6567 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6568
fb88ac72
UD
65692010-12-09 Ulrich Drepper <drepper@gmail.com>
6570
6571 [BZ #11655]
6572 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6573 are initialized.
6574
42acbb92
JJ
65752010-12-09 Jakub Jelinek <jakub@redhat.com>
6576
6577 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6578
c038d98d
UD
65792010-12-03 Ulrich Drepper <drepper@gmail.com>
6580
6581 * po/it.po: Update from translation team.
6582
3a4a2499
L
65832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
6584
6585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6586 unused codes.
6587
1e24cf6e
UD
65882010-11-30 Ulrich Drepper <drepper@gmail.com>
6589
6590 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6591
a7690819
AS
65922010-11-24 Andreas Schwab <schwab@redhat.com>
6593
6594 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6595 specially.
6596 (gaih_getanswer_slice): Likewise.
6597
3bf8d1b1
JJ
65982010-10-20 Jakub Jelinek <jakub@redhat.com>
6599
6600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6601
6db52fbb
PB
66022010-05-31 Petr Baudis <pasky@suse.cz>
6603
6604 [BZ #11149]
6605 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6606 silently even in the chroot mode.
6607
eaca7569
UD
66082010-11-22 Ulrich Drepper <drepper@gmail.com>
6609
6610 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6611 last patch a bit. Pretty printing
6612
3056dcdb
UD
66132010-05-31 Petr Baudis <pasky@suse.cz>
6614
6615 [BZ #10085]
6616 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6617 initialization of skip_initgroups_dyn.
6618
cf7c9078
UD
66192010-11-19 Ulrich Drepper <drepper@gmail.com>
6620
6621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6622 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6623
a1fb5e3e
UD
66242010-11-16 Ulrich Drepper <drepper@gmail.com>
6625
6626 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6627
3540d66b
AS
66282010-11-11 Andreas Schwab <schwab@redhat.com>
6629
6630 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6631 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6632 (tst-fnmatch-ENV): Set MALLOC_TRACE.
6633 ($(objpfx)tst-fnmatch-mem): New rule.
6634 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6635 * posix/tst-fnmatch.c (main): Call mtrace.
6636
13b69574
L
66372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6640 Support Intel processor model 6 and model 0x2c.
6641
da93d214
LM
66422010-11-10 Luis Machado <luisgpm@br.ibm.com>
6643
6644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
6645 signed comparison.
6646
8ca52c6e
L
66472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
6648
6649 [BZ #12205]
6650 * string/test-strncasecmp.c (check_result): New function.
6651 (do_one_test): Use it.
6652 (check1): New function.
6653 (test_main): Use it.
6654 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
6655 Support strcasecmp and strncasecmp.
6656
69da074d
UD
66572010-11-08 Ulrich Drepper <drepper@gmail.com>
6658
6659 [BZ #12194]
6660 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
6661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6662
ff02d528
L
66632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
6666 IFUNC support.
6667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6668 memset-x86-64.
6669 * sysdeps/x86_64/multiarch/bzero.S: New file.
6670 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
6671 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
6672 * sysdeps/x86_64/multiarch/memset.S: New file.
6673 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
6674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6675 Set bit_Prefer_SSE_for_memop for Intel processors.
6676 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
6677 Define.
6678 (index_Prefer_SSE_for_memop): Define.
6679 (HAS_PREFER_SSE_FOR_MEMOP): Define.
6680
344d0b54
LM
66812010-11-04 Luis Machado <luisgpm@br.ibm.com>
6682
6683 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
6684 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
6685
c0dde15b
UD
66862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
6687
6688 [BZ #12191]
6689 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6690 (__x86_64_raw_data_cache_size_half): Likewise.
6691 (__x86_64_raw_shared_cache_size): Likewise.
6692 (__x86_64_raw_shared_cache_size_half): Likewise.
6693
6694 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6695 (__x86_64_raw_data_cache_size_half): Likewise.
6696 (__x86_64_raw_shared_cache_size): Likewise.
6697 (__x86_64_raw_shared_cache_size_half): Likewise.
6698 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6699 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6700 and __x86_64_raw_shared_cache_size_half. Round
6701 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6702 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6703 to multiple of 256 bytes.
6704
0e516e0e
MS
67052010-11-03 Ulrich Drepper <drepper@gmail.com>
6706
6707 [BZ #12167]
6708 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6709 of inacessible symlinks. Verify result of symlink before returning it.
6710 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6711 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6712
0e012e87
ER
67132010-10-28 Erich Ritz <erichritz@gmail.com>
6714
6715 * math/math.h (isinf): Fix typo in comment.
6716
de0ff7bc
UD
67172010-11-01 Ulrich Drepper <drepper@gmail.com>
6718
6719 * po/da.po: Update from translation team.
6720
fa41c84d
UD
67212010-10-26 Ulrich Drepper <drepper@gmail.com>
6722
6723 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6724 is added to the list.
6725
f0967738
AK
67262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6727 Ulrich Drepper <drepper@gmail.com>
6728
6729 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6730 the global list here. Move code to...
6731 (_dl_add_to_namespace_list): ...here. New function.
6732 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6733 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6734 * elf/dl-load.c (lose): Don't remove the element from the list.
6735 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6736 (_dl_map_object): Likewise.
6737
67382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
6739
6740 [BZ #12159]
6741 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6742 into all bytes of SSE register.
6743 Patch by Richard Li <richardpku@gmail.com>.
6744
f0967738 67452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
6746
6747 [BZ #12140]
6748 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6749 perturbing.
6750
d0b9e94f
MB
67512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6752
6753 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6754 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6755 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6756 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6758 submachine.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6760
8e9f92e9
AS
67612010-10-22 Andreas Schwab <schwab@redhat.com>
6762
6763 * include/dlfcn.h (__RTLD_SECURE): Define.
6764 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6765 mode & __RTLD_SECURE instead.
6766 (open_path): Rename preloaded parameter to secure.
6767 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6768 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6769 * elf/dl-deps.c (openaux): Likewise.
6770 * elf/rtld.c (struct map_args): Remove is_preloaded.
6771 (map_doit): Don't use it.
6772 (dl_main): Likewise.
6773 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6774 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6775
bc96fbda
AS
67762010-09-09 Andreas Schwab <schwab@redhat.com>
6777
6778 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6779 (sysd-rules-targets): Remove duplicates.
6780 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6781 rtld-%.$o dependency.
6782
22cd1c9b
AS
67832010-10-18 Andreas Schwab <schwab@redhat.com>
6784
6785 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6786 _dl_map_object do it.
6787
18edac48
UD
67882010-10-19 Ulrich Drepper <drepper@gmail.com>
6789
6790 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6791 fast fma builtins, define the macros in the C99 standard.
6792 (FP_FAST_FMAF): Likewise.
6793 (FP_FAST_FMAL): Likewise.
6794 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6795
6796 * bits/mathdef.h: Update copyright year.
6797 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6798
d2050124
MM
67992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6800
6801 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6802 builtins, define the macros in the C99 standard.
6803 (FP_FAST_FMAF): Likewise.
6804 (FP_FAST_FMAL): Likewise.
6805 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6806 multiply/add.
6807 (FP_FAST_FMAF): Likewise.
6808
475facd1
JJ
68092010-10-15 Jakub Jelinek <jakub@redhat.com>
6810
6811 [BZ #3268]
6812 * math/libm-test.inc (fma_test): Some new testcases.
6813 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6814 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6815 y and infinite z. Do multiplication by C already in long double.
6816 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6818 y and infinite z. Do bitwise or of inexact bit into u.d.
6819 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6820 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6821 * sysdeps/i386/fpu/s_fma.S: Removed.
6822 * sysdeps/i386/fpu/s_fmal.S: Removed.
6823
7c08a05c
JJ
68242010-10-16 Jakub Jelinek <jakub@redhat.com>
6825
6826 [BZ #3268]
6827 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6829 computation is not scheduled after fetestexcept. Fix value
6830 of minimum denormal long double.
6831
f3f7372d
JJ
68322010-10-14 Jakub Jelinek <jakub@redhat.com>
6833
6834 [BZ #3268]
6835 * math/libm-test.inc (fma_test): Add some more tests.
6836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6837 correctly.
6838
14d43591
AS
68392010-10-15 Andreas Schwab <schwab@redhat.com>
6840
6841 * scripts/data/localplt-s390-linux-gnu.data: New file.
6842 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6843
5e908464
JJ
68442010-10-13 Jakub Jelinek <jakub@redhat.com>
6845
6846 [BZ #3268]
6847 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6848 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6849 instead of dbl-64.
6850 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6851 inlines.
6852 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6854 if one of x and y is very large and the other is subnormal.
6855 * sysdeps/s390/fpu/s_fmaf.c: New file.
6856 * sysdeps/s390/fpu/s_fma.c: New file.
6857 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6858 * sysdeps/powerpc/fpu/s_fma.S: New file.
6859 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6860 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6861 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6862
68632010-10-12 Jakub Jelinek <jakub@redhat.com>
6864
6865 [BZ #3268]
6866 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6867 fma tests.
6868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6869 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6870 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6871 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6872 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6873 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6875
b833d51f
UD
68762010-10-12 Ulrich Drepper <drepper@redhat.com>
6877
6878 [BZ #12078]
6879 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6880 * posix/bug-regex31.input: Add test case.
6881
1751705d
UD
68822010-10-11 Ulrich Drepper <drepper@gmail.com>
6883
e9b9cbf5
UD
6884 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6885 * posix/bug-regex31.input: New file.
6886
6887 [BZ #12078]
6888 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6889 (parse_sub_exp): Fix last change, use postorder.
6890
ef06edbe
UD
6891 * posix/bug-regex31.c: New file.
6892 * posix/Makefile: Add rules to build and run bug-regex31.
6893
a129c80d
UD
6894 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6895
6896 [BZ #12078]
6897 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6898
b76b818e
UD
6899 [BZ #12108]
6900 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6901 to have entries in sys_siglist.
6902
1751705d
UD
6903 [BZ #12093]
6904 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6905 be NULL.
6906
9ff8d36f
JJ
69072010-10-07 Jakub Jelinek <jakub@redhat.com>
6908
6909 [BZ #3268]
6910 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6911 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6912 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6913 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6914 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6915 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6916 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6917 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6918 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6919 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6920 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6921 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6922 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6923 * math/ftestexcept.c (fetestexcept): Likewise.
6924 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6925 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6926 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6927 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6928 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6929 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6930 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6931
af325969
UD
69322010-10-11 Ulrich Drepper <drepper@gmail.com>
6933
c579b202 6934 [BZ #12107]
af325969
UD
6935 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6936 newline.
6937
67a67b95
UD
69382010-10-06 Ulrich Drepper <drepper@gmail.com>
6939
6940 * string/bug-strstr1.c: New file.
6941 * string/Makefile: Add rules to build and run bug-strstr1.
6942
5fb308bc
EB
69432010-10-05 Eric Blake <eblake@redhat.com>
6944
6945 [BZ #12092]
6946 * string/str-two-way.h (two_way_long_needle): Always clear memory
6947 when skipping input due to the shift table.
6948
45db99c7
UD
69492010-10-03 Ulrich Drepper <drepper@gmail.com>
6950
3b111893
UD
6951 [BZ #12005]
6952 * malloc/mcheck.c: Handle large requests.
6953
45db99c7
UD
6954 [BZ #12077]
6955 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6956 for strncmp and strncasecmp.
6957 * string/stratcliff.c: Add tests for strcmp and strncmp.
6958 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6959
cf7a1eb8
NI
69602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6961
6962 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6963 __set_fpscr.
6964
6484ba5e
AJ
69652010-09-30 Andreas Jaeger <aj@suse.de>
6966
6967 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6968 (CGROUP_SUPER_MAGIC): Define.
6969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6970 Handle btrfs and cgroup file systems.
6971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6972 Likewise.
6973
91c42559
LM
69742010-09-27 Luis Machado <luisgpm@br.ibm.com>
6975
6976 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6977 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6978
87a97932
AK
69792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6980
6981 [BZ #12067]
6982 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6983 trying to locate the ELF header.
6984
c21cc9bc
AS
69852010-09-27 Andreas Schwab <schwab@redhat.com>
6986
6987 [BZ #11611]
6988 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6989 Mask out sign-bit copies when constructing f_fsid.
6990
315970f6
PB
69912010-09-24 Petr Baudis <pasky@suse.cz>
6992
6993 * debug/stack_chk_fail_local.c: Add missing licence exception.
6994 * debug/warning-nop.c: Likewise.
6995
1ac7a2c7
JM
69962010-09-15 Joseph Myers <joseph@codesourcery.com>
6997
6998 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6999 implementing getdents64 using getdents syscall, set d_type if
7000 __ASSUME_GETDENTS32_D_TYPE.
7001
56801c50
AS
70022010-09-16 Andreas Schwab <schwab@redhat.com>
7003
7004 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7005 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7006
dda51327
UD
70072010-09-21 Ulrich Drepper <drepper@redhat.com>
7008
7009 [BZ #12037]
7010 * posix/unistd.h: Undo change of feature selection for ftruncate from
7011 2010-01-11.
7012
8ffcee4a
UD
70132010-09-20 Ulrich Drepper <drepper@redhat.com>
7014
a545ecd9 7015 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
7016 detection.
7017
e24f0a8b
AS
70182010-09-20 Andreas Schwab <schwab@redhat.com>
7019
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7021 fanotify_mark.
7022 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7023
7291c56f
AS
70242010-09-14 Andreas Schwab <schwab@redhat.com>
7025
7026 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7027 variables after CHECK_SP call.
7028 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7029
bc5fb037
AS
70302010-09-13 Andreas Schwab <schwab@redhat.com>
7031 Ulrich Drepper <drepper@redhat.com>
7032
7033 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7034 re-relocationg ld.so.
7035 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7036 _dl_init_paths call.
7037 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7038 here anymore.
7039
e66e7419
UD
70402010-09-14 Ulrich Drepper <drepper@redhat.com>
7041
7042 * resolv/res_init.c (__res_vinit): Count the default server we added.
7043
c044aa75
CLT
70442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7045 Ulrich Drepper <drepper@redhat.com>
7046
7047 [BZ #11968]
7048 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7049 (____longjmp_chk): Use %ebx for saving value across system call.
7050 Add unwind info.
7051
32cf4069
AS
70522010-09-06 Andreas Schwab <schwab@redhat.com>
7053
7054 * manual/Makefile: Don't mix pattern rules with normal rules.
7055
817328ee
AS
70562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7057
7058 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7059 operation.
7060 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7061 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7062 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7063 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7064 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7065 Likewise.
7066
29fddf61
UD
70672010-09-04 Ulrich Drepper <drepper@redhat.com>
7068
7069 [BZ #11979]
7070 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7071 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7072
0959ffc9
UD
70732010-09-02 Ulrich Drepper <drepper@redhat.com>
7074
7075 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7076 * sysdeps/x86_64/addmul_1.S: Likewise.
7077 * sysdeps/x86_64/lshift.S: Likewise.
7078 * sysdeps/x86_64/mul_1.S: Likewise.
7079 * sysdeps/x86_64/rshift.S: Likewise.
7080 * sysdeps/x86_64/sub_n.S: Likewise.
7081 * sysdeps/x86_64/submul_1.S: Likewise.
7082
ece29840
ST
70832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7084
0959ffc9
UD
7085 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7086 Define __sched_param instead of SCHED_* and sched_param when
ece29840 7087 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 7088 * bits/sched.h [__need_schedparam]
ece29840 7089 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
7090 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7091 (__defined_schedparam): Define to 1.
ece29840
ST
7092 (__sched_param): New structure, identical to sched_param.
7093 (__need_schedparam): Undefine.
7094
e53a31fe
MF
70952010-08-31 Mike Frysinger <vapier@gentoo.org>
7096
fdc0c10d
MF
7097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7098 (epoll_create1): Declare.
7099
e53a31fe
MF
7100 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7101
a726d796
AS
71022010-08-31 Andreas Schwab <schwab@redhat.com>
7103
7104 [BZ #7066]
7105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7106 shifting retval into place.
7107
2f3e3dc7
UD
71082010-09-01 Ulrich Drepper <drepper@redhat.com>
7109
f2933da9
UD
7110 * nis/rpcsvc/nis.h: Update copyright notice.
7111 * nis/rpcsvc/nis.x: Likewise.
7112 * nis/rpcsvc/nis_callback.h: Likewise.
7113 * nis/rpcsvc/nis_callback.x: Likewise.
7114 * nis/rpcsvc/nis_object.x: Likewise.
7115 * nis/rpcsvc/nis_tags.h: Likewise.
7116 * nis/rpcsvc/yp.h: Likewise.
7117 * nis/rpcsvc/yp.x: Likewise.
7118 * nis/rpcsvc/ypupd.h: Likewise.
7119 * nis/yp_xdr.c: Likewise.
7120 * nis/ypupdate_xdr.c: Likewise.
7121
2f3e3dc7
UD
7122 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
7123 mainly the body of pmap_getport. Add parameters to specify timeouts.
7124 (pmap_getport): Use __libc_rpc_getport.
7125 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
7126 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
7127 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
7128
f3dcc2f9
AS
71292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
7130
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
7132 fanotify_mark.
7133
6d34eb5b
RM
71342010-08-27 Roland McGrath <roland@redhat.com>
7135
7136 * sysdeps/i386/i686/multiarch/Makefile
7137 (CFLAGS-varshift.c): New variable.
7138
9ea3de11
UD
71392010-08-27 Ulrich Drepper <drepper@redhat.com>
7140
c96d23fc
UD
7141 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
7142 * sysdeps/i386/i686/multiarch/varshift.c: New file.
7143
9ea3de11
UD
7144 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
7145
7146 * sysdeps/x86_64/strlen.S: Minimal code improvement.
7147
623aac7f
L
71482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
7149
7150 * sysdeps/x86_64/strlen.S: Unroll the loop.
7151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7152 strlen-sse2 strlen-sse2-bsf.
7153 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7154 __strlen_no_bsf if bit_Slow_BSF is set.
7155 (__strlen_sse42): Removed.
7156 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7157 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7158
8b2b7715
RM
71592010-08-25 Roland McGrath <roland@redhat.com>
7160
7161 * sysdeps/x86_64/multiarch/varshift.S: File removed.
7162 * sysdeps/x86_64/multiarch/varshift.c: New file.
7163 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7164 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7165 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7166 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7167
e73015f2
L
71682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7171 strlen-sse2 strlen-sse2-bsf.
7172 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7173 __strlen_sse2_bsf if bit_Slow_BSF is unset.
7174 (__strlen_sse2): Removed.
7175 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
7176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
7177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7178 bit_Slow_BSF for Atom.
7179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
7180 (index_Slow_BSF): Define.
7181 (HAS_SLOW_BSF): Define.
7182
df24a73e
UD
71832010-08-25 Ulrich Drepper <drepper@redhat.com>
7184
7185 [BZ #10851]
7186 * resolv/res_init.c (__res_vinit): When no server address at all
7187 is given default to loopback.
7188
f2ac4868
RM
71892010-08-24 Roland McGrath <roland@redhat.com>
7190
09055553
RM
7191 * configure.in: Remove config-name.h generation.
7192 * configure: Regenerated.
7193 * config-name.in: File removed.
7194 * scripts/config-uname.sh: New file.
7195 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
7196 ($(objdir)config-name.h): New target.
7197
f2ac4868
RM
7198 * sunrpc/rpc_parse.h: Avoid nested comment.
7199
73f27d5e
RH
72002010-08-24 Richard Henderson <rth@redhat.com>
7201 Ulrich Drepper <drepper@redhat.com>
7202 H.J. Lu <hongjiu.lu@intel.com>
7203
7204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
7205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
7206 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
7207 Replace _mm_srli_si128 with __m128i_shift_right. Replace
7208 _mm_alignr_epi8 with _mm_loadu_si128.
7209 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
7210 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
7211 (__m128i_shift_right): Removed.
7212 * sysdeps/i386/i686/multiarch/varshift.h: New file.
7213 * sysdeps/i386/i686/multiarch/varshift.S: New file.
7214 * sysdeps/x86_64/multiarch/varshift.h: New file.
7215 * sysdeps/x86_64/multiarch/varshift.S: New file.
7216
84b9230c
MF
72172010-08-21 Mike Frysinger <vapier@gentoo.org>
7218
7219 * configure.in: Move assembler checks to before sysdep dir checking.
7220
9bbd0ddc
PB
72212010-08-20 Petr Baudis <pasky@suse.cz>
7222
7223 * LICENSES: Sync the sunrpc license.
7224
9da4bb31
UD
72252010-08-19 Ulrich Drepper <drepper@redhat.com>
7226
a7ab6ec8
UD
7227 * sunrpc/auth_des.c: Update copyright notice once again.
7228 * sunrpc/auth_none.c: Likewise.
7229 * sunrpc/auth_unix.c: Likewise.
7230 * sunrpc/authdes_prot.c: Likewise.
7231 * sunrpc/authuxprot.c: Likewise.
7232 * sunrpc/bindrsvprt.c: Likewise.
7233 * sunrpc/clnt_gen.c: Likewise.
7234 * sunrpc/clnt_perr.c: Likewise.
7235 * sunrpc/clnt_raw.c: Likewise.
7236 * sunrpc/clnt_simp.c: Likewise.
7237 * sunrpc/clnt_tcp.c: Likewise.
7238 * sunrpc/clnt_udp.c: Likewise.
7239 * sunrpc/clnt_unix.c: Likewise.
7240 * sunrpc/des_crypt.c: Likewise.
7241 * sunrpc/des_soft.c: Likewise.
7242 * sunrpc/get_myaddr.c: Likewise.
7243 * sunrpc/getrpcport.c: Likewise.
7244 * sunrpc/key_call.c: Likewise.
7245 * sunrpc/key_prot.c: Likewise.
7246 * sunrpc/openchild.c: Likewise.
7247 * sunrpc/pm_getmaps.c: Likewise.
7248 * sunrpc/pm_getport.c: Likewise.
7249 * sunrpc/pmap_clnt.c: Likewise.
7250 * sunrpc/pmap_prot.c: Likewise.
7251 * sunrpc/pmap_prot2.c: Likewise.
7252 * sunrpc/pmap_rmt.c: Likewise.
7253 * sunrpc/rpc/auth.h: Likewise.
7254 * sunrpc/rpc/auth_unix.h: Likewise.
7255 * sunrpc/rpc/clnt.h: Likewise.
7256 * sunrpc/rpc/des_crypt.h: Likewise.
7257 * sunrpc/rpc/key_prot.h: Likewise.
7258 * sunrpc/rpc/netdb.h: Likewise.
7259 * sunrpc/rpc/pmap_clnt.h: Likewise.
7260 * sunrpc/rpc/pmap_prot.h: Likewise.
7261 * sunrpc/rpc/pmap_rmt.h: Likewise.
7262 * sunrpc/rpc/rpc.h: Likewise.
7263 * sunrpc/rpc/rpc_des.h: Likewise.
7264 * sunrpc/rpc/rpc_msg.h: Likewise.
7265 * sunrpc/rpc/svc.h: Likewise.
7266 * sunrpc/rpc/svc_auth.h: Likewise.
7267 * sunrpc/rpc/types.h: Likewise.
7268 * sunrpc/rpc/xdr.h: Likewise.
7269 * sunrpc/rpc_clntout.c: Likewise.
7270 * sunrpc/rpc_cmsg.c: Likewise.
7271 * sunrpc/rpc_common.c: Likewise.
7272 * sunrpc/rpc_cout.c: Likewise.
7273 * sunrpc/rpc_dtable.c: Likewise.
7274 * sunrpc/rpc_hout.c: Likewise.
7275 * sunrpc/rpc_main.c: Likewise.
7276 * sunrpc/rpc_parse.c: Likewise.
7277 * sunrpc/rpc_parse.h: Likewise.
7278 * sunrpc/rpc_prot.c: Likewise.
7279 * sunrpc/rpc_sample.c: Likewise.
7280 * sunrpc/rpc_scan.c: Likewise.
7281 * sunrpc/rpc_scan.h: Likewise.
7282 * sunrpc/rpc_svcout.c: Likewise.
7283 * sunrpc/rpc_tblout.c: Likewise.
7284 * sunrpc/rpc_util.c: Likewise.
7285 * sunrpc/rpc_util.h: Likewise.
7286 * sunrpc/rpcinfo.c: Likewise.
7287 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
7288 * sunrpc/rpcsvc/key_prot.x: Likewise.
7289 * sunrpc/rpcsvc/klm_prot.x: Likewise.
7290 * sunrpc/rpcsvc/mount.x: Likewise.
7291 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
7292 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
7293 * sunrpc/rpcsvc/rex.x: Likewise.
7294 * sunrpc/rpcsvc/rstat.x: Likewise.
7295 * sunrpc/rpcsvc/rusers.x: Likewise.
7296 * sunrpc/rpcsvc/sm_inter.x: Likewise.
7297 * sunrpc/rpcsvc/spray.x: Likewise.
7298 * sunrpc/rpcsvc/yppasswd.x: Likewise.
7299 * sunrpc/rtime.c: Likewise.
7300 * sunrpc/svc.c: Likewise.
7301 * sunrpc/svc_auth.c: Likewise.
7302 * sunrpc/svc_authux.c: Likewise.
7303 * sunrpc/svc_raw.c: Likewise.
7304 * sunrpc/svc_run.c: Likewise.
7305 * sunrpc/svc_simple.c: Likewise.
7306 * sunrpc/svc_tcp.c: Likewise.
7307 * sunrpc/svc_udp.c: Likewise.
7308 * sunrpc/svc_unix.c: Likewise.
7309 * sunrpc/svcauth_des.c: Likewise.
7310 * sunrpc/xcrypt.c: Likewise.
7311 * sunrpc/xdr.c: Likewise.
7312 * sunrpc/xdr_array.c: Likewise.
7313 * sunrpc/xdr_float.c: Likewise.
7314 * sunrpc/xdr_mem.c: Likewise.
7315 * sunrpc/xdr_rec.c: Likewise.
7316 * sunrpc/xdr_ref.c: Likewise.
7317 * sunrpc/xdr_sizeof.c: Likewise.
7318 * sunrpc/xdr_stdio.c: Likewise.
7319
9da4bb31
UD
7320 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
7321 handling.
7322
bdaa77bc
AS
73232010-08-19 Andreas Schwab <schwab@redhat.com>
7324
7325 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
7326
fe2f79db
LM
73272010-08-19 Luis Machado <luisgpm@br.ibm.com>
7328
7329 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
7330 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
7331 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
7332 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
7333 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
7334 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
7335 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
7336 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
7337 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
7338 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
7339 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
7340 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
7341 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
7342 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
7343
b9b42ee0
AB
73442010-07-26 Anton Blanchard <anton@samba.org>
7345
7346 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
7347 * malloc/arena.c (heap_trim): Likewise.
7348
1c06ba31
UD
73492010-08-16 Ulrich Drepper <drepper@redhat.com>
7350
7351 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
7352 here. Not...
7353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
7354 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
7355
f8392f40
L
73562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
7357
7358 * sysdeps/i386/elf/Makefile: New file.
7359
3162f12e
AS
73602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7361
7362 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
7363 from fanotify_init.
7364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7366
28c90b2c
UD
73672010-08-15 Ulrich Drepper <drepper@redhat.com>
7368
7369 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
7370 of strncasecmp_l.
1feccb6c 7371 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 7372
ca6bb004
UD
73732010-08-14 Ulrich Drepper <drepper@redhat.com>
7374
e9f82e0d
UD
7375 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7376 strncase_l-nonascii.
7377 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7378 Add strncase_l-ssse3.
7379 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
7380 * sysdeps/x86_64/strcmp.S: Likewise.
7381 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
7382 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
7383 * sysdeps/x86_64/strncase.S: New file.
7384 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
7385 * sysdeps/x86_64/strncase_l.S: New file.
7386 * string/Makefile (strop-tests): Add strncasecmp.
7387 * string/test-strncasecmp.c: New file.
7388
7389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
7390 warning.
7391
ca6bb004
UD
7392 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
7393 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
7394
052fa7b3
AS
73952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7396
7397 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
7398
962dba78
UD
73992010-08-12 Ulrich Drepper <drepper@redhat.com>
7400
7401 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
7402 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7404
bebff237
AM
74052010-05-01 Alan Modra <amodra@gmail.com>
7406
7407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
7408 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
7409 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
7410 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
7411 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
7412 tidying. Don't tail-call __sigjmp_save for static lib.
7413 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
7414 save location.
7415 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
7416 (CALL_MCOUNT): Add eh info, and nop after bl.
7417 (TAIL_CALL_SYSCALL_ERROR): New macro.
7418 (PSEUDO_RET): Use it.
7419 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7420 Correct save location of integer regs and cr.
7421 (_dl_profile_resolve): Correct cr save location. Delete nops
7422 after bl when SHARED. Reduce cfi size a little by better
7423 placement of cfi directives.
7424 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
7425 make a stack frame. Instead use parm save area as a temp.
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
7427 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7429 Don't make a stack frame for parent, use parm save area.
7430 Increase child stack frame to 112 bytes. Don't save unused reg,
7431 and adjust reg usage. Set up cfi on error recovery and
7432 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
7433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7434 (__makecontext): Add dummy nop after jump to exit.
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
7436 Use correct parm save area and cr save, reduce stack frame.
7437 Correct cfi for possible PSEUDO_RET frame setup.
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
7439 Branch to local label emitted by PSEUDO_RET rather than
7440 __syscall_error.
7441
02637374
AS
74422010-08-12 Andreas Schwab <schwab@redhat.com>
7443
7444 [BZ #11904]
7445 * locale/programs/locale.c (print_assignment): New function.
7446 (show_locale_vars): Use it.
7447
c3e2f19b
UD
74482010-08-11 Ulrich Drepper <drepper@redhat.com>
7449
3cdaa6ad
UD
7450 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
7451 field.
7452 (struct statfs64): Likewise.
7453 (_STATFS_F_FLAGS): Define.
7454 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
7455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7456 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
7457 (ST_VALID): Define locally.
7458 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
7459 __statvfs_getflags, use the provided value.
7460 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7461 __ASSUME_STATFS_F_FLAGS.
7462
754f7da3
UD
7463 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
7464
10b3bedc
UD
7465 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7466 Add sys/fanotify.h.
7467 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
7468 fanotify_mask for GLIBC_2.13.
7469 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
7470 fanotify_init and fanotify_mark.
7471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7472 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
7473
c08fb0d7
UD
7474 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
7475 Add prlimit.
7476 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
7477 prlimit64 for GLIBC_2.13.
7478 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
7479 prlimit64.
7480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
7481 syscall.
7482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7484 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
7486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
7487 add prlimit alias.
7488 * sysdeps/unix/sysv/linux/prlimit.c: New file.
7489
15bac72b
UD
7490 [BZ #11903]
7491 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
7492 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
7493
c3e2f19b
UD
7494 * nss/Makefile: Add rules to build and run tst-nss-test1.
7495 * shlib-versions: Add entry for libnss_test1.
7496 * nss/nss_test1.c: New file.
7497 * nss/tst-nss-test1.c: New file.
7498
7499 * nss/nsswitch.c (__nss_database_custom): Define new variable.
7500 (__nss_configure_lookup): Set appropriate entry in
7501 __nss_configure_lookup to true.
7502 * nss/nsswitch.h: Define enum with indeces of databases in
7503 databases and __nss_database_custom arrays. Declare
7504 __nss_database_custom.
7505 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
7506 to avoid using nscd when custom rules are installed.
7507 * nss/getXXbyYY_r.c: Likewise.
7508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7509
7510 * nss/nss_files/files-parse.c: Whitespace fixes.
7511
f15ce4d8
UD
75122010-08-09 Ulrich Drepper <drepper@redhat.com>
7513
7514 [BZ #11883]
7515 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
7516 * posix/fnmatch_loop.c: Likewise.
7517
d22e4cc9
AK
75182010-07-17 Andi Kleen <ak@linux.intel.com>
7519
7520 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
7521 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
7522 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
7523 * Versions.def [GLIBC_2.13]: Add.
7524
805bc17d
UD
75252010-08-06 Ulrich Drepper <drepper@redhat.com>
7526
7527 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7528 Also fail if tpwd after pwuid call is NULL.
7529
5a42321d
ST
75302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7531
7532 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
7533 when converting to ms.
7534
fd3ebeda
ST
75352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7536
7537 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
7538 EOPNOTSUPP errors with ENOTTY.
7539 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
7540 EOPNOTSUPP errors with ENOTTY.
7541
73507d3a
UD
75422010-07-31 Ulrich Drepper <drepper@redhat.com>
7543
7544 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7545 Add strcasecmp_l-ssse3.
7546 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
7547 strcasecmp.
7548 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
7549 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
7550 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
7551
fe36dd02
UD
75522010-07-30 Ulrich Drepper <drepper@redhat.com>
7553
66f6765a
UD
7554 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7555
42e08a54
UD
7556 * string/Makefile (strop-tests): Add strcasecmp.
7557 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7558 strcasecmp_l-nonascii.
7559 (gen-as-const-headers): Add locale-defines.sym.
7560 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7561 * sysdeps/x86_64/strcasecmp.S: New file.
7562 * sysdeps/x86_64/strcasecmp_l.S: New file.
7563 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7564 * sysdeps/x86_64/locale-defines.sym: New file.
7565 * string/test-strcasecmp.c: New file.
7566
fe36dd02
UD
7567 * string/test-strcasestr.c: Test both ends of the range of characters.
7568 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7569
48cbc0d6
RM
75702010-07-29 Roland McGrath <roland@redhat.com>
7571
76e6d6bc 7572 [BZ #11856]
48cbc0d6
RM
7573 * manual/locale.texi (Yes-or-No Questions): Fix example code.
7574
880113d9
UD
75752010-07-27 Ulrich Drepper <drepper@redhat.com>
7576
7577 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7578 for ld.so.
7579
deb9cabb
AS
75802010-07-27 Andreas Schwab <schwab@redhat.com>
7581
7582 * manual/memory.texi (Malloc Tunable Parameters): Document
7583 M_PERTURB.
7584
1c7570ff
RM
75852010-07-26 Roland McGrath <roland@redhat.com>
7586
7587 [BZ #11840]
7588 * configure.in (-fgnu89-inline check): Set and substitute
7589 gnu89_inline, not libc_cv_gnu89_inline.
7590 * configure: Regenerated.
7591 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7592
24fb0f88
UD
75932010-07-26 Ulrich Drepper <drepper@redhat.com>
7594
7595 * string/test-strnlen.c: New file.
7596 * string/Makefile (strop-tests): Add strnlen.
7597 * string/tester.c (test_strnlen): Add a few more test cases.
7598 * string/tst-strlen.c: Better error reporting.
7599
7600 * sysdeps/x86_64/strnlen.S: New file.
7601
8e96b93a
UD
76022010-07-24 Ulrich Drepper <drepper@redhat.com>
7603
7604 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7605 lower-latency instructions.
7606
dbc676d4
UD
76072010-07-23 Ulrich Drepper <drepper@redhat.com>
7608
7609 * string/test-strcasestr.c: New file.
7610 * string/test-strstr.c: New file.
7611 * string/Makefile (strop-tests): Add strstr and strcasestr.
7612 * string/str-two-way.h: Don't undefine MAX.
7613 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7614
f6a31e0e
AS
76152010-07-21 Andreas Schwab <schwab@redhat.com>
7616
7617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7618 strcasestr-nonascii.
7619 (CFLAGS-strcasestr-nonascii.c): Define.
7620 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7621 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7622 Remove unused attribute.
7623
5dbc3b6c
RM
76242010-07-20 Roland McGrath <roland@redhat.com>
7625
7626 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7627 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
7628 ld.so.cache was broken. With it, there is no way to disable dsocaps
7629 like LD_HWCAP_MASK can disable hwcaps.
7630
23d101d8
EPM
76312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7632
7633 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7634
cc9f2e47
UD
76352010-07-16 Ulrich Drepper <drepper@redhat.com>
7636
7637 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
7638 call in strcasestr.
7639 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
7640 __strcasestr_sse42_nonascii.
7641 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
7642 strcasestr-nonascii.c.
7643 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
7644
77c1b069
LM
76452010-06-15 Luis Machado <luisgpm@br.ibm.com>
7646
7647 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
7648 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
7649 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
7650 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
7651
440566c3
UD
76522010-07-09 Ulrich Drepper <drepper@redhat.com>
7653
7654 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
7655 fcntl.
7656
5be9d05d
AS
76572010-07-06 Andreas Schwab <schwab@redhat.com>
7658
c30b7ee2 7659 [BZ #11577]
5be9d05d
AS
7660 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
7661 dl_signal_cerror.
7662
8a492a67
UD
76632010-07-06 Ulrich Drepper <drepper@redhat.com>
7664
7665 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
7666 _PC_PIPE_BUF using F_GETPIPE_SZ.
7667
713df3d5
RM
76682010-07-05 Roland McGrath <roland@redhat.com>
7669
7670 * manual/arith.texi (Rounding Functions): Fix rint description
7671 implicit in round description.
7672
702e8f14
UD
76732010-07-02 Ulrich Drepper <drepper@redhat.com>
7674
7675 * elf/Makefile: Fix linking for a few tests to make recent linker
7676 happy.
7677
52ed8be9
AS
76782010-06-30 Andreas Schwab <schwab@redhat.com>
7679
7680 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7681 $(common-objpfx)libc_nonshared.a.
7682
f47c9a11
LM
76832010-06-21 Luis Machado <luisgpm@br.ibm.com>
7684
7685 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
7686 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
7687 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7688 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7689 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
7690 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
7691 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7692 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7707 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7708 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7709 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7710 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7711 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7712 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7713 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7714 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7715 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7716 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7717 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7718 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7733
6fb8cbcb
L
77342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7735
7736 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7737 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7738 * string/memmove.c (memmove): Renamed to ...
7739 (MEMMOVE): ...this. Default to memmove.
7740 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7741 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7742 (END_CHK): Define.
7743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7744 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7745 mempcpy-ssse3-back memmove-ssse3-back.
7746 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7747 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7748 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7749 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7750 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7751 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7752 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7753 * sysdeps/x86_64/multiarch/memmove.c: New file.
7754 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7755 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7756 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7757 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7759 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7760 Define.
7761 (index_Fast_Copy_Backward): Define.
7762 (HAS_ARCH_FEATURE): Define.
7763 (HAS_FAST_REP_STRING): Define.
7764 (HAS_FAST_COPY_BACKWARD): Define.
7765
4e733bac 77662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
7767
7768 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7769 Restore proper fallback handling.
7770
63c4ed22
UD
77712010-06-19 Ulrich Drepper <drepper@redhat.com>
7772
ac2b484c
UD
7773 [BZ #11701]
7774 * posix/group_member.c (__group_member): Correct checking loop.
7775
63c4ed22
UD
7776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7777 OOM in getpwuid_r correctly. Return error number when the caller
7778 should return, otherwise -1.
7779 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7780 call returning > 0 value.
7781 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7782
765ade4b
AS
77832010-06-07 Andreas Schwab <schwab@redhat.com>
7784
7785 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7786 libc_nonshared.a from targets in modules-names.
7787
80da2e09
KS
77882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7789
7790 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7791 requires it.
7792
158db122
LM
77932010-06-10 Luis Machado <luisgpm@br.ibm.com>
7794
7795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7796 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7797 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7799
caa78cf8
AS
78002010-06-02 Andreas Schwab <schwab@redhat.com>
7801
7802 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7803
b2ef2c01
UD
78042010-06-14 Ulrich Drepper <drepper@redhat.com>
7805
7806 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7807 and F_GETPIPE_SZ.
7808 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7809 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7814
fbd643b6
RM
78152010-06-14 Roland McGrath <roland@redhat.com>
7816
7817 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7818
f32f2869
JJ
78192010-06-07 Jakub Jelinek <jakub@redhat.com>
7820
7821 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7822 __REDIRECT followed by __THROW.
7823 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7824 * posix/getopt.h (getopt): Likewise.
7825
2a50c078
EPM
78262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7827
7828 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7829 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7830 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7831 in AT_FLAGS.
7832 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7833 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7834
eb5ad2eb
LM
78352010-05-28 Luis Machado <luisgpm@br.ibm.com>
7836
7837 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7838
3c88fe1e
L
78392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7840
7841 [BZ #11640]
7842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7843 Properly check family and model.
7844
d2f73151
TY
78452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7846
7847 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7848
ebd2e13d
LM
78492010-05-24 Luis Machado <luisgpm@br.ibm.com>
7850
7851 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7852
b32b8b45
UD
78532010-05-21 Ulrich Drepper <drepper@redhat.com>
7854
7855 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7856 symbol reference.
7857
9acbe24d
AS
78582010-05-19 Andreas Schwab <schwab@redhat.com>
7859
7860 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7861 symbol reference.
7862
f0ccf6ea
AS
78632010-05-21 Andreas Schwab <schwab@redhat.com>
7864
3d04ff3a
AS
7865 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7866 and internal_recvmmsg.
7867 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7868 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7869 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7870 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7871
f0ccf6ea
AS
7872 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7873 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7874 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7875
5b08ac57
AS
78762010-05-20 Andreas Schwab <schwab@redhat.com>
7877
7878 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7879
4828935d
LM
78802010-05-17 Luis Machado <luisgpm@br.ibm.com>
7881
7882 POWER7 optimizations.
7883 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7884 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7885
373d545e
UD
78862010-05-19 Ulrich Drepper <drepper@redhat.com>
7887
7888 * version.h: Update for 2.13 development version.
7889
21a2b1ae
AS
78902010-05-12 Andrew Stubbs <ams@codesourcery.com>
7891
7892 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7893 exceptions. Return 0.
7894
3f7dcb2b
RM
78952010-05-07 Roland McGrath <roland@redhat.com>
7896
7897 * elf/ldconfig.c (main): Add a const.
7898
5f24d53a 78992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 7900
a160f8d8
UD
7901 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7902 (args_options): Add no-idn option.
7903 (ahosts_keys_int): Add idn_flags to ai_flags.
7904 (parse_option): Handle 'i' option to clear idn_flags.
7905
5f24d53a
UD
7906 * malloc/malloc.c (_int_free): Possible race in the most recently
7907 added check. Only act on the data if no current modification
7908 happened.
265bb1ce
UD
7909
7910See ChangeLog.17 for earlier changes.