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