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