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