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