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