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