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