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