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