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