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