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