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