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