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