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