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