]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Use intermediate variable to compute exponent in __mul
[thirdparty/glibc.git] / ChangeLog
1 2013-02-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4 variable to calculate EZ.
5 (__sqr): Likewise.
6
7 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8 the lower precision input.
9
10 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #13550]
13 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15 (run-via-rtld-prefix): Do not handle %-bp tests.
16 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17 (all-object-suffixes): Remove .ob.
18 (bppfx): Remove variable.
19 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22 [$(build-bounded) = yes] (libtype.ob): Likewise.
23 * Makerules (elide-routines.ob): Remove variable.
24 (do-tests-clean): Do not handle *-bp.out.
25 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28 (tests): Do not include $(tests-bp.out).
29 (xtests): Do not include $(xtests-bp.out).
30 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31 [$(build-bounded) = yes] ($(addprefix
32 $(objpfx),$(binaries-bounded))): Remove rule.
33 ($(objpfx)%-bp.out): Remove rule.
34 * config.make.in (build-bounded): Remove variable.
35 * crypt/Makefile [$(build-bounded) = yes]
36 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38 append to variable.
39 [$(build-bounded) = yes] (install-lib): Likewise.
40 [$(build-bounded) = yes] (generated): Likewise.
41 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
42 Remove rule.
43 * intl/Makefile [$(build-bounded) = yes]
44 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45 * math/Makefile [$(build-bounded) = yes]
46 ($(tests:%=$(objpfx)%-bp): Likewise.
47 * misc/Makefile [$(build-bounded) = yes]
48 ($(objpfx)tst-tsearch-bp): Likewise.
49 * nptl/Makeconfig (bounded-thread-library): Remove variable.
50 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51 Remove dependency.
52 * string/Makefile (o-objects.ob): Remove variable.
53 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54 (CFLAGS-.ob): Remove variable.
55 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57 both definitions of variable.
58 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59 (ASFLAGS-.ob): Remove variable.
60
61 2013-02-14 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #13550]
64 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65 Remove __BOUNDED_POINTERS__ from condition.
66 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67 * string/bits/string2.h [!__NO_STRING_INLINES &&
68 !__BOUNDED_POINTERS__]: Likewise.
69 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70 Likewise.
71 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
72 Remove conditional code.
73 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
74 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
75 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
76 condition.
77
78 [BZ #13550]
79 * csu/libc-start.c: Do not include <bp-sym.h>.
80 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
81 * elf/dl-open.c: Do not include <bp-sym.h>.
82 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
83 * math/fegetenv.c: Do not include <bp-sym.h>.
84 (fegetenv): Do not use BP_SYM in versioned symbols.
85 * nptl/sysdeps/pthread/bits/libc-lockP.h
86 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
87 <bp-sym.h>.
88 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
89 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
90 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
91 (__pthread_mutex_destroy): Likewise.
92 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
93 (__pthread_mutex_lock): Likewise.
94 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
95 (__pthread_mutex_trylock): Likewise.
96 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
97 (__pthread_mutex_unlock): Likewise.
98 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
99 (__pthread_mutexattr_init): Likewise.
100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
101 (__pthread_mutexattr_destroy): Likewise.
102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
103 (__pthread_mutexattr_settype): Likewise.
104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
105 (__pthread_rwlock_init): Likewise.
106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
107 (__pthread_rwlock_destroy): Likewise.
108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
109 (__pthread_rwlock_rdlock): Likewise.
110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
111 (__pthread_rwlock_tryrdlock): Likewise.
112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
113 (__pthread_rwlock_wrlock): Likewise.
114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
115 (__pthread_rwlock_trywrlock): Likewise.
116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
117 (__pthread_rwlock_unlock): Likewise.
118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
119 (__pthread_key_create): Likewise.
120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
121 (__pthread_setspecific): Likewise.
122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
123 (__pthread_getspecific): Likewise.
124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
125 Likewise.
126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
127 (_pthread_cleanup_push_defer): Likewise.
128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
129 (_pthread_cleanup_pop_restore): Likewise.
130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
131 (pthread_setcancelstate): Likewise.
132 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
133 <bp-sym.h>.
134 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
135 (memchr): Do not use BP_SYM in weak_alias.
136 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
137 (fegetenv): Do not use BP_SYM in versioned symbols.
138 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
139 (fesetenv): Do not use BP_SYM in versioned symbols.
140 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
141 (feupdateenv): Do not use BP_SYM in versioned symbols.
142 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
143 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
144 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
145 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
146 (open64): Do not use BP_SYM in weak_alias.
147 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
148 (fegetenv): Do not use BP_SYM in versioned symbols.
149 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
150 (fesetenv): Do not use BP_SYM in versioned symbols.
151 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
152 (feupdateenv): Do not use BP_SYM in versioned symbols.
153 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
154 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
155 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
156 (feraiseexcept): Do not use BP_SYM in versioned symbols.
157 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
158 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
160 <bp-sym.h>.
161 (__libc_start_main): Do not use BP_SYM.
162
163 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
164
165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
166 redundant return line.
167 (norm): Likewise.
168 (denorm): Likewise.
169 (dbl_mp): Likewise.
170 (sub_magnitudes): Likewise.
171 (__add): Likewise.
172 (__sub): Likewise.
173 (__mul): Likewise.
174 (__inv): Likewise.
175 (__dvd): Likewise.
176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
177 (norm): Likewise.
178 (denorm): Likewise.
179 (dbl_mp): Likewise.
180 (sub_magnitudes): Likewise.
181 (__add): Likewise.
182 (__sub): Likewise.
183 (__mul): Likewise.
184 (__inv): Likewise.
185 (__dvd): Likewise.
186
187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
188 instead of __mul.
189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
191 (cc32): Likewise.
192
193 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
194 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
196 of __mul for squares.
197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
198 function
199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
200 Likewise.
201 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
203
204 2013-02-13 Joseph Myers <joseph@codesourcery.com>
205
206 [BZ #13550]
207 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
208 code.
209 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
210 prototype or function definition. Rename ubp_* variables and
211 parameters. Remove argv definitions conditional on
212 [__BOUNDED_POINTERS__].
213 * debug/backtrace.c (__backtrace): Do not use __unbounded.
214 * elf/dl-runtime.c (_dl_fixup): Likewise.
215 * include/set-hooks.h (RUN_HOOK): Likewise.
216 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
217 definition.
218 * string/strcpy.c (strcpy): Do not use __unbounded.
219 * sysdeps/generic/frame.h (struct layout): Likewise.
220 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
221 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
222 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
223 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
224 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
225 (__backtrace): Likewise.
226 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
227 use __ptrvalue.
228 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
229 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
230 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
231 Likewise.
232 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
233 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
235 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
236 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
237 Do not use __unbounded.
238 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
239 Rename __unboundedrlimits parameter to rlimits in prototype.
240 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
241 Do not use __unbounded.
242 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
243 not use __ptrvalue.
244 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
245 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
246 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
247 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
248 __ptrvalue or __unbounded.
249 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
250 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
251 use __unbounded.
252 (__new_msgctl): Do not use __ptrvalue.
253 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
254 __unbounded.
255 (__libc_msgrcv): Do not use __ptrvalue.
256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
257 startup_info): Do not use __unbounded.
258 (__libc_start_main): Likewise. Rename ubp_* variables and
259 parameters. Remove argv definitions conditional on
260 [__BOUNDED_POINTERS__].
261 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
262 __ptrvalue.
263 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
264 use __unbounded.
265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
266 or __ptrvalue.
267 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
268 use __unbounded.
269 (__new_shmctl): Do not use __ptrvalue.
270 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
271 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
272 Likewise.
273 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
275 (__libc_sigaction): Likewise.
276 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
277 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
278 Likewise.
279 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
280
281 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
282
283 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
284
285 * string/mempcpy.c: Implement by calling memcpy.
286
287 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
288
289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
290
291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
292 evaluation.
293
294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
295 values in the mantissa.
296
297 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
298 minimize writes to Z.
299 (sub_magnitudes): Simplify code a bit.
300
301 2013-02-12 Roland McGrath <roland@hack.frob.com>
302
303 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
304 from the message. The linker prefixes all warnings with that already.
305
306 2013-02-12 Andreas Schwab <schwab@suse.de>
307
308 [BZ #15078]
309 * posix/regexec.c (extend_buffers): Add parameter min_len.
310 (check_matching): Pass minimum needed length.
311 (clean_state_log_if_needed): Likewise.
312 (get_subexp): Likewise.
313 * posix/Makefile (tests): Add bug-regex34.
314 (bug-regex34-ENV): Define.
315 * posix/bug-regex34.c: New file.
316
317 [BZ #11561]
318 * posix/regcomp.c (parse_bracket_exp): When looking up collating
319 elements compare against the byte sequence of it, not its name.
320 * posix/Makefile (tests): Add bug-regex35.
321 (bug-regex35-ENV): Define.
322 * posix/bug-regex35.c: New file.
323
324 2013-02-11 Tom de Vries <tom@codesourcery.com>
325
326 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
327 comment.
328 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
329 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
330 (CHECK_EOL): Add undef.
331
332 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
333
334 * bits/stdlib-bsearch.h: New file.
335 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
336 * stdlib/stdlib.h: Likewise.
337
338 2013-02-11 Roland McGrath <roland@hack.frob.com>
339
340 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
341 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
342 declaration.
343 * manual/search.texi (Array Search Function): Add missing const in
344 lfind prototype.
345 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
346 declaration to use rlim_t.
347 (Basic Scheduling Functions): Remove erroneous const from
348 sched_getparam prototype. Remove erroneous * from
349 sched_get_priority_max and sched_get_priority_min prototypes.
350 (Resource Usage): Fix summary @comment on vtimes to refer to
351 sys/vtimes.h rather than vtimes.h.
352 Add missing *s in vtimes prototype.
353 (Limits on Resources): Fix ulimit prototype to return long int.
354 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
355 prototypes to use long int rather than double.
356 (BSD Random): Fix initstate and setstate to use char *, not void *.
357 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
358 prototype to make second argument 'struct aiocb64 *const[]'.
359 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
360 (Status of AIO Operations): Remove erroneous const in aio_return and
361 aio_return64 prototypes.
362 (Synchronizing I/O): Fix sync prototype to return void.
363 * manual/startup.texi (Suboptions): Remove an erroneous const in
364 getsubopt prototype.
365 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
366 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
367 use size_t rather than int.
368 (Scanning All Users): Likewise for getpwent_r.
369 (Setting Groups): Add missing const to setgroups prototype.
370 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
371 * manual/socket.texi (Host Names): Fix gethostbyaddr and
372 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
373 'const void *' rather than 'const char *'.
374 (Host Address Functions): Likewise for inet_ntop.
375 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
376 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
377 ssize_t for return value.
378 (Sending Data): Likewise for send, sendto, sendmsg.
379 (Socket Option Functions): Add a missing const in setsockopt prototype.
380 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
381 use wchar_t for the argument.
382 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
383 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
384 take no arguments.
385 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
386 double/float/long double for second argument.
387 Fix return types of significand, significandf, significandl.
388 * manual/filesys.texi (Setting Permissions): Use mode_t for second
389 argument in fchmod prototype.
390 (File Owner): Use uid_t and gid_t in fchown prototype.
391 (File Times): Add const to utimes, futimes, and lutimes prototypes.
392 (Making Special Files): Use mode_t and dev_t in mknod prototype.
393 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
394 use 'const struct dirent **' as argument types to CMP function pointer
395 argument.
396 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
397 (File Times): Fix summary magic @comment for struct utimbuf and utime
398 to refer to utime.h, not time.h.
399 * manual/string.texi (Argz Functions): Add missing const in
400 argz_extract and argz_next prototypes.
401 (Finding Tokens in a String): Likewise for basename.
402 (String/Array Comparison): Fix typo in wcscasecmp prototype.
403 (Copying and Concatenation): Fix typo in wmemmove prototype.
404 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
405 (Signal Stack): Remove erroneous const in sigstack prototype.
406 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
407 prototype.
408 (Simple Calendar Time): Likewise for stime.
409 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
410 prototype.
411 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
412 say sys/sysctl.h instead.
413 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
414 and vsyslog prototypes.
415
416 2013-02-11 Tom de Vries <tom@codesourcery.com>
417
418 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
419 Remove.
420
421 2013-02-11 Roland McGrath <roland@hack.frob.com>
422
423 * misc/sys/mman.h: Fix typo in mremap comment.
424
425 2013-02-08 Roland McGrath <roland@hack.frob.com>
426
427 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
428 the '\0' terminator.
429
430 2013-02-08 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #13550]
433 * debug/segfault.c: Don't include <bp-checks.h>.
434 * sysdeps/generic/bp-checks.h: Remove file.
435 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
436 (__GETDENTS): Don't use CHECK_N.
437 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
438 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
439 (__getgroups): Don't use CHECK_N.
440 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
441 (setgroups): Don't use CHECK_N.
442 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
443 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
444 (__libc_msgrcv): Don't use CHECK_N.
445 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
446 (__libc_msgsnd): Don't use CHECK_N.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
448 <bp-checks.h>.
449 (__libc_pread): Don't use CHECK_N.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
451 include <bp-checks.h>.
452 (__libc_pread64): Don't use CHECK_N.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
454 include <bp-checks.h>.
455 (__libc_pwrite): Don't use CHECK_N.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
457 include <bp-checks.h>.
458 (__libc_pwrite64): Don't use CHECK_N.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
460 <bp-checks.h>.
461 (__libc_pread): Don't use CHECK_N.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
463 include <bp-checks.h>.
464 (__libc_pread64): Don't use CHECK_N.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
466 include <bp-checks.h>.
467 (__libc_pwrite): Don't use CHECK_N.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
469 include <bp-checks.h>.
470 (__libc_pwrite64): Don't use CHECK_N.
471 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
472 (do_pread): Don't use CHECK_N.
473 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
474 (do_pread64): Don't use CHECK_N.
475 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
476 (do_pwrite): Don't use CHECK_N.
477 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
478 (do_pwrite64): Don't use CHECK_N.
479 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
480 (__libc_readv): Don't use CHECK_N.
481 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
482 (semop): Don't use CHECK_N.
483 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
484 <bp-checks.h>.
485 (semtimedop): Don't use CHECK_N.
486 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
487 (__libc_pread): Don't use CHECK_N.
488 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
489 <bp-checks.h>.
490 (__libc_pread64): Don't use CHECK_N.
491 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
492 <bp-checks.h>.
493 (__libc_pwrite): Don't use CHECK_N.
494 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
495 <bp-checks.h>.
496 (__libc_pwrite64): Don't use CHECK_N.
497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
498 <bp-checks.h>.
499 (__libc_msgrcv): Don't use CHECK_N.
500 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
501 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
502 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
503 (__libc_writev): Don't use CHECK_N.
504
505 2013-02-08 Roland McGrath <roland@hack.frob.com>
506
507 * string/strcpy.c: Removed unused variable.
508
509 * Makeconfig (+sysdep-includes): Define with := rather than =.
510 Use an existing include/ subdir of each sysdeps dir before it.
511
512 2013-02-08 Carlos O'Donell <carlos@redhat.com>
513
514 * nscd/connection.c (register_traced_file): Comment function.
515 [HAVE_INOTIFY] (union __inev): Define.
516 [HAVE_INOTIFY] (inotify_check_files): New function.
517 [HAVE_INOTIFY] (clear_db_cache): Likewise.
518 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
519 clear_db_cache.
520 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
521
522 2013-02-08 Carlos O'Donell <carlos@redhat.com>
523
524 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
525 loaded if not already and that a failure is permanent.
526
527 2013-02-08 Carlos O'Donell <carlos@redhat.com>
528
529 [BZ #15006]
530 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
531 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
532
533 2013-02-08 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #13550]
536 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
537 (CHECK_1_NULL_OK): Likewise.
538 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
539 (__fxstat): Do not use CHECK_1.
540 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
541 <bp-checks.h>.
542 (___fxstat64): Do not use CHECK_1.
543 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
544 <bp-checks.h>.
545 (__fxstatat): Do not use CHECK_1.
546 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
547 <bp-checks.h>.
548 (__fxstatat64): Do not use CHECK_1.
549 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
550 <bp-checks.h>.
551 (__fxstat): Do not use CHECK_1.
552 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
553 <bp-checks.h>.
554 (__fxstatat): Do not use CHECK_1.
555 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
556 <bp-checks.h>.
557 (__getresgid): Do not use CHECK_1.
558 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
559 <bp-checks.h>.
560 (__getresuid): Do not use CHECK_1.
561 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
562 <bp-checks.h>.
563 (__lxstat): Do not use CHECK_1.
564 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
565 <bp-checks.h>.
566 (__old_msgctl): Do not use CHECK_1.
567 (__new_msgctl): Likewise.
568 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
569 <bp-checks.h>.
570 (__new_setrlimit): Do not use CHECK_1.
571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
572 <bp-checks.h>.
573 (__old_shmctl): Do not use CHECK_1.
574 (__new_shmctl): Likewise.
575 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
576 <bp-checks.h>.
577 (__xstat): Do not use CHECK_1.
578 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
579 (__lxstat): Do not use CHECK_1.
580 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
581 <bp-checks.h>.
582 (___lxstat64): Do not use CHECK_1.
583 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
584 (__old_msgctl): Do not use CHECK_1.
585 (__new_msgctl): Likewise.
586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
587 <bp-checks.h>.
588 (__gettimeofday): Do not use CHECK_1.
589 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
590 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
592 <bp-checks.h>.
593 (__gettimeofday): Do not use CHECK_1.
594 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
595 (__old_shmctl): Do not use CHECK_1_NULL_OK.
596 (__new_shmctl): Do not use CHECK_1.
597 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
598 <bp-checks.h>.
599 (do_sigtimedwait): Do not use CHECK_1.
600 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
601 <bp-checks.h>.
602 (do_sigwaitinfo): Do not use CHECK_1.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
604 <bp-checks.h>.
605 (msgctl): Do not use CHECK_1.
606 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
607 <bp-checks.h>.
608 (shmctl): Do not use CHECK_1.
609 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
610 (ustat): Do not use CHECK_1.
611 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
612 <bp-checks.h>.
613 (__fxstat): Do not use CHECK_1.
614 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
615 <bp-checks.h>.
616 (__fxstatat): Do not use CHECK_1.
617 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
618 <bp-checks.h>.
619 (__lxstat): Do not use CHECK_1.
620 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
621 <bp-checks.h>.
622 (__xstat): Do not use CHECK_1.
623 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
624 (__xstat): Do not use CHECK_1.
625 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
626 (___xstat64): Do not use CHECK_1.
627
628 [BZ #13550]
629 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
630 definitions.
631 (CHECK_BOUNDS_HIGH): Likewise.
632 * string/strcpy.c: Do not include <bp-checks.h>.
633 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
634
635 2013-02-07 Roland McGrath <roland@hack.frob.com>
636
637 * nscd/nscd-client.h (__nscd_drop_map_ref):
638 Add __attribute__ ((unused)).
639 * nis/nss-nisplus.h (niserr2nss): Likewise.
640
641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
642 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
643
644 * csu/libc-tls.c (init_static_tls, init_slotinfo):
645 Remove inline keyword.
646 * include/rounding-mode.h (round_away): Likewise.
647 * libio/wfileops.c (adjust_wide_data): Likewise.
648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
649 (__m128i_strloadu_tolower): Likewise.
650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
651 (__m128i_strloadu_tolower): Likewise.
652 * time/mktime.c (ydhms_diff): Likewise.
653 * locale/elem-hash.h (elem_hash): Likewise.
654 * locale/setlocale.c (setdata): Likewise.
655 * posix/regex_internal.h (re_string_char_size_at): Likewise.
656 (re_string_wchar_at): Likewise.
657 (bitset_not, bitset_merge, bitset_mask): Likewise.
658 [!(__GNUC__ > 3)] (inline): Remove macro.
659 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
660 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
661 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
662 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
663 * string/memcmp.c (memcmp_bytes): Likewise.
664 * locale/programs/locarchive.c (compute_hashval): Likewise.
665 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
666 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
667 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
668 * nss/getent.c (print_rpc, print_protocols): Likewise.
669 (print_passwd, print_group, print_aliases): Likewise.
670 * nis/nss-nisplus.h (niserr2nss): Likewise.
671 * nscd/connections.c (restart_p): Likewise.
672 Change return type to bool.
673
674 2013-02-05 Roland McGrath <roland@hack.frob.com>
675
676 * Makeconfig (all-Depend-files): Add existing
677 $(sorted-subdirs:=/Depend) files.
678 (all-subdirs): Remove nss.
679 * sysdeps/unix/inet/Subdirs: Add it here instead.
680 * hesiod/Depend: New file.
681
682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
683 instead of calling alloca.
684
685 * io/lseek.c (__lseek): Rename to __libc_lseek.
686 Define __lseek as an alias.
687
688 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
689
690 2013-02-04 Carlos O'Donell <carlos@redhat.com>
691
692 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
693 else clause and remove check for non-standard endianness.
694
695 2013-02-04 David S. Miller <davem@davemloft.net>
696
697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
698
699 2013-02-04 Joseph Myers <joseph@codesourcery.com>
700
701 [BZ #13550]
702 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
703 (__ubp_memchr): Remove prototype.
704 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
705 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
706 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
707 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
708 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
709 Remove alias.
710 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
711 (__ubp_memchr): Likewise.
712 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
713 (__ubp_memchr): Likewise.
714 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
715 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
716 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
717 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
718 CHECK_STRING.
719 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
720 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
721 (__getcwd): Do not use CHECK_STRING.
722 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
723 <bp-checks.h>.
724 (__real_chown): Do not use CHECK_STRING.
725 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
726 <bp-checks.h>.
727 (fchownat): Do not use CHECK_STRING.
728 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
729 CHECK_STRING.
730 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
731 <bp-checks.h>.
732 (__lchown): Do not use CHECK_STRING.
733 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
734 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
735 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
736 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
738 include <bp-checks.h>.
739 (truncate64): Do not use CHECK_STRING.
740 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
741 <bp-checks.h>.
742 (__real_chown): Do not use CHECK_STRING.
743 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
744 <bp-checks.h>.
745 (__lchown): Do not use CHECK_STRING.
746 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
747 <bp-checks.h>.
748 (__chown): Do not use CHECK_STRING.
749 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
750 <bp-checks.h>.
751 (truncate64): Do not use CHECK_STRING.
752 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
753 Likewise.
754 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
755 (__xmknod): Do not use CHECK_STRING.
756 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
757 <bp-checks.h>.
758 (__xmknodat): Do not use CHECK_STRING.
759 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
760 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
761
762 2013-02-04 Andreas Schwab <schwab@suse.de>
763
764 [BZ #14142]
765 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
766 * include/netdb.h: Likewise for h_errno.
767 * elf/tst-stackguard1.c: Include <tls.h>.
768
769 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 * elf/link.h (struct link_map): Extend the l_addr comment.
772 * include/link.h (struct link_map): Likewise.
773
774 2013-02-01 Joseph Myers <joseph@codesourcery.com>
775
776 [BZ #13550]
777 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
778 (BOUNDED_1): Remove macro.
779 * debug/backtrace.c: Don't include <bp-checks.h>.
780 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
781 (__backtrace): Likewise.
782 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
783 <bp-checks.h>.
784 (__backtrace): Don't use BOUNDED_1.
785 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
786 <bp-checks.h>.
787 (__backtrace): Don't use BOUNDED_1.
788 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
789 (__backtrace): Don't use BOUNDED_1.
790 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
791 (shmat): Don't use BOUNDED_N.
792
793 2013-01-31 Joseph Myers <joseph@codesourcery.com>
794
795 [BZ #13550]
796 * sysdeps/generic/bp-start.h: Remove file.
797 * csu/libc-start.c: Don't include <bp-start.h>.
798 (LIBC_START_MAIN): Set up __environ directly instead of using
799 INIT_ARGV_and_ENVIRON.
800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
801 <bp-start.h>.
802
803 [BZ #13550]
804 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
805 definitions.
806 (CHECK_FCNTL): Likewise.
807 (CHECK_N_PAGES): Likewise.
808
809 [BZ #13550]
810 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
811 definitions.
812 (CHECK_SIGSET_NULL_OK): Likewise.
813 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
814 <bp-checks.h>.
815 (sigpending): Don't use CHECK_SIGSET.
816 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
817 <bp-checks.h>.
818 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
819 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
820 <bp-checks.h>.
821 (do_sigsuspend): Don't use CHECK_SIGSET.
822 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
823 use CHECK_SIGSET.
824 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
825 (do_sigwait): Don't use CHECK_SIGSET.
826 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
827 use CHECK_SIGSET.
828 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
829 include <bp-checks.h>.
830 (sigpending): Don't use CHECK_SIGSET.
831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
832 include <bp-checks.h>.
833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
834 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
835 <bp-checks.h>.
836 (sigpending): Don't use CHECK_SIGSET.
837 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
838 <bp-checks.h>.
839 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
840
841 [BZ #13550]
842 * sysdeps/generic/bp-semctl.h: Remove file.
843 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
844 <bp-checks.h> and <bp-semctl.h>.
845 (__old_semctl): Don't use CHECK_SEMCTL.
846 (__new_semctl): Likewise.
847 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
848 and <bp-semctl.h>.
849 (__old_semctl): Don't use CHECK_SEMCTL.
850 (__new_semctl): Likewise.
851 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
852 <bp-checks.h> and <bp-semctl.h>.
853 (__old_semctl): Don't use CHECK_SEMCTL.
854 (__new_semctl): Likewise.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
856 <bp-checks.h> and <bp-semctl.h>.
857 (semctl): Don't use CHECK_SEMCTL.
858
859 [BZ #13550]
860 * Makerules (elide-bp-thunks): Remove variable.
861 (elide-routines.oS): Don't use $(elide-bp-thunks).
862 (elide-routines.os): Likewise.
863 (elide-routines.o): Likewise.
864 (elide-routines.op): Likewise.
865 (elide-routines.og): Likewise.
866 (objects): Don't use $(bp-thunks).
867 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
868 include.
869 (common-generated): Do not add s-proto-bp.d.
870 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
871 (int): Likewise.
872 (typ): Likewise.
873 Do not generate makefile rules for bounded-pointer thunks.
874 * sysdeps/generic/bp-thunks.h: Remove file.
875 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
876 * sysdeps/unix/s-proto-bp.S: Likewise.
877
878 [BZ #15062]
879 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
880 parts of result separately when argument is not close to line from
881 -i to i and one part of argument is small.
882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
884 * math/libm-test.inc (cacos_test): Add more tests.
885 (casin_test): Likewise.
886 (casinh_test): Likewise.
887 * sysdeps/i386/fpu/libm-test-ulps: Update.
888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
889
890 2013-01-31 David S. Miller <davem@davemloft.net>
891
892 * po/de.po: Update from translation team.
893
894 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
895
896 * time/tzfile.c: Include stdint.h for SIZE_MAX.
897
898 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
899
900 * configure.in (_AC_PROG_CC_C89): New definition.
901 * configure: Regenerate.
902
903 * configure.in (AC_PROG_CPP): New definition.
904 * configure: Regenerate.
905
906 2013-01-23 Joseph Myers <joseph@codesourcery.com>
907
908 * debug/tst-backtrace.h: New file.
909 * debug/tst-backtrace2.c: Include tst-backtrace.h.
910 (ret): Remove variable.
911 (x): Likewise.
912 (FAIL): Remove macro.
913 (NO_INLINE): Likewise.
914 (fn1): Use match function instead of strstr.
915 * debug/tst-backtrace3.c: Include tst-backtrace.h.
916 (ret): Remove variable.
917 (x): Likewise.
918 (FAIL): Remove macro.
919 (NO_INLINE): Likewise.
920 (fn): Use match function instead of strstr.
921 * debug/tst-backtrace4.c: Include tst-backtrace.h.
922 (ret): Remove variable.
923 (x): Likewise.
924 (FAIL): Remove macro.
925 (NO_INLINE): Likewise.
926 (handle_signal): Use match function instead of strstr.
927 * debug/tst-backtrace5.c: Include tst-backtrace.h.
928 (ret): Remove variable.
929 (x): Likewise.
930 (FAIL): Remove macro.
931 (NO_INLINE): Likewise.
932 (handle_signal): Use match function instead of strstr.
933
934 2013-01-23 Roland McGrath <roland@hack.frob.com>
935
936 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
937
938 2013-01-23 David S. Miller <davem@davemloft.net>
939
940 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
941 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
942 argument of CAS if possible.
943 * sysdeps/sparc/sparc64/bits/atomic.h
944 (__arch_compare_and_exchange_val_32_acq): Likewise.
945 (__arch_compare_and_exchange_val_64_acq): Likewise.
946
947 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
948
949 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
950 * sysdeps/posix/ulimit.c: ... this.
951 Include <limits.h>.
952 * sysdeps/unix/bsd/ulimit.c: Remove file.
953
954 2013-01-23 Adam Conrad <adconrad@0c3.net>
955
956 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
957 (LDFLAGS-tst-array5): Likewise.
958
959 2013-01-23 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #15036]
962 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
963 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
964 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
965 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
966
967 2013-01-21 David S. Miller <davem@davemloft.net>
968
969 * sysdeps/sparc/backtrace.c: New file.
970 * sysdeps/sparc/sparc32/backtrace.h: New file.
971 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
972 * sysdeps/sparc/sparc64/backtrace.h: New file.
973 * sysdeps/sparc/sparc64/backtrace.c: Delete.
974 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
975 -funwind-tables.
976
977 2013-01-21 Andreas Schwab <schwab@suse.de>
978
979 [BZ #15020]
980 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
981 closed its stdout.
982
983 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
984
985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
986 "mpa2.h".
987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
988
989 2013-01-18 Joseph Myers <joseph@codesourcery.com>
990 Mark Mitchell <mark@codesourcery.com>
991 Tom de Vries <tom@codesourcery.com>
992 Paul Pluzhnikov <ppluzhnikov@google.com>
993
994 * debug/tst-backtrace2.c: New file.
995 * debug/tst-backtrace3.c: Likewise.
996 * debug/tst-backtrace4.c: Likewise.
997 * debug/tst-backtrace5.c: Likewise.
998 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
999 (CFLAGS-tst-backtrace3.c): Likewise.
1000 (CFLAGS-tst-backtrace4.c): Likewise.
1001 (CFLAGS-tst-backtrace5.c): Likewise.
1002 (LDFLAGS-tst-backtrace2): Likewise.
1003 (LDFLAGS-tst-backtrace3): Likewise.
1004 (LDFLAGS-tst-backtrace4): Likewise.
1005 (LDFLAGS-tst-backtrace5): Likewise.
1006 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1007 tst-backtrace4 and tst-backtrace5.
1008
1009 2013-01-18 Anton Blanchard <anton@samba.org>
1010 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1011
1012 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1013 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1015 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1017 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1018 "+r" and remove output regs list as redundant. Add explicit inline
1019 asm to specify register of return val to work around compiler codegen
1020 bug. Remove (int) cast on return value. Add return type parameter to
1021 use in macro so that this macro does not truncate return value for
1022 64-bit values.
1023 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1024 pass to INTERNAL_VSYSCALL_NCS.
1025 (INLINE_VSYSCALL): Add 'long int' as return type to
1026 INTERNAL_VSYSCALL_NCS macro invocation.
1027 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1028 INTERNAL_VSYSCALL_NCS macro invocation.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1030
1031 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1032
1033 [BZ #14496]
1034 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1035 Fix application of SIMD FP exception mask.
1036
1037 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1038 mp_no from a power of two.
1039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1040 __mpexp_twomm1. Use __pow_mp.
1041
1042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1043 multiplication.
1044
1045 2013-01-17 David S. Miller <davem@davemloft.net>
1046
1047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1048
1049 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1050
1051 [BZ #15023]
1052 * include/complex.h: Condition contents on [!_COMPLEX_H].
1053 (__kernel_casinhf): New prototype.
1054 (__kernel_casinh): Likewise.
1055 (__kernel_casinhl): Likewise.
1056 * math/Makefile (libm_calls): Add k_casinh.
1057 * math/k_casinh.c: New file.
1058 * math/k_casinhf.c: Likewise.
1059 * math/k_casinhl.c: Likewise.
1060 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1061 finite nonzero arguments.
1062 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1063 finite nonzero arguments.
1064 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1065 finite nonzero arguments.
1066 * math/s_casinh.c: Do not include <float.h>.
1067 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1068 * math/s_casinhf.c: Do not include <float.h>.
1069 (__casinhf): Move code for finite nonzero arguments to
1070 k_casinhf.c.
1071 * math/s_casinhl.c: Do not include <float.h>.
1072 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1073 redefine.
1074 (__casinhl): Move code for finite nonzero arguments to
1075 k_casinhl.c.
1076 * math/libm-test.inc (cacos_test): Add more tests.
1077 * sysdeps/i386/fpu/libm-test-ulps: Update.
1078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1079
1080 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1081
1082 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1083 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1084 [!HAVE_MREMAP]: Remove [defined linux] case.
1085 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1086
1087 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1088
1089 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1090
1091 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * elf/elf.h (R_386_SIZE32): New relocation.
1094 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1095 R_386_SIZE32.
1096 (elf_machine_rela): Likewise.
1097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1098 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1099
1100 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1101
1102 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1103 (FP_FAST_FMA): Do not define.
1104 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1105 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1106 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1107 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1108 !_SOFT_FLOAT]: Likewise.
1109 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1111 value.
1112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1113 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1114 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1116 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1117 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1118 file.
1119
1120 2013-01-16 Andreas Schwab <schwab@suse.de>
1121
1122 [BZ #14327]
1123 * include/stdlib.h (__mktemp): Add declaration.
1124 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1125 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1126
1127 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
1129 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1130 definitions.
1131 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1132 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1133 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1134 definitions here.
1135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1136 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1137 definitions.
1138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1139 and ONE.
1140 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1141 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1143 definitions.
1144 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1145 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1146 definitions.
1147 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1148
1149 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1150
1151 2013-01-15 David S. Miller <davem@davemloft.net>
1152
1153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1154 trunc{,f} to libm-sysdep_routes.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1157 file.
1158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1160 file.
1161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1162 file.
1163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1165 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1166 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1167 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1169 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1170 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1171
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1173 nearbyint{,f} to libm-sysdep_routes.
1174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1176 New file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1178 file.
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1180 New file.
1181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1182 file.
1183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1186 file.
1187 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1189 file.
1190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1191 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1192 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1193
1194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1195 libc_feholdexcept and libc_fesetenv.
1196
1197 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1198
1199 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1200
1201 2013-01-14 David S. Miller <davem@davemloft.net>
1202
1203 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1204 (SPARC_ASM_VIS2_IFUNC): Likewise.
1205 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1207 use of 'siam' instruction.
1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1209 Likewise.
1210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1211 Likewise.
1212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1213 Likewise.
1214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1219 file.
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1221 file.
1222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1223 file.
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1225 file.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1231 new VIS2 routines.
1232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1235 Likewise.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1241 routines to libm-sysdep_routines.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1243
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1245 fdim/fdimf to libm-sysdep_routines.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1247 file.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1250 file.
1251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1254 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1255 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1256 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1257 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1258
1259 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
1261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1262 to optimize copies.
1263
1264 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1267
1268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1269 local variable MPTWO.
1270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1271 Likewise.
1272
1273 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1274
1275 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1276 GLOB_NOESCAPE.
1277
1278 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1279
1280 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1281
1282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1283
1284 * manual/pattern.texi (glob_t): Document gl_flags.
1285 (glob64_t): Likewise.
1286
1287 2013-01-11 David S. Miller <davem@davemloft.net>
1288
1289 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1290 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1291 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1292 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1293 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1294 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1296 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1297 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1298 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1299 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1300 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1301 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1302
1303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1304 sparc V9 rather than using V8 code.
1305 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1306 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1307
1308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1309 Move to...
1310 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1311 Here.
1312
1313 2013-01-11 Roland McGrath <roland@hack.frob.com>
1314
1315 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1316 not in the main loop.
1317 * configure: Regenerated.
1318
1319 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1320
1321 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1322 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1323 to just #else.
1324 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1325 [!__GLIBC_HAVE_LONG_LONG] case.
1326 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1327 condition to just #else.
1328 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1329 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1330 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1331 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1332 unconditional.
1333 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1334 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1335 #elif condition to just #else.
1336 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1337 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1338 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1339 #elif condition to just #else.
1340
1341 2013-01-11 Steve Ellcey <sellcey@mips.com>
1342
1343 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1344 (EF_MIPS_ARCH_64): Fix value.
1345 (EF_MIPS_ARCH_32R2): New.
1346 (EF_MIPS_ARCH_64R2): New.
1347
1348 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1349
1350 * Makeconfig (+link-pie-before-libc): New.
1351 (+link-pie-after-libc): Likewise.
1352 (+link-pie-tests): Likewise.
1353 (+link-pie): Rewritten.
1354 (link-before-libc): Remove $(config-LDFLAGS).
1355 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1356 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1357 (config-LDFLAGS): Renamed to ...
1358 (rtld-LDFLAGS): This.
1359 (rtld-tests-LDFLAGS): New macro.
1360 (link-libc-rpath-link): Likewise.
1361 (link-libc-tests-rpath-link): Likewise.
1362 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1363 (link-libc): Prepand $(link-libc-rpath-link).
1364 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1365 (test-program-prefix): New macro.
1366 (test-via-rtld-prefix): Likewise.
1367 (test-program-cmd): Likewise.
1368 (host-test-program-cmd): Likewise.
1369 * Makefile ($(common-objpfx)testrun.sh): Replace
1370 $(run-program-prefix) with $(test-program-prefix).
1371 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1372 $(rtld-LDFLAGS).
1373 ($(common-objpfx)shlib.lds): Likewise.
1374 (build-module-helper): Likewise.
1375 ($(common-objpfx)format.lds): Likewise.
1376 * Rules (binaries-pie-tests): New.
1377 (binaries-pie-notests): Likewise.
1378 (binaries-pie): Rewritten.
1379 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1380 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1381 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1382 (make-test-out): Replace $(host-built-program-cmd) with
1383 $(host-test-program-cmd).
1384 * config.make.in (build-hardcoded-path-in-tests): New variable.
1385 * configure.in (--enable-hardcoded-path-in-tests): New configure
1386 option.
1387 (hardcoded_path_in_tests): New AC_SUBST.
1388 * configure: Regenerated.
1389 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1390 $(built-program-cmd) with $(test-program-cmd).
1391 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1392 (test_program_cmd): This.
1393 * elf/Makefile ($(objpfx)order.out): Run test with
1394 $(test-program-prefix).
1395 ($(objpfx)order2.out): Likewise.
1396 ($(objpfx)tst-initorder.out): Likewise.
1397 ($(objpfx)tst-initorder2.out): Likewise.
1398 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1399 $(test-program-cmd).
1400 ($(objpfx)tst-array1-static.out): Likewise.
1401 ($(objpfx)tst-array2.out): Likewise.
1402 ($(objpfx)tst-array3.out): Likewise.
1403 ($(objpfx)tst-array4.out): Likewise.
1404 ($(objpfx)tst-array5.out): Likewise.
1405 ($(objpfx)tst-array5-static.out): Likewise.
1406 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1407 $(test-program-cmd).
1408 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1409 $(run-program-prefix) with $(test-program-prefix).
1410 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1411 (test_program_prefix): This.
1412 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1413 $(run-program-prefix) with $(test-program-prefix).
1414 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1415 (test_program_prefix): This.
1416 * iconvdata/tst-tables.sh: Likewise.
1417 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1418 $(run-program-prefix) with $(test-program-prefix).
1419 ($(objpfx)tst-translit.out): Likewise.
1420 ($(objpfx)tst-gettext2.out): Likewise.
1421 ($(objpfx)tst-gettext4.out): Likewise.
1422 ($(objpfx)tst-gettext6.out): Likewise.
1423 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1424 (test_program_prefix): This.
1425 * intl/tst-gettext2.sh: Likewise.
1426 * intl/tst-gettext4.sh Likewise.
1427 * intl/tst-gettext6.sh: Likewise.
1428 * intl/tst-translit.sh: Likewise.
1429 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1430 with $(test-program-cmd).
1431 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1432 $(run-program-prefix) with $(test-program-prefix).
1433 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1434 (test_program_prefix): This.
1435 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1436 $(run-program-prefix) with $(test-program-prefix).
1437 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1438 (test_program_prefix): This.
1439 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1440 * posix/Makefile ($(objpfx)globtest.out): Replace
1441 $(run-via-rtld-prefix) and $(test-wrapper) with
1442 $(test-program-prefix) and $(test-via-rtld-prefix).
1443 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1444 $(test-program-prefix).
1445 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1446 $(host-test-program-cmd).
1447 (tst-spawn-ARGS): Likewise.
1448 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1449 $(test-program-prefix).
1450 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1451 (test_via_rtld_prefix): This.
1452 (test_wrapper): Renamed to ...
1453 (test_program_prefix): This.
1454 (run_program_prefix): Replaced by test_program_prefix.
1455 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1456 (test_program_prefix): This.
1457 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1458 with $(host-test-program-cmd).
1459 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1460 $(run-program-prefix) with $(test-program-prefix).
1461 ($(objpfx)tst-printf.out): Likewise.
1462 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1463 $(test-program-cmd).
1464 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1465 (test_program_prefix): This.
1466 * stdio-common/tst-unbputc.sh: Likewise.
1467 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1468 $(run-program-prefix) with $(test-program-prefix).
1469 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1470 (test_program_prefix): This.
1471 * string/Makefile ($(objpfx)tst-svc.out): Replace
1472 $(built-program-cmd) with $(test-program-cmd).
1473
1474 2013-01-11 Andreas Jaeger <aj@suse.de>
1475
1476 [BZ #15003]
1477 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1478 value. Sync with Linux 3.7.
1479
1480 2013-01-10 David S. Miller <davem@davemloft.net>
1481
1482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1485
1486 2013-01-10 Roland McGrath <roland@hack.frob.com>
1487
1488 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1489 never set.
1490 * configure: Regenerated.
1491
1492 2013-01-10 David S. Miller <davem@davemloft.net>
1493
1494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1495 sparc V9 rather than using V8 code.
1496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1498
1499 2013-01-10 Roland McGrath <roland@hack.frob.com>
1500
1501 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1502 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1503 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1504 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1505 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1506 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1507 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1508 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1509 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1510 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1511 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1512 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1513 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1514 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1515 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1516 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1517 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1518 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1519 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1520 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1521 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1522 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1523 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1524 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1525 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1526 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1527 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1528
1529 2013-01-10 David S. Miller <davem@davemloft.net>
1530
1531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1532
1533 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 * posix/Makefile (tests-static): New variable.
1536 (tests): Add $(tests-static).
1537 (tst-exec-static-ARGS): New variable.
1538 (tst-spawn-static-ARGS): Likewise.
1539 * posix/tst-exec-static.c: New file.
1540 * posix/tst-spawn-static.c: Likewise.
1541 * posix/tst-exec.c: Support run directly.
1542 * posix/tst-spawn.c: Likewise.
1543
1544 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1545
1546 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1547 long.
1548 * math/bits/mathcalls.h (llrint): Likewise.
1549 (llround): Likewise.
1550 * stdlib/stdlib.h (struct drand48_data): Likewise.
1551 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1552 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1553 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1554 Likewise.
1555 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1556 Likewise.
1557 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1558 (elf_greg_t): Likewise.
1559 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1560 (__jmp_buf): Likewise.
1561 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1562 definitions.
1563 (llrint): Likewise, for all definitions.
1564 (llrintl): Likewise.
1565
1566 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1567 Remove [__GNUC__] condition.
1568 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1569 condition to just [__USE_ISOC99].
1570 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1571
1572 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1573
1574 [BZ #14200]
1575 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1576 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1577 defined.
1578 (_POSIX_V6_ILP32_OFF32): Likewise.
1579 (_XBS5_ILP32_OFF32): Likewise.
1580 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1581 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1582
1583 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
1585 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1586
1587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1588 doubles __mpexp_twomm1. Adjust usage.
1589 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1590 Remove.
1591
1592 2013-01-10 Andreas Schwab <schwab@suse.de>
1593
1594 [BZ #14964]
1595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1596 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1597
1598 2013-01-09 David S. Miller <davem@davemloft.net>
1599
1600 [BZ #15003]
1601 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1602 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1603 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1604 TCP_FASTOPEN): Define.
1605 (tcp_repair_opt): New structure.
1606 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1607 enum values.
1608 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1609 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1610 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1611 (tcp_cookie_transactions): New structure.
1612
1613 2013-01-09 Anton Blanchard <anton@samba.org>
1614
1615 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1616 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1617 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1618 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1619
1620 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1621
1622 * include/features.h (__USE_ANSI): Remove.
1623
1624 2013-01-09 Roland McGrath <roland@hack.frob.com>
1625
1626 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1627
1628 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1629
1630 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1631
1632 * sysdeps/s390/fpu/libm-test-ulps: Update.
1633
1634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1635
1636 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1637 (__acr): Likewise.
1638 (__cpy): Likewise.
1639 (norm): Likewise.
1640 (denorm): Likewise.
1641 (__mp_dbl): Likewise.
1642 (__dbl_mp): Likewise.
1643 (add_magnitudes): Likewise.
1644 (sub_magnitudes): Likewise.
1645 (__add): Likewise.
1646 (__sub): Likewise.
1647 (__mul): Likewise.
1648 (__inv): Likewise.
1649 (__dvd): Likewise.
1650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1651 (__acr): Likewise.
1652 (__cpy): Likewise.
1653 (norm): Likewise.
1654 (denorm): Likewise.
1655 (__mp_dbl): Likewise.
1656 (__dbl_mp): Likewise.
1657 (add_magnitudes): Likewise.
1658 (sub_magnitudes): Likewise.
1659 (__add): Likewise.
1660 (__sub): Likewise.
1661 (__mul): Likewise.
1662 (__inv): Likewise.
1663 (__dvd): Likewise.
1664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1665 (__acr): Likewise.
1666 (__cpy): Likewise.
1667 (norm): Likewise.
1668 (denorm): Likewise.
1669 (__mp_dbl): Likewise.
1670 (__dbl_mp): Likewise.
1671 (add_magnitudes): Likewise.
1672 (sub_magnitudes): Likewise.
1673 (__add): Likewise.
1674 (__sub): Likewise.
1675 (__mul): Likewise.
1676 (__inv): Likewise.
1677 (__dvd): Likewise.
1678
1679 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1680
1681 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1682 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1683 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1684 2 && __USE_EXTERN_INLINES]: Likewise.
1685
1686 2013-01-08 Andreas Jaeger <aj@suse.de>
1687
1688 [BZ# 14985]
1689 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1690 Remove.
1691 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1692 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1693
1694 2013-01-07 Anton Blanchard <anton@samba.org>
1695
1696 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1697 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1698 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1699 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1700 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1701 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1702 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1703 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1710 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1711 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1715 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1717 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1719 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1720 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1721 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1722 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1725 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1726 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1728 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1729 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1730 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1731 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1734 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1738 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1739
1740 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1741
1742 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1743 (__MALLOC_PMT): Likewise.
1744 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1745 [__GNUC__], only on [_LIBC].
1746 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1747 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1748 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1749 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1750 forward declaration.
1751 (realloc_hook_ini): Likewise.
1752 (memalign_hook_ini): Likewise.
1753 (__libc_memalign): Do not use __MALLOC_PMT in variable
1754 declaration.
1755 (__libc_valloc): Likewise.
1756 (__libc_pvalloc): Likewise.
1757 (__libc_calloc): Likewise.
1758 (__posix_memalign): Likewise.
1759
1760 [BZ #14996]
1761 * math/s_casinh.c: Include <float.h>.
1762 (__casinh): Do not do computation with squaring and square root
1763 for large arguments.
1764 * math/s_casinhf.c: Include <float.h>.
1765 (__casinhf): Do not do computation with squaring and square root
1766 for large arguments.
1767 * math/s_casinhl.c: Include <float.h>.
1768 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1769 (__casinhl): Do not do computation with squaring and square root
1770 for large arguments.
1771 * math/libm-test.inc (casin_test): Add more tests.
1772 (casinh_test): Likewise.
1773 * sysdeps/i386/fpu/libm-test-ulps: Update.
1774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1775
1776 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1777
1778 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1779 (__x86_64_raw_data_cache_size): Likewise.
1780 (__x86_64_data_cache_size_half): Likewise.
1781 (__x86_64_raw_data_cache_size_half): Likewise.
1782 (__x86_64_shared_cache_size): Likewise.
1783 (__x86_64_raw_shared_cache_size): Likewise.
1784 (__x86_64_shared_cache_size_half): Likewise.
1785 (__x86_64_raw_shared_cache_size_half): Likewise.
1786 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1787 to ...
1788 (__x86_data_cache_size): This.
1789 (__x86_64_raw_data_cache_size): Renamed to ...
1790 (__x86_raw_data_cache_size): This.
1791 (__x86_64_data_cache_size_half): Renamed to ...
1792 (__x86_data_cache_size_half): This.
1793 (__x86_64_raw_data_cache_size_half): Renamed to ...
1794 (__x86_raw_data_cache_size_half): This.
1795 (__x86_64_shared_cache_size): Renamed to ...
1796 (__x86_shared_cache_size): This.
1797 (__x86_64_raw_shared_cache_size): Renamed to ...
1798 (__x86_raw_shared_cache_size): This.
1799 (__x86_64_shared_cache_size_half): Renamed to ...
1800 (__x86_shared_cache_size_half): This.
1801 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1802 (__x86_raw_shared_cache_size_half): This.
1803 * sysdeps/x86_64/memcpy.S: Updated.
1804 * sysdeps/x86_64/memset.S: Likewise.
1805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1808
1809 2013-01-04 David S. Miller <davem@davemloft.net>
1810
1811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1812
1813 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1814
1815 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1816 1 to avoid redefinition warning.
1817 (__USE_GNU): Don't define.
1818 (init_signaling_nan): Protoize.
1819
1820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1821
1822 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1823
1824 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1826 (__cpymn): Likewise.
1827 (norm): Remove commented code.
1828 (denorm): Likewise.
1829 (__mp_dbl): Likewise.
1830 (__inv): Likewise.
1831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1832 (__cpymn): Likewise.
1833 (norm): Remove commented code.
1834 (denorm): Likewise.
1835 (__mp_dbl): Likewise.
1836 (__inv): Likewise.
1837
1838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1839 mp_no value for 1.0 and 2.0.
1840 (norm): Use RADIXI instead of radixi.d.
1841 (denorm): Likewise.
1842 (__mul): Use 0.0 instead of zero.d.
1843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1844 mp_no value for 1.0 and 2.0.
1845 (norm): Use RADIXI instead of radixi.d.
1846 (denorm): Likewise.
1847 (__mul): Use 0.0 instead of zero.d.
1848
1849 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1850
1851 [BZ #14994]
1852 * math/s_casinh.c (__casinh): Reduce finite argument to first
1853 quadrant then set signs of results at the end.
1854 * math/s_casinhf.c (__casinhf): Likewise.
1855 * math/s_casinhl.c (__casinhl): Likewise.
1856 * math/libm-test.inc (casin_test): Add more tests.
1857 (casinh_test): Likewise.
1858 * sysdeps/i386/fpu/libm-test-ulps: Update.
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1860
1861 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1862
1863 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1864
1865 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1866
1867 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1868 declarations.
1869 (denorm): Likewise.
1870 (__mp_dbl): Likewise.
1871 (__inv): Likewise.
1872
1873 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1874 and adjust the header comment.
1875
1876 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1877 variable name from declaration.
1878
1879 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1882 Initialize COMMON_CPUID_INDEX_7 element.
1883 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1884 (CPUID_RTM): Likewise.
1885 (HAS_RTM): Likewise.
1886 (COMMON_CPUID_INDEX_7): New enum.
1887
1888 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1889
1890 [BZ #14981]
1891 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1892 size is zero, record memory as freed.
1893
1894 2013-01-03 Andreas Jaeger <aj@suse.de>
1895
1896 * po/ia.po: Add new Interlingua translation.
1897
1898 2012-01-03 Allan McRae <allan@archlinux.org>
1899
1900 * locale/programs/localedef.c: Fix description of '--posix' flag.
1901
1902 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1903
1904 * NEWS: Update dates in second copyright notice.
1905 * README: Update copyright dates in example.
1906 * manual/libc.texinfo: Update copyright dates.
1907 * scripts/test-installation.pl: Update copyright date in --version
1908 output.
1909
1910 * hurd/ctty-input.c: Fix copyright notice formatting.
1911 * hurd/ctty-output.c: Likewise.
1912 * hurd/dtable.c: Likewise.
1913 * hurd/hurd-raise.c: Likewise.
1914 * hurd/hurdprio.c: Likewise.
1915 * hurd/msgportdemux.c: Likewise.
1916 * misc/sys/file.h: Likewise.
1917 * misc/sys/ioctl.h: Likewise.
1918 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1919 * sysdeps/mach/hurd/chdir.c: Likewise.
1920 * sysdeps/mach/hurd/fchdir.c: Likewise.
1921 * sysdeps/mach/hurd/rename.c: Likewise.
1922 * sysdeps/mach/hurd/rmdir.c: Likewise.
1923 * sysdeps/mach/hurd/seekdir.c: Likewise.
1924 * sysdeps/mach/hurd/setsid.c: Likewise.
1925 * sysdeps/posix/wait3.c: Likewise.
1926
1927 * All files with FSF copyright notices: Update copyright dates
1928 using scripts/update-copyrights.
1929 * intl/plural.c: Regenerated.
1930 * locale/programs/charmap-kw.h: Likewise.
1931 * locale/programs/locfile-kw.h: Likewise.
1932
1933 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
1935 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1936 four values.
1937
1938 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1939 calculation loop and add branch prediction.
1940
1941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1942 check access beyond bounds of m1np.
1943
1944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1945 MPTWO.
1946 (__inv): Remove local variable MPTWO to use the global
1947 constant.
1948 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1950 variable MPTWO.
1951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1952 MP3HALFS static const.
1953
1954 2013-01-01 David S. Miller <davem@davemloft.net>
1955
1956 * po/ca.po: Update from translation team.
1957
1958 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1959
1960 * scripts/update-copyrights: New file.
1961 * Makeconfig: Reformat copyright notice.
1962 * ctype/ctype.h: Likewise.
1963 * debug/swprintf_chk.c: Likewise.
1964 * elf/dl-cache.c: Likewise.
1965 * elf/dl-debug.c: Likewise.
1966 * elf/dl-object.c: Likewise.
1967 * grp/initgroups.c: Likewise.
1968 * hurd/Makefile: Likewise.
1969 * hurd/hurd/signal.h: Likewise.
1970 * hurd/hurdfault.c: Likewise.
1971 * hurd/hurdioctl.c: Likewise.
1972 * hurd/hurdlookup.c: Likewise.
1973 * hurd/intr-msg.c: Likewise.
1974 * iconv/gconv_open.c: Likewise.
1975 * libio/swprintf.c: Likewise.
1976 * locale/lc-ctype.c: Likewise.
1977 * locale/nl_langinfo.c: Likewise.
1978 * mach/Machrules: Likewise.
1979 * mach/Makefile: Likewise.
1980 * malloc/obstack.h: Likewise.
1981 * manual/Makefile: Likewise.
1982 * manual/tsort.awk: Likewise.
1983 * misc/bits/stab.def: Likewise.
1984 * nis/nis_print_group_entry.c: Likewise.
1985 * nis/nis_table.c: Likewise.
1986 * nis/nss_compat/compat-pwd.c: Likewise.
1987 * nis/nss_compat/compat-spwd.c: Likewise.
1988 * po/Makefile: Likewise.
1989 * posix/fnmatch.c: Likewise.
1990 * posix/regex.h: Likewise.
1991 * resolv/Makefile: Likewise.
1992 * resolv/nss_dns/dns-network.c: Likewise.
1993 * resolv/res_hconf.c: Likewise.
1994 * scripts/gen-sorted.awk: Likewise.
1995 * soft-fp/soft-fp.h: Likewise.
1996 * stdio-common/printf.h: Likewise.
1997 * stdlib/monetary.h: Likewise.
1998 * stdlib/random.c: Likewise.
1999 * stdlib/random_r.c: Likewise.
2000 * sysdeps/generic/Makefile: Likewise.
2001 * sysdeps/gnu/Makefile: Likewise.
2002 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2030 * sysdeps/mach/hurd/errnos.awk: Likewise.
2031 * sysdeps/mach/hurd/fork.c: Likewise.
2032 * sysdeps/mach/hurd/getcwd.c: Likewise.
2033 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2034 * sysdeps/mach/hurd/mmap.c: Likewise.
2035 * sysdeps/mach/hurd/utimes.c: Likewise.
2036 * sysdeps/mach/hurd/xmknod.c: Likewise.
2037 * sysdeps/posix/profil.c: Likewise.
2038 * sysdeps/posix/readdir_r.c: Likewise.
2039 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2040 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2046 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2048 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2050 * sysdeps/pthread/lio_listio.c: Likewise.
2051 * sysdeps/sparc/dl-procinfo.h: Likewise.
2052 * sysdeps/unix/i386/sysdep.S: Likewise.
2053 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2054 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2055 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2056 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2058 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2059 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2060 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2061 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2062 * sysdeps/wordsize-32/divdi3.c: Likewise.
2063 * time/sys/time.h: Likewise.
2064 * wcsmbs/Makefile: Likewise.
2065
2066 2013-01-01 David S. Miller <davem@davemloft.net>
2067
2068 * po/fr.po: Update from translation team.
2069
2070 * catgets/gencat.c: Update copyright year.
2071 * csu/version.c: Likewise.
2072 * debug/catchsegv.sh: Likewise.
2073 * debug/pcprofiledump.c: Likewise.
2074 * debug/xtrace.sh: Likewise.
2075 * elf/ldconfig.c: Likewise.
2076 * elf/ldd.bash.in: Likewise.
2077 * elf/pldd.c: Likewise.
2078 * elf/sotruss.ksh: Likewise.
2079 * elf/sprof.c: Likewise.
2080 * iconv/iconv_prog.c: Likewise.
2081 * iconv/iconvconfig.c: Likewise.
2082 * locale/programs/locale.c: Likewise.
2083 * locale/programs/localedef.c: Likewise.
2084 * login/programs/pt_chown.c: Likewise.
2085 * malloc/memusage.sh: Likewise.
2086 * malloc/memusagestat.c: Likewise.
2087 * malloc/mtrace.pl: Likewise.
2088 * nscd/nscd.c: Likewise.
2089 * nss/getent.c: Likewise.
2090 * nss/makedb.c: Likewise.
2091 * posix/getconf.c: Likewise.
2092
2093 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
2095 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2096 numbers.
2097
2098 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2099
2100 * math/bits/mathcalls.h (modf): Use __nonnull.
2101
2102 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2103
2104 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2105 (split): Use macro CN instead of the bare value.
2106 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2107 could be used.
2108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2109 instead of the bare value.
2110 (power1): Likewise.
2111
2112 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2113
2114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2115 __ATAN_TWOM.
2116 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2117
2118 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2119 their values.
2120 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2121 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2122 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2123 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2124
2125 2012-12-28 Andreas Jaeger <aj@suse.de>
2126
2127 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2128 values are from Linux 3.7.
2129
2130 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2131 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2132
2133 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2134
2135 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2136 TRUE case.
2137
2138 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2139 (norm): Likewise.
2140 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2141 variables with preprocessor constants.
2142 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2143 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2144 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2145
2146 2012-12-27 Bruno Haible <bruno@clisp.org>
2147
2148 [BZ #14317]
2149 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2150 only if needed.
2151
2152 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2153
2154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2155 and use variable directly.
2156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2157
2158 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2159 MPONE.
2160 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2162 variable MPONE.
2163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2165 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2166 include directive. Remove local variable MPONE.
2167 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2168 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2170
2171 2012-12-25 David S. Miller <davem@davemloft.net>
2172
2173 * version.h (RELEASE): Set to "development".
2174 (VERSION): Set to "2.17.90".
2175 * NEWS: Add 2.18 section.
2176
2177 2012-12-21 David S. Miller <davem@davemloft.net>
2178
2179 * po/hr.po: Update from translation team.
2180
2181 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2182
2183 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2184
2185 2012-12-19 Steve Ellcey <sellcey@mips.com>
2186
2187 * NEWS: Mention new memcpy for MIPS.
2188
2189 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2190
2191 * manual/contrib.texi (Contributors): Spelling correction.
2192
2193 2012-12-15 David S. Miller <davem@davemloft.net>
2194
2195 * po/ru.po: Update from translation team.
2196
2197 2012-12-13 David S. Miller <davem@davemloft.net>
2198
2199 * NEWS: Mention IFUNC testsuite enhancements.
2200
2201 * po/pl.po: Update from translation team.
2202 * po/bg.po: Likewise.
2203
2204 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2205 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2206
2207 2012-12-11 David S. Miller <davem@davemloft.net>
2208
2209 * po/sv.po: Update from translation team.
2210
2211 * po/vi.po: Update from translation team.
2212
2213 * po/cs.po: Update from translation team.
2214
2215 * po/de.po: Update from translation team.
2216 * po/eo.po: Likewise.
2217 * po/nl.po: Likewise.
2218
2219 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2220
2221 [BZ #14246]
2222 * manual/argp.texi (Argp Helper Functions): Move node to follow
2223 Argp Parsing State.
2224
2225 [BZ #14872]
2226 * manual/conf.texi (Limits on File System Capacity): Mention if
2227 terminating null is included in the max size.
2228
2229 2012-12-10 Andreas Jaeger <aj@suse.de>
2230
2231 * po/cs.po: Update from translation team.
2232
2233 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2234
2235 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2236 void pointer and cast to uintptr_t.
2237 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2238 path.
2239 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2240 * sysdeps/s390/s390-64/memset.S: Likewise.
2241
2242 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2243
2244 [BZ #14833]
2245 * menual/message.texi (Message Translation): Fix typos.
2246 (Helper programs for gettext): Likewise.
2247
2248 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2249
2250 [BZ #14898]
2251 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2252 Change to -1.
2253
2254 2012-12-07 David S. Miller <davem@davemloft.net>
2255
2256 * po/libc.pot: Update.
2257
2258 2012-12-07 Richard Henderson <rth@redhat.com>
2259
2260 [BZ #10114]
2261 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2262 normal/normal case to before the switch.
2263 (_FP_DIV): Likewise.
2264
2265 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2266 Mike Frysinger <vapier@gentoo.org>
2267
2268 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2269 check for __NR_fadvise64_64.
2270
2271 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2272
2273 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2274 0, not just to plain "0" as a statement.
2275 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2276 with cw.
2277
2278 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2279
2280 * NEWS: Use sourceware.org in Bugzilla URL.
2281
2282 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2283
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2285 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2286
2287 * stdio-common/tst-put-error.c (do_test): Add newline to the
2288 padded test to ensure flush.
2289
2290 2012-12-05 Jeff Law <law@redhat.com>
2291
2292 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2293
2294 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2295
2296 * README: Don't refer to ports add-on as distributed separately.
2297 Mention AArch64 in list of systems supported in the ports add-on.
2298
2299 * LICENSES: Add more non-FSF copyright and license notices.
2300
2301 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2302 ((unused)).
2303
2304 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2305
2306 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2307 10000 as width of padded output.
2308
2309 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2310
2311 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2312
2313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2314 variable LX with __attribute__ ((unused)).
2315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2316 Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2320 with __attribute__ ((unused)).
2321
2322 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2323
2324 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2325
2326 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2327
2328 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2329 (CFLAGS-nldbl-acos.c): New variable.
2330 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2331 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2332 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2333 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2334 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2335 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2336 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2337 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2338 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2339 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2340 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2341 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2342 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2343 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2344 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2345 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2346 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2347 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2348 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2349 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2350 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2351 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2352 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2353 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2354 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2355 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2356 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2357 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2358 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2359 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2360 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2361 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2362 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2363 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2364 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2365 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2366 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2367 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2368 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2369 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2370 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2371 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2372 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2373 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2374 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2375 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2376 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2377 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2378 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2379 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2380 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2381 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2382 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2383 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2384 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2385 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2386 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2387 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2388 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2389 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2390 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2391 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2392 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2393 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2394 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2395 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2396 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2397 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2398 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2399 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2400 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2401 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2402 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2403 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2404 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2405 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2406 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2407 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2408 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2409 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2410 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2411 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2412 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2413 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2414 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2415 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2416 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2417 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2418 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2419 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2420 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2421 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2422 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2423 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2424 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2425 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2426 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2427
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2429 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2430
2431 [BZ #14914]
2432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2433 whole low double instead of just low 47 bits when splitting values
2434 into two parts.
2435
2436 2012-12-03 Allan McRae <allan@archlinux.org>
2437
2438 * manual/stdio.texi (Predefined Printf Handlers): Remove
2439 @hsep and @vsep usage.
2440
2441 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2442
2443 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2444 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2445
2446 2012-12-03 Jeff Law <law@redhat.com>
2447
2448 * time/sys/time.h (settimeofday): Do not mark TV argument
2449 as __nonnull.
2450
2451 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2452
2453 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2454 when currently writing and seek to current position when not.
2455 * libio/Makefile (tests): Remove bug-fclose1.
2456 * libio/bug-fclose1.c: Delete.
2457
2458 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2459
2460 * manual/arith.texi (feenableexcept): Fix typo.
2461 (fedisableexcept): Likewise.
2462
2463 2012-11-30 Roland McGrath <roland@hack.frob.com>
2464
2465 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2466 second, differently-typed declaration, rather than a cast.
2467
2468 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2469
2470 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2471 * include/rpc/svc.h: ... here.
2472
2473 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2474
2475 [BZ #13013]
2476 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2477 depending n and resplen2 to catch cases where answer
2478 equals answerp2.
2479
2480 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2481
2482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2483 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2484
2485 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2486
2487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2488
2489 2012-11-29 Roland McGrath <roland@hack.frob.com>
2490
2491 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2492
2493 2012-11-28 Jeff Law <law@redhat.com>
2494
2495 [BZ #13761]
2496 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2497 dataset_temporary. Track alloca usage into alloca_used.
2498 If dataset is large allocate and release it via malloc/free.
2499
2500 2012-06-04 Florian Weimer <fweimer@redhat.com>
2501
2502 [BZ #14197]
2503 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2504
2505 2012-11-28 David S. Miller <davem@davemloft.net>
2506
2507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2508
2509 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2510
2511 [BZ #14803]
2512 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2513 of pi/2 rounded to nearest to 64 bits.
2514 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2515 nearest to 64 bits.
2516 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2517 bits.
2518
2519 2012-11-28 Jeff Law <law@redhat.com>
2520 Martin Osvald <mosvald@redhat.com>
2521
2522 [BZ #14889]
2523 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2524 * sunrpc/svc.c: Include time.h.
2525 (__svc_accept_failed): New function.
2526 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2527 any reason other than EINTR, call __svc_accept_failed.
2528 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2529 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2530
2531 2012-11-28 Andreas Schwab <schwab@suse.de>
2532
2533 * scripts/abilist.awk: Also handle indirect functions in .opd
2534 section.
2535
2536 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2537
2538 [BZ #13881]
2539 * sysdeps/x86/fpu/powl_helper.c: New file.
2540 * sysdeps/x86/fpu/Makefile: Likewise.
2541 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2542 (p3): New object.
2543 (__ieee754_powl): Use __powl_helper for finite arguments except
2544 integer exponents below 8.
2545 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2546 (p3): New object.
2547 (__ieee754_powl): Use __powl_helper for finite arguments except
2548 integer exponents below 8.
2549 * math/libm-test.inc (pow_test): Add more tests and enable some
2550 previously disabled tests.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update.
2552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2553
2554 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2555 Carlos O'Donell <carlos_odonell@mentor.com>
2556
2557 * nss/makedb.c (is_prime): Assert that input is odd and greater
2558 than 4. Note that fact in a comment too.
2559 (next_prime): Add 4 to input.
2560
2561 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
2563 [BZ #11741]
2564 * libio/Makefile (tests): Add test case tst-fwrite-error.
2565 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2566 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2567 * libio/tst-fwrite-error.c: New test case.
2568
2569 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2570
2571 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2572 before casting to void *.
2573 * include/libc-internal.h (__pointer_type): New macro.
2574 (__integer_if_pointer_type_sub): Likewise.
2575 (__integer_if_pointer_type): Likewise.
2576 (cast_to_integer): Likewise.
2577 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2578 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2579 before casting to atomic64_t.
2580 (atomic_exchange_acq): Likewise.
2581 (__arch_exchange_and_add_body): Likewise.
2582 (__arch_add_body): Likewise.
2583 (atomic_add_negative): Likewise.
2584 (atomic_add_zero): Likewise.
2585
2586 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2587
2588 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2589 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2590 (add_fdes): Likewise.
2591 (linear_search_fdes): Likewise.
2592 (binary_search_unencoded_fdes): Likewise.
2593
2594 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2595
2596 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2597
2598 2012-11-24 Adam Conrad <adconrad@0c3.net>
2599
2600 * configure.in: Autodetect C++ header directories.
2601 * configure: Regenerated.
2602
2603 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2604
2605 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2606
2607 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2608
2609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2610
2611 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2612
2613 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2614 LDBL_MANT_DIG == 106]: Disable some tests.
2615 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2616 Likewise.
2617 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2618 Likewise.
2619
2620 [BZ #14871]
2621 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2622 input for small inputs. Return +/- pi/2 for large inputs.
2623 * math/libm-test.inc (atan_test): Add more tests.
2624
2625 * sysdeps/generic/unwind-dw2-fde-glibc.c
2626 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2627 __attribute__ ((unused)).
2628
2629 [BZ #14645]
2630 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2631 x * y if x and y are nonzero and z is zero.
2632
2633 [BZ #14811]
2634 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2635 nonzero exponents with absolute value below 0x1p-117 to +/-
2636 0x1p-117.
2637
2638 [BZ #14869]
2639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2640 up arguments below 2**-450, not just those below 2**-500.
2641 * math/libm-test.inc (hypot_test): Add another test.
2642
2643 [BZ #14868]
2644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2645 Return a+b for ratio over 2**120, not 2**60.
2646 * math/libm-test.inc (hypot_test): Add another test.
2647
2648 * math/libm-test.inc (clog_test): Use
2649 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2650 (clog10_test): Likewise.
2651
2652 [BZ #6778]
2653 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2654
2655 2012-11-22 Andreas Schwab <schwab@suse.de>
2656
2657 * sysdeps/i386/fpu/libm-test-ulps: Update.
2658
2659 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2660
2661 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2662 printf output with newline.
2663
2664 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2665
2666 [BZ #14865]
2667 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2668 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2669 -z nodlopen, -z initfirst and -z execstack support.
2670 * configure: Regenerated.
2671
2672 * elf/elf.h (DF_1_NODIRECT): New macro.
2673 (DF_1_IGNMULDEF): Likewise.
2674 (DF_1_NOKSYMS): Likewise.
2675 (DF_1_NOHDR): Likewise.
2676 (DF_1_EDITED): Likewise.
2677 (DF_1_NORELOC): Likewise.
2678 (DF_1_SYMINTPOSE): Likewise.
2679 (DF_1_GLOBAUDIT): Likewise.
2680 (DF_1_SINGLETON): Likewise.
2681 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2682 DT_1_SUPPORTED_MASK bits.
2683 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2684
2685 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2686
2687 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2688
2689 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2690
2691 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2692 macro.
2693
2694 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2695 (sendmmsg): Move declarations...
2696 * socket/sys/socket.h: ... here.
2697 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2698 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2699 include it from...
2700 * socket/recvmmsg.c: ... this new file.
2701 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2702 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2703 definition of __sendmmsg hidden.
2704 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2705 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2706 Move ENOSYS stub into and include it from...
2707 * socket/sendmmsg.c: ... this new file.
2708 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2709 (sysdep_routines): Move recvmmsg and sendmmsg...
2710 * socket/Makefile (routines): ... here.
2711 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2712 (GLIBC_PRIVATE): Add __sendmmsg.
2713 * include/sys/socket.h (__sendmmsg): Add declarations.
2714 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2715 sendmmsg.
2716
2717 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2718
2719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2720 variable I1 with __attribute__ ((unused)).
2721 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2722
2723 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2724
2725 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2726 DUMMY variables with __attribute__ ((unused)).
2727
2728 * bits/byteswap.h: Include <bits/types.h>.
2729 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2730
2731 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2732
2733 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2734 string_t. Do not manually set errno.
2735 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2736 length with __strnlen. Make sure to both set errno and return it on
2737 failure.
2738
2739 2012-11-19 David S. Miller <davem@davemloft.net>
2740
2741 With help from Joseph Myers.
2742 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2743 very large arguments properly.
2744 * math/libm-test.inc (atan_test): New tests.
2745 (atan2_test): New tests.
2746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2748
2749 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2750
2751 [BZ #14856]
2752 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2753 Define to 3.
2754
2755 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2756 [POSIX] (EADDRNOTAVAIL): Likewise.
2757 [POSIX] (EAFNOSUPPORT): Likewise.
2758 [POSIX] (EALREADY): Likewise.
2759 [POSIX] (ECONNABORTED): Likewise.
2760 [POSIX] (ECONNREFUSED): Likewise.
2761 [POSIX] (ECONNRESET): Likewise.
2762 [POSIX] (EDESTADDRREQ): Likewise.
2763 [POSIX] (EDQUOT): Likewise.
2764 [POSIX] (EHOSTUNREACH): Likewise.
2765 [POSIX] (EIDRM): Likewise.
2766 [POSIX] (EISCONN): Likewise.
2767 [POSIX] (ELOOP): Likewise.
2768 [POSIX] (EMULTIHOP): Likewise.
2769 [POSIX] (ENETDOWN): Likewise.
2770 [POSIX] (ENETUNREACH): Likewise.
2771 [POSIX] (ENOBUFS): Likewise.
2772 [POSIX] (ENODATA): Likewise.
2773 [POSIX] (ENOLINK): Likewise.
2774 [POSIX] (ENOMSG): Likewise.
2775 [POSIX] (ENOPROTOOPT): Likewise.
2776 [POSIX] (ENOSR): Likewise.
2777 [POSIX] (ENOSTR): Likewise.
2778 [POSIX] (ENOTCONN): Likewise.
2779 [POSIX] (ENOTSOCK): Likewise.
2780 [POSIX] (EOPNOTSUPP): Likewise.
2781 [POSIX] (EOVERFLOW): Likewise.
2782 [POSIX] (EPROTO): Likewise.
2783 [POSIX] (EPROTONOSUPPORT): Likewise.
2784 [POSIX] (EPROTOTYPE): Likewise.
2785 [POSIX] (ESTALE): Likewise.
2786 [POSIX] (ETIME): Likewise.
2787 [POSIX] (ETXTBSY): Likewise.
2788 [POSIX] (EWOULDBLOCK): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2790 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2791 [POSIX] (SEEK_CUR): Likewise.
2792 [POSIX] (SEEK_END): Likewise.
2793 [POSIX || UNIX98] (mode_t): Do not require.
2794 [POSIX] (off_t): Likewise.
2795 [POSIX] (pid_t): Likewise.
2796 [POSIX] (sys/stat.h): Do not allow header.
2797 [POSIX] (unistd.h): Likewise.
2798 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2799 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2800 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2801 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2802 require.
2803 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2804 sigevent): Specify elements.
2805 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2806 entry.
2807 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2808 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2809
2810 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2811 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2812 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2813 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2814 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2815 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2816 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2817 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2818 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2819 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2820 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2821 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2822 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2824 Likewise.
2825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2826 Likewise.
2827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2828 Likewise.
2829 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2830 Likewise.
2831 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2832 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2833 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2834 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2835 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2836 Specify lower bound on value.
2837 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2838 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2839 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2840 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2841 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2842 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2843 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2844 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2845 value.
2846 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2847 as optional.
2848 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2849 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2850 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2851 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2852 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2853 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2854 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2855 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2856 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2857 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2858 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2859 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2860 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2861 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2864 entry.
2865 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2866 optional.
2867 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2869 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2870 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2873 Likewise.
2874 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2876 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2877 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2878 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2879 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2881 as optional.
2882 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2884 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2885 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2886 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2887 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2888 specify as optional.
2889 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2890 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2891 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2892 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2893 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2894 [XPG3] (NL_LANGMAX): Likewise.
2895 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2896 [POSIX || XPG3] (NL_NMAX): Likewise.
2897 [POSIX || XPG3] (NL_SETMAX): Likewise.
2898 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2899 [XPG3] (NZERO): Likewise.
2900 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2901 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2902 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2903 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2904 (REG_ERANGE): Expect.
2905 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2906 optional-constant.
2907 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2908 Use (void) in prototype.
2909 [POSIX] (*_t): Allow.
2910 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2911 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2912 (WRDE_BADVAL): Expect.
2913
2914 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2915 expect.
2916 [XPG3 || XPG4] (O_RSYNC): Likewise.
2917 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2918 Likewise.
2919 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2920 [XPG3 || XPG4] (sigqueue): Likewise.
2921 [XPG3 || XPG4] (sigtimedwait): Likewise.
2922 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2923 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2924 [XPG3 || XPG4] (vsnprintf): Likewise.
2925 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2926 Likewise.
2927 [XPG3 || XPG4] (blksize_t): Likewise.
2928 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2929 Likewise.
2930 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2931 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2932 [XPG3 || XPG4] (struct itimerspec): Likewise.
2933 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2934 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2935 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2936 [XPG3 || XPG4] (clockid_t): Likewise.
2937 [XPG3 || XPG4] (timer_t): Likewise.
2938 [XPG3 || XPG4] (clock_getres): Likewise.
2939 [XPG3 || XPG4] (clock_gettime): Likewise.
2940 [XPG3 || XPG4] (clock_settime): Likewise.
2941 [XPG3 || XPG4] (nanosleep): Likewise.
2942 [XPG3 || XPG4] (timer_create): Likewise.
2943 [XPG3 || XPG4] (timer_delete): Likewise.
2944 [XPG3 || XPG4] (timer_gettime): Likewise.
2945 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2946 [XPG3 || XPG4] (timer_settime): Likewise.
2947 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2948 [XPG3 || XPG4] (getlogin_r): Likewise.
2949 [XPG3 || XPG4] (pread): Likewise.
2950 [XPG3 || XPG4] (pthread_atfork): Likewise.
2951 [XPG3 || XPG4] (pwrite): Likewise.
2952
2953 [BZ #14835]
2954 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2955 <bits/siginfo.h>.
2956
2957 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2958
2959 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2960 finalizing MALLSTREAM.
2961
2962 * sysdeps/mach/hurd/syncfs.c: New file.
2963
2964 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2965
2966 [BZ #14719]
2967 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2968 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2970 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2971 (_nss_dns_gethostbyname4_r): Likewise.
2972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2973 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2974
2975 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2976
2977 [BZ #13763]
2978 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2979
2980 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2981
2982 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2983 * elf/cache.c (print_entry): Print ",AArch64" for
2984 FLAG_AARCH64_LIB64
2985
2986 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2987 * elf/cache.c (print_entry): Print ",hard-float" for
2988 FLAG_ARM_LIBHF.
2989
2990 2012-11-18 David S. Miller <davem@davemloft.net>
2991
2992 With help from Joseph Myers.
2993 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2994 cutoff to 2**-13.
2995 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2996 cutoff to 2**-25.
2997 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2998 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2999 small.
3000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3001 * math/libm-test.inc (y0_test): New tests.
3002 (y1_test): New tests.
3003 * sysdeps/i386/fpu/libm-test-ulps: Update.
3004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3006
3007 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3008
3009 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3010 64-bit targets.
3011 * configure: Regenerated.
3012
3013 2012-11-17 David S. Miller <davem@davemloft.net>
3014
3015 [BZ #14811]
3016 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3017 nonzero exponents with absolute value below 0x1p-128 to +/-
3018 0x1p-128.
3019
3020 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3021
3022 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3023
3024 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3025
3026 * posix/getconf-speclist.c: New file.
3027 * posix/posix-envs.def: Likewise.
3028 * posix/confstr.c (START_ENV_GROUP): New macro.
3029 (END_ENV_GROUP): Likewise.
3030 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3031 (KNOWN_PRESENT_ENV_STRING): Likewise.
3032 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3033 (UNKNOWN_ENVIRONMENT): Likewise.
3034 (confstr): Include posix-envs.def instead of handling
3035 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3036 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3037 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3038 (END_ENV_GROUP): Likewise.
3039 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3040 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3041 (UNKNOWN_ENVIRONMENT): Likewise.
3042 (__sysconf): Include posix-envs.def instead of handling associated
3043 cases directly here.
3044 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3045 preprocessing getconf-speclist.c rather than running getconf or
3046 generating empty file.
3047
3048 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3049
3050 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3051
3052 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3053
3054 [BZ #14672]
3055 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3056
3057 2012-11-16 David S. Miller <davem@davemloft.net>
3058
3059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3060 smaller than LDBL_EPSILON/2.0L, just return xm1.
3061
3062 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * elf/tst-array1.c (init): Set constructor priority to 1000.
3065 (fini): Set destructor priority to 1000.
3066 * elf/tst-array2dep.c: Likewise.
3067
3068 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
3070 [BZ #11741]
3071 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3072 (_IO_new_file_xsputn): Also return EOF if none of the input
3073 data was written when overflow failed.
3074 * libio/iopadn.c (_IO_padn): Likewise.
3075 * libio/iowpadn.c (_IO_wpadn): Likewise.
3076 * stdio-common/tst-put-error.c: Add copyright notice.
3077 (do_test): Add case for printing padded string.
3078 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3079 _IO_padn returned error.
3080 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3081 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3082 return EOF.
3083
3084 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3085
3086 * libio/libioP.h: Add comment note that the references to C++
3087 bits are now obsolete.
3088
3089 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3090
3091 * math/libm-test.inc (check_complex): Use asprintf.
3092
3093 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3094
3095 * debug/pcprofiledump.c (print_version): Update copyright year.
3096 * malloc/memusagestat.c (print_version): Likewise.
3097
3098 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3099
3100 [BZ #14831]
3101 * elf/Makefile (tests): Add tst-audit8.
3102 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3103 ($(objpfx)tst-audit8.out): New target.
3104 (tst-audit8-ENV): New variable.
3105 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3106 audit if l_reloc_result is NULL.
3107 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3108 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3109 * elf/tst-audit8.c: New file.
3110
3111 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3112
3113 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3114 * misc/Makefile (CFLAGS-select.c): Define.
3115 * posix/Makefile (CFLAGS-pause.c): Define.
3116
3117 2012-11-13 David S. Miller <davem@davemloft.net>
3118
3119 * crypt/Makefile: Move test targets after toplevel Rules
3120 inclusion. Grab any necessary sysdep routines when linking.
3121 * crypt/md5.c (md5_process_block): Remove define, we will always
3122 name it __md5_process_block.
3123 (md5_finish_ctx): Update md5_process_block call.
3124 (md5_stream): Likewise.
3125 (md5_process_bytes): Likewise.
3126 (md5_process_block): Rename to __md5_process_block and move to ...
3127 * crypt/md5-block.c: ... here.
3128 * crypt/sha256.c (sha256_process_block): Move to ...
3129 * crypt/sha256-block.c: ... here.
3130 * crypt/sha512.c (sha512_process_block): Move to ...
3131 * crypt/sha512-block.c: ... here.
3132 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3133 path.
3134 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3135 * sysdeps/sparc/sparc64/multiarch/Makefile
3136 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3137 crypt subdir.
3138 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3139 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3140 multiarch changes.
3141 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3142 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3143 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3144 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3145 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3146 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3147 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3148 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3150 file.
3151 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3153 file.
3154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3155
3156 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3157
3158 * timezone/tzselect.ksh: Update from tzcode git revision
3159 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3160 * timezone/zdump.c: Likewise.
3161 * timezone/zic.c: Likewise.
3162 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3163 in TZVERSION setting, not $(PKGVERSION).
3164 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3165 REPORT_BUGS_TO settings.
3166
3167 [BZ #14838]
3168 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3169 macro.
3170
3171 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3172
3173 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3174 detection to immediately after _FP_ROUND().
3175 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3176 bits are 0.
3177
3178 2012-11-11 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3181 inttypes.h
3182 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3183 __close rather than their public counterparts.
3184
3185 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3186
3187 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3188 file.
3189 [UNIX98] (sem_timedwait): Do not expect.
3190 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3191 [XPG4 || UNIX98] (sockatmark): Do not expect.
3192 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3193 (clock_getcpuclockid): Do not expect.
3194 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3195 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3196 Do not expect.
3197 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3198 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3199 [UNIX98] (vwscanf): Likewise.
3200 [UNIX98] (vswscanf): Likewise.
3201
3202 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3203
3204 * timezone/version.h: Remove file.
3205 * timezone/README: Do not refer to version.h.
3206 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3207 $(objpfx)version.h.
3208 ($(objpfx)zdump.o): Likewise.
3209 ($(objpfx)version.h): New target.
3210
3211 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3212 2012i.
3213 * timezone/README: Don't mention modification to tzselect.ksh.
3214 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3215 work on unmodified tzselect.ksh. Substitute version numbers in
3216 tzselect.ksh.
3217
3218 * Makefile (format-me): Remove.
3219 (INSTALL): Adjust indentation. Use commands directly instead of
3220 using $(format-me).
3221
3222 * aclocal.m4 (ACX_PKGVERSION): New macro.
3223 (ACX_BUGURL): Likewise.
3224 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3225 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3226 (REPORT_BUGS_TO): Likewise.
3227 * configure: Regenerated.
3228 * config.h.in (PKGVERSION): New macro.
3229 (REPORT_BUGS_TO): Likewise.
3230 * config.make.in (PKGVERSION): New variable.
3231 (PKGVERSION_TEXI): Likewise.
3232 (REPORT_BUGS_TO): Likewise.
3233 (REPORT_BUGS_TEXI): Likewise.
3234 * Makefile (format-me): Use -I$(common-objpfx)manual.
3235 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3236 ($(common-objpfx)manual/%): New target.
3237 (manual/%): Remove target.
3238 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3239 (print_version): Use PKGVERSION.
3240 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3241 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3242 and REPORT_BUGS_TO.
3243 ($(objpfx)xtrace): Likewise.
3244 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3245 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3246 (print_version): Use PKGVERSION.
3247 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3248 (do_version): Use PKGVERSION.
3249 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3250 REPORT_BUGS_TO.
3251 (common-ldd-rewrite): Likewise.
3252 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3253 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3254 (print_version): Use PKGVERSION.
3255 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3256 * elf/pldd.c (argp_program_bug_address): Remove variable.
3257 (more_help): New function.
3258 (argp): Use more_help.
3259 (print_version): Use PKGVERSION.
3260 * elf/sln.c (main): Use PKGVERSION.
3261 (usage): Use REPORT_BUGS_TO.
3262 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3263 (top level): Use PKGVERSION.
3264 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3265 (print_version): Use PKGVERSION.
3266 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3267 (print_version): Use PKGVERSION.
3268 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3269 (print_version): Use PKGVERSION.
3270 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3271 (print_version): Use PKGVERSION.
3272 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3273 (print_version): Use PKGVERSION.
3274 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3275 (print_version): Use PKGVERSION.
3276 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3277 and BUGURL.
3278 ($(objpfx)memusage): Likewise.
3279 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3280 (do_version): Use PKGVERSION.
3281 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3282 (print_version): Use PKGVERSION.
3283 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3284 ($PKGVERSION): New variable.
3285 ($REPORT_BUGS_TO): Likewise.
3286 (usage): Use $REPORT_BUGS_TO.
3287 (top level): Use $PKGVERSION.
3288 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3289 ($(objpfx)pkgvers.texi): New rule.
3290 ($(objpfx)stamp-pkgvers): Likewise.
3291 * manual/install.texi: Include pkgvers.texi.
3292 (--with-pkgversion): Document new configure option.
3293 (--with-bugurl): Likewise.
3294 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3295 than necessarily for this particular distribution. Use
3296 REPORT_BUGS_TO for where to report bugs.
3297 * INSTALL: Regenerated.
3298 * manual/libc.texinfo: Include pkgvers.texi.
3299 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3300 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3301 (print_version): Use PKGVERSION.
3302 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3303 (print_version): Use PKGVERSION.
3304 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3305 (print_version): Use PKGVERSION.
3306 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3307 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3308 macro.
3309 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3310 (print_version): Use PKGVERSION.
3311 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3312 (print_version): Use PKGVERSION.
3313 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3314 and PKGVERSION.
3315
3316 * timezone/checktab.awk: Update from tzcode 2012i.
3317 * timezone/ialloc.c: Likewise.
3318 * timezone/private.h: Likewise.
3319 * timezone/scheck.c: Likewise.
3320 * timezone/tzfile.h: Likewise.
3321 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3322 (TZVERSION): Hardcode tzcode version number.
3323 * timezone/zdump.c: Update from tzcode 2012i.
3324 * timezone/zic.c: Likewise.
3325 * timezone/version.h: New file.
3326 * timezone/README: Describe version.h. Update upstream location.
3327
3328 [BZ #14824]
3329 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3330 (mktemp): Enable declaration.
3331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3335 Likewise.
3336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3337 Likewise.
3338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3339 Likewise.
3340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3341 Likewise.
3342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3343 Likewise.
3344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3345 Likewise.
3346
3347 [BZ #14821]
3348 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3349 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3350 for copies of such integer values.
3351 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3352 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3353
3354 2012-11-09 Andreas Jaeger <aj@suse.de>
3355
3356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3357 definitions and declarations that are provided by
3358 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3359
3360 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3361
3362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3363 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3364 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3365 definition.
3366
3367 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3368
3369 * elf/elf.h: Update comment before AArch64 relocations.
3370
3371 2012-11-07 David S. Miller <davem@davemloft.net>
3372
3373 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3374 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3375 (__start_context): Declare.
3376 (__makecontext_ret): Delete.
3377 (__makecontext): Hook up __start_context instead of
3378 __makecontext_ret.
3379 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3380 (sysdep_routines): Add __start_context when in stdlib.
3381
3382 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3383
3384 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3385 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3386 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3387 hardcoded "nm".
3388 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3389 (READELF): New variable. Use it instead of hardcoded "readelf".
3390
3391 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3392
3393 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3394 * sysdeps/x86/Makefile: Here.
3395 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3396 * sysdeps/x86/tst-xmmymm.sh: This.
3397
3398 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3399
3400 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3401 expectations.
3402 [UNIX98] (pthread_barrier_t): Do not expect.
3403 [UNIX98] (pthread_barrierattr_t): Likewise.
3404 [UNIX98] (pthread_spinlock_t): Likewise.
3405 [UNIX98] (pthread_barrier_destroy): Likewise.
3406 [UNIX98] (pthread_barrier_init): Likewise.
3407 [UNIX98] (pthread_barrier_wait): Likewise.
3408 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3409 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3410 [UNIX98] (pthread_barrierattr_init): Likewise.
3411 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3412 [UNIX98] (pthread_getcpuclockid): Likewise.
3413 [UNIX98] (pthread_mutex_timedlock): Likewise.
3414 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3415 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3416 [UNIX98] (pthread_sigmask): Likewise.
3417 [UNIX98] (pthread_spin_destroy): Likewise.
3418 [UNIX98] (pthread_spin_init): Likewise.
3419 [UNIX98] (pthread_spin_lock): Likewise.
3420 [UNIX98] (pthread_spin_trylock): Likewise.
3421 [UNIX98] (pthread_spin_unlock): Likewise.
3422 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3423 Do not expect.
3424 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3425 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3426 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3427 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3428 [XPG3 || XPG4] (pthread_key_t): Likewise.
3429 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3430 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3431 [XPG3 || XPG4] (pthread_once_t): Likewise.
3432 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3433 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3435 [XPG3 || XPG4] (pthread_t): Likewise.
3436
3437 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3438 not expect.
3439 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3440
3441 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3442 Change function return type to int.
3443
3444 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3445 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3446 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3447 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3448 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3449 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3450 [!POSIX] (posix_madvise): Likewise.
3451 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3452 && !UNIX98].
3453 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3454 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3455 (mode_t): Likewise.
3456 (posix_mem_offset): Likewise.
3457 (posix_typed_mem_get_info): Likewise.
3458 (posix_typed_mem_open): Likewise.
3459
3460 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3461 Change condition to [XOPEN2K8].
3462
3463 * conform/conformtest.pl: Preprocess allow-header data with -x c
3464 instead of from stdin.
3465 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3466 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3467 [C99-based standards] (cerfc): Likewise.
3468 [C99-based standards] (cexp2): Likewise.
3469 [C99-based standards] (cexpm1): Likewise.
3470 [C99-based standards] (clog10): Likewise.
3471 [C99-based standards] (clog1p): Likewise.
3472 [C99-based standards] (clog2): Likewise.
3473 [C99-based standards] (clgamma): Likewise.
3474 [C99-based standards] (ctgamma): Likewise.
3475 [C99-based standards] (cerff): Likewise.
3476 [C99-based standards] (cerfcf): Likewise.
3477 [C99-based standards] (cexp2f): Likewise.
3478 [C99-based standards] (cexpm1f): Likewise.
3479 [C99-based standards] (clog10f): Likewise.
3480 [C99-based standards] (clog1pf): Likewise.
3481 [C99-based standards] (clog2f): Likewise.
3482 [C99-based standards] (clgammaf): Likewise.
3483 [C99-based standards] (ctgammaf): Likewise.
3484 [C99-based standards] (cerfl): Likewise.
3485 [C99-based standards] (cerfcl): Likewise.
3486 [C99-based standards] (cexp2l): Likewise.
3487 [C99-based standards] (cexpm1l): Likewise.
3488 [C99-based standards] (clog10l): Likewise.
3489 [C99-based standards] (clog1pl): Likewise.
3490 [C99-based standards] (clog2l): Likewise.
3491 [C99-based standards] (clgammal): Likewise.
3492 [C99-based standards] (ctgammal): Likewise.
3493 * conform/data/inttypes.h-data [C99-based standards]: Include
3494 stdint.h-data. Remove all expectations for stdint.h contents.
3495 [C99-based standards] (PRI*): Do not allow.
3496 [C99-based standards] (SCN*): Likewise.
3497 [C99-based standards] (*_t): Likewise.
3498 [C99-based-standards] (PRId8): Expect macro.
3499 [C99-based-standards] (PRIi8): Likewise.
3500 [C99-based-standards] (PRIo8): Likewise.
3501 [C99-based-standards] (PRIu8): Likewise.
3502 [C99-based-standards] (PRIx8): Likewise.
3503 [C99-based-standards] (PRIX8): Likewise.
3504 [C99-based-standards] (SCNd8): Likewise.
3505 [C99-based-standards] (SCNi8): Likewise.
3506 [C99-based-standards] (SCNo8): Likewise.
3507 [C99-based-standards] (SCNu8): Likewise.
3508 [C99-based-standards] (SCNx8): Likewise.
3509 [C99-based-standards] (PRIdLEAST8): Likewise.
3510 [C99-based-standards] (PRIiLEAST8): Likewise.
3511 [C99-based-standards] (PRIoLEAST8): Likewise.
3512 [C99-based-standards] (PRIuLEAST8): Likewise.
3513 [C99-based-standards] (PRIxLEAST8): Likewise.
3514 [C99-based-standards] (PRIXLEAST8): Likewise.
3515 [C99-based-standards] (SCNdLEAST8): Likewise.
3516 [C99-based-standards] (SCNiLEAST8): Likewise.
3517 [C99-based-standards] (SCNoLEAST8): Likewise.
3518 [C99-based-standards] (SCNuLEAST8): Likewise.
3519 [C99-based-standards] (SCNxLEAST8): Likewise.
3520 [C99-based-standards] (PRIdFAST8): Likewise.
3521 [C99-based-standards] (PRIiFAST8): Likewise.
3522 [C99-based-standards] (PRIoFAST8): Likewise.
3523 [C99-based-standards] (PRIuFAST8): Likewise.
3524 [C99-based-standards] (PRIxFAST8): Likewise.
3525 [C99-based-standards] (PRIXFAST8): Likewise.
3526 [C99-based-standards] (SCNdFAST8): Likewise.
3527 [C99-based-standards] (SCNiFAST8): Likewise.
3528 [C99-based-standards] (SCNoFAST8): Likewise.
3529 [C99-based-standards] (SCNuFAST8): Likewise.
3530 [C99-based-standards] (SCNxFAST8): Likewise.
3531 [C99-based-standards] (PRId16): Likewise.
3532 [C99-based-standards] (PRIi16): Likewise.
3533 [C99-based-standards] (PRIo16): Likewise.
3534 [C99-based-standards] (PRIu16): Likewise.
3535 [C99-based-standards] (PRIx16): Likewise.
3536 [C99-based-standards] (PRIX16): Likewise.
3537 [C99-based-standards] (SCNd16): Likewise.
3538 [C99-based-standards] (SCNi16): Likewise.
3539 [C99-based-standards] (SCNo16): Likewise.
3540 [C99-based-standards] (SCNu16): Likewise.
3541 [C99-based-standards] (SCNx16): Likewise.
3542 [C99-based-standards] (PRIdLEAST16): Likewise.
3543 [C99-based-standards] (PRIiLEAST16): Likewise.
3544 [C99-based-standards] (PRIoLEAST16): Likewise.
3545 [C99-based-standards] (PRIuLEAST16): Likewise.
3546 [C99-based-standards] (PRIxLEAST16): Likewise.
3547 [C99-based-standards] (PRIXLEAST16): Likewise.
3548 [C99-based-standards] (SCNdLEAST16): Likewise.
3549 [C99-based-standards] (SCNiLEAST16): Likewise.
3550 [C99-based-standards] (SCNoLEAST16): Likewise.
3551 [C99-based-standards] (SCNuLEAST16): Likewise.
3552 [C99-based-standards] (SCNxLEAST16): Likewise.
3553 [C99-based-standards] (PRIdFAST16): Likewise.
3554 [C99-based-standards] (PRIiFAST16): Likewise.
3555 [C99-based-standards] (PRIoFAST16): Likewise.
3556 [C99-based-standards] (PRIuFAST16): Likewise.
3557 [C99-based-standards] (PRIxFAST16): Likewise.
3558 [C99-based-standards] (PRIXFAST16): Likewise.
3559 [C99-based-standards] (SCNdFAST16): Likewise.
3560 [C99-based-standards] (SCNiFAST16): Likewise.
3561 [C99-based-standards] (SCNoFAST16): Likewise.
3562 [C99-based-standards] (SCNuFAST16): Likewise.
3563 [C99-based-standards] (SCNxFAST16): Likewise.
3564 [C99-based-standards] (PRId32): Likewise.
3565 [C99-based-standards] (PRIi32): Likewise.
3566 [C99-based-standards] (PRIo32): Likewise.
3567 [C99-based-standards] (PRIu32): Likewise.
3568 [C99-based-standards] (PRIx32): Likewise.
3569 [C99-based-standards] (PRIX32): Likewise.
3570 [C99-based-standards] (SCNd32): Likewise.
3571 [C99-based-standards] (SCNi32): Likewise.
3572 [C99-based-standards] (SCNo32): Likewise.
3573 [C99-based-standards] (SCNu32): Likewise.
3574 [C99-based-standards] (SCNx32): Likewise.
3575 [C99-based-standards] (PRIdLEAST32): Likewise.
3576 [C99-based-standards] (PRIiLEAST32): Likewise.
3577 [C99-based-standards] (PRIoLEAST32): Likewise.
3578 [C99-based-standards] (PRIuLEAST32): Likewise.
3579 [C99-based-standards] (PRIxLEAST32): Likewise.
3580 [C99-based-standards] (PRIXLEAST32): Likewise.
3581 [C99-based-standards] (SCNdLEAST32): Likewise.
3582 [C99-based-standards] (SCNiLEAST32): Likewise.
3583 [C99-based-standards] (SCNoLEAST32): Likewise.
3584 [C99-based-standards] (SCNuLEAST32): Likewise.
3585 [C99-based-standards] (SCNxLEAST32): Likewise.
3586 [C99-based-standards] (PRIdFAST32): Likewise.
3587 [C99-based-standards] (PRIiFAST32): Likewise.
3588 [C99-based-standards] (PRIoFAST32): Likewise.
3589 [C99-based-standards] (PRIuFAST32): Likewise.
3590 [C99-based-standards] (PRIxFAST32): Likewise.
3591 [C99-based-standards] (PRIXFAST32): Likewise.
3592 [C99-based-standards] (SCNdFAST32): Likewise.
3593 [C99-based-standards] (SCNiFAST32): Likewise.
3594 [C99-based-standards] (SCNoFAST32): Likewise.
3595 [C99-based-standards] (SCNuFAST32): Likewise.
3596 [C99-based-standards] (SCNxFAST32): Likewise.
3597 [C99-based-standards] (PRId64): Likewise.
3598 [C99-based-standards] (PRIi64): Likewise.
3599 [C99-based-standards] (PRIo64): Likewise.
3600 [C99-based-standards] (PRIu64): Likewise.
3601 [C99-based-standards] (PRIx64): Likewise.
3602 [C99-based-standards] (PRIX64): Likewise.
3603 [C99-based-standards] (SCNd64): Likewise.
3604 [C99-based-standards] (SCNi64): Likewise.
3605 [C99-based-standards] (SCNo64): Likewise.
3606 [C99-based-standards] (SCNu64): Likewise.
3607 [C99-based-standards] (SCNx64): Likewise.
3608 [C99-based-standards] (PRIdLEAST64): Likewise.
3609 [C99-based-standards] (PRIiLEAST64): Likewise.
3610 [C99-based-standards] (PRIoLEAST64): Likewise.
3611 [C99-based-standards] (PRIuLEAST64): Likewise.
3612 [C99-based-standards] (PRIxLEAST64): Likewise.
3613 [C99-based-standards] (PRIXLEAST64): Likewise.
3614 [C99-based-standards] (SCNdLEAST64): Likewise.
3615 [C99-based-standards] (SCNiLEAST64): Likewise.
3616 [C99-based-standards] (SCNoLEAST64): Likewise.
3617 [C99-based-standards] (SCNuLEAST64): Likewise.
3618 [C99-based-standards] (SCNxLEAST64): Likewise.
3619 [C99-based-standards] (PRIdFAST64): Likewise.
3620 [C99-based-standards] (PRIiFAST64): Likewise.
3621 [C99-based-standards] (PRIoFAST64): Likewise.
3622 [C99-based-standards] (PRIuFAST64): Likewise.
3623 [C99-based-standards] (PRIxFAST64): Likewise.
3624 [C99-based-standards] (PRIXFAST64): Likewise.
3625 [C99-based-standards] (SCNdFAST64): Likewise.
3626 [C99-based-standards] (SCNiFAST64): Likewise.
3627 [C99-based-standards] (SCNoFAST64): Likewise.
3628 [C99-based-standards] (SCNuFAST64): Likewise.
3629 [C99-based-standards] (SCNxFAST64): Likewise.
3630 [C99-based-standards] (PRIdMAX): Likewise.
3631 [C99-based-standards] (PRIiMAX): Likewise.
3632 [C99-based-standards] (PRIoMAX): Likewise.
3633 [C99-based-standards] (PRIuMAX): Likewise.
3634 [C99-based-standards] (PRIxMAX): Likewise.
3635 [C99-based-standards] (PRIXMAX): Likewise.
3636 [C99-based-standards] (SCNdMAX): Likewise.
3637 [C99-based-standards] (SCNiMAX): Likewise.
3638 [C99-based-standards] (SCNoMAX): Likewise.
3639 [C99-based-standards] (SCNuMAX): Likewise.
3640 [C99-based-standards] (SCNxMAX): Likewise.
3641 [C99-based-standards] (PRIdPTR): Likewise.
3642 [C99-based-standards] (PRIiPTR): Likewise.
3643 [C99-based-standards] (PRIoPTR): Likewise.
3644 [C99-based-standards] (PRIuPTR): Likewise.
3645 [C99-based-standards] (PRIxPTR): Likewise.
3646 [C99-based-standards] (PRIXPTR): Likewise.
3647 [C99-based-standards] (SCNdPTR): Likewise.
3648 [C99-based-standards] (SCNiPTR): Likewise.
3649 [C99-based-standards] (SCNoPTR): Likewise.
3650 [C99-based-standards] (SCNuPTR): Likewise.
3651 [C99-based-standards] (SCNxPTR): Likewise.
3652 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3653 allow.
3654 * conform/data/stdint.h-data: Update comments to clarify
3655 requirements.
3656 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3657 type.
3658 [C99-based standards] (INT8_MAX): Likewise.
3659 [C99-based standards] (INT16_MIN): Likewise.
3660 [C99-based standards] (INT16_MAX): Likewise.
3661 [C99-based standards] (INT32_MIN): Likewise.
3662 [C99-based standards] (INT32_MAX): Likewise.
3663 [C99-based standards] (INT64_MIN): Likewise.
3664 [C99-based standards] (INT64_MAX): Likewise.
3665 [C99-based standards] (UINT8_MAX): Likewise.
3666 [C99-based standards] (UINT16_MAX): Likewise.
3667 [C99-based standards] (UINT32_MAX): Likewise.
3668 [C99-based standards] (UINT64_MAX): Likewise.
3669 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3670 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3671 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3672 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3673 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3674 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3675 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3676 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3677 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3678 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3679 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3680 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3681 [C99-based standards] (INT_FAST8_MIN): Likewise.
3682 [C99-based standards] (INT_FAST8_MAX): Likewise.
3683 [C99-based standards] (INT_FAST16_MIN): Likewise.
3684 [C99-based standards] (INT_FAST16_MAX): Likewise.
3685 [C99-based standards] (INT_FAST32_MIN): Likewise.
3686 [C99-based standards] (INT_FAST32_MAX): Likewise.
3687 [C99-based standards] (INT_FAST64_MIN): Likewise.
3688 [C99-based standards] (INT_FAST64_MAX): Likewise.
3689 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3690 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3691 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3692 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3693 [C99-based standards] (INTPTR_MIN): Likewise.
3694 [C99-based standards] (INTPTR_MAX): Likewise.
3695 [C99-based standards] (UINTPTR_MAX): Likewise.
3696 [C99-based standards] (INTMAX_MIN): Likewise.
3697 [C99-based standards] (INTMAX_MAX): Likewise.
3698 [C99-based standards] (UINTMAX_MAX): Likewise.
3699 [C99-based standards] (PTRDIFF_MIN): Likewise.
3700 [C99-based standards] (PTRDIFF_MAX): Likewise.
3701 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3702 [C99-based standards] (SIZE_MAX): Likewise.
3703 [C99-based standards] (WCHAR_MAX): Likewise.
3704 [C99-based standards] (WINT_MAX): Likewise.
3705 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3706 constraint on value.
3707 [C99-based standards] (WCHAR_MIN): Likewise.
3708 [C99-based standards] (WINT_MIN): Likewise.
3709 [C99-based standards] (*_t): Allow.
3710 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3711 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3712 Include math.h-data and complex.h-data. Remove all expectations
3713 of math.h and complex.h contents.
3714 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3715 at end of line.
3716 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3717 (struct tm): Expect tag.
3718 [C99-based-standards] (wcstof): Expect function.
3719 [C99-based-standards] (wcstold): Likewise.
3720 [C99-based-standards] (wcstoll): Likewise.
3721 [C99-based-standards] (wcstoull): Likewise.
3722 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3723 macro-int-constant. Specify type.
3724 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3725 constraint on value.
3726 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3727 Specify type.
3728 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3729 Specify value.
3730 [ISO C standards]: Do not allow headers.
3731 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3732 wcs[abcdefghijklmnopqrstuvwxyz]*.
3733 [ISO C standards] (*_t): Do not allow.
3734 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3735 Expect function.
3736 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3737 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3738 Specify type.
3739 [ISO C standards]: Do not allow headers.
3740 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3741 is[abcdefghijklmnopqrstuvwxyz]*.
3742 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3743 to[abcdefghijklmnopqrstuvwxyz]*.
3744 [ISO C standards] (*_t): Do not allow.
3745 * conform/data/stdalign.h-data: New file.
3746 * conform/data/stdbool.h-data: Likewise.
3747 * conform/data/stdnoreturn.h-data: Likewise.
3748
3749 2012-11-07 Roland McGrath <roland@hack.frob.com>
3750
3751 [BZ #14815]
3752 * manual/filesys.texi (Directory Entries): Typo fix.
3753 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3754
3755 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3756
3757 * elf/elf.h (EM_AARCH64): New macro.
3758 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3759 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3760 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3761 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3762 (R_AARCH64_TLSDESC): Likewise.
3763 (NT_ARM_TLS): Likewise.
3764 (NT_ARM_HW_BREAK): Likewise.
3765 (NT_ARM_HW_WATCH): Likewise.
3766
3767 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3768
3769 [BZ #14811]
3770 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3771 (__ieee754_powl): Saturate nonzero exponents with absolute value
3772 below 0x1p-79 to +/- 0x1p-79.
3773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3774 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3775 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3776 nonzero exponents with absolute value below 0x1p-32 to +/-
3777 0x1p-32.
3778 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3779 (__ieee754_powl): Saturate nonzero exponents with absolute value
3780 below 0x1p-79 to +/- 0x1p-79.
3781 * math/libm-test.inc (pow_test): Add more tests.
3782
3783 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3784
3785 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3786 _dl_s390_cap_flags with kernel. Increase string length.
3787 (_dl_s390_platforms): Add z196 and zEC12.
3788
3789 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3790
3791 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3792 Change XOPEN21K to XOPEN2K.
3793
3794 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3795
3796 * string/memmove.c: Use memcpy when possible.
3797
3798 2012-11-06 Andreas Jaeger <aj@suse.de>
3799
3800 * po/eo.po: Update from translation team.
3801
3802 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3803
3804 [BZ #14793]
3805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3806 exponent and small x and y exponents, scale x or y up. Increase
3807 by 2 the exponent used in scaling up.
3808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3810 * math/libm-test.inc (fma_test): Add more tests.
3811 (fma_test_towardzero): Likewise.
3812 (fma_test_downward): Likewise.
3813 (fma_test_upward): Likewise.
3814
3815 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3816
3817 [BZ #14805]
3818 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3819 fenv_t *.
3820
3821 [BZ #14801]
3822 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3823 namespace for names of struct fields.
3824 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3825 fenv_t fields.
3826 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3827 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3828
3829 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3830
3831 [BZ #3665]
3832 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3833
3834 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3835
3836 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3837 PTR_DEMANGLE.
3838
3839 [BZ #5246]
3840 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3841 PTR_DEMANGLE.
3842
3843 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3844
3845 [BZ #14797]
3846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3847 definitely overflow as x * y not x * y + z.
3848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3849 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3850 * math/libm-test.inc (fma_test): Add more tests.
3851 (fma_test_towardzero): Likewise.
3852 (fma_test_downward): Likewise.
3853 (fma_test_upward): Likewise.
3854
3855 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3856
3857 [BZ #157]
3858
3859 * include/stub-tag.h: Remove file.
3860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3861 '#include' of it.
3862 * manual/maint.texi (Porting): Don't reference it.
3863 * Makerules ($(objpfx)stubs): Likewise.
3864 * dirent/closedir.c: Don't include <stub-tag.h>.
3865 * dirent/dirfd.c: Likewise.
3866 * dirent/fdopendir.c: Likewise.
3867 * dirent/getdents.c: Likewise.
3868 * dirent/getdents64.c: Likewise.
3869 * dirent/opendir.c: Likewise.
3870 * dirent/readdir.c: Likewise.
3871 * dirent/readdir64.c: Likewise.
3872 * dirent/readdir64_r.c: Likewise.
3873 * dirent/readdir_r.c: Likewise.
3874 * dirent/rewinddir.c: Likewise.
3875 * dirent/seekdir.c: Likewise.
3876 * dirent/telldir.c: Likewise.
3877 * gmon/profil.c: Likewise.
3878 * grp/setgroups.c: Likewise.
3879 * inet/if_index.c: Likewise.
3880 * io/access.c: Likewise.
3881 * io/chdir.c: Likewise.
3882 * io/chmod.c: Likewise.
3883 * io/chown.c: Likewise.
3884 * io/close.c: Likewise.
3885 * io/dup.c: Likewise.
3886 * io/dup2.c: Likewise.
3887 * io/dup3.c: Likewise.
3888 * io/euidaccess.c: Likewise.
3889 * io/faccessat.c: Likewise.
3890 * io/fchdir.c: Likewise.
3891 * io/fchmod.c: Likewise.
3892 * io/fchmodat.c: Likewise.
3893 * io/fchown.c: Likewise.
3894 * io/fchownat.c: Likewise.
3895 * io/fcntl.c: Likewise.
3896 * io/flock.c: Likewise.
3897 * io/fstatfs.c: Likewise.
3898 * io/fstatfs64.c: Likewise.
3899 * io/fstatvfs.c: Likewise.
3900 * io/fstatvfs64.c: Likewise.
3901 * io/futimens.c: Likewise.
3902 * io/fxstat.c: Likewise.
3903 * io/fxstat64.c: Likewise.
3904 * io/fxstatat.c: Likewise.
3905 * io/fxstatat64.c: Likewise.
3906 * io/getcwd.c: Likewise.
3907 * io/isatty.c: Likewise.
3908 * io/lchmod.c: Likewise.
3909 * io/lchown.c: Likewise.
3910 * io/link.c: Likewise.
3911 * io/linkat.c: Likewise.
3912 * io/lseek.c: Likewise.
3913 * io/lseek64.c: Likewise.
3914 * io/lxstat64.c: Likewise.
3915 * io/mkdir.c: Likewise.
3916 * io/mkdirat.c: Likewise.
3917 * io/mkfifo.c: Likewise.
3918 * io/mkfifoat.c: Likewise.
3919 * io/open.c: Likewise.
3920 * io/open64.c: Likewise.
3921 * io/openat.c: Likewise.
3922 * io/openat64.c: Likewise.
3923 * io/pipe.c: Likewise.
3924 * io/pipe2.c: Likewise.
3925 * io/poll.c: Likewise.
3926 * io/posix_fadvise.c: Likewise.
3927 * io/posix_fadvise64.c: Likewise.
3928 * io/posix_fallocate.c: Likewise.
3929 * io/posix_fallocate64.c: Likewise.
3930 * io/read.c: Likewise.
3931 * io/readlink.c: Likewise.
3932 * io/readlinkat.c: Likewise.
3933 * io/rmdir.c: Likewise.
3934 * io/sendfile.c: Likewise.
3935 * io/sendfile64.c: Likewise.
3936 * io/statfs.c: Likewise.
3937 * io/statfs64.c: Likewise.
3938 * io/statvfs.c: Likewise.
3939 * io/statvfs64.c: Likewise.
3940 * io/symlink.c: Likewise.
3941 * io/symlinkat.c: Likewise.
3942 * io/ttyname.c: Likewise.
3943 * io/ttyname_r.c: Likewise.
3944 * io/umask.c: Likewise.
3945 * io/unlink.c: Likewise.
3946 * io/unlinkat.c: Likewise.
3947 * io/utime.c: Likewise.
3948 * io/utimensat.c: Likewise.
3949 * io/write.c: Likewise.
3950 * io/xmknod.c: Likewise.
3951 * io/xmknodat.c: Likewise.
3952 * io/xstat.c: Likewise.
3953 * io/xstat64.c: Likewise.
3954 * login/getpt.c: Likewise.
3955 * login/grantpt.c: Likewise.
3956 * login/unlockpt.c: Likewise.
3957 * math/e_acoshl.c: Likewise.
3958 * math/e_acosl.c: Likewise.
3959 * math/e_asinl.c: Likewise.
3960 * math/e_atan2l.c: Likewise.
3961 * math/e_atanhl.c: Likewise.
3962 * math/e_coshl.c: Likewise.
3963 * math/e_expl.c: Likewise.
3964 * math/e_fmodl.c: Likewise.
3965 * math/e_gammal_r.c: Likewise.
3966 * math/e_hypotl.c: Likewise.
3967 * math/e_j0l.c: Likewise.
3968 * math/e_j1l.c: Likewise.
3969 * math/e_jnl.c: Likewise.
3970 * math/e_lgammal_r.c: Likewise.
3971 * math/e_log10l.c: Likewise.
3972 * math/e_log2l.c: Likewise.
3973 * math/e_logl.c: Likewise.
3974 * math/e_powl.c: Likewise.
3975 * math/e_rem_pio2l.c: Likewise.
3976 * math/e_sinhl.c: Likewise.
3977 * math/e_sqrtl.c: Likewise.
3978 * math/fclrexcpt.c: Likewise.
3979 * math/fedisblxcpt.c: Likewise.
3980 * math/feenablxcpt.c: Likewise.
3981 * math/fegetenv.c: Likewise.
3982 * math/fegetexcept.c: Likewise.
3983 * math/fegetround.c: Likewise.
3984 * math/feholdexcpt.c: Likewise.
3985 * math/fesetenv.c: Likewise.
3986 * math/fesetround.c: Likewise.
3987 * math/feupdateenv.c: Likewise.
3988 * math/fgetexcptflg.c: Likewise.
3989 * math/fraiseexcpt.c: Likewise.
3990 * math/fsetexcptflg.c: Likewise.
3991 * math/ftestexcept.c: Likewise.
3992 * math/k_cosl.c: Likewise.
3993 * math/k_rem_pio2l.c: Likewise.
3994 * math/k_sinl.c: Likewise.
3995 * math/k_tanl.c: Likewise.
3996 * math/s_asinhl.c: Likewise.
3997 * math/s_atanl.c: Likewise.
3998 * math/s_cbrtl.c: Likewise.
3999 * math/s_erfl.c: Likewise.
4000 * math/s_expm1l.c: Likewise.
4001 * math/s_log1pl.c: Likewise.
4002 * math/s_tanhl.c: Likewise.
4003 * misc/acct.c: Likewise.
4004 * misc/brk.c: Likewise.
4005 * misc/chflags.c: Likewise.
4006 * misc/chroot.c: Likewise.
4007 * misc/fchflags.c: Likewise.
4008 * misc/fgetxattr.c: Likewise.
4009 * misc/flistxattr.c: Likewise.
4010 * misc/fremovexattr.c: Likewise.
4011 * misc/fsetxattr.c: Likewise.
4012 * misc/fsync.c: Likewise.
4013 * misc/ftruncate.c: Likewise.
4014 * misc/futimes.c: Likewise.
4015 * misc/futimesat.c: Likewise.
4016 * misc/getdomain.c: Likewise.
4017 * misc/getdtsz.c: Likewise.
4018 * misc/gethostid.c: Likewise.
4019 * misc/gethostname.c: Likewise.
4020 * misc/getloadavg.c: Likewise.
4021 * misc/getpagesize.c: Likewise.
4022 * misc/getsysstats.c: Likewise.
4023 * misc/getxattr.c: Likewise.
4024 * misc/gtty.c: Likewise.
4025 * misc/ioctl.c: Likewise.
4026 * misc/lgetxattr.c: Likewise.
4027 * misc/listxattr.c: Likewise.
4028 * misc/llistxattr.c: Likewise.
4029 * misc/lremovexattr.c: Likewise.
4030 * misc/lsetxattr.c: Likewise.
4031 * misc/lutimes.c: Likewise.
4032 * misc/madvise.c: Likewise.
4033 * misc/mincore.c: Likewise.
4034 * misc/mlock.c: Likewise.
4035 * misc/mlockall.c: Likewise.
4036 * misc/mmap.c: Likewise.
4037 * misc/mprotect.c: Likewise.
4038 * misc/msync.c: Likewise.
4039 * misc/munlock.c: Likewise.
4040 * misc/munlockall.c: Likewise.
4041 * misc/munmap.c: Likewise.
4042 * misc/preadv.c: Likewise.
4043 * misc/preadv64.c: Likewise.
4044 * misc/ptrace.c: Likewise.
4045 * misc/pwritev.c: Likewise.
4046 * misc/pwritev64.c: Likewise.
4047 * misc/readv.c: Likewise.
4048 * misc/reboot.c: Likewise.
4049 * misc/remap_file_pages.c: Likewise.
4050 * misc/removexattr.c: Likewise.
4051 * misc/revoke.c: Likewise.
4052 * misc/select.c: Likewise.
4053 * misc/setdomain.c: Likewise.
4054 * misc/setegid.c: Likewise.
4055 * misc/seteuid.c: Likewise.
4056 * misc/sethostid.c: Likewise.
4057 * misc/sethostname.c: Likewise.
4058 * misc/setregid.c: Likewise.
4059 * misc/setreuid.c: Likewise.
4060 * misc/setxattr.c: Likewise.
4061 * misc/sstk.c: Likewise.
4062 * misc/stty.c: Likewise.
4063 * misc/swapoff.c: Likewise.
4064 * misc/swapon.c: Likewise.
4065 * misc/sync.c: Likewise.
4066 * misc/syncfs.c: Likewise.
4067 * misc/syscall.c: Likewise.
4068 * misc/truncate.c: Likewise.
4069 * misc/ualarm.c: Likewise.
4070 * misc/usleep.c: Likewise.
4071 * misc/ustat.c: Likewise.
4072 * misc/utimes.c: Likewise.
4073 * misc/vhangup.c: Likewise.
4074 * misc/writev.c: Likewise.
4075 * posix/_exit.c: Likewise.
4076 * posix/alarm.c: Likewise.
4077 * posix/execve.c: Likewise.
4078 * posix/fexecve.c: Likewise.
4079 * posix/fork.c: Likewise.
4080 * posix/fpathconf.c: Likewise.
4081 * posix/getaddrinfo.c: Likewise.
4082 * posix/getegid.c: Likewise.
4083 * posix/geteuid.c: Likewise.
4084 * posix/getgid.c: Likewise.
4085 * posix/getgroups.c: Likewise.
4086 * posix/getlogin.c: Likewise.
4087 * posix/getlogin_r.c: Likewise.
4088 * posix/getpgid.c: Likewise.
4089 * posix/getpid.c: Likewise.
4090 * posix/getppid.c: Likewise.
4091 * posix/getresgid.c: Likewise.
4092 * posix/getresuid.c: Likewise.
4093 * posix/getsid.c: Likewise.
4094 * posix/getuid.c: Likewise.
4095 * posix/glob64.c: Likewise.
4096 * posix/nanosleep.c: Likewise.
4097 * posix/pathconf.c: Likewise.
4098 * posix/pause.c: Likewise.
4099 * posix/posix_madvise.c: Likewise.
4100 * posix/pread.c: Likewise.
4101 * posix/pread64.c: Likewise.
4102 * posix/pwrite.c: Likewise.
4103 * posix/pwrite64.c: Likewise.
4104 * posix/sched_getaffinity.c: Likewise.
4105 * posix/sched_getp.c: Likewise.
4106 * posix/sched_gets.c: Likewise.
4107 * posix/sched_primax.c: Likewise.
4108 * posix/sched_primin.c: Likewise.
4109 * posix/sched_rr_gi.c: Likewise.
4110 * posix/sched_setaffinity.c: Likewise.
4111 * posix/sched_setp.c: Likewise.
4112 * posix/sched_sets.c: Likewise.
4113 * posix/sched_yield.c: Likewise.
4114 * posix/setgid.c: Likewise.
4115 * posix/setlogin.c: Likewise.
4116 * posix/setpgid.c: Likewise.
4117 * posix/setresgid.c: Likewise.
4118 * posix/setresuid.c: Likewise.
4119 * posix/setsid.c: Likewise.
4120 * posix/setuid.c: Likewise.
4121 * posix/sleep.c: Likewise.
4122 * posix/spawni.c: Likewise.
4123 * posix/sysconf.c: Likewise.
4124 * posix/times.c: Likewise.
4125 * posix/wait.c: Likewise.
4126 * posix/wait3.c: Likewise.
4127 * posix/wait4.c: Likewise.
4128 * posix/waitpid.c: Likewise.
4129 * resolv/gai_sigqueue.c: Likewise.
4130 * resource/getpriority.c: Likewise.
4131 * resource/getrlimit.c: Likewise.
4132 * resource/getrusage.c: Likewise.
4133 * resource/nice.c: Likewise.
4134 * resource/setpriority.c: Likewise.
4135 * resource/setrlimit.c: Likewise.
4136 * resource/ulimit.c: Likewise.
4137 * rt/aio_cancel.c: Likewise.
4138 * rt/aio_fsync.c: Likewise.
4139 * rt/aio_read.c: Likewise.
4140 * rt/aio_sigqueue.c: Likewise.
4141 * rt/aio_suspend.c: Likewise.
4142 * rt/aio_write.c: Likewise.
4143 * rt/clock_getres.c: Likewise.
4144 * rt/clock_gettime.c: Likewise.
4145 * rt/clock_nanosleep.c: Likewise.
4146 * rt/clock_settime.c: Likewise.
4147 * rt/lio_listio.c: Likewise.
4148 * rt/mq_close.c: Likewise.
4149 * rt/mq_getattr.c: Likewise.
4150 * rt/mq_notify.c: Likewise.
4151 * rt/mq_open.c: Likewise.
4152 * rt/mq_receive.c: Likewise.
4153 * rt/mq_send.c: Likewise.
4154 * rt/mq_setattr.c: Likewise.
4155 * rt/mq_timedreceive.c: Likewise.
4156 * rt/mq_timedsend.c: Likewise.
4157 * rt/mq_unlink.c: Likewise.
4158 * rt/shm_open.c: Likewise.
4159 * rt/shm_unlink.c: Likewise.
4160 * rt/timer_create.c: Likewise.
4161 * rt/timer_delete.c: Likewise.
4162 * rt/timer_getoverr.c: Likewise.
4163 * rt/timer_gettime.c: Likewise.
4164 * rt/timer_settime.c: Likewise.
4165 * setjmp/__longjmp.c: Likewise.
4166 * setjmp/setjmp.c: Likewise.
4167 * signal/kill.c: Likewise.
4168 * signal/killpg.c: Likewise.
4169 * signal/raise.c: Likewise.
4170 * signal/sigaction.c: Likewise.
4171 * signal/sigaltstack.c: Likewise.
4172 * signal/sigblock.c: Likewise.
4173 * signal/sigignore.c: Likewise.
4174 * signal/sigintr.c: Likewise.
4175 * signal/signal.c: Likewise.
4176 * signal/sigpause.c: Likewise.
4177 * signal/sigpending.c: Likewise.
4178 * signal/sigqueue.c: Likewise.
4179 * signal/sigreturn.c: Likewise.
4180 * signal/sigset.c: Likewise.
4181 * signal/sigsetmask.c: Likewise.
4182 * signal/sigstack.c: Likewise.
4183 * signal/sigsuspend.c: Likewise.
4184 * signal/sigtimedwait.c: Likewise.
4185 * signal/sigvec.c: Likewise.
4186 * signal/sigwait.c: Likewise.
4187 * signal/sigwaitinfo.c: Likewise.
4188 * signal/sysv_signal.c: Likewise.
4189 * socket/accept.c: Likewise.
4190 * socket/accept4.c: Likewise.
4191 * socket/bind.c: Likewise.
4192 * socket/connect.c: Likewise.
4193 * socket/getpeername.c: Likewise.
4194 * socket/getsockname.c: Likewise.
4195 * socket/getsockopt.c: Likewise.
4196 * socket/isfdtype.c: Likewise.
4197 * socket/listen.c: Likewise.
4198 * socket/recv.c: Likewise.
4199 * socket/recvfrom.c: Likewise.
4200 * socket/recvmsg.c: Likewise.
4201 * socket/send.c: Likewise.
4202 * socket/sendmsg.c: Likewise.
4203 * socket/sendto.c: Likewise.
4204 * socket/setsockopt.c: Likewise.
4205 * socket/shutdown.c: Likewise.
4206 * socket/sockatmark.c: Likewise.
4207 * socket/socket.c: Likewise.
4208 * socket/socketpair.c: Likewise.
4209 * stdio-common/ctermid.c: Likewise.
4210 * stdio-common/cuserid.c: Likewise.
4211 * stdio-common/remove.c: Likewise.
4212 * stdio-common/rename.c: Likewise.
4213 * stdio-common/renameat.c: Likewise.
4214 * stdio-common/tempname.c: Likewise.
4215 * stdlib/getcontext.c: Likewise.
4216 * stdlib/makecontext.c: Likewise.
4217 * stdlib/setcontext.c: Likewise.
4218 * stdlib/swapcontext.c: Likewise.
4219 * stdlib/system.c: Likewise.
4220 * streams/fattach.c: Likewise.
4221 * streams/fdetach.c: Likewise.
4222 * streams/getmsg.c: Likewise.
4223 * streams/getpmsg.c: Likewise.
4224 * streams/putmsg.c: Likewise.
4225 * streams/putpmsg.c: Likewise.
4226 * sysdeps/unix/bsd/getpt.c: Likewise.
4227 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4228 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4229 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4231 Likewise.
4232 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4234 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4235 * sysvipc/msgctl.c: Likewise.
4236 * sysvipc/msgget.c: Likewise.
4237 * sysvipc/msgrcv.c: Likewise.
4238 * sysvipc/msgsnd.c: Likewise.
4239 * sysvipc/semctl.c: Likewise.
4240 * sysvipc/semget.c: Likewise.
4241 * sysvipc/semop.c: Likewise.
4242 * sysvipc/semtimedop.c: Likewise.
4243 * sysvipc/shmat.c: Likewise.
4244 * sysvipc/shmctl.c: Likewise.
4245 * sysvipc/shmdt.c: Likewise.
4246 * sysvipc/shmget.c: Likewise.
4247 * termios/tcdrain.c: Likewise.
4248 * termios/tcflow.c: Likewise.
4249 * termios/tcflush.c: Likewise.
4250 * termios/tcgetattr.c: Likewise.
4251 * termios/tcgetpgrp.c: Likewise.
4252 * termios/tcsendbrk.c: Likewise.
4253 * termios/tcsetattr.c: Likewise.
4254 * termios/tcsetpgrp.c: Likewise.
4255 * time/adjtime.c: Likewise.
4256 * time/clock.c: Likewise.
4257 * time/getitimer.c: Likewise.
4258 * time/gettimeofday.c: Likewise.
4259 * time/setitimer.c: Likewise.
4260 * time/settimeofday.c: Likewise.
4261 * time/stime.c: Likewise.
4262 * time/time.c: Likewise.
4263
4264 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4265
4266 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4267 /usr/old/bin.
4268
4269 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4270 instead of spaces.
4271 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4272
4273 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4274
4275 [BZ #14796]
4276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4277 FE_TONEAREST before applying Dekker multiplication and Knuth
4278 addition. Clear inexact exceptions and check for exact zero
4279 results afterwards.
4280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4281 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4283 * math/libm-test.inc (fma_test): Add more tests.
4284 (fma_test_towardzero): Likewise.
4285 (fma_test_downward): Likewise.
4286 (fma_test_upward): Likewise.
4287 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4288 function.
4289 (libc_fesetround): New macro.
4290 (libc_fesetroundf): Likewise.
4291 (libc_fesetroundl): Likewise.
4292 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4293 function.
4294 (libc_fesetround_387): Likewise.
4295 (libc_fesetroundf): New macro.
4296 (libc_fesetround): Likewise.
4297 (libc_fesetroundl): Likewise.
4298 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4299 function.
4300 (libc_fesetroundf): New macro.
4301 (libc_fesetround): Likewise.
4302 (libc_fesetroundl): Likewise.
4303 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4304 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4305 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4306 libm_hidden_ver.
4307 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4308 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4309 libm_hidden_def.
4310 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4311 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4312 libm_hidden_ver.
4313 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4314 libm_hidden_def.
4315
4316 [BZ #3439]
4317 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4318 integer constant usable in #if and use that to give value to enum
4319 constant.
4320 (FE_DIVBYZERO): Likewise.
4321 (FE_UNDERFLOW): Likewise.
4322 (FE_OVERFLOW): Likewise.
4323 (FE_INVALID): Likewise.
4324 (FE_INVALID_SNAN): Likewise.
4325 (FE_INVALID_ISI): Likewise.
4326 (FE_INVALID_IDI): Likewise.
4327 (FE_INVALID_ZDZ): Likewise.
4328 (FE_INVALID_IMZ): Likewise.
4329 (FE_INVALID_COMPARE): Likewise.
4330 (FE_INVALID_SOFTWARE): Likewise.
4331 (FE_INVALID_SQRT): Likewise.
4332 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4333 (FE_TONEAREST): Likewise.
4334 (FE_TOWARDZERO): Likewise.
4335 (FE_UPWARD): Likewise.
4336 (FE_DOWNWARD): Likewise.
4337 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4338 (FE_DIVBYZERO): Likewise.
4339 (FE_OVERFLOW): Likewise.
4340 (FE_UNDERFLOW): Likewise.
4341 (FE_INEXACT): Likewise.
4342 (FE_TONEAREST): Likewise.
4343 (FE_DOWNWARD): Likewise.
4344 (FE_UPWARD): Likewise.
4345 (FE_TOWARDZERO): Likewise.
4346 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4347 (FE_UNDERFLOW): Likewise.
4348 (FE_OVERFLOW): Likewise.
4349 (FE_DIVBYZERO): Likewise.
4350 (FE_INVALID): Likewise.
4351 (FE_TONEAREST): Likewise.
4352 (FE_TOWARDZERO): Likewise.
4353 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4354 (FE_OVERFLOW): Likewise.
4355 (FE_UNDERFLOW): Likewise.
4356 (FE_DIVBYZERO): Likewise.
4357 (FE_INEXACT): Likewise.
4358 (FE_TONEAREST): Likewise.
4359 (FE_TOWARDZERO): Likewise.
4360 (FE_UPWARD): Likewise.
4361 (FE_DOWNWARD): Likewise.
4362 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4363 (FE_DIVBYZERO): Likewise.
4364 (FE_OVERFLOW): Likewise.
4365 (FE_UNDERFLOW): Likewise.
4366 (FE_INEXACT): Likewise.
4367 (FE_TONEAREST): Likewise.
4368 (FE_DOWNWARD): Likewise.
4369 (FE_UPWARD): Likewise.
4370 (FE_TOWARDZERO): Likewise.
4371
4372 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4373
4374 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4375
4376 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4377
4378 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4379 commands. Quote $PWD.
4380 (blacklist_exports): Don't use remove_newlines. Replace "declare
4381 -x" by "export".
4382 (remove_newlines): Remove.
4383
4384 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4385
4386 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4387 * stdlib/stdlib.h (atof): Moved to ...
4388 * include/bits/stdlib-float.h: Here. New file.
4389 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4390 * stdlib/bits/stdlib-float.h: New file.
4391 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4392 -mno-sse -mno-mmx.
4393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4394 <xmmintrin.h>.
4395
4396 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4397
4398 * conform/conformtest.pl (@headers): Add fenv.h.
4399 * conform/data/fenv.h-data: New file.
4400 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4401 include of <math/fenv.h>.
4402
4403 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4404 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4405 && !UNIX98]. Enables tests for XOPEN2K8.
4406 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4407 POSIX2008]: Likewise.
4408
4409 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4410 (struct rusage): Do not expect type or its members.
4411
4412 [BZ #3439]
4413 * math/math.h (FP_NAN): Define macro to integer constant usable in
4414 #if and use that to give value to enum constant.
4415 (FP_INFINITE): Likewise.
4416 (FP_ZERO): Likewise.
4417 (FP_SUBNORMAL): Likewise.
4418 (FP_NORMAL): Likewise.
4419
4420 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4421
4422 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4423 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4424 arguments.
4425
4426 2012-11-02 Roland McGrath <roland@hack.frob.com>
4427
4428 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4429 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4430 autoconf-time if not.
4431 * configure.in: Remove AC_PREREQ.
4432
4433 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4434
4435 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4436 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4437 of the internal implementation.
4438
4439 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4440
4441 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4442 except include of <misc/sys/syslog.h>.
4443
4444 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4445
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4447 function returns with a NULL context exit with zero.
4448
4449 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4450
4451 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4452
4453 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4454
4455 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4456 (run_program_cmd): This.
4457 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4458 (tst_langinfo): New variable. Use it.
4459
4460 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4461
4462 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4463 floating point opcodes.
4464
4465 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4466
4467 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4468 variable.
4469
4470 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4471
4472 * sysdeps/mach/hurd/powerpc: Remove directory.
4473 * sysdeps/mach/powerpc: Likewise.
4474
4475 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4476
4477 * scripts/check-local-headers.sh: Ignore c++ headers.
4478
4479 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4480
4481 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4482 __libc_cleanup_region_start argument.
4483
4484 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4485
4486 [BZ #14784]
4487 [BZ #14785]
4488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4489 x * y using scaling, not as x * y + z.
4490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4492 * math/libm-test.inc (fma_test): Add more tests.
4493 (fma_test_towardzero): Likewise.
4494 (fma_test_downward): Likewise.
4495 (fma_test_upward): Likewise.
4496
4497 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4498
4499 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4500
4501 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4502
4503 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4504 New variable.
4505
4506 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4507
4508 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4509
4510 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4511
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4513 Fix sort order.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4515 Likewise.
4516
4517 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4518
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4520 Fix the order of the list for glibc 2.17.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4522 Likewise.
4523
4524 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4525
4526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4527
4528 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4529
4530 [BZ #14610]
4531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4532 for low part of x being zero before using __atanl (y).
4533 * math/libm-test.inc (atan2_test): Add another test.
4534
4535 * manual/install.texi (Configuring and compiling): Document
4536 general use of test-wrapper and test-wrapper-env.
4537 * INSTALL: Regenerated.
4538
4539 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4540 (__fma): Do not extract and scale down low bits on after-rounding
4541 systems when result rounded to normal precision would have normal
4542 exponent.
4543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4544 (__fmal): Do not extract and scale down low bits on after-rounding
4545 systems when result rounded to normal precision would have normal
4546 exponent.
4547 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4548 (__fmal): Do not extract and scale down low bits on after-rounding
4549 systems when result rounded to normal precision would have normal
4550 exponent.
4551 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4552 macro.
4553 (fma_test): Add more tests.
4554 (fma_test_towardzero): Likewise.
4555 (fma_test_downward): Likewise.
4556 (fma_test_upward): Likewise.
4557
4558 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * sysdeps/i386/tininess.h: Renamed to ...
4561 * sysdeps/x86/tininess.h: This.
4562 * sysdeps/x86_64/tininess.h: Removed.
4563
4564 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4565
4566 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4567 input. Use $(build-program-cmd).
4568 ($(objpfx)tst-array1-static.out): Likewise.
4569 ($(objpfx)tst-array2.out): Likewise.
4570 ($(objpfx)tst-array3.out): Likewise.
4571 ($(objpfx)tst-array4.out): Likewise.
4572 ($(objpfx)tst-array5.out): Likewise.
4573 ($(objpfx)tst-array5-static.out): Likewise.
4574
4575 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4576
4577 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4578 if defined.
4579
4580 * nss/nsswitch.h (nss_interface_function): Provide new
4581 macro for use with NSS functions.
4582 * grp/initgroups.c: Use new macro.
4583 * nss/getXXbyYY.c: Likewise.
4584 * nss/getXXbyYY_r.c: Likewise.
4585 * nss/getXXent.c: Likewise.
4586 * nss/getXXent_r.c: Likewise.
4587 * sysdeps/posix/getaddrinfo.c: Likewise.
4588
4589 2012-10-30 Andreas Jaeger <aj@suse.de>
4590
4591 * po/ru.po: Update Russion translation from translation project.
4592
4593 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4594
4595 [BZ #14152]
4596 [BZ #14783]
4597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4598 result and shift together with sticky bit instead of replicating
4599 round-to-nearest rounding.
4600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4602 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4603 missing underflow exceptions.
4604 (fma_test_towardzero): Add more tests.
4605 (fma_test_downward): Likewise.
4606 (fma_test_upward): Likewise.
4607
4608 [BZ #14047]
4609 * sysdeps/generic/tininess.h: New file.
4610 * sysdeps/i386/tininess.h: Likewise.
4611 * sysdeps/sh/tininess.h: Likewise.
4612 * sysdeps/x86_64/tininess.h: Likewise.
4613 * stdlib/tst-strtod-underflow.c: Likewise.
4614 * stdlib/tst-tininess.c: Likewise.
4615 * stdlib/strtod_l.c: Include <tininess.h>.
4616 (round_and_return): Do not set errno for exact underflow cases.
4617 Force an underflow exception when setting errno for underflow.
4618 Determine underflow based on rounding to normal precision if
4619 TININESS_AFTER_ROUNDING.
4620 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4621 ERANGE for exact underflow cases.
4622 * stdlib/Makefile (tests): Add tst-tininess and
4623 tst-strtod-underflow.
4624 ($(objpfx)tst-tininess): Use $(link-libm).
4625 ($(objpfx)tst-strtod-underflow): Likewise.
4626
4627 2012-10-30 Andreas Jaeger <aj@suse.de>
4628
4629 [BZ#14767]
4630 * elf/Makefile (tests): Remove conditional for have-initfini-array
4631 since this is now always required and the variable does not exist
4632 anymore.
4633 (tests-static): Likewise.
4634 (modules-names): Likewise.
4635
4636 * po/eo.po: Add Esperanto translation from translation project.
4637
4638 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4639 merged with constructor/destructor.
4640 (init_array): Likewise.
4641 * elf/tst-array2dep.c (fini_array): Likewise.
4642 (init_array): Likewise.
4643
4644 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4645
4646 * manual/message.texi: Delete @cartouche tags.
4647
4648 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4649
4650 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4651 EOPNOTSUPP.
4652 * sysdeps/mach/hurd/fsync.c: Likewise.
4653
4654 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4655 [_POSIX_REALTIME_SIGNALS]: Change condition to
4656 [_POSIX_REALTIME_SIGNALS > 0].
4657
4658 2012-10-27 Andreas Jaeger <aj@suse.de>
4659
4660 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4661 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4663 [__WORDSIZE != 64]: Likewise.
4664
4665 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4666
4667 * iconvdata/tst-table.sh: Remove ${SHELL}.
4668 * iconvdata/tst-tables.sh: Likewise.
4669
4670 2012-10-25 David S. Miller <davem@davemloft.net>
4671
4672 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4673 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4674 of strtoull.
4675
4676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4677 ifunc-impl-list.c
4678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4679 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4680 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4681 file.
4682
4683 2012-10-25 Roland McGrath <roland@hack.frob.com>
4684
4685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4686 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4687 __getdirentries.
4688
4689 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4690 Jim Blandy <jimb@codesourcery.com>
4691
4692 * scripts/cross-test-ssh.sh: New file.
4693 * manual/install.texi (Configuring and compiling): Document use of
4694 cross-test-ssh.sh.
4695 * INSTALL: Regenerated.
4696
4697 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4698
4699 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4700 EOPNOTSUPP.
4701
4702 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4703
4704 * Makeconfig (run-program-prefix): Fix comment.
4705
4706 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4707 Jim Blandy <jimb@codesourcery.com>
4708
4709 * Makeconfig (test-wrapper): New variable,
4710 (test-wrapper-env): Likewise.
4711 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4712 (run-built-tests): Define to yes.
4713 (run-program-prefix): Use $(test-wrapper).
4714 (built-program-cmd): Likewise.
4715 * Rules (make-test-out): Use $(test-wrapper-env) and
4716 $(host-built-program-cmd).
4717 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4718 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4719 tst-pathopt.sh.
4720 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4721 $(test-wrapper-env) to tst-rtld-load-self.sh.
4722 ($(objpfx)order2.out): Use $(test-wrapper).
4723 ($(objpfx)tst-initorder.out): Likewise.
4724 ($(objpfx)tst-initorder2.out): Likewise.
4725 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4726 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4727 (test_wrapper_env): New variable. Use it to run ld.so.
4728 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4729 Use it to run ld.so.
4730 (test_wrapper_env): Likewise.
4731 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4732 $(test-wrapper) to run-iconv-test.sh.
4733 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4734 (ICONV): Use $test_wrapper.
4735 * posix/Makefile ($(objpfx)globtest.out): Pass
4736 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4737 globtest.sh, not $(run-program-prefix).
4738 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4739 (test_wrapper): Likewise.
4740 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4741 set together with run_via_rtld_prefix.
4742 (run_program_prefix): Define in terms of test_wrapper and
4743 run_via_rtld_prefix.
4744
4745 2012-10-24 Roland McGrath <roland@hack.frob.com>
4746
4747 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4748 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4749 Targets removed.
4750
4751 [BZ #14743]
4752 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4753 Declare __clock_getres, __clock_gettime, __clock_settime,
4754 __clock_nanosleep, and __clock_getcpuclockid.
4755 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4756 Remove librt_hidden_def (clock_gettime).
4757 * sysdeps/unix/clock_gettime.c: Likewise.
4758 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4760 * rt/clock_getres.c: Define __clock_getres as an alias.
4761 * sysdeps/posix/clock_getres.c: Likewise.
4762 * rt/clock_settime.c: Define __clock_settime as an alias.
4763 * sysdeps/unix/clock_settime.c: Likewise.
4764 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4765 * sysdeps/unix/clock_nanosleep.c: Likewise.
4766 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4767 * rt/clock-compat.c: New file.
4768 * rt/Makefile (librt-routines): Add clock-compat and move
4769 $(clock-routines) to ...
4770 (routines): ... here, new variable.
4771 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4772 Don't add get_clockfreq here.
4773 * rt/Versions (libc: GLIBC_2.17): New version set.
4774 Add clock_* symbols here.
4775 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4776 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4777 (GLIBC_2.17): Add clock_* symbols.
4778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4782 Likewise.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4784 Likewise.
4785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4789 * NEWS: Mention the move.
4790
4791 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4792 Use __open, __read, __close rather than their public counterparts.
4793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4794 (__get_clockfreq_via_cpuinfo): Likewise.
4795 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4796 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4797
4798 * config.h.in (HAVE_IFUNC): New #undef.
4799 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4800 was successful.
4801 * configure: Regenerated.
4802
4803 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4804
4805 * configure.in: Move READELF check to start of file.
4806 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4807 libc_cv_asm_gnu_indirect_function in the process.
4808 * configure: Regenerated.
4809
4810 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4811
4812 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4813 send the output to /dev/null.
4814 (libc_cv_cc_with_libunwind): Likewise.
4815 (libc_cv_as_noexecstack): Likewise.
4816 * configure: Regenerate.
4817
4818 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4819
4820 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4821
4822 * posix/globtest.sh (TMPDIR): Do not set.
4823 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4824 (testout): Likewise.
4825
4826 2012-10-24 Andreas Jaeger <aj@suse.de>
4827
4828 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4829 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4830 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4831 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4832 posix_fadvise64, posix_fallocate64.
4833
4834 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4835 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4836 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4837 Likewise.
4838 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4839 Likewise.
4840 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4841
4842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4843 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4844 <bits/fcntl-linux.h>.
4845 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4846
4847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4848 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4849 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4850 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4851 [__WORDSIZE != 64]: Likewise.
4852
4853 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4854
4855 * Makeconfig (run-built-tests): New variable.
4856 * Rules [$(cross-compiling) = yes]: Change condition to
4857 [$(run-built-tests) = no].
4858 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4859 to [$(run-built-tests) = yes].
4860 * elf/Makefile [$(cross-compiling) = no]: Likewise
4861 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4862 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4863 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4864 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4865 * io/Makefile [$(cross-compiling) = no]: Likewise.
4866 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4867 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4868 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4869 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4870 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4871 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4872 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4873 * string/Makefile [$(cross-compiling) = no]: Likewise.
4874
4875 * posix/Makefile ($(objpfx)globtest.out): Pass
4876 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4877 $(rtld-installed-name).
4878 * posix/globtest.sh (elf_objpfx): Remove variable.
4879 (rtld_installed_name): Likewise.
4880 (library_path): Likewise.
4881 (run_program_prefix): New variable. Use for running globtest
4882 binary.
4883
4884 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4885 Joseph Myers <joseph@codesourcery.com>
4886
4887 * Makeconfig (host-built-program-cmd): New variable.
4888 * elf/Makefile (tst-stackguard1-ARGS): Use
4889 $(host-built-program-cmd).
4890 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4891 (tst-spawn-ARGS): Likewise.
4892 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4893
4894 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4895 Jim Blandy <jimb@codesourcery.com>
4896
4897 * Makeconfig (run-via-rtld-prefix): New variable.
4898 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4899 (built-program-cmd): Likewise.
4900
4901 2012-10-22 Andreas Jaeger <aj@suse.de>
4902
4903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4904 __O_RSYNC if it exists, otherwise to O_SYNC.
4905
4906 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4907 Joseph Myers <joseph@codesourcery.com>
4908
4909 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4910 /dev/null.
4911 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4912 from /dev/null
4913 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4914 /dev/null.
4915
4916 2012-10-22 Andreas Jaeger <aj@suse.de>
4917
4918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4919 Define always.
4920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4921
4922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4923 bits/fcntl-linux.h.
4924
4925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4926 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4927
4928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4929 to __O_LARGEFILE.
4930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4931 to __O_LARGEFILE.
4932
4933 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4934 Joseph Myers <joseph@codesourcery.com>
4935
4936 * config.make.in (NM): New variable.
4937
4938 2012-10-21 Andreas Jaeger <aj@suse.de>
4939
4940 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4941 definitions and declarations that are provided by
4942 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4943
4944 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 [BZ #14683]
4947 * elf/Makefile (tests-static): Add tst-leaks1-static.
4948 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4949 ($(objpfx)tst-leaks1-static): New rule.
4950 ($(objpfx)tst-leaks1-static-mem): Likewise.
4951 (tst-leaks1-static-ENV): New macro.
4952 * elf/dl-open.c (dl_open_worker): Check the main application
4953 only if SHARED is defined.
4954 * elf/tst-leaks1-static.c: New file.
4955
4956 2012-10-20 Andreas Jaeger <aj@suse.de>
4957
4958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4959 generic values for Linux.
4960 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4961 and declarations that are provided by <bits/fcntl-linux.h> and
4962 include <bits/fcntl-linux.h>.
4963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4965
4966 2012-10-20 Roland McGrath <roland@hack.frob.com>
4967
4968 * io/fcntl.h: Move include of <bits/types.h> to the top and
4969 include it unconditionally.
4970
4971 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4972
4973 * wcsmbs/Makefile (tests-ifunc): New variable.
4974 (tests): Add $(tests-ifunc).
4975 * wcsmbs/test-wcschr-ifunc.c: New file.
4976 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4977 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4978 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4979 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4980 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4981
4982 * string/Makefile (tests-ifunc): New variable.
4983 (tests): Add $(tests-ifunc).
4984 * string/test-memccpy.c (TEST_NAME): New macro.
4985 * string/test-memchr.c (TEST_NAME): Likewise.
4986 * string/test-memcmp.c (TEST_NAME): Likewise.
4987 * string/test-memcpy.c (TEST_NAME): Likewise.
4988 * string/test-memmem.c (TEST_NAME): Likewise.
4989 * string/test-memmove.c (TEST_NAME): Likewise.
4990 * string/test-memset.c (TEST_NAME): Likewise.
4991 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4992 * string/test-stpcpy.c (TEST_NAME): Likewise.
4993 * string/test-stpncpy.c (TEST_NAME): Likewise.
4994 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4995 * string/test-strcasestr.c (TEST_NAME): Likewise.
4996 * string/test-strcat.c (TEST_NAME): Likewise.
4997 * string/test-strchr.c (TEST_NAME): Likewise.
4998 * string/test-strcmp.c(TEST_NAME): Likewise.
4999 * string/test-strcpy.c (TEST_NAME): Likewise.
5000 * string/test-strcspn.c (TEST_NAME): Likewise.
5001 * string/test-strlen.c (TEST_NAME): Likewise.
5002 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5003 * string/test-strncmp.c (TEST_NAME): Likewise.
5004 * string/test-strncpy.c (TEST_NAME): Likewise.
5005 * string/test-strnlen.c (TEST_NAME): Likewise.
5006 * string/test-strpbrk.c (TEST_NAME): Likewise.
5007 * string/test-strrchr.c (TEST_NAME): Likewise.
5008 * string/test-strspn.c (TEST_NAME): Likewise.
5009 * string/test-strstr.c (TEST_NAME): Likewise.
5010 * string/test-bcopy-ifunc.c: New file.
5011 * string/test-bzero-ifunc.c: Likewise.
5012 * string/test-memccpy-ifunc.c: Likewise.
5013 * string/test-memchr-ifunc.c: Likewise.
5014 * string/test-memcmp-ifunc.c: Likewise.
5015 * string/test-memcpy-ifunc.c: Likewise.
5016 * string/test-memmem-ifunc.c: Likewise.
5017 * string/test-memmove-ifunc.c: Likewise.
5018 * string/test-mempcpy-ifunc.c: Likewise.
5019 * string/test-memset-ifunc.c: Likewise.
5020 * string/test-rawmemchr-ifunc.c: Likewise.
5021 * string/test-stpcpy-ifunc.c: Likewise.
5022 * string/test-stpncpy-ifunc.c: Likewise.
5023 * string/test-strcasecmp-ifunc.c: Likewise.
5024 * string/test-strcasestr-ifunc.c: Likewise.
5025 * string/test-strcat-ifunc.c: Likewise.
5026 * string/test-strchr-ifunc.c: Likewise.
5027 * string/test-strchrnul-ifunc.c: Likewise.
5028 * string/test-strcmp-ifunc.c: Likewise.
5029 * string/test-strcpy-ifunc.c: Likewise.
5030 * string/test-strcspn-ifunc.c: Likewise.
5031 * string/test-strlen-ifunc.c: Likewise.
5032 * string/test-strncasecmp-ifunc.c: Likewise.
5033 * string/test-strncat-ifunc.c: Likewise.
5034 * string/test-strncmp-ifunc.c: Likewise.
5035 * string/test-strncpy-ifunc.c: Likewise.
5036 * string/test-strnlen-ifunc.c: Likewise.
5037 * string/test-strpbrk-ifunc.c: Likewise.
5038 * string/test-strrchr-ifunc.c: Likewise.
5039 * string/test-strspn-ifunc.c: Likewise.
5040 * string/test-strstr-ifunc.c: Likewise.
5041
5042 * debug/Makefile (tests-ifunc): New variable.
5043 (tests): Add $(tests-ifunc).
5044 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5045 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5046 * debug/test-stpcpy_chk-ifunc.c: New file.
5047 * debug/test-strcpy_chk-ifunc.c: Likewise.
5048
5049 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5050
5051 [BZ #13601]
5052 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5053 header is not read in.
5054
5055 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5056
5057 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5058 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5059 directly. Pass built executable to script as
5060 $(built-program-cmd).
5061 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5062 $testprogram without using LD_LIBRARY_PATH and $ldso.
5063
5064 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5065 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5066 $(rtld-installed-name).
5067 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5068 (rtld_installed_name): Likewise.
5069 (library_path): Likewise.
5070 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5071 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5072 $(run-program-prefix) to tst-tables.sh.
5073 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5074 it to run tst-table-from and tst-table-to.
5075 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5076 Pass it to tst-table.sh.
5077 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5078 $(run-program-prefix) to tst-gettext.sh.
5079 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5080 tst-translit.sh.
5081 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5082 tst-gettext2.sh.
5083 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5084 to run tst-gettext.
5085 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5086 to run tst-gettext2.
5087 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5088 to run tst-translit.
5089 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5090 $(run-program-prefix) to tst-mtrace.sh.
5091 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5092 to run tst-mtrace.
5093 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5094 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5095 $(rtld-installed-name).
5096 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5097 (rtld_installed_name): Likewise.
5098 (run_program_prefix): New variable. Use it to run wordexp-test.
5099
5100 * Makeconfig (ARCH): Remove all definitions.
5101 (machine): Likewise.
5102 [ARCH]: Remove conditional code.
5103 [!objdir]: Give error.
5104 [!objdir] (objpfx): Remove.
5105 [!objdir] (common-objpfx): Likewise.
5106 [!objdir] (common-objdir): Likewise.
5107 * configure.in (config_makefile): Remove. Hardcode Makefile in
5108 AC_CONFIG_FILES call.
5109 * configure: Regenerated.
5110
5111 [BZ #13888]
5112 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5113 or TMPDIR.
5114 (testout): Likewise.
5115
5116 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5117 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5118 $(rtld-installed-name).
5119 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5120 (rtld_installed_name): Likwise.
5121 (runit): Remove function.
5122 (run_getconf): New variable, Use it for running getconf binary.
5123
5124 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5125
5126 [BZ #14716]
5127 * string/test-memmem.c (check_result): New function.
5128 (do_one_test): Use it.
5129 (check1): New function.
5130 (test_main): Use it.
5131
5132 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5133
5134 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5135
5136 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5137
5138 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5139 (_G_LSEEK64): Likewise.
5140 (_G_MMAP64): Likewise.
5141 (_G_FSTAT64): Likewise.
5142 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5143 (_G_LSEEK64): Likewise.
5144 (_G_MMAP64): Likewise.
5145 (_G_FSTAT64): Likewise.
5146 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5147 unconditional. Call __mmap64 directly.
5148 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5149 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5150 __lseek64 directly.
5151 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5152 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5153 __mmap64 directly.
5154 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5155 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5156 __lseek64 directly.
5157 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5158 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5159 __lseek64 directly.
5160 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5161 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5162 __lseek64 directly.
5163 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5164 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5165 __fxstat64 directly.
5166 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5167 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5168 unconditional.
5169 (freopen64) [!_G_OPEN64]: Remove conditional code.
5170 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5171 unconditional.
5172 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5173 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5174 unconditional.
5175 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5176 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5177 unconditional.
5178 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5179 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5180 unconditional.
5181 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5182 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5183 unconditional.
5184 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5185 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5186 unconditional.
5187 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5188 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5189 unconditional.
5190 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5191
5192 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5193
5194 [BZ #12140]
5195 * manual/memory.texi (Malloc Tunable Parameters): Add note
5196 about free list pointers overwriting some perturb bytes.
5197 Wording suggested by Roland McGrath.
5198
5199 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5200
5201 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5202 (lgamma_test): Likewise.
5203 (tgamma_test): Likewise.
5204
5205 2012-10-16 Florian Weimer <fweimer@redhat.com>
5206
5207 [BZ #14700]
5208 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5209 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5210
5211 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5212
5213 * NEWS: Mention BZ #14716.
5214 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5215 when removing AVAILABLE1_USES_J macro.
5216
5217 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5220 (__bswap_64): __uint64_t for unsigned 64-bit int.
5221
5222 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5223
5224 * include/string.h (memmem): Declare libc hidden alias.
5225 * string/memmem.c (memmem): Define libc hidden alias.
5226 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5227 __read, __close instead of open, read, close.
5228
5229 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5232 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5233 global and hidden.
5234 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5235 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5236 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5237 Likewise.
5238 (__rawmemchr_sse2): Likewise.
5239 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5240 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5241 (__strchr_sse2): Likewise.
5242 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5243 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5244 (__strcasecmp_sse2): Likewise.
5245 (__strncasecmp_sse2): Likewise.
5246 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5247 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5248 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5249 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5250 (__strrchr_sse2): Likewise.
5251 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5252 ifunc-impl-list.c.
5253 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5254 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5255 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5256 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5257 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5259 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5260 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5261 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5262 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5263 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5264 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5266 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5267 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5269 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5270 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5271 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5272 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5273 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5274 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5275 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5276 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5277 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5278 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5279 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5280 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5281 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5282 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5283
5284 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5285 global and hidden.
5286 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5287 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5288 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5289 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5290 Likewise.
5291 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5292 Likewise.
5293 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5294 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5295 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5296 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5297 ifunc-impl-list.c.
5298 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5299 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5300 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5308 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5309 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5310 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5311 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5312 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5314 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5315 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5316 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5317 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5318 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5319 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5320 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5321 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5323 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5324 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5325 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5326 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5327 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5328 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5329 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5330 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5331 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5332 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5333 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5334 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5335 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5336 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5337 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5338 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5339
5340 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5341 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5342 * include/ifunc-impl-list.h: New file.
5343 * misc/ifunc-impl-list.c: Likewise.
5344 * misc/Makefile (routines): Add ifunc-impl-list.
5345 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5346 * string/test-string.h: Include <ifunc-impl-list.h>.
5347 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5348 impl_array): New variables.
5349 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5350 are defined.
5351 (test_init): Call __libc_ifunc_impl_list to initialize
5352 func_list if TEST_IFUNC and TEST_NAME are defined.
5353
5354 * string/Makefile (strop-tests): Add bcopy and bzero.
5355 * string/test-bcopy.c: New file.
5356 * string/test-bzero.c: Likewise.
5357 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5358 defined.
5359 * string/test-memset.c: Support bzero test if TEST_BZERO is
5360 defined.
5361 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5362 __libc_memmove.
5363 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5364 __libc_memset.
5365 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5366 of memset.
5367
5368 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5369
5370 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5371 * configure: Regenerated.
5372
5373 * Makeconfig (+link-static-before-libc): Don't include
5374 $(link-static-libc).
5375
5376 * libio/libio.h (_IO_pos_t): Remove.
5377
5378 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5379
5380 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5381 McGrath.
5382
5383 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5384
5385 * crypt/crypt-entry.c: Include fips-private.h.
5386 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5387 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5388 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5389 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5390
5391 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5392
5393 * crypt/crypt-private.h: Include stdbool.h.
5394 (_ufc_setup_salt_r): Return bool.
5395 * crypt/crypt-entry.c: Include errno.h.
5396 (__crypt_r): Return NULL with EINVAL for bad salt.
5397 * crypt/crypt_util.c (bad_for_salt): New.
5398 (_ufc_setup_salt_r): Check that salt is long enough and within
5399 the specified alphabet.
5400 * crypt/badsalttest.c: New file.
5401 * crypt/Makefile (tests): Add it.
5402 ($(objpfx)badsalttest): New.
5403
5404 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5405
5406 * NEWS: Add entry for BZ #14602.
5407
5408 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5409
5410 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5411 type-generic.
5412 * math/libm-test.inc: Update comment listing what functions and
5413 macros are tested.
5414 (isgreater_test): New function.
5415 (isgreaterequal_test): Likewise.
5416 (isless_test): Likewise.
5417 (islessequal_test): Likewise.
5418 (islessgreater_test): Likewise.
5419 (isunordered_test): Likewise.
5420 (main): Call the new functions.
5421
5422 2012-10-09 Roland McGrath <roland@hack.frob.com>
5423
5424 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5425 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5426 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5427 * sysdeps/i386/configure: Regenerated.
5428 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5429 * sysdeps/mach/configure: Regenerated.
5430 * sysdeps/mach/hurd/configure: Regenerated.
5431 * sysdeps/powerpc/configure: Regenerated.
5432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5434 * sysdeps/s390/s390-32/configure: Regenerated.
5435 * sysdeps/s390/s390-64/configure: Regenerated.
5436 * sysdeps/sh/configure: Regenerated.
5437 * sysdeps/sparc/configure: Regenerated.
5438 * sysdeps/unix/sysv/linux/configure: Regenerated.
5439 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5440 * sysdeps/x86_64/configure: Regenerated.
5441
5442 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5443 defined. Don't check if MAP is NULL.
5444
5445 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5446
5447 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5448 (_G_stat64): Likewise.
5449 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5450 (_G_stat64): Likewise.
5451 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5452 instead of struct _G_stat64.
5453 * libio/fileops.c (mmap_remap_check): Likewise.
5454 (decide_maybe_mmap): Likewise.
5455 (_IO_new_file_seekoff): Likewise.
5456 (_IO_file_stat): Likewise.
5457 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5458 _G_off64_t.
5459 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5460 instead of struct _G_stat64.
5461 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5462
5463 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5464
5465 [BZ #14602]
5466 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5467 Replace with ...
5468 (CHECK_EOL): New macro.
5469 (two_way_short_needle): Check beginning of haystack for EOL. Use
5470 CHECK_EOL.
5471 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5472 Replace with CHECK_EOL.
5473 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5474 Replace with CHECK_EOL.
5475
5476 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5477
5478 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5479 type-generic.
5480 * math/libm-test.inc: Update comment listing what functions and
5481 macros are tested.
5482 (finite_test): New function.
5483 (isinf_test): Likewise.
5484 (isnan_test): Likewise.
5485 (fpclassify_test): Test subnormal input.
5486 (isfinite_test): Likewise.
5487 (isnormal_test): Likewise.
5488 (main): Call the new functions.
5489
5490 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5491
5492 [BZ #14660]
5493 * Makerules (%.dynsym): Force C locale when running
5494 $(OBJDUMP) --dynamic-syms.
5495
5496 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5497
5498 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5499 <stdint.h>.
5500
5501 2012-10-06 David S. Miller <davem@davemloft.net>
5502
5503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5504 upper 32-bits of the length value in %o2 since we use branch-on-register
5505 tests which consider the entire 64-bit register.
5506
5507 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5508
5509 * string/test-strstr.c (check2): Add a test for page boundary.
5510
5511 2012-10-05 David S. Miller <davem@davemloft.net>
5512
5513 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5514 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5515 file.
5516 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5517 sysdep_routines.
5518 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5519 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5520 and bzero when HWCAP_SPARC_CRYPTO is present.
5521
5522 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 [BZ #14602]
5525 * string/test-strstr.c (check2): New function.
5526 (test_main): Call check2.
5527
5528 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5529 and bug-strchr1.
5530 * string/bug-strcasestr1.c (do_test): Moved to ...
5531 * string/test-strcasestr.c (check1): Here. New function.
5532 (do_one_test): Break out result checking code into ...
5533 (check_result): This. New function.
5534 (do_one_test): Call check_result.
5535 (test_main): Call check1.
5536 * string/bug-strchr1.c (do_test): Moved to ...
5537 * string/test-strchr.c (check1): Here. New function.
5538 (do_one_test): Break out result checking code into ...
5539 (check_result): This. New function.
5540 (do_one_test): Call check_result.
5541 (test_main): Call check1.
5542 * string/bug-strstr1.c (main): Moved to ...
5543 * string/test-strstr.c (check1): Here. New function.
5544 (do_one_test): Break out result checking code into ...
5545 (check_result): This. New function.
5546 (do_one_test): Call check_result.
5547 (test_main): Call check1.
5548 * string/bug-strcasestr1.c: Removed.
5549 * string/bug-strchr1.c: Likewise.
5550 * string/bug-strstr1.c: Likewise.
5551
5552 * elf/Makefile (dl-routines): Add hwcaps.
5553 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5554 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5555 (_dl_important_hwcaps): Moved to ...
5556 * elf/dl-hwcaps.c: Here. New file.
5557 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5558
5559 [BZ #14557]
5560 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5561 if IS_IN_rtld isn't defined.
5562
5563 * elf/dl-support.c (_dl_sysinfo_map): New.
5564 Include "get-dynamic-info.h" and "setup-vdso.h".
5565 (_dl_non_dynamic_init): Call setup_vdso.
5566 * elf/dynamic-link.h: Don't include <assert.h>.
5567 (elf_get_dynamic_info): Moved to ...
5568 * elf/get-dynamic-info.h: Here. New file.
5569 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5570 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5571 * elf/setup-vdso.h: Here. New file.
5572 * elf/rtld.c: Include "setup-vdso.h".
5573 (dl_main): Call setup_vdso.
5574
5575 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5576
5577 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5578 creal in comment listing functions tested. List finite, isinf,
5579 isnan, isless, islessequal, isgreater, isgreaterequal,
5580 islessgreater, isunordered, lgamma_r and pow10 as functions and
5581 macros not tested. Mention which functions not tested are aliases
5582 for other functions. Fix typo. Note that signs of NaNs are not
5583 tested.
5584
5585 * scripts/config.guess: Update from config.git.
5586 * scripts/config.sub: Likewise.
5587
5588 2012-10-04 Roland McGrath <roland@hack.frob.com>
5589
5590 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5591 * misc/madvise.c (madvise): Renamed to __madvise.
5592 Make madvise a weak alias.
5593 * include/sys/mman.h: Declare __madvise.
5594 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5595 * sysdeps/unix/syscalls.list
5596 (madvise): Make __madvise the strong name, and madvise a weak alias.
5597 * sysdeps/unix/sysv/linux/syscalls.list
5598 (madvise, mmap): Remove redundant entries.
5599 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5600 * malloc/malloc.c (mtrim): Likewise.
5601 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5602
5603 2012-10-03 Roland McGrath <roland@hack.frob.com>
5604
5605 * sysdeps/mach/hurd/dl-cache.c: File removed.
5606 * config.h.in (USE_LDCONFIG): New #undef.
5607 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5608 * configure: Regenerated.
5609 * elf/Makefile (dl-routines): Add dl-cache only under
5610 [$(use-ldconfig) = yes].
5611 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5612 cache on [USE_LDCONFIG].
5613 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5614 [USE_LDCONFIG].
5615 * elf/rtld.c (dl_main): Likewise.
5616
5617 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5618
5619 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5620 _SC_LEVEL4_CACHE_LINESIZE.
5621
5622 2012-10-03 Roland McGrath <roland@hack.frob.com>
5623
5624 * sysdeps/unix/bsd/confstr.h: File removed.
5625
5626 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5627
5628 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5629 sys/sdt-config.h.
5630
5631 2012-10-02 Roland McGrath <roland@hack.frob.com>
5632
5633 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5634 Make 'mapoff' field ElfW(Off) rather than off_t.
5635
5636 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5637
5638 * nscd/Makefile: Remove nscd-cflags and all its users.
5639 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5640 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5641
5642 [BZ #10631]
5643 * malloc.c (malloc_printerr): Clarify error message.
5644
5645 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5646
5647 [BZ #14648]
5648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5649 Set bit_FMA_Usable if FMA is supported.
5650 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5651 macro.
5652 (bit_FMA4_Usable): Updated.
5653 (index_FMA_Usable): New macro.
5654 (CPUID_FMA): Likewise
5655 (HAS_FMA): Defined with bit_FMA_Usable.
5656
5657 2012-10-01 Roland McGrath <roland@hack.frob.com>
5658
5659 * bits/types.h (__swblk_t): Type removed.
5660 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5661 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5663 (__SWBLK_T_TYPE): Likewise.
5664 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5665 (__SWBLK_T_TYPE): Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5667 (__SWBLK_T_TYPE): Likewise.
5668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5669 (__SWBLK_T_TYPE): Likewise.
5670
5671 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5672 Honza Horak <hhorak@redhat.com>
5673
5674 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5675 (xdr_mapname): Use YPMAXMAP as maxsize.
5676 (xdr_peername): Use YPMAXPEER as maxsize.
5677 (xdr_keydat): Use YPAXRECORD as maxsize.
5678 (xdr_valdat): Use YPMAXRECORD as maxsize.
5679
5680 2012-10-01 Roland McGrath <roland@hack.frob.com>
5681
5682 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5683
5684 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5685 * csu/init-first.c: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5687 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5688 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5689 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5690 * sysdeps/i386/init-first.c: File removed.
5691 * sysdeps/sh/init-first.c: File removed.
5692
5693 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5694
5695 [BZ #14645]
5696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5697 if x * y might underflow to zero and z is zero.
5698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5700 * math/libm-test.inc (min_subnorm_value): New variable.
5701 (fma_test): Add more tests.
5702 (fma_test_towardzero): Likewise.
5703 (fma_test_downward): Likewise
5704 (fma_test_upward): Likewise.
5705 (initialize): Set min_subnorm_value.
5706
5707 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5708
5709 [BZ #14638]
5710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5711 0 + 0.
5712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5713 mode for addition resulting in exact zero.
5714 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5716 exact 0 + 0.
5717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5719 * math/libm-test.inc (fma_test): Add more tests.
5720 (fma_test_towardzero): New function.
5721 (fma_test_downward): Likewise.
5722 (fma_test_upward): Likewise.
5723 (main): Call the new functions.
5724
5725 2012-09-28 David S. Miller <davem@davemloft.net>
5726
5727 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5728
5729 2012-09-28 Roland McGrath <roland@hack.frob.com>
5730
5731 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5732 instead of SIGALRM.
5733
5734 * sysdeps/gnu/_G_config.h: Moved to ...
5735 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5736 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5737 * sysdeps/generic/_G_config.h: ... here.
5738
5739 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5740
5741 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5742
5743 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5744 Conditionalize target on [libnss_test1.so-version].
5745
5746 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5747
5748 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5749 (elfobjdir): Move out of conditionals.
5750
5751 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5752 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5753 (__nss_lookup_function): Conditionalize label remove_from_tree on
5754 [!DO_STATIC_NSS || SHARED], matching its only use.
5755
5756 2012-09-28 David S. Miller <davem@davemloft.net>
5757
5758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5759 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5760 file.
5761 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5762 sysdep_routines.
5763 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5765 when HWCAP_SPARC_CRYPTO is present.
5766
5767 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5768
5769 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5770
5771 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5772
5773 [BZ #6530]
5774 * stdio-common/vfprintf.c (process_string_arg): Revert
5775 2000-07-22 change.
5776
5777 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5778
5779 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5780 for testcase.
5781 * stdio-common/tst-sprintf.c: Include <locale.h>
5782 (main): Test sprintf's handling of incomplete multibyte
5783 characters.
5784
5785 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5786
5787 * elf/dl-runtime.c (VERSYMIDX): Removed.
5788 * elf/dl-version.c (VERSYMIDX): Likewise.
5789 * elf/do-rel.h (VERSYMIDX): Likewise.
5790 (VALIDX): Likewise.
5791 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5792 * elf/rtld.c (VALIDX): Likewise.
5793 (ADDRIDX): Likewise.
5794 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5795 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5796 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5797 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5798 (VALIDX): Likewise.
5799 (ADDRIDX): Likewise.
5800
5801 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5802
5803 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5804
5805 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5806
5807 [BZ #11438]
5808 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5809 to global scope.
5810 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5811 addresses are in the same scope as 192.0.2/24.
5812 * posix/gai.conf: Document new scope table defaults.
5813
5814 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5815
5816 [BZ #5298]
5817 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5818 for ftell. Compute offsets from write pointers instead.
5819 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5820
5821 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5822
5823 [BZ #14543]
5824 * libio/Makefile (tests): New test case tst-fseek.
5825 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5826 combination works in wide mode.
5827 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5828 state when the external buffer state changes.
5829
5830 2012-09-27 David S. Miller <davem@davemloft.net>
5831
5832 [BZ #14376]
5833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5834 pass reloc->r_addend in as the 'high' argument to
5835 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5836
5837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5838
5839 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5840
5841 * rt/tst-aio2.c: Include <pthread.h>.
5842 * rt/tst-aio3.c: Likewise.
5843
5844 2012-09-27 Steve Ellcey <sellcey@mips.com>
5845
5846 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5847
5848 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5851 contents on [SHARED].
5852
5853 2012-09-26 Marek Polacek <polacek@redhat.com>
5854
5855 [BZ #14530]
5856 [BZ #13741]
5857 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5858 for C++ and GCC <4.3 as well as for non GCC compilers.
5859
5860 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5861
5862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5863
5864 2012-09-25 Roland McGrath <roland@hack.frob.com>
5865
5866 * Makefile.in (all, install): Declare with .PHONY.
5867 Reported by Michael Hope <michael.hope@linaro.org>.
5868
5869 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5870
5871 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5872 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5873 system header.
5874 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5875 Likewise.
5876 (sydep_routines): Add the new and the internal functions.
5877 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5878 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5880 (GLIBC_2.17): Add the new function.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5882 (GLIBC_2.17): Likewise.
5883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5884 (GLIBC_2.17): Likewise.
5885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5886 (GLIBC_2.17): Likewise.
5887 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5888
5889 2012-09-25 Alan Modra <amodra@gmail.com>
5890
5891 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5892 Add release barrier before setting once_control to say
5893 initialisation is done. Add hints on lwarx. Use macro in
5894 place of isync.
5895 (clear_once_control): Add release barrier.
5896
5897 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5898
5899 [BZ #13629]
5900 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5901 specially.
5902 * math/s_clog10.c (__clog10): Likewise.
5903 * math/s_clog10f.c (__clog10f): Likewise.
5904 * math/s_clog10l.c (__clog10l): Likewise.
5905 * math/s_clogf.c (__clogf): Likewise.
5906 * math/s_clogl.c (__clogl): Likewise.
5907 * math/Makefile (libm-calls): Add x2y2m1.
5908 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5909 (__x2y2m1): Likewise.
5910 (__x2y2m1l): Likewise.
5911 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5912 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5915 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5916 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5917 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5918 * sysdeps/i386/fpu/libm-test-ulps: Update.
5919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5920
5921 [BZ #14621]
5922 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5923 int as type of variable DEPTH.
5924 (glob): Use size_t instead of int as type of variables NEWCOUNT
5925 and OLD_PATHC.
5926
5927 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5928
5929 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5930 Add s_sincosf-sse2.
5931 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5933 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5934 macros for using routine as __sincosf_ia32.
5935 Use macro for function declaration and weak_alias.
5936 * sysdeps/i386/fpu/libm-test-ulps: Update.
5937
5938 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5940
5941 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5942 subnormal argument.
5943 * math/s_cexpf.c (__cexpf): Likewise.
5944 * math/s_csinf.c (__csinf): Likewise.
5945 * math/s_csinhf.c (__csinhf): Likewise.
5946 * math/s_ctanf.c (__ctanf): Likewise.
5947 * math/s_ctanhf.c (__ctanhf): Likewise.
5948 * math/s_ccosh.c (__ccoshf): Likewise.
5949 * math/s_cexp.c (__cexpl): Likewise.
5950 * math/s_csin.c (__csin): Likewise.
5951 * math/s_csinh.c (__csinh): Likewise.
5952 * math/s_ctan.c (__ctan): Likewise.
5953 * math/s_ctanh.c (ctanh): Likewise.
5954 * math/s_ccoshl.c (__ccoshl): Likewise.
5955 * math/s_cexpl.c (__cexpl): Likewise.
5956 * math/s_csinl.c (__csinl): Likewise.
5957 * math/s_csinhl.c (__csinhl): Likewise.
5958 * math/s_ctanl.c (__ctanl): Likewise.
5959 * math/s_ctanhl.c (__ctanhl): Likewise.
5960
5961 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5962
5963 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5964 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5965 (_IO_off_t): Define to __off_t, not _G_off_t.
5966 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5967 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5968 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5969 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5970 type of __dummy and __dummy2 fields.
5971 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5972 (_G_ssize_t): Likewise.
5973 (_G_off_t): Likewise.
5974 (_G_pid_t): Likewise.
5975 (_G_uid_t): Likewise.
5976 (_G_wchar_t): Likewise.
5977 (_G_wint_t): Likewise.
5978 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5979 (_G_ssize_t): Likewise.
5980 (_G_off_t): Likewise.
5981 (_G_pid_t): Likewise.
5982 (_G_uid_t): Likewise.
5983 (_G_wchar_t): Likewise.
5984 (_G_wint_t): Likewise.
5985 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5986 (_G_ssize_t): Likewise.
5987 (_G_off_t): Likewise.
5988 (_G_pid_t): Likewise.
5989 (_G_uid_t): Likewise.
5990 (_G_wchar_t): Likewise.
5991 (_G_wint_t): Likewise.
5992
5993 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
5995 * malloc/arena.c: Include malloc-sysdep.h.
5996 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5997 is sufficient to shrink the heap or an unmap is needed.
5998 * sysdeps/generic/malloc-sysdep.h: New file. Define
5999 new function check_may_shrink_heap.
6000 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6001 new function check_may_shrink_heap.
6002
6003 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6004
6005 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6006 comments.
6007
6008 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6009
6010 * catgets/test-gencat.sh: Add "set -e".
6011 * elf/tst-pathopt.sh: Likewise.
6012 * grp/tst_fgetgrent.sh: Likewise.
6013 * iconvdata/run-iconv-test.sh: Likewise.
6014 * intl/tst-gettext.sh: Likewise.
6015 * intl/tst-gettext2.sh: Likewise.
6016 * intl/tst-gettext4.sh: Likewise.
6017 * intl/tst-gettext6.sh: Likewise.
6018 * intl/tst-translit.sh: Likewise.
6019 * io/ftwtest-sh: Likewise.
6020 * libio/test-freopen.sh: Likewise.
6021 * malloc/tst-mtrace.sh: Likewise.
6022 * posix/globtest.sh: Likewise.
6023 * posix/tst-getconf.sh: Likewise.
6024 * posix/wordexp-tst.sh: Likewise.
6025 * stdio-common/tst-printf.sh: Likewise.
6026 * stdio-common/tst-unbputc.sh: Likewise.
6027 * stdlib/tst-fmtmsg.sh: Likewise.
6028 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6029 * catgets/Makefile: Do not specify -e option when running
6030 testsuite shell scripts.
6031 * elf/Makefile: Likewise.
6032 * grp/Makefile: Likewise.
6033 * iconvdata/Makefile: Likewise.
6034 * intl/Makefile: Likewise.
6035 * io/Makefile: Likewise.
6036 * libio/Makefile: Likewise.
6037 * malloc/Makefile: Likewise.
6038 * posix/Makefile: Likewise.
6039 * stdio-common/Makefile: Likewise.
6040 * stdlib/Makefile: Likewise.
6041 * sysdeps/x86_64/Makefile: Likewise.
6042
6043 * io/ftwtest-sh: Add copyright header.
6044 * posix/globtest.sh: Likewise.
6045 * posix/tst-getconf.sh: Likewise.
6046 * posix/wordexp-tst.sh: Likewise.
6047 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6048
6049 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 [BZ #13679]
6052 * Makeconfig (+link): Defined as $(+link-static) if
6053 $(build-shared) isn't yes.
6054 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6055 isn't yes.
6056 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6057
6058 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6059
6060 [BZ #14562]
6061 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6062 new chunk size with MALLOC_ALIGN_MASK.
6063
6064 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6065
6066 [BZ #5044]
6067 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6068 <rounding-mode.h>.
6069 (__printf_fphex): Determine rounding using get_rounding_mode and
6070 round_away.
6071 * stdio-common/tst-printf-round.c (struct hex_test): New
6072 structure.
6073 (hex_tests): New variable.
6074 (test_hex_in_one_mode): New function.
6075 (do_test): Also run tests for hex float output.
6076
6077 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6078
6079 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6080 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6081 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6082 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6083 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6084 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6085 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6087
6088 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6089
6090 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6091 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6092 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6093 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6094
6095 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6096
6097 [BZ #14579]
6098 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6099 mode only.
6100 * elf/tst-rtld-load-self.sh: New test.
6101 * elf/Makefile: Run it.
6102
6103 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6104
6105 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6106 (tst-writev-ENV): Remove.
6107 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6108
6109 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6110
6111 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6112
6113 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6114
6115 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6116 unconditional.
6117 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6118 Likewise.
6119 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6120 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6121 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6122 Likewise.
6123
6124 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 [BZ #14587]
6127 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6128 * config.make.in (have-cpp-asm-debuginfo): Removed.
6129 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6130 * configure: Regenerated.
6131
6132 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6133
6134 [BZ #5044]
6135 * stdio-common/printf_fp.c: Include <stdbool.h> and
6136 <rounding-mode.h>.
6137 (___printf_fp): Determine rounding using get_rounding_mode and
6138 round_away.
6139 * stdio-common/tst-printf-round.c: New file.
6140 * stdio-common/Makefile (tests): Add tst-printf-round.
6141 (link-libm): New variable.
6142 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6143
6144 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6145
6146 [BZ #14576]
6147 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6148 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6149 Likewise.
6150 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6151 Likewise.
6152
6153 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6154
6155 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6156 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6157 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6158 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6159
6160 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6161
6162 [BZ #14518]
6163 * include/rounding-mode.h: New file.
6164 * sysdeps/generic/get-rounding-mode.h: Likewise.
6165 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6166 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6167 (MAX_VALUE): New macro.
6168 (MIN_VALUE): Likewise.
6169 (overflow_value): New function.
6170 (underflow_value): Likewise.
6171 (round_and_return): Use overflow_value and underflow_value to
6172 determine return values in overflow and underflow cases. Use
6173 round_away to determine rounding depending on rounding mode.
6174 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6175 determine return values in overflow and underflow cases.
6176 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6177 (struct test_results): New structure.
6178 (struct test): Use struct test_results to store expected results
6179 for all rounding modes.
6180 (TEST): Include expected results for all rounding modes.
6181 (test_in_one_mode): New function.
6182 (do_test): Use test_in_one_mode to compute and check results.
6183 Check results for all rounding modes.
6184 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6185 $(link-libm).
6186
6187 2012-12-09 Allan McRae <allan@archlinux.org>
6188
6189 * sysdeps/i386/fpu/libm-test-ulps: Update
6190
6191 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6192
6193 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6194 (_G_int32_t): Likewise.
6195 (_G_uint16_t): Likewise.
6196 (_G_uint32_t): Likewise.
6197 (_G_HAVE_BOOL): Likewise.
6198 (_G_HAVE_ATEXIT): Likewise.
6199 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6200 (_G_HAVE_IO_FILE_OPEN): Likewise.
6201 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6202 (_G_int32_t): Likewise.
6203 (_G_uint16_t): Likewise.
6204 (_G_uint32_t): Likewise.
6205 (_G_HAVE_BOOL): Likewise.
6206 (_G_HAVE_ATEXIT): Likewise.
6207 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6208 (_G_HAVE_IO_FILE_OPEN): Likewise.
6209 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6210 (_G_int32_t): Likewise.
6211 (_G_uint16_t): Likewise.
6212 (_G_uint32_t): Likewise.
6213 (_G_HAVE_BOOL): Likewise.
6214 (_G_HAVE_ATEXIT): Likewise.
6215 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6216 (_G_HAVE_IO_FILE_OPEN): Likewise.
6217
6218 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 * csu/libc-tls.c: Update copyright years.
6221
6222 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6223
6224 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6225 [!_G_USING_THUNKS]: Remove conditional code.
6226 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6227 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6228
6229 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6230 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6231 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6232 (_G_VTABLE_LABEL_PREFIX): Likewise.
6233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6234 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6235 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6236 (_G_VTABLE_LABEL_PREFIX): Likewise.
6237 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6238 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6239 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6240 (_G_VTABLE_LABEL_PREFIX): Likewise.
6241 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6242
6243 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * libio/Makefile: Include ../Makeconfig before tests.
6246 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6247 only if $(build-shared) is yes.
6248
6249 * iconv/gconv_db.c: Update copyright years.
6250
6251 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6252
6253 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6254 unwind info if defined PIC. Fix special cases description.
6255 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6256
6257 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6258 DP_HI_MASK entry.
6259 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6260
6261 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6262
6263 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6264
6265 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6266 is NULL.
6267
6268 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6269 (LDLIBS-tst-chk4): This.
6270 (LDFLAGS-tst-chk5): Renamed to ...
6271 (LDLIBS-tst-chk5): This.
6272 (LDFLAGS-tst-chk6): Renamed to ...
6273 (LDLIBS-tst-chk6): This.
6274 (LDFLAGS-tst-lfschk4): Renamed to ...
6275 (LDLIBS-tst-lfschk4): This.
6276 (LDFLAGS-tst-lfschk5): Renamed to ...
6277 (LDLIBS-tst-lfschk5): This.
6278 (LDFLAGS-tst-lfschk6): Renamed to ...
6279 (LDLIBS-tst-lfschk6): This.
6280
6281 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6282 on $(common-objpfx)soversions.mk.
6283
6284 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6285
6286 [BZ #10014]
6287 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6288 example host name.
6289
6290 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6291
6292 * malloc/arena.c (arena_get_retry): New function that gets
6293 another arena for the caller to try its request on.
6294 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6295 current arena cannot fulfill the request.
6296 (__libc_memalign): Likewise.
6297 (__libc_memalign): Likewise.
6298 (__libc_pvalloc): Likewise.
6299 (__libc_calloc): Likewise.
6300
6301 2012-09-05 John Tobey <john.tobey@gmail.com>
6302
6303 [BZ #13542]
6304 * manual/arith.texi (Operations on Complex): Fix description
6305 of carg branch cut.
6306
6307 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6308
6309 [BZ #10014]
6310 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6311 host name.
6312
6313 [BZ #10038]
6314 * manual/memory.texi (Memory): Make order of menu items match
6315 order of sections.
6316
6317 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6320 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6321 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6322
6323 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6324
6325 * csu/libc-tls.c (static_dtv): Renamed to ...
6326 (_dl_static_dtv): This. Make it global.
6327 (_dl_initial_dtv): Removed.
6328 (__libc_setup_tls): Updated.
6329 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6330 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6331 DL_INITIAL_DTV.
6332
6333 2012-09-06 Petr Machata <pmachata@redhat.com>
6334
6335 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6336 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6337 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6338 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6339
6340 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6341
6342 [BZ #14545]
6343 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6344 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6345 freeing dtv[-1].
6346
6347 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6348
6349 [BZ #14544]
6350 * Makeconfig (link-static-before-libc): Replace $(+prector)
6351 with $(+prectorT).
6352 (link-static-after-libc): Replace $(+postctor) with
6353 $(+postctorT).
6354 (link-bounded): Replace $(+prector)/$(+postctor) with
6355 $(+prectorT)/$(+postctorT).
6356 (+prectorT): New macro.
6357 (+postctorT): Likewise.
6358
6359 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6360
6361 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6362 (round_str): Handle values above the maximum for IBM long double
6363 as inexact.
6364 * stdlib/tst-strtod-round.c (tests): Regenerated.
6365
6366 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6367
6368 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6369 assembler flag.
6370 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6371 zarch_nohighgprs around the zarch optimized routines.
6372 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6373 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6375 for zarch.
6376
6377 2012-09-05 David S. Miller <davem@davemloft.net>
6378
6379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6380
6381 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6382 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6383 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6385 entries.
6386
6387 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6388
6389 * malloc/arena.c: Fold copyright years.
6390 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6391
6392 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6393
6394 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6395
6396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6397
6398 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6399
6400 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6401
6402 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6403 change internal state upon failure.
6404
6405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6406
6407 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6408 * malloc/memusage.c (mmap): Likewise.
6409 (mmap64, mremap): Likewise. Adjust name in comment.
6410
6411 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6412
6413 * libio/fileops.c: Fix typos in comments.
6414 * libio/oldfileops.c: Likewise.
6415 * libio/wfileops.c: Likewise.
6416
6417 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6418
6419 [BZ #1349]
6420 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6421 (tst-malloc-usable-ENV): Set environment for test case.
6422 * malloc/hooks.c (malloc_check_get_size): New function to get
6423 requested size.
6424 * malloc/malloc.c (musable): Use malloc_check_get_size.
6425 * malloc/tst-malloc-usable.c: New test case.
6426
6427 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6428
6429 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6430
6431 2012-09-05 Allan McRae <allan@archlinux.org>
6432
6433 [BZ #13966]
6434 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6435 determine header location.
6436 * configure: Regenerated.
6437
6438 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6439
6440 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6441 float format.
6442 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6443 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6444 format.
6445 (test): Regenerate.
6446
6447 2012-09-04 David S. Miller <davem@davemloft.net>
6448
6449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6451 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6452
6453 2012-09-04 Florian Weimer <fweimer@redhat.com>
6454
6455 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6456 failures.
6457
6458 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6459
6460 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6461
6462 [BZ #9914]
6463 * libio/iogetdelim.c: Include <limits.h>.
6464 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6465 + len + 1 would overflow.
6466
6467 2012-09-03 Andreas Jaeger <aj@suse.de>
6468
6469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6470 * sysdeps/i386/fpu/libm-test-ulps: Update.
6471
6472 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6473
6474 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6475 Add s_sinf-sse2, s_conf-sse2.
6476
6477 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6478 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6479 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6480 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6481
6482 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6483 for using routine as __sinf_ia32.
6484 Use macro for function declaration and weak_alias.
6485 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6486 for using routine as __cosf_ia32.
6487 Use macro for function declaration and weak_alias.
6488
6489 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6490 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6491
6492 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6493 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6495
6496 * math/libm-test.inc (cos_test): Add more test cases.
6497 (sin_test): Likewise.
6498 (sincos_test): Likewise.
6499
6500 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6501
6502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6503 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6504 hidden.
6505 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6506
6507 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6508
6509 [BZ #14538]
6510 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6511 first element of the GOT.
6512 (elf_machine_load_address): Return the difference between
6513 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6514
6515 2012-09-01 Allan McRae <allan@archlinux.org>
6516
6517 [BZ #13412]
6518 * configure.in (AWK): Require gawk version 3.0 or later.
6519 * configure: Regenerated.
6520
6521 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6522
6523 * sysdeps/unix/sysv/linux/kernel-features.h
6524 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6526 [__NR_clock_getres]: Make code unconditional.
6527 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6528 (clock_getcpuclockid): Remove code left unreachable by removal of
6529 conditionals.
6530 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6531 code unconditional.
6532 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6533 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6534 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6535 Make code unconditional.
6536 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6538 * sysdeps/unix/sysv/linux/clock_settime.c
6539 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6540 conditional code.
6541 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6543
6544 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6545
6546 [BZ #14476]
6547 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6548 scripts/test-installation.pl.
6549
6550 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6551 and $ld_so_version if it is set.
6552
6553 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6554
6555 [BZ #14516]
6556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6557 failure if reading from procfs failed.
6558 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6559
6560 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6561
6562 * sysdeps/unix/sysv/linux/kernel-features.h
6563 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6564 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6565 Remove conditional code.
6566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6567 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6568 Remove conditional code.
6569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6570 * sysdeps/unix/sysv/linux/i386/fxstat.c
6571 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6573 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6574 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6576 * sysdeps/unix/sysv/linux/i386/lxstat.c
6577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6579 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6580 Remove conditional code.
6581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6582 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6583 Remove conditional code.
6584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6586 <kernel-features.h>.
6587 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6588 Remove.
6589 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6590 Remove conditional code.
6591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6592 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6593 Remove conditional.
6594
6595 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6596
6597 [BZ #5400]
6598 * NEWS: Add fixed bug number.
6599
6600 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6601
6602 [BZ #14519]
6603 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6604 underflowing exponent in case of negative sign.
6605 * stdlib/tst-strtod-round-data: Add more tests.
6606 * stdlib/tst-strtod-round.c (tests): Regenerated.
6607
6608 [BZ #3479]
6609 * stdlib/strtod_l.c (NDIG): Remove.
6610 (HEXNDIG): Likewise.
6611 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6612 smallest representable value.
6613 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6614 lie within an exact representation of 1/2 ulp of the result.
6615 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6616 unconditionally.
6617 (TENS_P9_IDX): Define unconditionally.
6618 (TENS_P9_SIZE): Likewise.
6619 (TENS_P10_IDX): Likewise.
6620 (TENS_P10_SIZE): Likewise.
6621 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6622 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6623 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6624 entries for 10^2^13 and 10^2^14.
6625 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6626 (TENS_P13_IDX): Define.
6627 (TENS_P13_SIZE): Likewise.
6628 (TENS_P14_IDX): Likewise.
6629 (TENS_P14_SIZE): Likewise.
6630 (_fpioconst_pow10): Change array size to
6631 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6632 unconditional.
6633 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6634 1024]: Add entries for 10^2^13 and 10^2^14.
6635 [LAST_POW10 > _LAST_POW10]: Remove #error.
6636 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6637 (_fpioconst_pow10): Change array size to
6638 FPIOCONST_POW10_ARRAY_SIZE.
6639 * stdlib/gen-fpioconst.c: New file.
6640 * stdlib/gen-tst-strtod-round.c: Likewise.
6641 * stdlib/tst-strtod-round-data: Likewise.
6642 * stdlib/tst-strtod-round.c: Likewise.
6643 * stdlib/Makefile (tests): Add tst-strtod-round.
6644
6645 [BZ #14459]
6646 * stdlib/strtod_l.c: Include <stdint.h>.
6647 (NDEBUG): Do not define.
6648 (round_and_return): Change EXPONENT parameter to type intmax_t.
6649 Rearrange calculations to avoid internal overflow possibilities.
6650 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6651 Rearrange calculations to avoid internal overflow possibilities.
6652 Assert that number fits inside MPNSIZE limbs.
6653 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6654 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6655 calculations and add assertions to avoid internal overflow
6656 possibilities. Add casts to avoid signed/unsigned operations.
6657 * stdlib/tst-strtod-overflow.c: New file.
6658 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6659
6660 2012-08-25 Marek Polacek <polacek@redhat.com>
6661
6662 * time/time.h: Fix some typos in comments.
6663
6664 2012-08-23 Roland McGrath <roland@hack.frob.com>
6665
6666 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6667 * posix/tst-rfc3484-2.c: Likewise.
6668 * posix/tst-rfc3484-3.c: Likewise.
6669
6670 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6671
6672 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6673 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6674
6675 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6676
6677 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6678 #include of fxstatat64.c.
6679
6680 2012-08-22 Roland McGrath <roland@hack.frob.com>
6681
6682 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6683 * shadow/getspent_r.c: Likewise.
6684 * shadow/getspnam.c: Likewise.
6685 * shadow/getspnam_r.c: Likewise.
6686 * gshadow/getsgent.c: Likewise.
6687 * gshadow/getsgent_r.c: Likewise.
6688 * gshadow/getsgnam.c: Likewise.
6689 * gshadow/getsgnam_r.c: Likewise.
6690 * inet/getnetbyad.c: Likewise.
6691 * inet/getnetbyad_r.c: Likewise.
6692 * inet/getnetbynm.c: Likewise.
6693 * inet/getnetbynm_r.c: Likewise.
6694 * inet/getnetent.c: Likewise.
6695 * inet/getnetent_r.c: Likewise.
6696 * inet/getproto.c: Likewise.
6697 * inet/getproto_r.c: Likewise.
6698 * inet/getprtent.c: Likewise.
6699 * inet/getprtent_r.c: Likewise.
6700 * inet/getprtname.c: Likewise.
6701 * inet/getprtname_r.c: Likewise.
6702 * inet/getrpcbyname.c: Likewise.
6703 * inet/getrpcbyname_r.c: Likewise.
6704 * inet/getrpcbynumber.c: Likewise.
6705 * inet/getrpcbynumber_r.c: Likewise.
6706 * inet/getrpcent.c: Likewise.
6707 * inet/getrpcent_r.c: Likewise.
6708 * inet/getaliasent.c: Likewise.
6709 * inet/getaliasent_r.c: Likewise.
6710 * inet/getaliasname.c: Likewise.
6711 * inet/getaliasname_r.c: Likewise.
6712 * nscd/getgrgid_r.c: Likewise.
6713 * nscd/getgrnam_r.c: Likewise.
6714 * nscd/gethstbyad_r.c: Likewise.
6715 * nscd/gethstbynm3_r.c: Likewise.
6716 * nscd/getpwnam_r.c: Likewise.
6717 * nscd/getpwuid_r.c: Likewise.
6718 * nscd/getsrvbynm_r.c: Likewise.
6719 * nscd/getsrvbypt_r.c: Likewise.
6720 * nscd/gai.c: Likewise.
6721
6722 * configure.in (build_nscd): New substituted variable, set
6723 by --disable-build-nscd and defaults to $use_nscd.
6724 * configure: Regenerated.
6725 * config.make.in (build-nscd): New substituted variable.
6726 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6727 Change conditional to require [$(build-nscd) = yes] as well.
6728 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6729
6730 [BZ# 13696]
6731 * configure.in (use_nscd): New substituted variable, set by
6732 --disable-nscd. If enabled, define USE_NSCD.
6733 * configure: Regenerated.
6734 * config.h.in: Add USE_NSCD.
6735 * config.make.in (use-nscd): New substituted variable.
6736 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6737 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6738 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6739 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6740 (CFLAGS-getgrnam_r.c): Likewise.
6741 (CFLAGS-initgroups.c): Likewise.
6742 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6743 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6744 Variables removed.
6745 * inet/getnetgrent_r.c
6746 (nscd_setnetgrent): New function, broken out of ...
6747 (setnetgrent): ... here. Call it.
6748 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6749 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6750 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6751 * nscd/Makefile (routines, aux): Move definitions after include of
6752 Makeconfig. Conditionalize on [$(use-nscd) != no].
6753 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6754 Conditionalize on [USE_NSCD].
6755 (is_nscd, nscd_init_cb): Likewise.
6756 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6757 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6758 * nss/nss_db/db-init.c: Likewise.
6759 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6760 [USE_NSCD].
6761 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6762 (make_request): Use it.
6763 (cache_valid_p): New function.
6764 (__check_pf): Use it.
6765 * NEWS: Add item for --disable-nscd.
6766
6767 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6768
6769 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6770 to support sed >= 4.2.1-20-ga9bf076.
6771 * configure: Regenerated.
6772
6773 2012-08-22 Roland McGrath <roland@hack.frob.com>
6774
6775 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6776 Conditionalize whole body on [IREL].
6777
6778 2012-08-22 Jeff Law <law@redhat.com>
6779
6780 [BZ #14505]
6781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6782 if the family is PF_UNSPEC.
6783
6784 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6785
6786 * Makerules (lib-version): Rename from V.
6787 (install-lib-nosubdir): Change V to lib-version.
6788
6789 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6790
6791 [BZ #14252]
6792 * powerpc32/power6/wcschr.c: New file.
6793 * powerpc32/power6/wcscpy.c: New file.
6794 * powerpc32/power6/wcsrchr.c: New file.
6795 * powerpc64/power6/wcschr.c: New file.
6796 * powerpc64/power6/wcscpy.c: New file.
6797 * powerpc64/power6/wcsrchr.c: New file.
6798
6799 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6800
6801 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6802 (two_way_short_needle): Use it.
6803 * string/strstr.c (AVAILABLE1_USES_J): Define.
6804 * string/strcasestr.c: Likewise.
6805
6806 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6807 array references.
6808 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6809
6810 [BZ #11607]
6811 * NEWS: Add an entry.
6812 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6813 define their defaults.
6814 (two_way_short_needle): Detect end-of-string on-the-fly.
6815 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6816 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6817 * string/bug-strcasestr1.c: New test.
6818 * string/Makefile: Run it.
6819
6820 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6821
6822 [BZ #11607]
6823 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6824 the first character.
6825
6826 2012-08-21 Roland McGrath <roland@hack.frob.com>
6827
6828 * csu/elf-init.c (__libc_csu_irel): Function removed.
6829 * csu/libc-start.c (apply_irel): New function.
6830 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6831
6832 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6833
6834 * sysdeps/unix/sysv/linux/kernel-features.h
6835 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6836 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6837 <kernel-features.h>.
6838 [__NR_fadvise64_64]: Make code unconditional.
6839 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6840 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6841 !__NR_fadvise64_64)]: Likewise.
6842 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6843 !__NR_fadvise64_64))]: Likewise.
6844 [__NR_fadvise64]: Make code unconditional.
6845 [!__NR_fadvise64]: Remove conditional code.
6846 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6847 <kernel-features.h>.
6848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6849 unconditional.
6850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6851 conditional code.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6853 not include <kernel-features.h>.
6854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6855 unconditional.
6856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6857 conditional code.
6858 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6859 include <kernel-features.h>.
6860 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6861 unconditional.
6862 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6863 conditional code.
6864
6865 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6866
6867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6868 slight instruction rearrangements per scrollpipe analysis.
6869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6870
6871 2012-08-20 Roland McGrath <roland@hack.frob.com>
6872
6873 * manual/syslog.texi (syslog; vsyslog, closelog):
6874 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6875 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6876
6877 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6878 DSOCAPS to match condition on defining it.
6879
6880 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6881
6882 * sysdeps/unix/sysv/linux/kernel-features.h
6883 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6885 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6886 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6888 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6889 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6893
6894 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6895 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6896
6897 * sysdeps/unix/sysv/linux/kernel-features.h
6898 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6899 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6900 unconditional.
6901 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6902 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6903 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6904 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6905 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6906 Make code unconditional.
6907 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6908 (__mmap64) [!__NR_mmap2]: Likewise.
6909 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6910 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6911 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6913 [__NR_mmap2]: Make code unconditional.
6914 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6915 (__mmap64) [!__NR_mmap2]: Likewise.
6916
6917 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6918
6919 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6920
6921 2012-08-18 Andreas Jaeger <aj@suse.de>
6922
6923 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6924
6925 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6926
6927 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6928 * include/unistd.h (__have_sock_cloexec): Likewise.
6929 (__have_pipe2): Likewise.
6930 (__have_dup3): Likewise.
6931
6932 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6933
6934 [BZ #9685]
6935 * include/unistd.h (__have_pipe2): Change define into an extern int.
6936 (__have_dup3): Likewise.
6937 * socket/have_sock_cloexec.c: Include fcntl.h.
6938 (__have_pipe2): New variable.
6939 (__have_dup3): Likewise.
6940
6941 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6942
6943 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6944
6945 2012-08-17 Marek Polacek <polacek@redhat.com>
6946
6947 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6948 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6949
6950 2012-08-17 Roland McGrath <roland@hack.frob.com>
6951
6952 * configure.in: Add AC_SUBST for sysheaders.
6953 * configure: Regenerated.
6954 * config.make.in (sysheaders): New substituted variable.
6955
6956 * sysdeps/unix/mkfifo.c: Moved ...
6957 * sysdeps/posix/mkfifo.c: ... here.
6958 * sysdeps/unix/mkfifoat.c: Moved ...
6959 * sysdeps/posix/mkfifoat.c: ... here.
6960
6961 * sysdeps/unix/utime.c: Moved ...
6962 * sysdeps/posix/utime.c: ... here.
6963
6964 * sysdeps/unix/time.c: Moved ...
6965 * sysdeps/posix/time.c: ... here.
6966 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6967 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6968
6969 * sysdeps/unix/nice.c: Moved ...
6970 * sysdeps/posix/nice.c: ... here.
6971
6972 * sysdeps/unix/alarm.c: Moved ...
6973 * sysdeps/posix/alarm.c: ... here.
6974
6975 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6976
6977 2012-08-17 Jeff Law <law@redhat.com>
6978
6979 * intl/Makefile (codeset_mo): New variable.
6980 ($(codeset_mo)): New target.
6981 (tst-codeset.out): Depend on that. Remove explicit rule.
6982 (tst-gettext3.out, tst-gettext5.out): Likewise.
6983 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6984 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6985 * intl/tst-codeset.sh: Remove.
6986 * intl/tst-gettext3.sh: Likewise.
6987 * intl/tst-gettext5.sh: Likewise.
6988
6989 2012-08-17 Roland McGrath <roland@hack.frob.com>
6990
6991 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6992 * sysdeps/unix/syscalls.list: ... here.
6993
6994 * sysdeps/posix/getaddrinfo.c
6995 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6996 (gaiconf_init, gaiconf_reload): Use them.
6997 [!_STATBUF_ST_NSEC]
6998 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6999 Define using time_t rather than struct timespec.
7000
7001 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7002 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7003 Macros removed.
7004 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7005 [!NO_THREADS].
7006 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7007 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7008 Likewise.
7009
7010 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7011 __libc_cleanup_push argument.
7012
7013 * bits/param.h: New file.
7014 * misc/sys/param.h: New file.
7015 * include/sys/param.h: New file.
7016 * misc/Makefile (headers): Add bits/param.h.
7017 * sysdeps/generic/sys/param.h: File removed.
7018 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7019 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7020 * sysdeps/mach/hurd/bits/param.h: New file.
7021 * sysdeps/mach/hurd/sys/param.h: File removed.
7022
7023 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7024 last change.
7025
7026 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7027 [_IO_MTSAFE_IO].
7028 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7029 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7030 New macros.
7031
7032 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7033 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7034 rather than -D_IO_MTSAFE_IO conditionally.
7035 * stdio-common/Makefile (CPPFLAGS): Likewise.
7036 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7037 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7038 Use $(libio-mtsafe).
7039 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7040 of -D_IO_MTSAFE_IO.
7041 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7042 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7043 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7044 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7045 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7046 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7047 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7048 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7049 (CFLAGS-fread_u_chk.c): Likewise.
7050 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7051 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7052 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7053 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7054 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7055 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7056 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7057 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7058 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7059
7060 * libio/Makefile: Test [$(libc-reentrant) = yes]
7061 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7062
7063 * Makeconfig
7064 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7065 * sysdeps/pthread/configure: File removed.
7066 * sysdeps/pthread/Makeconfig: New file.
7067 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7068 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7069
7070 2012-08-16 Gary Benson <gbenson@redhat.com>
7071
7072 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7073 unmapping the first object in a namespace.
7074
7075 2012-08-16 Roland McGrath <roland@hack.frob.com>
7076
7077 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7078 (__internal_setnetgrent): ... this. Add internal_function to
7079 definition. Add libc_hidden_def.
7080 (setnetgrent): Update caller.
7081 (internal_endnetgrent): Renamed to ...
7082 (__internal_endnetgrent): ... this. Add internal_function to
7083 definition. Add libc_hidden_def.
7084 (endnetgrent): Update caller.
7085 (internal_getnetgrent_r): Renamed to ...
7086 (__internal_getnetgrent_r): ... this. Add internal_function to
7087 definition. Add libc_hidden_def.
7088 (__getnetgrent_r): Update caller.
7089 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7090
7091 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7092
7093 * stdlib/longlong.h: Update from GCC.
7094
7095 2012-08-16 Roland McGrath <roland@hack.frob.com>
7096
7097 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7098 on _QL, which is set by umul_ppmm but never used.
7099 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7100 variables, which are set by GMP macros but never used.
7101 * stdio-common/_itowa.c (_itowa): Likewise.
7102 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7103 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7104
7105 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7106
7107 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7108 struct La_sh_regs is not constant.
7109 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7110 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7111 and struct La_sparc64_regs are not constant.
7112
7113 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7114
7115 * sysdeps/unix/sysv/linux/kernel-features.h
7116 (__ASSUME_POSIX_TIMERS): Remove.
7117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7119 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7120 Make code unconditional.
7121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7122 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7123 Make code unconditional.
7124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7125 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7126 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7128 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7129 Make code unconditional.
7130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7131 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7132 (__libc_missing_posix_timers): Remove.
7133
7134 2012-08-15 Roland McGrath <roland@hack.frob.com>
7135
7136 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7137 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7138
7139 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7140
7141 * elf/dl-sym.c: Include <stdlib.h>.
7142
7143 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7144 constants, which avoids warnings in 32-bit builds.
7145
7146 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7147 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7148
7149 * misc/lseek.c: File moved to ...
7150 * io/lseek.c: ... here.
7151
7152 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7153
7154 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7155 shifting LEN more than 31 bits at once.
7156
7157 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7158
7159 [BZ #14195]
7160 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7161 segmentation fault for a case of two empty input strings.
7162 * string/test-strncasecmp.c (check1): Renamed to...
7163 (bz12205): ...this.
7164 (bz14195): Add new testcase for two empty input strings and N > 0.
7165 (test_main): Call new testcase, adapt for renamed function.
7166
7167 2012-08-15 Andreas Jaeger <aj@suse.de>
7168
7169 [BZ #14090]
7170 * crypt/md5test2.c: New test, based on test supplied by Serge
7171 Belyshev <belyshev@depni.sinp.msu.ru>.
7172 * crypt/Makefile (xtests): Add md5test-giant..
7173 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7174
7175 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7176
7177 [BZ #14090]
7178 * crypt/md5.c (md5_process_block): Don't assume the buffer
7179 length is less than 2**32.
7180 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7181 length is less than 2**64.
7182
7183 2012-08-15 Roland McGrath <roland@hack.frob.com>
7184
7185 * string/str-two-way.h: Include <sys/param.h>.
7186 (MAX): Macro removed.
7187
7188 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7189 Move #define and #undef of memmove to just before and after
7190 including <string.h>.
7191
7192 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7193 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7194 and after including <string.h>. Move declarations of
7195 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7196 to before #include "string/memmove.c".
7197
7198 * include/dirent.h: Declare __getdirentries.
7199
7200 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7201 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7202
7203 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7204
7205 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7206 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7207 * sysdeps/i386/configure: Regenerated.
7208 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7209 STABS_CURRENT_FILE, and STABS_FUN.
7210 (END): Remove call to STABS_FUN_END.
7211 (STABS_CURRENT_FILE1): Delete.
7212 (STABS_CURRENT_FILE): Likewise.
7213 (STABS_FUN): Likewise.
7214 (STABS_FUN_END): Likewise.
7215 (STABS_FUN2): Likewise.
7216 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7217 * sysdeps/x86_64/configure: Regenerated.
7218
7219 2012-08-14 Roland McGrath <roland@hack.frob.com>
7220
7221 * elf/dl-open.c: Include <atomic.h>.
7222 * elf/dl-lookup.c: Likewise.
7223
7224 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7225
7226 * sysdeps/unix/sysv/linux/kernel-features.h
7227 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7228 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7229 unconditionally.
7230 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7231 unconditionally.
7232 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7233 condition on __ASSUME_CLONE_THREAD_FLAGS.
7234
7235 2012-08-14 Andreas Jaeger <aj@suse.de>
7236
7237 * sysdeps/i386/fpu/libm-test-ulps: Update.
7238
7239 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7240
7241 * include/atomic.h (atomic_exchange_and_add): Split into ...
7242 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7243 New atomic macros.
7244
7245 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7246
7247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7248
7249 2012-08-13 Jeff Law <law@redhat.com>
7250
7251 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7252 null byte in the output string.
7253
7254 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7255
7256 * sysdeps/unix/sysv/linux/kernel-features.h
7257 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7258 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7259 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7260 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7261 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7262 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7263 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7264
7265 2012-08-09 Jeff Law <law@redhat.com>
7266
7267 [BZ #13939]
7268 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7269 When avoid_arena is set, don't retry in the that arena. Pick the
7270 next one, whatever it might be.
7271 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7272 (arena_lock): Pass in new parameter to arena_get2.
7273 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7274 arena_get2.
7275 (__libc_malloc): Unify retrying after main arena failure with
7276 __libc_memalign version.
7277 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7278
7279 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7280
7281 [BZ #14166]
7282 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7283 to __redirect_strstr.
7284 (__strstr_sse42): Use typeof __redirect_strstr.
7285 (__strstr_ia32): Likewise.
7286 (__libc_strstr): New prototype.
7287 (strstr): Renamed to ...
7288 (__libc_strstr): This.
7289 (strstr): New strong alias of __libc_strstr.
7290 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7291 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7292 __redirect_time.
7293 Include <time.h>.
7294 (__libc_time): New prototype.
7295 (time_ifunc): Replace time with __libc_time.
7296 (time): New strong alias and hidden definition of __libc_time.
7297 (__GI_time): Remove strong alias.
7298 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7299 Include <stddef.h>.
7300 (memmove): Redefined to __redirect_memmove.
7301 (__memmove_sse2): Use typeof __redirect_memmove.
7302 (__memmove_ssse3): Likewise.
7303 (__memmove_ssse3_back): Likewise.
7304 (__libc_memmove): New prototype.
7305 (memmove): Renamed to ...
7306 (__libc_memmove): This.
7307 (memmove): New strong alias of __libc_memmove.
7308
7309 2012-08-08 Mark Salter <msalter@redhat.com>
7310
7311 * elf/elf.h
7312 (R_MN10300_TLS_GD): Define.
7313 (R_MN10300_TLS_LD): Likewise.
7314 (R_MN10300_TLS_LDO): Likewise.
7315 (R_MN10300_TLS_GOTIE): Likewise.
7316 (R_MN10300_TLS_IE): Likewise.
7317 (R_MN10300_TLS_LE): Likewise.
7318 (R_MN10300_TLS_DTPMOD): Likewise.
7319 (R_MN10300_TLS_DTPOFF): Likewise.
7320 (R_MN10300_TLS_TPOFF): Likewise.
7321 (R_MN10300_SYM_DIFF): Likewise.
7322 (R_MN10300_ALIGN): Likewise.
7323 (R_MN10300_NUM): Update.
7324
7325 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7326
7327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7328 Remove.
7329
7330 2012-08-08 Roland McGrath <roland@hack.frob.com>
7331
7332 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7333
7334 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7335 sysdeps/unix -> sysdeps/posix move.
7336 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7337
7338 2012-08-07 Allan McRae <allan@archlinux.org>
7339
7340 [BZ #14303]
7341 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7342 (SUNOS_CPP): Likewise.
7343 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7344 not found.
7345 (open_input): Call CPP using execvp.
7346
7347 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7348
7349 * sysdeps/unix/sysv/linux/kernel-features.h
7350 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7351 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7352 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7353 (__ASSUME_WAITID_SYSCALL): Likewise.
7354 * sysdeps/unix/sysv/linux/dl-execstack.c
7355 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7356 code unconditional.
7357 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7358 conditional code.
7359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7360 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7361 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7362 code.
7363 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7364 unconditional.
7365 [__ASSUME_WAITID_SYSCALL]: Likewise.
7366 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7367
7368 2012-08-07 Roland McGrath <roland@hack.frob.com>
7369
7370 * sysdeps/unix/closedir.c: Renamed to ...
7371 * sysdeps/posix/closedir.c: ... here.
7372 * sysdeps/unix/dirfd.c: Renamed to ...
7373 * sysdeps/posix/dirfd.c: ... here.
7374 * sysdeps/unix/dirstream.h: Renamed to ...
7375 * sysdeps/posix/dirstream.h: ... here.
7376 * sysdeps/unix/fdopendir.c: Renamed to ...
7377 * sysdeps/posix/fdopendir.c: ... here.
7378 * sysdeps/unix/opendir.c: Renamed to ...
7379 * sysdeps/posix/opendir.c: ... here.
7380 * sysdeps/unix/readdir.c: Renamed to ...
7381 * sysdeps/posix/readdir.c: ... here.
7382 * sysdeps/unix/readdir_r.c: Renamed to ...
7383 * sysdeps/posix/readdir_r.c: ... here.
7384 * sysdeps/unix/rewinddir.c: Renamed to ...
7385 * sysdeps/posix/rewinddir.c: ... here.
7386 * sysdeps/unix/seekdir.c: Renamed to ...
7387 * sysdeps/posix/seekdir.c: ... here.
7388 * sysdeps/unix/telldir.c: Renamed to ...
7389 * sysdeps/posix/telldir.c: ... here.
7390 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7391 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7392 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7393 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7394
7395 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7396 * bits/fcntl.h: ... here.
7397
7398 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7399 not 0.
7400 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7401 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7402 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7403 (struct flock): Move l_start, l_len to the beginning.
7404 Use __pid_t for l_pid.
7405 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7406 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7407 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7408 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7409 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7410 [__USE_LARGEFILE64] (struct flock64): New type.
7411 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7412
7413 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7414 * bits/dirent.h: ... here.
7415
7416 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7417 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7418
7419 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7420
7421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7422 Change from 2.6.0 to 2.6.16.
7423 * sysdeps/unix/sysv/linux/configure: Regenerated.
7424 * sysdeps/unix/sysv/linux/kernel-features.h
7425 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7426 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7427 version.
7428 (__ASSUME_UTIMES): Likewise.
7429 (__ASSUME_CLONE_STOPPED): Remove.
7430 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7431 architectures, not kernel version.
7432 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7433 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7434 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7435 (__ASSUME_WAITID_SYSCALL): Likewise.
7436 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7437 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7438 * README: State 2.6.16 as minimum Linux kernel version. Do not
7439 refer to older versions.
7440
7441 2012-08-06 Roland McGrath <roland@hack.frob.com>
7442
7443 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7444 Define alphasort64 as an alias.
7445 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7446 Define versionsort64 as an alias.
7447 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7448 Define scandir64 as an alias.
7449 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7450 Define scandirat64 as an alias.
7451 * dirent/alphasort64.c (alphasort64):
7452 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7453 * dirent/versionsort64.c: Likewise.
7454 * dirent/scandir64.c: Likewise.
7455 * dirent/scandirat64.c: Likewise.
7456 * sysdeps/wordsize-64/alphasort.c: File removed.
7457 * sysdeps/wordsize-64/alphasort64.c: File removed.
7458 * sysdeps/wordsize-64/scandir.c: File removed.
7459 * sysdeps/wordsize-64/scandir64.c: File removed.
7460 * sysdeps/wordsize-64/scandirat.c: File removed.
7461 * sysdeps/wordsize-64/scandirat64.c: File removed.
7462 * sysdeps/wordsize-64/versionsort.c: File removed.
7463 * sysdeps/wordsize-64/versionsort64.c: File removed.
7464 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7465 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7466 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7467 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7468 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7469 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7470 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7471 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7472
7473 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7475 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7477 [defined __arch64__ || defined __sparcv9]
7478 (__INO_T_MATCHES_INO64_T): New macro.
7479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7480 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7481 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7482 * sysdeps/unix/sysv/linux/bits/dirent.h
7483 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7484 (_DIRENT_MATCHES_DIRENT64): New macro.
7485
7486 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7487 Define lockf64 as an alias.
7488 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7489 Define fseeko64 as an alias.
7490 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7491 Define ftello64 as an alias.
7492 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7493 Define _IO_fgetpos64 and fgetpos64 as aliases.
7494 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7495 Define _IO_fsetpos64 and fsetpos64 as aliases.
7496 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7497 Conditionalize body on this.
7498 * libio/fseeko64.c: Likewise.
7499 * libio/ftello64.c: Likewise.
7500 * libio/iofgetpos64.c: Likewise.
7501 * libio/iofsetpos64.c: Likewise.
7502 * sysdeps/wordsize-64/lockf.c: File removed.
7503 * sysdeps/wordsize-64/lockf64.c: File removed.
7504 * sysdeps/wordsize-64/fseeko.c: File removed.
7505 * sysdeps/wordsize-64/fseeko64.c: File removed.
7506 * sysdeps/wordsize-64/ftello.c: File removed.
7507 * sysdeps/wordsize-64/ftello64.c: File removed.
7508 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7509 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7510 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7511 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7514 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7515 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7516 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7517 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7518 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7520 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7521 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7522
7523 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7525 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7527 [defined __arch64__ || defined __sparcv9]
7528 (__OFF_T_MATCHES_OFF64_T): New macro.
7529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7530 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7532 (__OFF_T_MATCHES_OFF64_T): New macro.
7533
7534 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7535
7536 * stdlib/secure-getenv.c (__secure_getenv): Replace
7537 GLIBC_2_16 with GLIBC_2_17.
7538
7539 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7543
7544 2012-08-03 David S. Miller <davem@davemloft.net>
7545
7546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7547
7548 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7549
7550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7551 Remove.
7552 (__ASSUME_CORRECT_SI_PID): Likewise.
7553 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7554 (__ASSUME_TMPFS_NAME): Likewise.
7555 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7556 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7557 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7558 (HAVE_AUX_SECURE): Make definition unconditional.
7559 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7560 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7561
7562 2012-08-03 Roland McGrath <roland@hack.frob.com>
7563
7564 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7565 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7566 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7567 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7568 __eloop_threshold instead of SYMLOOP_MAX.
7569
7570 * sysdeps/generic/eloop-threshold.h: New file.
7571 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7572 of MAXSYMLINKS.
7573 * elf/chroot_canon.c (chroot_canon): Likewise.
7574
7575 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7576
7577 [BZ #13717]
7578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7579 Change to 2.6.0 everywhere.
7580 * sysdeps/unix/sysv/linux/configure: Regenerated.
7581 * sysdeps/unix/sysv/linux/kernel-features.h
7582 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7583 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7584 kernel versions.
7585 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7586 (__ASSUME_FUTEX_REQUEUE): Remove.
7587 (__ASSUME_STATFS64): Define unconditionally.
7588 (__ASSUME_AT_SECURE): Likewise.
7589 (__ASSUME_CORRECT_SI_PID): Likewise.
7590 (__ASSUME_TGKILL): Define without depending on kernel version for
7591 i386.
7592 (__ASSUME_UTIMES): Likewise.
7593 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7594 kernel version.
7595 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7596 (__ASSUME_TMPFS_NAME): Likewise.
7597 * README: Update reference to Linux kernel versions.
7598
7599 2012-08-02 Marek Polacek <polacek@redhat.com>
7600
7601 [BZ# 14150]
7602 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7603 libc_cv_asm_type_prefix with %.
7604 * configure: Regenerated.
7605 * include/libc-symbols.h: Remove comment about
7606 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7607 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7608 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7609 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7610 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7611 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7612 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7613 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7614 * elf/tst-unique2mod1.c: Likewise.
7615 * elf/tst-unique1mod2.c: Likewise.
7616 * elf/tst-unique1mod1.c: Likewise.
7617 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7618 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7619 Replace ASM_TYPE_DIRECTIVE with .type.
7620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7621 * sysdeps/i386/sysdep.h: Likewise.
7622 * sysdeps/x86_64/sysdep.h: Likewise.
7623 * sysdeps/sh/sysdep.h: Likewise.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7625 Do not define ASM_TYPE_DIRECTIVE.
7626 * sysdeps/powerpc/sysdep.h: Likewise.
7627 * sysdeps/powerpc/powerpc32/sysdep.h:
7628 Replace ASM_TYPE_DIRECTIVE with .type.
7629 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7630 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7631 * sysdeps/i386/fpu/e_powf.S: Likewise.
7632 * sysdeps/i386/fpu/e_expl.S: Likewise.
7633 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7634 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7635 * sysdeps/i386/fpu/e_pow.S: Likewise.
7636 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7637 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7638 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7639 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7640 * sysdeps/i386/fpu/e_log2.S: Likewise.
7641 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7643 * sysdeps/i386/fpu/e_powl.S: Likewise.
7644 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7645 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7646 * sysdeps/i386/fpu/e_logl.S: Likewise.
7647 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7648 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7649 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7651 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7652 * sysdeps/i386/fpu/e_log.S: Likewise.
7653 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7654 * sysdeps/i386/fpu/e_logf.S: Likewise.
7655 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7657 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7658 * sysdeps/i386/fpu/e_log10.S: Likewise.
7659 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7660 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7661 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7662 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7663 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7665 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7666 * sysdeps/i386/i686/strtok.S: Likewise.
7667 * sysdeps/i386/i386-mcount.S: Likewise.
7668 * sysdeps/i386/strtok.S: Likewise.
7669 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7670 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7673 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7674 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7675 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7676 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7678 * sysdeps/x86_64/_mcount.S: Likewise.
7679 * sysdeps/x86_64/strtok.S: Likewise.
7680 * sysdeps/sh/_mcount.S: Likewise.
7681
7682 2012-08-01 Roland McGrath <roland@hack.frob.com>
7683
7684 * libio/iofopen.c: Include <fcntl.h>.
7685 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7686 (_IO_fopen64, fopen64): Define as aliases.
7687 * libio/iofopen64.c: Include <fcntl.h>.
7688 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7689 Conditionalize body on this.
7690 * sysdeps/wordsize-64/iofopen.c: File removed.
7691 * sysdeps/wordsize-64/iofopen64.c: File removed.
7692
7693 2012-08-01 Marek Polacek <polacek@redhat.com>
7694
7695 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7696 Use dlfcn directly instead of a variable.
7697 (binfmt-subdir): Do not define.
7698 (dlfcn): Likewise.
7699
7700 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7701
7702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7703 Remove all definitions.
7704 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7705 <kernel-features.h>.
7706 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7707 (miss_F_GETOWN_EX): Remove all definitions.
7708 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7709 macro definition.
7710 [!__ASSUME_FCNTL64]: Remove conditional code.
7711 [__ASSUME_FCNTL64]: Make code unconditional.
7712 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7713 <kernel-features.h>.
7714 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7715 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7716 (lockf64) [__NR_fcntl64]: Make code unconditional.
7717 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7718
7719 * sysdeps/unix/sysv/linux/kernel-features.h
7720 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7721 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7722 Make code unconditional.
7723 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7724 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7726 [__NR_vfork]: Make code unconditional.
7727 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7728 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7730 [__NR_vfork]: Make code unconditional.
7731 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7732 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7733
7734 2012-08-01 Roland McGrath <roland@hack.frob.com>
7735
7736 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7737 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7738
7739 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7740 Define mkstemp64 as an alias.
7741 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7742 Define mkstemps64 as an alias.
7743 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7744 Define mkostemp64 as an alias.
7745 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7746 Define mkostemps64 as an alias.
7747 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7748 Conditionalize body on this.
7749 * misc/mkostemp64.c: Likewise.
7750 * misc/mkostemps64.c: Likewise.
7751 * misc/mkstemps64.c: Likewise.
7752 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7753 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7754 * sysdeps/wordsize-64/mkostemp.c: File removed.
7755 * sysdeps/wordsize-64/mkstemp.c: File removed.
7756 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7758 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7760
7761 [BZ #14138]
7762 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7763 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7764 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7765 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7766
7767 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7768 compat_symbol macros from <shlib-compat.h> rather than the underlying
7769 default_symbol_version and symbol_version macros, so that DEFAULT
7770 lines in shlib-versions are respected.
7771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7772
7773 2012-08-01 Florian Weimer <fweimer@redhat.com>
7774
7775 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7776 Declare with warn_unused_result.
7777 (setgid, setregid, setegid, setresgid): Likewise.
7778 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7779 Likewise.
7780 * WUR-REPORT: Remove set*id functions.
7781
7782 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7783
7784 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7785
7786 2012-07-31 Roland McGrath <roland@hack.frob.com>
7787
7788 * include/sys/socket.h (__libc_accept, __libc_accept4):
7789 Add attribute_hidden.
7790 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7791
7792 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7793 use of PTR_MANGLE.
7794 * inet/getnetgrent_r.c (setup): Likewise.
7795
7796 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7797
7798 2012-07-31 David S. Miller <davem@davemloft.net>
7799
7800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7801
7802 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7803
7804 [BZ #13629]
7805 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7806 value between 1.0 and 2.0 and smaller part has absolute value less
7807 than 1.0.
7808 * math/s_clog10.c (__clog10): Likewise.
7809 * math/s_clog10f.c (__clog10f): Likewise.
7810 * math/s_clog10l.c (__clog10l): Likewise.
7811 * math/s_clogf.c (__clogf): Likewise.
7812 * math/s_clogl.c (__clogl): Likewise.
7813 * math/libm-test.inc (clog_test): Add more tests.
7814 (clog10_test): Likewise.
7815 * sysdeps/i386/fpu/libm-test-ulps: Update.
7816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7817
7818 2012-07-31 Florian Weimer <fweimer@redhat.com>
7819
7820 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7821 Exit with zero in case no suitable GID is found, and write a
7822 message to standard error.
7823
7824 2012-07-30 Roland McGrath <roland@hack.frob.com>
7825
7826 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7827 rather than to 1.
7828 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7829 (MAXPATHLEN): Removed.
7830 (NOGROUP, NODEV): New macros.
7831 (setbit, clrbit, isset, isclr): New macros.
7832 (howmany, roundup, powerof2): New macros.
7833 (DEV_BSIZE): New macro.
7834
7835 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7836 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7837
7838 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7839 definition on [!__NO_LONG_DOUBLE_MATH].
7840
7841 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7842 PTR_MANGLE and PTR_DEMANGLE.
7843
7844 * socket/accept4.c (accept4): Rename to __libc_accept4.
7845 Define accept4 as a weak alias.
7846
7847 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7848 on [_DIRENT_HAVE_D_TYPE].
7849 * io/ftw.c (ftw_dir): Likewise.
7850
7851 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7852
7853 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7854
7855 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7856 Use the BSD numbers rather than the arbitrary ones we had.
7857 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7858 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7859 (SIGXCPU, SIGXFSZ): New macros.
7860 (_NSIG): Now 32.
7861
7862 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7863 initializer on [_LIBC_REENTRANT].
7864
7865 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7866 definitions inside [_POSIX_MAPPED_FILES].
7867
7868 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7869
7870 * dirent/opendir.c: Include <fcntl.h>.
7871
7872 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7873 (__libc_getspecific): Likewise.
7874 (__libc_key_create): Likewise.
7875
7876 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7877 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7878 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7879 (tmpfile64): Define as alias.
7880 * sysdeps/wordsize-64/tmpfile.c: File removed.
7881 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7882 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7883 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7884
7885 * stdio-common/vfscanf.c: Include <stdbool.h>.
7886 * nss/makedb.c: Likewise.
7887 * stdio-common/_i18n_number.h: Likewise.
7888 * argp/argp-help.c: Likewise.
7889 * posix/wordexp.c: Likewise.
7890 * sysdeps/posix/spawni.c: Likewise.
7891 * nss/nss_files/files-initgroups.c: Likewise.
7892 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7893 * nss/nss_files/files-initgroups.c: Likewise.
7894 * nss/nss_db/db-netgrp.c: Likewise.
7895 * nss/nss_db/db-initgroups.c: Likewise.
7896 * io/fchmodat.c: Include <sys/stat.h>.
7897
7898 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7899 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7900
7901 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7902 [HAVE_MMAP].
7903
7904 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7905 Add multiple inclusion protection.
7906
7907 2012-07-27 David S. Miller <davem@davemloft.net>
7908
7909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7910
7911 2012-07-27 Gary Benson <gbenson@redhat.com>
7912
7913 [BZ #14298]
7914 * elf/rtld.c: Include <stap-probe.h>.
7915 (dl_main): Added static probes "init_start" and "init_complete".
7916 * elf/dl-load.c: Include <stap-probe.h>.
7917 (lose): Take new parameter "nsid".
7918 Added static probe "map_failed".
7919 (_dl_map_object_from_fd): Pass namespace id to lose.
7920 Added static probe "map_start".
7921 (open_verify): Pass namespace id to lose.
7922 * elf/dl-open.c: Include <stap-probe.h>.
7923 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7924 and "reloc_complete".
7925 * elf/dl-close.c: Include <stap-probe.h>.
7926 (_dl_close_worker): Added static probes "unmap_start" and
7927 "unmap_complete".
7928 * elf/rtld-debugger-interface.txt: New file documenting the above.
7929
7930 2012-07-26 Roland McGrath <roland@hack.frob.com>
7931
7932 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7933 rather than a string variable.
7934 * sunrpc/rpc_main.c (h_output): Likewise.
7935 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7936
7937 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7938
7939 * inet/check_native.c: New file.
7940
7941 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7942
7943 [BZ #13629]
7944 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7945 if larger part has absolute value 1.0.
7946 * math/s_clog10.c (__clog10): Likewise.
7947 * math/s_clog10f.c (__clog10f): Likewise.
7948 * math/s_clog10l.c (__clog10l): Likewise.
7949 * math/s_clogf.c (__clogf): Likewise.
7950 * math/s_clogl.c (__clogl): Likewise.
7951 * math/libm-test.inc (clog_test): Add more tests.
7952 (clog10_test): Likewise.
7953 * sysdeps/i386/fpu/libm-test-ulps: Update.
7954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7955
7956 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7957 (pltexit): Likewise.
7958 (La_regs): Likewise.
7959 (La_retval): Likewise.
7960 (int_retval): Likewise.
7961 Update #error for removed macros to refer only to definitions in
7962 tst-audit.h.
7963 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7964 macro.
7965 (pltexit): Likewise.
7966 (La_regs): Likewise.
7967 (La_retval): Likewise.
7968 (int_retval): Likewise.
7969 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7970 macro.
7971 (pltexit): Likewise.
7972 (La_regs): Likewise.
7973 (La_retval): Likewise.
7974 (int_retval): Likewise.
7975 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7976 macro.
7977 (pltexit): Likewise.
7978 (La_regs): Likewise.
7979 (La_retval): Likewise.
7980 (int_retval): Likewise.
7981 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7982 macro.
7983 (pltexit): Likewise.
7984 (La_regs): Likewise.
7985 (La_retval): Likewise.
7986 (int_retval): Likewise.
7987 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7988 macro.
7989 (pltexit): Likewise.
7990 (La_regs): Likewise.
7991 (La_retval): Likewise.
7992 (int_retval): Likewise.
7993 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7994 macro.
7995 (pltexit): Likewise.
7996 (La_regs): Likewise.
7997 (La_retval): Likewise.
7998 (int_retval): Likewise.
7999 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8000 macro definitions in tst-audit.h.
8001 * sysdeps/i386/tst-audit.h: New file.
8002 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8003 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8004 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8005 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8006 * sysdeps/sh/tst-audit.h: Likewise.
8007 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8008 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8009 * sysdeps/x86_64/tst-audit.h: Likewise.
8010
8011 2012-07-26 Andreas Jaeger <aj@suse.de>
8012
8013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8014 ptrace.
8015
8016 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8017 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8018 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8019 PTRACE_O_MASK.
8020 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8023
8024 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8025 value.
8026
8027 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8028 _sigsys.
8029 (si_call_addr, si_syscall, si_arch): Define new macro.
8030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8031 _sigsys.
8032 (si_call_addr, si_syscall, si_arch): Define new marcro.
8033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8034 _sigsys.
8035 (si_call_addr, si_syscall, si_arch): Define new macro.
8036 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8037 _sigsys.
8038 (si_call_addr, si_syscall, si_arch): Define new macro.
8039
8040 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8041
8042 [BZ #13717]
8043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8044 Change to 2.4.21 where previously 2.4.1.
8045 * sysdeps/unix/sysv/linux/configure: Regenerated.
8046 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8047 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8048 Linux kernel version.
8049 (__ASSUME_STD_AUXV): Remove.
8050 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8051 kernel version.
8052 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8053 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8054 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8055 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8056 (__ASSUME_NETLINK_SUPPORT): Likewise.
8057 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8058 (__no_netlink_support): Remove conditional definition.
8059 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8060 Remove.
8061 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8062 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8063 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8064 (if_nameindex_ioctl): Remove.
8065 (if_nameindex_netlink): Do not handle __no_netlink_support.
8066 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8067 code.
8068 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8069 Remove conditional code.
8070 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8071 code.
8072 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8073 unconditional.
8074 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8075 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8076 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8077 Remove.
8078 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8079 [!__ASSUME_STD_AUXV]: Remove conditional code.
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8081 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8082 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8084 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8085 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8086 code.
8087 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8089 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8090 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8091 conditional code.
8092 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8094 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8095 code.
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8097 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8098 conditional code.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8100 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8101 code unconditional.
8102 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8103 conditional code.
8104 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8105 unconditional.
8106 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8107 conditional code.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8109 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8110 unconditional.
8111 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8112 conditional code.
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8114 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8115 code unconditional.
8116 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8117 conditional code.
8118 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8119 unconditional.
8120 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8121 conditional code.
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8123 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8124 code unconditional.
8125 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8126 conditional code.
8127 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8128 unconditional.
8129 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8130 conditional code.
8131
8132 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8133
8134 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8135 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8136 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8137 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8138 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8139 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8140 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8141 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8142 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8143 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8144 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8145 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8146 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8147 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8148 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8150 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8152 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8154 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8155 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8156 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8157
8158 2012-07-25 Florian Weimer <fweimer@redhat.com>
8159
8160 * Versions.def: Add GLIBC_2.17.
8161 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8162 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8163 Introduce __libc_secure_getenv.
8164 * stdlib/Versions (2.17): Add secure_getenv
8165 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8166 * stdlib/secure-getenv.c: Rename __secure_getenv to
8167 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8168 symbol __secure_getenv for GLIBC_2.0.
8169 * stdlib/tst-secure-getenv.c: New.
8170 * stdlib/Makefile (tests): Add testcase.
8171 * manual/startup.texi (Environment Access): Document
8172 secure_getenv.
8173 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8174 __libc_secure_getenv.
8175 * inet/ruserpass.c (ruserpass): Likewise.
8176 * malloc/mtrace.c (mtrace): Likewise.
8177 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8178 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8179 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8180 * sysdeps/posix/tempname.c: Likewise. Evaluate
8181 HAVE_SECURE_GETENV.
8182 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8183 __secure_getenv to __libc_secure_getenv.
8184 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8186 Likewise.
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8188 Likewise.
8189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8191 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8196
8197 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8198
8199 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8200 (struct La_i86_retval): Likewise.
8201 (struct La_x86_64_regs): Likewise.
8202 (struct La_x86_64_retval): Likewise.
8203 (struct La_x32_regs): Likewise.
8204 (struct La_x32_retval): Likewise.
8205 (struct La_ppc32_regs): Likewise.
8206 (struct La_ppc32_retval): Likewise.
8207 (struct La_ppc64_regs): Likewise.
8208 (struct La_ppc64_retval): Likewise.
8209 (struct La_sh_regs): Likewise.
8210 (struct La_sh_retval): Likewise.
8211 (struct La_s390_32_regs): Likewise.
8212 (struct La_s390_32_retval): Likewise.
8213 (struct La_s390_64_regs): Likewise.
8214 (struct La_s390_64_retval): Likewise.
8215 (struct La_sparc32_regs): Likewise.
8216 (struct La_sparc32_retval): Likewise.
8217 (struct La_sparc64_regs): Likewise.
8218 (struct La_sparc64_retval): Likewise.
8219 (struct audit_ifaces): Remove architecture-specific pltenter and
8220 pltexit members.
8221 * sysdeps/i386/ldsodefs.h: New file.
8222 * sysdeps/powerpc/ldsodefs.h: Likewise.
8223 * sysdeps/s390/ldsodefs.h: Likewise.
8224 * sysdeps/sh/ldsodefs.h: Likewise.
8225 * sysdeps/sparc/ldsodefs.h: Likewise.
8226 * sysdeps/x86_64/ldsodefs.h: Likewise.
8227
8228 2012-07-25 Marek Polacek <polacek@redhat.com>
8229
8230 [BZ #6808]
8231 * math/libm-test.inc (yn_test): Add another test.
8232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8233 to ERANGE when the result is +-Inf.
8234 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8235 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8236 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8237 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8238
8239 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8240
8241 * conform/data/time.h-data (NULL): Use macro-constant. Require
8242 equal to 0.
8243 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8244 clock_t.
8245 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8246
8247 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8248
8249 * configure.in <sysdeps resolving>: Correct printing
8250 Implies_before.
8251 * configure: Regenerate.
8252
8253 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8254
8255 * math/w_ilogb.c: Include <limits.h>.
8256 * math/w_ilogbl.c: Likewise.
8257
8258 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8259
8260 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8261 va_copy. Document allowing for unavailable va_copy only as
8262 pre-C99 compatibility.
8263 * manual/string.texi (Copying and Concatenation): Use va_copy
8264 instead of __va_copy in concat example.
8265
8266 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8267
8268 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8269 (__sendto): Use create_address_port. Initialize APORT and deallocate
8270 it if not null.
8271
8272 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8273 with O_NOLINK passed to __file_name_lookup.
8274
8275 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8276 with O_NOLINK passed to __file_name_lookup.
8277
8278 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8279 negative N or less than NGIDS.
8280
8281 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8282 type to string_t. Set ERANGE as errno and return it if NAME is not big
8283 enough. Use memcpy instead of strncpy.
8284
8285 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8286
8287 * elf/Makefile (check-data): Remove.
8288 (localplt.data): New vpath directive.
8289 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8290 instead of $(check-data).
8291 * scripts/data/localplt-generic.data: Move to ...
8292 * sysdeps/generic/localplt.data: ... here.
8293 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8294 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8295 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8297 ... here.
8298 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8300 ... here.
8301 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8303 ... here.
8304 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8306 ... here.
8307 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8309 ... here.
8310 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8312 ... here.
8313
8314 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8315
8316 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8317 PPC32 and PPC64 files.
8318 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8319 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8320
8321 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8322
8323 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8324 __makecontext_ret to ...
8325 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8326 ... here and call exit if uc_link is NULL. New file.
8327 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8328 __makecontext_ret.S.
8329 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8330 __makecontext_ret to ...
8331 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8332 ... here and call exit if uc_link is NULL. New file.
8333 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8334 __makecontext_ret.S.
8335
8336 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8337
8338 * elf/elf.h (R_390_IRELATIVE): New definition.
8339 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8340 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8341 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8342 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8343 (elf_machine_lazy_rel): Likewise.
8344 * sysdeps/s390/dl-irel.h: New file.
8345 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8346 * sysdeps/s390/s390-64/memset.S: New asm code.
8347 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8348 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8349 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8350 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8351 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8352 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8354 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8355 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8356 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8357 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8358 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8359 * sysdeps/s390/s390-32/memset.S: New asm code.
8360 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8361
8362 2012-07-17 Marek Polacek <polacek@redhat.com>
8363
8364 [BZ #14349]
8365 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8366 * sysdeps/s390/s390-64/configure.in: Likewise.
8367 * sysdeps/sparc/configure.in: Likewise.
8368 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8369 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8370 * sysdeps/i386/configure.in: Likewise.
8371 * sysdeps/x86_64/configure.in: Likewise.
8372 * sysdeps/sh/configure.in: Likewise.
8373 * sysdeps/s390/s390-32/configure: Regenerated.
8374 * sysdeps/s390/s390-64/configure: Likewise.
8375 * sysdeps/x86_64/configure: Likewise.
8376 * sysdeps/sh/configure: Likewise.
8377 * sysdeps/powerpc/powerpc64/configure: Likewise.
8378 * sysdeps/powerpc/powerpc32/configure: Likewise.
8379 * sysdeps/sparc/configure: Likwise.
8380 * sysdeps/i386/configure: Likewise.
8381
8382 * elf/dl-open.c: Comment fixes.
8383
8384 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8385
8386 * Makefile [CXX] (check-data): Remove.
8387 [CXX] (c++-types.data): New vpath directive.
8388 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8389 vpath. Do not allow for C++ type data being missing.
8390 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8391 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8392 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8393 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8394 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8395 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8396 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8398 ... here.
8399 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8401 ... here.
8402 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8404 ... here.
8405 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8407 ... here.
8408 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8410 ... here.
8411 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8413 ... here.
8414 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8416 ... here.
8417 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8419
8420 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8421 definitions to architecture-specific files.
8422 (TLS_IE): Likewise.
8423 (TLS_LD): Likewise.
8424 (TLS_GD): Likewise.
8425 * sysdeps/i386/tls-macros.h: New file.
8426 * sysdeps/powerpc/tls-macros.h: Likewise.
8427 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8428 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8429 * sysdeps/sh/tls-macros.h: Likewise.
8430 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8431 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8432 * sysdeps/x86_64/tls-macros.h: Likewise.
8433
8434 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8435
8436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8437 zero value for regular exit case.
8438
8439 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8440 (__start_context): Preserve zero value for regular exit case.
8441
8442 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8443 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8444
8445 * manual/setjmp.texi (setcontext): Clarify normal process
8446 termination when uc_link is the null pointer.
8447 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8448 exit call.
8449
8450 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8451
8452 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8453 preprocessor. Test for each exception mask separately.
8454
8455 2012-07-16 Andreas Jaeger <aj@suse.de>
8456
8457 * po/ru.po: Update from translation team.
8458
8459 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8460
8461 * conform/data/string.h-data (NULL): Use macro-constant. Require
8462 equal to 0.
8463 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8464 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8465 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8466 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8468
8469 2012-07-13 Andreas Jaeger <aj@suse.de>
8470
8471 * po/fr.po: Update from translation team.
8472
8473 2012-07-12 Marek Polacek <polacek@redhat.com>
8474
8475 [BZ #14173]
8476 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8477 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8478 loop condition.
8479
8480 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8481
8482 [BZ #13717]
8483 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8484 Change to 2.4.1 where previously 2.4.0.
8485 * sysdeps/unix/sysv/linux/configure: Regenerated.
8486 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8487 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8488 version.
8489 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8490 (__ASSUME_AT_CLKTCK): Remove.
8491 (__ASSUME_AT_PAGESIZE): Likewise.
8492 (__ASSUME_AT_XID): Likewise.
8493 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8494 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8495 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8496 unconditionally.
8497 (HAVE_AUX_PAGESIZE): Likewise.
8498 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8499 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8500 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8501
8502 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8503
8504 [BZ #14307]
8505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8506 the temporary buffer used to invoke __gethostbyname2_r,
8507 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8508 host_data / struct gaih_addrtuple.
8509 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8510 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8511 header file nss/nsswitch.h.
8512 * nss/nsswitch.h (global scope): Add definition of implementation
8513 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8514 resolv/nss_dns/dns-host.c).
8515
8516 2012-07-11 Andreas Jaeger <aj@suse.de>
8517
8518 * po/fr.po: Update from translation team.
8519
8520 * po/sv.po: Update from translation team
8521 * po/fr.po: Another update from translation team.
8522
8523 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8524
8525 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8526 for subnormals or multiply small sinh result by itself.
8527 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8529
8530 2012-07-11 David S. Miller <davem@davemloft.net>
8531
8532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8533
8534 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8535
8536 [BZ #14347]
8537 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8538 (INTERNAL_MARK): Shift it here.
8539
8540 2012-07-10 Marek Polacek <polacek@redhat.com>
8541
8542 [BZ #14151]
8543 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8544 libc_cv_asm_global_directive with .globl.
8545 * configure: Regenerated.
8546 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8547 with .globl.
8548 * sysdeps/i386/configure: Regenerated.
8549 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8550 with .globl.
8551 * sysdeps/x86_64/configure: Regenerated.
8552 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8553 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8554 * elf/tst-unique2mod2.c: Likewise.
8555 * elf/tst-unique2mod1.c: Likewise.
8556 * elf/tst-unique1mod2.c: Likewise.
8557 * elf/tst-unique1mod1.c: Likewise.
8558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8559 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8561 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8562 * sysdeps/mach/sysdep.h: Likewise.
8563 * sysdeps/i386/sysdep.h: Likewise.
8564 * sysdeps/i386/i386-mcount.S: Likewise.
8565 * sysdeps/x86_64/_mcount.S: Likewise.
8566 * sysdeps/x86_64/sysdep.h: Likewise.
8567 * sysdeps/sh/_mcount.S: Likewise.
8568 * sysdeps/sh/sysdep.h: Likewise.
8569 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8570 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8571 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8572 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8573 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8574 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8575 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8576 * locale/localeinfo.h: Likewise.
8577 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8578 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8579
8580 2012-07-09 Roland McGrath <roland@hack.frob.com>
8581
8582 [BZ #14336]
8583 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8584 system".
8585 * manual/message.texi (The Uniforum approach): Likewise.
8586 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8587 (glibc iconv Implementation): Likewise.
8588
8589 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8590
8591 [BZ #14337]
8592 * math/s_clog.c (__clog): Avoid scaling a value down where that
8593 could result in underflow.
8594 * math/s_clog10.c (__clog10): Likewise.
8595 * math/s_clog10f.c (__clog10f): Likewise.
8596 * math/s_clog10l.c (__clog10l): Likewise.
8597 * math/s_clogf.c (__clogf): Likewise.
8598 * math/s_clogl.c (__clogl): Likewise.
8599 * math/libm-test.inc (clog_test): Add more tests.
8600 (clog10_test): Likewise.
8601 * sysdeps/i386/fpu/libm-test-ulps: Update.
8602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8603
8604 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8605
8606 [BZ #14283]
8607 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8608 by 7 not 8 to examine high bit of fractional part.
8609
8610 [BZ #14042]
8611 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8612 for call to __mcount_internal.
8613 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8614 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8615 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8616
8617 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8618
8619 [BZ #14154]
8620 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8621 approximation for values within 0x1p-13f of an odd multiple of
8622 pi/4.
8623 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8624 exception. Add more tests.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626
8627 [BZ #6778]
8628 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8629 inputs and return -1 for them. Do not check for +Inf in case not
8630 reachable for +Inf.
8631 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8632 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8634 and return -1 for them. Do not check for +Inf in case not
8635 reachable for +Inf.
8636 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8637 define.
8638 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8639 and return -1 for them. Do not check for +Inf in case not
8640 reachable for +Inf.
8641 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8642 spurious underflow.
8643 * sysdeps/i386/fpu/libm-test-ulps: Update.
8644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8645
8646 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8647
8648 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8649
8650 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #14157]
8653 [BZ #14331]
8654 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8655 could result in spurious underflow. Scale down values above
8656 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8657 * math/s_csqrtf.c (__csqrtf): Likewise.
8658 * math/s_csqrtl.c (__csqrtl): Likewise.
8659 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8660 spurious underflow.
8661 * sysdeps/i386/fpu/libm-test-ulps: Update.
8662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663
8664 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8665
8666 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8667 xopen-msg.sed.
8668 * catgets/xopen-msg.awk: New file.
8669 * catgets/xopen-msg.sed: Removed.
8670
8671 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8672 po2text.sed.
8673 * intl/po2test.awk: New file.
8674 * intl/po2test.sed: Removed.
8675
8676 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8677
8678 [BZ #14328]
8679 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8680 or multiply small sinh result by itself.
8681 * math/s_ctanf.c (__ctanf): Likewise.
8682 * math/s_ctanh.c (__ctanh): Likewise.
8683 * math/s_ctanhf.c (__ctanhf): Likewise.
8684 * math/s_ctanhl.c (__ctanhl): Likewise.
8685 * math/s_ctanl.c (__ctanl): Likewise.
8686 * math/libm-test.inc (ctan_test_tonearest): New function.
8687 (ctan_test_towardzero): Likewise.
8688 (ctan_test_downward): Likewise.
8689 (ctan_test_upward): Likewise.
8690 (ctanh_test_tonearest): Likewise.
8691 (ctanh_test_towardzero): Likewise.
8692 (ctanh_test_downward): Likewise.
8693 (ctanh_test_upward): Likewise.
8694 (main): Call these new functions.
8695 * sysdeps/i386/fpu/libm-test-ulps: Update.
8696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8697
8698 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8699
8700 * .gitignore: Delete /ports entry.
8701
8702 2012-07-03 Andreas Jaeger <aj@suse.de>
8703
8704 * po/bg.po: Update from translation team.
8705 * po/cs.po: Likewise.
8706 * po/de.po: Likewise.
8707 * po/hr.po: Likewise.
8708 * po/nl.pl: Likewise.
8709 * po/pl.po: Likewise.
8710 * po/vi.po: Likewise.
8711
8712 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8713
8714 * Makeconfig [!+link] (+link-before-libc): New variable.
8715 [!+link] (+link-after-libc): Likewise.
8716 [!+link] (+link-tests): Likewise.
8717 [!+link] (+link): Define in terms of $(+link-before-libc) and
8718 $(+link-after-libc).
8719 [!+link-static] (+link-static-before-libc): New variable.
8720 [!+link-static] (+link-static-after-libc): Likewise.
8721 [!+link-static] (+link-static-tests): Likewise.
8722 [!+link-static] (+link-static): Define in terms of
8723 $(+link-static-before-libc) and $(+link-static-after-libc).
8724 [build-shared] (link-libc-before-gnulib): New variable.
8725 [build-shared] (link-libc-tests): Likewise.
8726 [build-shared] (link-libc): Define in terms of
8727 $(link-libc-before-gnulib).
8728 [!build-shared] (link-libc-tests): New variable.
8729 (link-libc-static-tests): New variable.
8730 [!gnulib] (gnulib-arch): New variable.
8731 [!gnulib] (gnulib-tests): Likewise.
8732 [!gnulib] (static-gnulib-arch): Likewise.
8733 [!gnulib] (static-gnulib-tests): Likewise.
8734 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8735 Define with "=" instead of ":=".
8736 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8737 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8738 * Rules (binaries-all-notests): New variable.
8739 (binaries-all-tests): Likewise.
8740 (binaries-static-notests): Likewise.
8741 (binaries-static-tests): Likewise.
8742 (binaries-all): Define using $(binaries-all-notests) and
8743 $(binaries-all-tests).
8744 (binaries-static): Define using $(binaries-static-notests) and
8745 $(binaries-static-tests).
8746 (binaries-shared-tests): New variable.
8747 (binaries-shared-notests): Likewise.
8748 (binaries-shared): Remove variable.
8749 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8750 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8751 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8752 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8753 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8754 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8755 * elf/Makefile (sln-modules): New variable.
8756 (extra-objs): Add $(sln-modules:=.o).
8757 (ldconfig-modules): Add static-stubs.
8758 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8759 * elf/static-stubs.c: New file.
8760
8761 [BZ #14283]
8762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8763 by 7 not 8 to examine high bit of fractional part. Use volatile
8764 variables when splitting into final array of floats if
8765 __FLT_EVAL_METHOD__ != 0.
8766 * math/libm-test.inc (cos_test): Add another test.
8767 (sin_test): Likewise.
8768 * sysdeps/i386/fpu/libm-test-ulps: Update.
8769
8770 [BZ #14273]
8771 * math/libm-test.inc (cosh_test): Add more tests.
8772
8773 * version.h (RELEASE): Set to "development".
8774 (VERSION): Set to "2.16.90".
8775
8776 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8777
8778 * NEWS: Update copyright. Remove last-updated date.
8779 Mention math library bug fixes and timezone data changes.
8780 * README: Mention GNU/Hurd, x32, and HPPA support status.
8781
8782 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8783
8784 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8785
8786 2012-06-27 Andreas Jaeger <aj@suse.de>
8787
8788 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8789
8790 2012-06-25 Andreas Jaeger <aj@suse.de>
8791
8792 * sysdeps/s390/fpu/libm-test-ulps: Update.
8793
8794 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8795 Thomas Schwinge <thomas@codesourcery.com>
8796
8797 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8798 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8800 fanotify_mark.
8801
8802 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8803
8804 * sysdeps/mach/start.c: Remove file.
8805 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8806 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8807 * sysdeps/sh/init-first.c: Likewise.
8808
8809 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8810 registers for frame unwinding purposes, add CFI directives.
8811 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8812 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8813 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8814 Likewise.
8815
8816 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8817 __fortify_fail returning.
8818 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8819
8820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8821 sysdeps/sh/____longjmp_chk.S.
8822 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8823 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8824 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8825 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8826
8827 * sysdeps/sh/abort-instr.h: New file.
8828 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8829 process in case exit returns.
8830
8831 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8832 initialize the GOT register before use.
8833
8834 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8835 calculation of ARGC > 4.
8836
8837 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8838 meaningful names to some local labels.
8839
8840 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8841 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8842
8843 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8844 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8845 (__arch_compare_and_exchange_val_16_acq): Likewise.
8846 (__arch_compare_and_exchange_val_32_acq): Likewise.
8847 (atomic_exchange_and_add): Fix gUSA sequence.
8848 (atomic_add): Likewise.
8849 (atomic_add_negative): Likewise.
8850 (atomic_add_zero): Likewise.
8851 (atomic_bit_test_set): Likewise.
8852
8853 2012-06-22 Andreas Schwab <schwab@redhat.com>
8854
8855 [BZ #13579]
8856 * include/link.h (struct link_map): Add l_free_initfini.
8857 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8858 l_initfini.
8859 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8860 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8861 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8862 set.
8863
8864 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8865
8866 * configure.in: Use AC_LANG_SOURCE.
8867 * configure: Regenerate.
8868
8869 2012-06-22 Roland McGrath <roland@hack.frob.com>
8870
8871 * configure.in (libc_cv_localstatedir): New substituted variable.
8872 * configure: Regenerated.
8873 * config.make.in (localstatedir): New variable, substituted from
8874 libc_cv_localstatedir.
8875 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8876 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8877 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8878 * sysdeps/gnu/configure: Regenerated.
8879
8880 2012-06-21 Jeff Law <law@redhat.com>
8881
8882 [BZ #14277]
8883 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8884 free. Simplify list management for _LIBC case.
8885
8886 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8887
8888 [BZ #14273]
8889 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8890 Clear sign bit of 64-bit integer value before comparing against
8891 overflow value.
8892
8893 * sysdeps/mach/configure: Regenerated.
8894
8895 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 [BZ #14278]
8898 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8899
8900 2012-06-21 Jeff Law <law@redhat.com>
8901
8902 [BZ #13882]
8903 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8904 uint16_t for elements in the "seen" array to avoid char overflows.
8905 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8906 * elf/dl-open.c (dl_open_worker): Likewise.
8907
8908 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8909
8910 * scripts/list-sources.sh: Scan PORTS for translations.
8911 * po/libc.pot: Regenerated.
8912
8913 2012-06-21 Andreas Jaeger <aj@suse.de>
8914
8915 [BZ #12194]
8916 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8917 warning.
8918 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8919 * bits/byteswap-16.h (__bswap_16): Likewise.
8920 * bits/byteswap.h (__bswap_constant_16): Likewise.
8921
8922 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8923
8924 [BZ #14117]
8925 * sysdeps/i386/fpu_control.h: Removed.
8926 * sysdeps/x86_64/fpu_control.h: Moved to ...
8927 * sysdeps/x86/fpu_control.h: Here.
8928
8929 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8930 (_FPU_SETCW): Likewise.
8931
8932 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8933
8934 [BZ #14117]
8935 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8936 * sysdeps/x86/fpu/bits/mathinline.h: This.
8937 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8938
8939 [BZ #14050]
8940 [BZ #14117]
8941 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8942 functions if __x86_64__ is defined.
8943
8944 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8945
8946 * string/endian.h: Add !__ASSEMBLER__ condition for including
8947 conversion interfaces.
8948
8949 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8950
8951 [BZ #14241]
8952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8953 of ABS(x) in calculating zero to negative powers other than odd
8954 integers.
8955 * math/libm-test.inc (pow_test): Add more tests.
8956
8957 2012-06-15 Andreas Jaeger <aj@suse.de>
8958
8959 * manual/contrib.texi (Contributors): Update entry of Liubov
8960 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8961 Machado Filho.
8962
8963 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8964
8965 * string/string.h: Add __wur to GNU version of strerror_r.
8966
8967 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 [BZ #14229]
8970 * string/Makefile (tests): Add tst-strtok_r.
8971 * string/tst-strtok_r.c: New file.
8972 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8973 RAX_LP/RDX_LP on SAVE_PTR.
8974
8975 2012-06-14 Roland McGrath <roland@hack.frob.com>
8976
8977 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8978
8979 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8980
8981 * libm_test.inc (csqrt_test): Allow more spurious underflow
8982 exceptions.
8983 (j0_test): Likewise.
8984 (j1_test): Likewise.
8985 (y0_test): Likewise.
8986 (y1_test): Likewise.
8987
8988 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8989
8990 * po/Makefile (libc.pot): Use UTF-8 charset.
8991
8992 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8993
8994 [BZ #14210]
8995 Suppress sign-conversion warning from FD_SET.
8996 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8997 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8998 not unsigned long int.
8999 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9000
9001 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 [BZ #14050]
9004 [BZ #14117]
9005 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9006 __extern_always_inline instead of __extern_inline.
9007 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9008 (__signbit): Likewise.
9009 (__signbitl): Support C++ namespace.
9010 (lrintf): New inline function.
9011 (lrint): Likewise.
9012 (llrintf): Likewise.
9013 (llrint): Likewise.
9014 (fmaxf): Likewise.
9015 (fmax): Likewise.
9016 (fminf): Likewise.
9017 (fmin): Likewise.
9018 (rint): Likewise.
9019 (rintf): Likewise.
9020 (ceil): Likewise.
9021 (ceilf): Likewise.
9022 (floor): Likewise.
9023 (floorf): Likewise.
9024 (nearbyint): Likewise.
9025 (nearbyintf): Likewise.
9026
9027 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9028
9029 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9030 non-default versions.
9031
9032 2012-06-11 Roland McGrath <roland@hack.frob.com>
9033
9034 [BZ #14218]
9035 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9036
9037 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9038
9039 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9040 (FE_UPWARD, FE_DOWNWARD): Don't define.
9041 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9042 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9043
9044 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9045 reading it.
9046 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9047 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9048
9049 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9050
9051 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9053 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9054 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9055
9056 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9057
9058 [BZ #14117]
9059 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9060 * sysdeps/i386/fpu/Implies: New file.
9061 * sysdeps/x86_64/fpu/Implies: Likewise.
9062 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9063 * sysdeps/x86/fpu/bits/fenv.h: This.
9064
9065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9066 __SSE_MATH__.
9067
9068 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9069
9070 [BZ #14134]
9071 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9072 character 0xffff that matches the last element of the
9073 conversion table.
9074
9075 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9076
9077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9078 fmodl commit.
9079
9080 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9081
9082 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9083 values higher than 25.6283.
9084
9085 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9086
9087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9088 subnormal exponent extraction and add some __builtin_expect.
9089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9090 Fix for subnormal mantissa calculation.
9091
9092 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9093
9094 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9095 cpu2 is -1 and errno is not ENOSYS.
9096
9097 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 [BZ #14117]
9100 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9101 * sysdeps/x86/bits/string.h: This.
9102 * sysdeps/x86_64/bits/string.h: Removed.
9103
9104 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9105 if not compiling for x86-64, but compiling for >= i486.
9106
9107 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9108 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9109
9110 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9111 New macro from Linux kernel 3.4.0.
9112 (FP_XSTATE_MAGIC2): Likewise.
9113 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9114 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9115 (struct _fpx_sw_bytes): New struct.
9116 (struct _xsave_hdr): Likewise.
9117 (struct _ymmh_state): Likewise.
9118 (struct _xstate): Likewise.
9119
9120 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9121 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9122 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9123 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9124 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9125 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9126
9127 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9128 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9129 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9130 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9131 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9132 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9133
9134 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9135
9136 [BZ #13743]
9137 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9138 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9139 (sysdep_headers): Include sys/platform/ppc.h.
9140 * sysdeps/powerpc/test-gettimebase.c: Test for
9141 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9142 * manual/Makefile (appendices): Include platform.texi.
9143 * manual/contrib.texi (Contributors): Update @node pointers.
9144 * manual/maint.texi (Maintenance): Likewise.
9145 (Platform): New node.
9146 * manual/platform.texi: New file. Document the new features.
9147
9148 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9149 Jakub Jelinek <jakub@redhat.com>
9150
9151 [BZ #14188]
9152 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9153 where __builtin_expect is unavailable.
9154
9155 2012-06-03 David S. Miller <davem@davemloft.net>
9156
9157 * stdlib/longlong.h: Updated from GCC.
9158
9159 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 [BZ #14042]
9162 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9163 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9164 __mcount_internal.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9166 (GLIBC_2.16): Likewise.
9167
9168 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9169
9170 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9171
9172 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9173
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9175 (default-abi): New variable.
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9177 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9178 variable.
9179 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9180 Likewise.
9181 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9182 Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9184 Likewise.
9185
9186 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9187 definition. Document in comment.
9188
9189 2012-06-01 David S. Miller <davem@davemloft.net>
9190
9191 * stdlib/longlong.h: Updated from GCC.
9192
9193 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9194
9195 [BZ #14117]
9196 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9197 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9198 sys/debugreg.h sys/io.h here.
9199 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9200 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9201 sys/io.h.
9202 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9203 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9204 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9205 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9206 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9207 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9208
9209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9210 Define only if __x86_64__ is defined.
9211
9212 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9213
9214 [BZ #14048]
9215 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9216 Use int64_t for variable i.
9217 * math/libm-test.inc (fmod_test): Add more tests.
9218
9219 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9220 z computation is not scheduled after fetestexcept.
9221 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9222 Use math_force_eval instead of asm to ensure calculation scheduled
9223 before exception test.
9224 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9225 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9226
9227 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9228
9229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9230 computation is not scheduled after fetestexcept.
9231
9232 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9233
9234 [BZ #14117]
9235 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9236 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9237
9238 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9239
9240 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9241 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9242
9243 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 [BZ #14117]
9246 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9247 <bits/wordsize.h>.
9248 (__WCHAR_MIN): Support __WORDSIZE == 64.
9249 (__WCHAR_MAX): Likewise.
9250
9251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9252 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9253
9254 [BZ #14183]
9255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9256 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9257
9258 [BZ #14117]
9259 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9260 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9261
9262 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9263 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9264
9265 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9266 Defined to 1 if __x86_64__ isn't defined.
9267 (_STAT_VER_LINUX_OLD): New.
9268 (st_atime): Remove duplicate.
9269 (st_mtime): Likewise.
9270 (st_ctime): Likewise.
9271
9272 2012-05-31 David S. Miller <davem@davemloft.net>
9273
9274 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9275 entries.
9276
9277 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9278
9279 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9280 gen-libm-test.pl.
9281
9282 [BZ #14132]
9283 * elf/dl-reloc.c: Include <_itoa.h>.
9284 (_dl_reloc_bad_type): Remove use of INTUSE.
9285 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9286 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9287 * stdio-common/psiginfo.c (psiginfo): Likewise.
9288 * stdio-common/psignal.c (psignal): Likewise.
9289 * string/strsignal.c (strsignal): Likewise.
9290 * include/signal.h (_sys_siglist): Declare hidden proto.
9291 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9292 INTVARDEF with libc_hidden_data_def.
9293 * stdio-common/itoa-udigits.c: Likewise.
9294 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9295 (_itoa_lower_digits_internal): Remove declaration.
9296 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9297 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9298 (_sys_sigabbrev_internal): Remove aliases.
9299 (_sys_siglist): Define hidden alias.
9300
9301 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9302
9303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9304 bits/sysctl.h.
9305
9306 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 [BZ #14117]
9309 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9310 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9311
9312 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9313 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9314 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9315 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9316 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9317 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9318
9319 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9320 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9321 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9322
9323 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9324 with __addr.
9325 (insw): Likewise.
9326 (insl): Likewise.
9327 (outsb): Likewise.
9328 (outsw): Likewise.
9329 (outsl): Likewise.
9330
9331 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9332 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9333 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9334
9335 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9336 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9338 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9339 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9340 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9341
9342 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9343 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9344
9345 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9346 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9347
9348 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9351
9352 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9353 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9354 to ...
9355 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9356
9357 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9358 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9359 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9360
9361 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9362 for x86-64.
9363 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9364
9365 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9366
9367 * math/math.h (M_El): Use two more decimal places.
9368 (M_LOG2El): Likewise.
9369 (M_LOG10El): Likewise.
9370 (M_LN2l): Likewise.
9371 (M_LN10l): Likewise.
9372 (M_PIl): Likewise.
9373 (M_PI_2l): Likewise.
9374 (M_PI_4l): Likewise.
9375 (M_1_PIl): Likewise.
9376 (M_2_PIl): Likewise.
9377 (M_2_SQRTPIl): Likewise.
9378 (M_SQRT2l): Likewise.
9379 (M_SQRT1_2l): Likewise.
9380
9381 2012-05-31 David S. Miller <davem@davemloft.net>
9382
9383 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9384 values between float registers.
9385 * sysdeps/sparc/sparc64/memset.S: Likewise.
9386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9387
9388 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9389
9390 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9391 -D_FORTIFY_SOURCE=1.
9392 (CPPFLAGS-tst-longjmp_chk.c): Define.
9393 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9394 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9395 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9396 CFLAGS-tst-wchar-h.c.
9397
9398 2012-05-31 Marek Polacek <polacek@redhat.com>
9399
9400 [BZ #14132]
9401 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9402 __endmntent_internal): Remove declaration.
9403 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9404 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9405 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9406
9407 2012-05-30 David S. Miller <davem@davemloft.net>
9408
9409 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9410 (___Q_simulate_exceptions): Use real FP ops rather than writing
9411 into the %fsr.
9412 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9413 Likewise.
9414
9415 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 [BZ #14117]
9418 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9419 * sysdeps/x86/bits/xtitypes.h: This.
9420
9421 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9422 * sysdeps/x86/bits/wordsize.h: This.
9423
9424 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9425 * sysdeps/x86/bits/huge_vall.h: This.
9426
9427 * sysdeps/i386/bits/select.h: Removed.
9428 * sysdeps/x86_64/bits/select.h: Renamed to ...
9429 * sysdeps/x86/bits/select.h: This.
9430
9431 * sysdeps/i386/bits/setjmp.h: Removed.
9432 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9433 * sysdeps/x86/bits/setjmp.h: This.
9434
9435 * sysdeps/i386/bits/mathdef.h: Removed.
9436 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9437 * sysdeps/x86/bits/mathdef.h: This.
9438
9439 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9440
9441 [BZ #14132]
9442 * include/sys/socket.h (__connect_internal)
9443 (__libc_sa_len_internal): Remove declaration.
9444 (__connect, __libc_sa_len): Declare hidden_proto.
9445 (SA_LEN): Remove use of INTUSE.
9446 * socket/connect.c: Add libc_hidden_def.
9447 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9448 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9449 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9450 alias.
9451 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9452 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9453 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9454 of adding _internal alias.
9455
9456 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 [BZ #14117]
9459 * sysdeps/i386/bits/link.h: Removed.
9460 * sysdeps/i386/bits/linkmap.h: Likewise.
9461 * sysdeps/x86_64/bits/link.h: Renamed to ...
9462 * sysdeps/x86/bits/link.h: This.
9463 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9464 * sysdeps/x86/bits/linkmap.h: This.
9465
9466 * sysdeps/i386/bits/endian.h: Removed.
9467 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9468 * sysdeps/x86/bits/endian.h: This.
9469
9470 * sysdeps/i386/bits/byteswap.h: Removed.
9471 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9472 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9473 * sysdeps/x86/bits/byteswap.h: This.
9474 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9475 * sysdeps/x86/bits/byteswap-16.h: This.
9476 * sysdeps/i386/Implies: Add x86.
9477 * sysdeps/x86_64/Implies: Likewise.
9478
9479 2012-05-30 David S. Miller <davem@davemloft.net>
9480
9481 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9482 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9483 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9484 (FP_TRAPPING_EXCEPTIONS): Define.
9485 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9486 (FP_TRAPPING_EXCEPTIONS): Define.
9487 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9488 subnormals only when inexact has been signalled or underflow
9489 exceptions are enabled.
9490 (_FP_PACK_CANONICAL): Likewise.
9491
9492 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9493
9494 [BZ #14183]
9495 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9496 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9497
9498 2012-05-30 Richard Henderson <rth@twiddle.net>
9499
9500 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9501 with #ifndef NOT_IN_libc.
9502
9503 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9504 marked to avoid plt entry.
9505
9506 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 [BZ #14112]
9509 * Makeconfig (default-abi): New macro.
9510 (abi-includes): Likewise.
9511 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9512 $(abi-$(default-abi)-lib-soname) for soname if defined.
9513 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9514 abi-variants.
9515 * Makefile (installed-stubs): Likewise.
9516 * include/stubs-biarch.h: Removed.
9517 * scripts/lib-names.awk: Only handle one library at a time.
9518 * scripts/soversions.awk: Remove WORDSIZE support.
9519 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9520 entries.
9521 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9522 Removed.
9523 (syscall-list-default-condition): Likewise.
9524 (syscall-list-default-condition): Likewise.
9525 (syscall-list-includes): Likewise.
9526 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9527 syscall-list-* with abi-*. Handle undefined abi-variants.
9528 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9529 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9530 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9531 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9533 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9534 Removed.
9535 (syscall-list-32-options): Likewise.
9536 (syscall-list-32-condition): Likewise.
9537 (syscall-list-64-options): Likewise.
9538 (syscall-list-64-condition): Likewise.
9539 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9540 macro.
9541 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9542 Renamed to ...
9543 (abi-*): This.
9544 (abi-64-ld-soname): New macro.
9545 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9547 Renamed to ...
9548 (abi-*): This.
9549 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9550 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9551
9552 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9553
9554 * sysdeps/unix/sysv/linux/kernel-features.h
9555 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9556 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9557 include <kernel-features.h>.
9558 [!__NR_ftruncate64]: Remove conditional code.
9559 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9560 [__NR_ftruncate64]: Make code unconditional.
9561 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9562 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9563 include <kernel-features.h>.
9564 [!__NR_ftruncate64]: Remove conditional code.
9565 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9566 [__NR_ftruncate64]: Make code unconditional.
9567 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9569 include <kernel-features.h>.
9570 [!__NR_ftruncate64]: Remove conditional code.
9571 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9572 [__NR_ftruncate64]: Make code unconditional.
9573 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9575 include <kernel-features.h>.
9576 [!__NR_ftruncate64]: Remove conditional code.
9577 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9578 [__NR_ftruncate64]: Make code unconditional.
9579 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9580
9581 * configure.in (libc_cv_fpie): Weaken to a compile test using
9582 LIBC_TRY_CC_OPTION.
9583 * configure: Regenerated.
9584
9585 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9586
9587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9591 Refreshed.
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9598 Refreshed.
9599
9600 2012-05-27 David S. Miller <davem@davemloft.net>
9601
9602 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9603 (___Q_zero): New.
9604 (__Q_simulate_exceptions): Return void. Change to simulate
9605 exceptions by writing into the %fsr.
9606 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9607 (__Qp_handle_exceptions): Likewise.
9608 (numbers): Delete.
9609 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9610 __Qp_handle_exceptions.
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9612 __Qp_handle_exceptions.
9613 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9614 as unused and give dummy FP_RND_NEAREST initializer.
9615 (FP_INHIBIT_RESULTS): Define.
9616 (___Q_simulate_exceptions): Update declaration.
9617 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9618 formatting.
9619 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9620 as unused and give dummy FP_RND_NEAREST initializer.
9621 (__Qp_handle_exceptions): Update declaration.
9622 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9623 formatting.
9624
9625 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9626
9627 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9628 the temporary FPU control word.
9629 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9630 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9631 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9632 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9633 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9635 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9636 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9637 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9638 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9639 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9640
9641 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9642
9643 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9644 fields.
9645
9646 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9647
9648 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9649 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9650 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9651 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9652 Likewise.
9653 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9654 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9655 Likewise.
9656
9657 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9658
9659 * po/h.po: Update from translation team.
9660
9661 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9662
9663 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9664
9665 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9666 handling of denormals.
9667 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9668 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9670 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9674 Likewise.
9675
9676 2012-05-26 Marek Polacek <polacek@redhat.com>
9677
9678 [BZ #14152]
9679 * math/libm-test.inc (fma_test): Don't always expect underflow
9680 exception.
9681
9682 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9683
9684 [BZ #12416]
9685 * elf/tst-execstack.c: Include stackinfo.h.
9686 (do_test): Adjust test case to ensure that pthread_getattr_np
9687 behaviour remains the same after marking stack executable.
9688
9689 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9690
9691 * sysdeps/unix/sysv/linux/kernel-features.h
9692 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9693 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9694 kernel-features.h.
9695 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9696 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9697 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9698 kernel-features.h.
9699 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9700 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9701
9702 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9703
9704 * configure.in: Define the default includes to being none.
9705 * configure: Regenerated.
9706
9707 2012-05-25 Roland McGrath <roland@hack.frob.com>
9708
9709 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9710 * sysdeps/x86_64/setjmp.S: Likewise.
9711 * sysdeps/i386/bsd-setjmp.S: Likewise.
9712 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9713 * sysdeps/i386/setjmp.S: Likewise.
9714 * sysdeps/i386/__longjmp.S: Likewise.
9715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9716 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9717
9718 * include/stap-probe.h: New file.
9719 * configure.in: Handle --enable-systemtap.
9720 * configure: Regenerated.
9721 * config.h.in (USE_STAP_PROBE): New #undef.
9722 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9723 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9724 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9725
9726 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9727
9728 [BZ #13717]
9729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9730 to 2.4.0 where earlier.
9731 * sysdeps/unix/sysv/linux/configure: Regenerated.
9732 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9733 <kernel-features.h>.
9734 [__ASSUME_32BITUIDS]: Make code unconditional.
9735 [!__ASSUME_32BITUIDS]: Remove conditional code.
9736 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9737 <kernel-features.h>.
9738 [__ASSUME_32BITUIDS]: Make code unconditional.
9739 [!__ASSUME_32BITUIDS]: Remove conditional code.
9740 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9741 [__ASSUME_32BITUIDS]: Make code unconditional.
9742 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9743 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9744 <kernel-features.h>.
9745 [__ASSUME_32BITUIDS]: Make code unconditional.
9746 [!__ASSUME_32BITUIDS]: Remove conditional code.
9747 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9748 <kernel-features.h>.
9749 [__ASSUME_32BITUIDS]: Make code unconditional.
9750 [!__ASSUME_32BITUIDS]: Remove conditional code.
9751 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9752 <kernel-features.h>.
9753 [__ASSUME_32BITUIDS]: Make code unconditional.
9754 [!__ASSUME_32BITUIDS]: Remove conditional code.
9755 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9756 <kernel-features.h>.
9757 [__ASSUME_32BITUIDS]: Make code unconditional.
9758 [!__ASSUME_32BITUIDS]: Remove conditional code.
9759 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9760 <kernel-features.h>.
9761 [__ASSUME_32BITUIDS]: Make code unconditional.
9762 [!__ASSUME_32BITUIDS]: Remove conditional code.
9763 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9764 <kernel-features.h>.
9765 [__ASSUME_32BITUIDS]: Make code unconditional.
9766 [!__ASSUME_32BITUIDS]: Remove conditional code.
9767 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9768 <kernel-features.h>.
9769 [__ASSUME_32BITUIDS]: Make code unconditional.
9770 [!__ASSUME_32BITUIDS]: Remove conditional code.
9771 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9772 <kernel-features.h>.
9773 [__ASSUME_32BITUIDS]: Make code unconditional.
9774 [!__ASSUME_32BITUIDS]: Remove conditional code.
9775 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9776 <kernel-features.h>.
9777 [__ASSUME_32BITUIDS]: Make code unconditional.
9778 [!__ASSUME_32BITUIDS]: Remove conditional code.
9779 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9780 <kernel-features.h>.
9781 [__ASSUME_32BITUIDS]: Make code unconditional.
9782 [!__ASSUME_32BITUIDS]: Remove conditional code.
9783 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9784 <kernel-features.h>.
9785 [__NR_setresgid] (__setresgid): Do not declare.
9786 [__ASSUME_32BITUIDS]: Make code unconditional.
9787 [!__ASSUME_32BITUIDS]: Remove conditional code.
9788 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9789 <kernel-features.h>.
9790 [__NR_setresuid] (__setresuid): Do not declare.
9791 [__ASSUME_32BITUIDS]: Make code unconditional.
9792 [!__ASSUME_32BITUIDS]: Remove conditional code.
9793 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9794 <kernel-features.h>.
9795 [__ASSUME_32BITUIDS]: Make code unconditional.
9796 [!__ASSUME_32BITUIDS]: Remove conditional code.
9797 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9798 <kernel-features.h>.
9799 [__ASSUME_32BITUIDS]: Make code unconditional.
9800 [!__ASSUME_32BITUIDS]: Remove conditional code.
9801 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9802 <kernel-features.h>.
9803 [__ASSUME_32BITUIDS]: Make code unconditional.
9804 [!__ASSUME_32BITUIDS]: Remove conditional code.
9805 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9806 <kernel-features.h>.
9807 [__ASSUME_32BITUIDS]: Make code unconditional.
9808 [!__ASSUME_32BITUIDS]: Remove conditional code.
9809 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9810 <kernel-features.h>.
9811 [__ASSUME_32BITUIDS]: Make code unconditional.
9812 [!__ASSUME_32BITUIDS]: Remove conditional code.
9813 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9814 <kernel-features.h>.
9815 [__ASSUME_32BITUIDS]: Make code unconditional.
9816 [!__ASSUME_32BITUIDS]: Remove conditional code.
9817 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9818 <kernel-features.h>.
9819 [__ASSUME_32BITUIDS]: Make code unconditional.
9820 [!__ASSUME_32BITUIDS]: Remove conditional code.
9821 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9822 <kernel-features.h>.
9823 [__ASSUME_32BITUIDS]: Make code unconditional.
9824 [!__ASSUME_32BITUIDS]: Remove conditional code.
9825 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9826 <kernel-features.h>.
9827 [__ASSUME_32BITUIDS]: Make code unconditional.
9828 [!__ASSUME_32BITUIDS]: Remove conditional code.
9829 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9830 <kernel-features.h>.
9831 [__ASSUME_32BITUIDS]: Make code unconditional.
9832 [!__ASSUME_32BITUIDS]: Remove conditional code.
9833 * sysdeps/unix/sysv/linux/kernel-features.h
9834 (__ASSUME_SETRESUID_SYSCALL): Remove.
9835 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9836 (__ASSUME_32BITUIDS): Likewise.
9837 (__ASSUME_LDT_WORKS): Likewise.
9838 (__ASSUME_O_DIRECTORY): Likewise.
9839 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9840 architecture but not kernel version.
9841 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9842 (__ASSUME_MMAP2_SYSCALL): Likewise.
9843 (__ASSUME_STAT64_SYSCALL): Likewise.
9844 (__ASSUME_IPC64): Likewise.
9845 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9846 <kernel-features.h>.
9847 [__ASSUME_32BITUIDS]: Make code unconditional.
9848 [!__ASSUME_32BITUIDS]: Remove conditional code.
9849 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9850 <kernel-features.h>.
9851 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9852 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9853 132096]: Remove conditional code.
9854 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9855 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9856 <kernel-features.h>.
9857 [__ASSUME_32BITUIDS]: Make code unconditional.
9858 [!__ASSUME_32BITUIDS]: Remove conditional code.
9859 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9860 <kernel-features.h>.
9861 [__ASSUME_32BITUIDS]: Make code unconditional.
9862 [!__ASSUME_32BITUIDS]: Remove conditional code.
9863 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9864 <kernel-features.h>.
9865 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9866 unconditional.
9867 (__setresgid): Do not declare.
9868 [__ASSUME_32BITUIDS]: Make code unconditional.
9869 [!__ASSUME_32BITUIDS]: Remove conditional code.
9870 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9871 <kernel-features.h>.
9872 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9873 unconditional.
9874 (__setresuid): Do not declare.
9875 [__ASSUME_32BITUIDS]: Make code unconditional.
9876 [!__ASSUME_32BITUIDS]: Remove conditional code.
9877 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9878 <kernel-features.h>.
9879 [__ASSUME_32BITUIDS]: Make code unconditional.
9880 [!__ASSUME_32BITUIDS]: Remove conditional code.
9881 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9882 <kernel-features.h>.
9883 [__ASSUME_32BITUIDS]: Make code unconditional.
9884 [!__ASSUME_32BITUIDS]: Remove conditional code.
9885
9886 2012-05-25 Richard Henderson <rth@twiddle.net>
9887
9888 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9889 dl_hwcap to ifunc resolver.
9890 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9891 elf_ifunc_invoke.
9892 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9893 dl_hwcap to ifunc resolver.
9894 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9895
9896 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9897
9898 [BZ #14153]
9899 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9900 for |x| <= 2**-26, not 2**-57.
9901 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9902 exception.
9903
9904 2012-05-24 Jeff Law <law@redhat.com>
9905
9906 * stdio-common/Makefile (tests): Add bug25.
9907 * stdio-common/bug25.c: New test.
9908
9909 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9910
9911 [BZ #13576]
9912 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9913 multiple of MALLOC_ALIGNMENT in size.
9914 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9915
9916 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9917
9918 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9919 Require >= 256.
9920 (FILENAME_MAX): Use macro-int-constant.
9921 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9922 (_IOFBF): Use macro-int-constant.
9923 (_IOLBF): Likewise.
9924 (_IONBF): Likewise.
9925 (SEEK_CUR): Likewise.
9926 (SEEK_END): Likewise.
9927 (SEEK_SET): Likewise.
9928 (TMP_MAX): Likewise.
9929 (EOF): Use macro-int-constant. Require < 0.
9930 (NULL): Use macro-constant. Require == 0.
9931 (stdin): Require type to be FILE *.
9932 (stdout): Likewise.
9933 (stderr): Likewise.
9934 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9935 macro-int-constant.
9936 (EXIT_SUCCESS): Likewise.
9937 (NULL): Use macro-constant. Require == 0.
9938 (RAND_MAX): Use macro-int-constant.
9939 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9940 [C99-based standards] (strtof): Require function.
9941 [C99-based standards] (strtold): Likewise.
9942 [C99-based standards] (strtoll): Likewise.
9943 [C99-based standards] (strtoull): Likewise.
9944 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9945 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9946 [ISO || ISO99 || ISO11] (math.h): Likewise.
9947 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9948 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9950
9951 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9952
9953 [BZ #14132]
9954 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9955 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9956 * intl/dgettext.c (DCGETTEXT): Likewise.
9957 * intl/gettext.c (DCGETTEXT): Likewise.
9958 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9959 * posix/regex_internal.h (gettext): Likewise.
9960 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9961 Remove declaration.
9962 * include/argz.h (__argz_count_internal)
9963 (__argz_stringify_internal): Remove declaration.
9964 (__argz_count, __argz_stringify): Declare hidden proto.
9965 * intl/dcgettext.c: Remove use of INTDEF.
9966 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9967 * string/argz-stringify.c: Likewise.
9968 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9969 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9970 Declare hidden proto.
9971 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9972 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9973 Declare hidden proto.
9974 * include/stdio.h (__asprintf_internal): Don't declare.
9975 (__asprintf): Don't define as macro. Declare hidden proto.
9976 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9977 (__fsetlocking): Declare hidden proto.
9978 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9979 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9980 hidden proto.
9981 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9982 (_IO_setlinebuf): Remove use of INTUSE.
9983 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9984 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9985 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9986 Remove declaration.
9987 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9988 (_IO_do_flush): Remove use of INTUSE.
9989 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9990 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9991 (_IO_adjust_column, _IO_least_wmarker)
9992 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9993 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9994 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9995 (_IO_default_doallocate, _IO_wdefault_doallocate)
9996 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9997 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9998 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9999 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10000 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10001 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10002 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10003 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10004 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10005 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10006 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10007 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10008 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10009 proto.
10010 (_IO_flush_all_internal, _IO_adjust_column_internal)
10011 (_IO_default_uflow_internal, _IO_default_finish_internal)
10012 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10013 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10014 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10015 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10016 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10017 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10018 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10019 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10020 (_IO_file_close_internal, _IO_file_close_it_internal)
10021 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10022 (_IO_file_init_internal, _IO_file_attach_internal)
10023 (_IO_file_fopen_internal, _IO_file_read_internal)
10024 (_IO_file_sync_internal, _IO_file_seek_internal)
10025 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10026 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10027 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10028 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10029 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10030 (_IO_list_all_internal, _IO_link_in_internal)
10031 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10032 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10033 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10034 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10035 (_IO_do_write_internal, _IO_padn_internal)
10036 (_IO_getline_info_internal, _IO_getline_internal)
10037 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10038 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10039 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10040 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10041 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10042 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10043 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10044 with libc_hidden_ver, remove use of INTUSE.
10045 * libio/genops.c: Likewise.
10046 * libio/freopen.c: Likewise.
10047 * libio/freopen64.c: Likewise.
10048 * libio/iofclose.c: Likewise.
10049 * libio/iofdopen.c: Likewise.
10050 * libio/iofflush.c: Likewise.
10051 * libio/iofflush_u.c: Likewise.
10052 * libio/iofgets.c: Likewise.
10053 * libio/iofgets_u.c: Likewise.
10054 * libio/iofopen.c: Likewise.
10055 * libio/iofopncook.c: Likewise.
10056 * libio/iofread.c: Likewise.
10057 * libio/iofread_u.c: Likewise.
10058 * libio/ioftell.c: Likewise.
10059 * libio/iofwrite.c: Likewise.
10060 * libio/iogetline.c: Likewise.
10061 * libio/iogets.c: Likewise.
10062 * libio/iogetwline.c: Likewise.
10063 * libio/iopadn.c: Likewise.
10064 * libio/iopopen.c: Likewise.
10065 * libio/ioseekoff.c: Likewise.
10066 * libio/ioseekpos.c: Likewise.
10067 * libio/iosetbuffer.c: Likewise.
10068 * libio/iosetvbuf.c: Likewise.
10069 * libio/ioungetc.c: Likewise.
10070 * libio/ioungetwc.c: Likewise.
10071 * libio/iovdprintf.c: Likewise.
10072 * libio/iovsprintf.c: Likewise.
10073 * libio/iovsscanf.c: Likewise.
10074 * libio/memstream.c: Likewise.
10075 * libio/obprintf.c: Likewise.
10076 * libio/oldfileops.c: Likewise.
10077 * libio/oldiofclose.c: Likewise.
10078 * libio/oldiofdopen.c: Likewise.
10079 * libio/oldiofopen.c: Likewise.
10080 * libio/oldiopopen.c: Likewise.
10081 * libio/oldstdfiles.c: Likewise.
10082 * libio/putc.c: Likewise.
10083 * libio/setbuf.c: Likewise.
10084 * libio/setlinebuf.c: Likewise.
10085 * libio/stdfiles.c: Likewise.
10086 * libio/strops.c: Likewise.
10087 * libio/vasprintf.c: Likewise.
10088 * libio/vscanf.c: Likewise.
10089 * libio/vsnprintf.c: Likewise.
10090 * libio/vswprintf.c: Likewise.
10091 * libio/wfiledoalloc.c: Likewise.
10092 * libio/wfileops.c: Likewise.
10093 * libio/wgenops.c: Likewise.
10094 * libio/wmemstream.c: Likewise.
10095 * libio/wstrops.c: Likewise.
10096 * libio/__fpurge.c: Likewise.
10097 * libio/__fsetlocking.c: Likewise.
10098 * assert/assert.c: Likewise.
10099 * debug/fgets_chk.c: Likewise.
10100 * debug/fgets_u_chk.c: Likewise.
10101 * debug/fread_chk.c: Likewise.
10102 * debug/fread_u_chk.c: Likewise.
10103 * debug/gets_chk.c: Likewise.
10104 * debug/obprintf_chk.c: Likewise.
10105 * debug/vasprintf_chk.c: Likewise.
10106 * debug/vdprintf_chk.c: Likewise.
10107 * debug/vsnprintf_chk.c: Likewise.
10108 * debug/vsprintf_chk.c: Likewise.
10109 * malloc/mtrace.c: Likewise.
10110 * misc/error.c: Likewise.
10111 * misc/syslog.c: Likewise.
10112 * stdio-common/asprintf.c: Likewise.
10113 * stdio-common/fxprintf.c: Likewise.
10114 * stdio-common/getw.c: Likewise.
10115 * stdio-common/isoc99_fscanf.c: Likewise.
10116 * stdio-common/isoc99_scanf.c: Likewise.
10117 * stdio-common/isoc99_vfscanf.c: Likewise.
10118 * stdio-common/isoc99_vscanf.c: Likewise.
10119 * stdio-common/isoc99_vsscanf.c: Likewise.
10120 * stdio-common/printf-prs.c: Likewise.
10121 * stdio-common/printf_fp.c: Likewise.
10122 * stdio-common/printf_fphex.c: Likewise.
10123 * stdio-common/printf_size.c: Likewise.
10124 * stdio-common/putw.c: Likewise.
10125 * stdio-common/scanf.c: Likewise.
10126 * stdio-common/sprintf.c: Likewise.
10127 * stdio-common/tmpfile.c: Likewise.
10128 * stdio-common/vfprintf.c: Likewise.
10129 * stdio-common/vfscanf.c: Likewise.
10130 * stdlib/strfmon_l.c: Likewise.
10131 * sunrpc/openchild.c: Likewise.
10132 * sunrpc/xdr_stdio.c: Likewise.
10133 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10134 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10135
10136 2012-05-24 Roland McGrath <roland@hack.frob.com>
10137
10138 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10139
10140 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10141 in the third column, to generate for the shared library an IFUNC
10142 that uses _dl_vdso_vsym.
10143 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10144 * Makeconfig (object-suffixes-noshared): New variable.
10145
10146 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10147 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10148 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10149 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10150
10151 [BZ #14132]
10152 * include/sys/time.h (__gettimeofday): Remove macro.
10153 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10154 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10155 Remove INTDEF.
10156 (__gettimeofday): Add libc_hidden_def.
10157 (gettimeofday): Add libc_hidden_weak.
10158 * sysdeps/mach/gettimeofday.c: Likewise.
10159 * sysdeps/posix/gettimeofday.c: Likewise.
10160 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10161 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10163 (__gettimeofday_internal): Remove strong_alias.
10164 (__gettimeofday): Add libc_hidden_def.
10165 (gettimeofday): Add libc_hidden_weak.
10166 * sysdeps/unix/syscalls.list (gettimeofday):
10167 Remove __gettimeofday_internal alias.
10168
10169 2012-05-24 Daniel Jacobowitz <drow@false.org>
10170 H.J. Lu <hongjiu.lu@intel.com>
10171
10172 [BZ #12495]
10173 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10174 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10175 (largebin_index_32_big): New.
10176 (largebin_index): Use it for 16-byte alignment.
10177 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10178 correction with front_misalign.
10179
10180 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10181
10182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10184 Likewise.
10185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10186 Likewise.
10187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10188 Likewise.
10189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10190 Likewise.
10191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10192 Likewise.
10193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10194 Likewise.
10195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10196 Likewise.
10197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10198 Likewise.
10199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10200 Likewise.
10201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10202 Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10204 Likewise.
10205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10206 Likewise.
10207
10208 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10209 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10210
10211 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10212
10213 [BZ #10846]
10214 [BZ #14036]
10215 * math/libm-test.inc (exp_test): Add test from bug 14036.
10216 (pow_test): Add test from bug 10846.
10217
10218 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10219 and other flags.
10220 (special_function): Do not include flags in test name.
10221 (parse_args): Likewise.
10222 * sysdeps/i386/fpu/libm-test-ulps: Update.
10223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10224 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10225 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227
10228 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10229 exceptions.
10230 * math/libm-test.inc ("Philosophy"): Update comment about
10231 exception testing.
10232 (UNDERFLOW_EXCEPTION): New macro.
10233 (UNDERFLOW_EXCEPTION_OK): Likewise.
10234 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10235 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10236 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10237 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10238 (INVALID_EXCEPTION_OK): Update value.
10239 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10240 (OVERFLOW_EXCEPTION_OK): Likewise.
10241 (IGNORE_ZERO_INF_SIGN): Likewise.
10242 (test_exceptions): Handle underflow exceptions.
10243 (acos_test): Update for underflow exception expectations.
10244 (cexp_test): Likewise.
10245 (clog_test): Likewise.
10246 (clog10_test): Likewise.
10247 (csqrt_test): Likewise.
10248 (ctan_test): Likewise.
10249 (ctanh_test): Likewise.
10250 (exp_test): Likewise.
10251 (exp10_test): Likewise.
10252 (exp2_test): Likewise.
10253 (expm1_test): Likewise.
10254 (fma_test): Likewise.
10255 (j0_test): Likewise.
10256 (jn_test): Likewise.
10257 (nexttoward_test): Likewise.
10258 (pow_test): Likewise.
10259 (scalbn_test): Likewise.
10260 (scalbln_test): Likewise.
10261 (tan_test): Likewise.
10262 (y1_test): Likewise.
10263 * sysdeps/i386/fpu/libm-test-ulps: Update.
10264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10265
10266 2012-05-23 David S. Miller <davem@davemloft.net>
10267
10268 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10269 (__libc_sigaction): Remove unused local variables.
10270
10271 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10274
10275 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10276
10277 mktime: avoid signed integer overflow
10278 * time/mktime.c (__mktime_internal): Do not mishandle the case
10279 where diff == INT_MIN.
10280
10281 mktime: simplify computation of average
10282 * time/mktime.c (ranged_convert): Use new time_t_avg function
10283 instead of rolling our own (probably-slower) code.
10284
10285 mktime: do not assume signed right shift propagates sign bit
10286 * time/mktime.c (isdst_differ): New static function.
10287 (__mktime_internal): No need to normalize tm_isdst now.
10288 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10289 tm_isdst values.
10290
10291 mktime: merge another wrapv change from gnulib
10292 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10293 from some compilers.
10294
10295 mktime: remove incorrect attempt at unusual arithmetics
10296 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10297 The code didn't really work on such machines anyway.
10298 (TYPE_MINIMUM): Assume two's complement.
10299 (twos_complement_arithmetic): Verify that long_int and time_t
10300 are two's complement (or unsigned, in the latter case).
10301
10302 mktime: check signed shifts on long_int and time_t, too
10303 * time/mktime.c (SHR): Check that shifts work as desired
10304 on the types long_int and time_t too, as SHR is used on
10305 such types.
10306
10307 mktime: do not assume 'long' is wide enough
10308 * time/mktime.c (verify): Move decl up.
10309 (long_int): New type.
10310 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10311 to remove assumption in the code that 'long' is wide enough to
10312 store year values. This assumption is not true on x32 and on
10313 some non-glibc platforms.
10314
10315 mktime: merge wrapv change from gnulib
10316 * time/mktime.c (WRAPV): New macro.
10317 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10318 (guess_time_tm, __mktime_internal): Do not assume that signed
10319 integer overflow wraps around; modern compilers generate code
10320 where this assumption is no longer valid.
10321
10322 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10323
10324 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10325 Replace "jmp L(pseudo_end)" with "ret".
10326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10327 Likewise.
10328
10329 2012-05-23 Andreas Jaeger <aj@suse.de>
10330
10331 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10332 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10333
10334 2012-05-23 Andreas Jaeger <aj@suse.de>
10335 Maximilian Attems <max@stro.at>
10336
10337 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10338 New macros.
10339
10340 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10343 code so that pseudo_end is just ret and the stack pointer is
10344 correct also for static library in error case.
10345
10346 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10347
10348 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10349 move to syscalls.list.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10354
10355 * manual/install.texi (Running make install): Do not mention Linux
10356 kernel version for which pt_chown is not needed.
10357 (Linux): Do not mention problems with nscd with 2.0 kernels.
10358 * INSTALL: Regenerated.
10359
10360 2012-05-23 Andreas Jaeger <aj@suse.de>
10361
10362 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10363 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10364 macro.
10365 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10366 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10367 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10369 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10375 * sysdeps/unix/sysv/linux/bits/in.h
10376 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10377
10378 2012-05-22 Roland McGrath <roland@hack.frob.com>
10379
10380 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10381 (PREPARE_VERSION): Just use assert instead, it will be elided
10382 under [NDEBUG] anyway.
10383
10384 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10385
10386 * sysdeps/unix/sysv/linux/Makefile: Include
10387 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10388 (sysdep_routines): Remove sysctl.
10389 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10390 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10391 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10393 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10394
10395 2012-05-22 Andreas Jaeger <aj@suse.de>
10396
10397 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10398 that pseudo_end is just ret and the stack pointer is correct also
10399 for static library in error case.
10400
10401 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10402
10403 [BZ #14122]
10404 * nss/nsswitch.c (defconfig_entries): New variable.
10405 (__nss_database_lookup): Don't leak defconfig entries.
10406 (nss_parse_service_list): Don't leak on error paths.
10407 (free_database_entries): New function.
10408 (free_defconfig): New function.
10409 (free_mem): Move common code to free_database_entries.
10410
10411 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10412
10413 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10414 Add arch_prctl.
10415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10416
10417 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10418 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10420 New macro.
10421 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10422 (INTERNAL_SYSCALL_TYPES): Likewise.
10423 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10424 (LOAD_REGS_TYPES_[1-6]): Likewise.
10425 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10426 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10427
10428 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10429
10430 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10431 copysignl for GLIBC_2_0.
10432 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10433 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10435 logbl for GLIBC_2_0.
10436 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10437 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10438
10439 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10440
10441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10442 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10443
10444 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10445 Use "neg %eax".
10446
10447 * time/mktime.c: Update copyright years.
10448
10449 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10450
10451 mktime: merge comment-quoting-style change from gnulib
10452 * time/mktime.c: Quote 'like this' in comments.
10453 The GNU coding standards suggest that we no longer quote `like this',
10454 as "`" and "'" are typically rendered asymmetrically nowadays.
10455 The typical gnulib style is to quote 'like this' when quoting
10456 code, and "like this" when quoting English.
10457
10458 * time/mktime.c (compile-command): Add "-I.".
10459
10460 mktime: merge mktime-internal.h change from gnulib
10461 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10462
10463 mktime: merge time_r change from gnulib
10464 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10465
10466 mktime: merge DEBUG change from gnulib
10467 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10468 case system <time.h> has a #define.
10469
10470 mktime: merge <sys/types.h> change from gnulib
10471 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10472 since <time.t> is now guaranteed to define time_t.
10473
10474 mktime: merge HAVE_CONFIG_H change from gnulib
10475 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10476
10477 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10480 Use "neg %eax".
10481
10482 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10483 __rlim_t cast.
10484 (struct rusage): Use anonymous union to pad each field to
10485 __syscall_slong_t.
10486
10487 2012-05-21 David S. Miller <davem@davemloft.net>
10488
10489 * Makefules (o-iterator): Remove .s cases.
10490 (compile-command.s): Delete.
10491 (COMPILE.s): Delete.
10492 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10493
10494 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10495
10496 * configure.in (libc_cv_predef_stack_protector): Only consider
10497 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10498 * configure: Regenerated.
10499
10500 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10501
10502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10503 New macro. Use R*LP on int and pointer.
10504 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10505 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10506 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10508
10509 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10510 [__WORDSIZE_TIME64_COMPAT32] instead of
10511 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10512 (struct utmp): Likewise.
10513 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10514 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10515 Renamed to ...
10516 (__WORDSIZE_TIME64_COMPAT32): This.
10517 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10518 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10519 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10520 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10521 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10522 (__WORDSIZE_TIME64_COMPAT32): New macro.
10523
10524 2012-05-21 Andreas Jaeger <aj@suse.de>
10525
10526 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10527 only if [SHARED]. Add prototype for __wcschr_ia32.
10528
10529 2012-05-21 Roland McGrath <roland@hack.frob.com>
10530
10531 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10532 of %rbp unmolested in the jmp_buf while mangling the low bits.
10533 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10534 unmolested high bits of %rbp while demangling the low bits.
10535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10536
10537 2012-05-21 Andreas Jaeger <aj@suse.de>
10538
10539 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10540 * sunrpc/svc_simple.c: Use it for registerrpc.
10541 * sunrpc/xcrypt.c: Use it for passwd2des.
10542
10543 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10544
10545 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10548 Don't define if [__SYSCALL_WORDSIZE != 32].
10549 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10550 New macro.
10551
10552 2012-05-21 Bruno Haible <bruno@clisp.org>
10553 Andreas Jaeger <aj@suse.de>
10554
10555 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10556 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10557 inptr and inend for must_buffer_ch.
10558 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10559 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10560 * stdio-common/Makefile (tests): Remove bug15.
10561 (bug15-ENV): Remove macro.
10562 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10563 anymore.
10564
10565 2012-05-19 Andreas Jaeger <aj@suse.de>
10566 Roland McGrath <roland@hack.frob.com>
10567
10568 * manual/contrib.texi: Completely rewritten. It contains now an
10569 alphabetical list of contributors and their contributions.
10570
10571 2012-05-21 Richard Henderson <rth@twiddle.net>
10572
10573 * misc/getauxval.c (__getauxval): Use unsigned long int.
10574 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10575 (getauxval): Use unsigned long int.
10576
10577 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10578
10579 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10580
10581 2012-05-21 Roland McGrath <roland@hack.frob.com>
10582
10583 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10584 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10585 __alignof__ (long double).
10586
10587 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588
10589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10590
10591 2012-05-20 Richard Henderson <rth@twiddle.net>
10592
10593 * misc/getauxval.c: New file.
10594 * misc/sys/auxv.h: New file.
10595 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10596 (routines): Add getauxval.
10597 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10598 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10599 * elf/dl-sysdep.c (_dl_auxv): Remove.
10600 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10601 * elf/dl-support.c (_dl_auxv): New variable.
10602 (_dl_aux_init): Initialize it.
10603 * manual/startup.texi (Auxiliary Vector): New node.
10604 * sysdeps/generic/bits/hwcap.h: New file.
10605 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10606 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10607 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10608 * sysdeps/sparc/sysdep.h: ... here. Include it.
10609 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10612 Update.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10616 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10621
10622 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10623
10624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10625
10626 2012-05-19 David S. Miller <davem@davemloft.net>
10627
10628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10629
10630 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10631
10632 [BZ #14123]
10633 * math/s_ccosh.c: Include <float.h>
10634 (__ccosh): Avoid internal overflow calculating sinh and cosh
10635 values before multiplying by sin and cos values.
10636 * math/s_ccoshf.c: Likewise.
10637 * math/s_ccoshl.c: Likewise.
10638 * math/s_csin.c: Likewise.
10639 * math/s_csinf.c: Likewise.
10640 * math/s_csinl.c: Likewise.
10641 * math/s_csinh.c: Likewise.
10642 * math/s_csinhf.c: Likewise.
10643 * math/s_csinhl.c: Likewise.
10644 * math/libm-test.inc (ccos_test): Add more tests.
10645 (ccosh_test): Likewise.
10646 (csin_test): Likewise.
10647 (csinh_test): Likewise.
10648 * sysdeps/i386/fpu/libm-test-ulps: Update.
10649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10650
10651 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10652
10653 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10654 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10655
10656 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10657
10658 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10659
10660 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10661 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10662 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10663 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10664 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10665 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10666 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10667 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10668 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10669 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10670 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10671 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10672 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10673 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10674 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10675 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10676 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10677 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10678 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10679 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10680 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10681 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10682 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10683 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10684 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10685 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10686 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10687 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10688 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10689 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10690 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10691
10692 2012-05-18 Andreas Jaeger <aj@suse.de>
10693
10694 * csu/.gitignore: Delete.
10695
10696 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10699 (timex): Use __syscall_slong_t.
10700
10701 2012-05-18 Andreas Jaeger <aj@suse.de>
10702 Carlos O'Donell <carlos_odonell@mentor.com>
10703
10704 * manual/install.texi (Configuring and compiling): Update
10705 description about files modified in the source directory.
10706 * INSTALL: Regenerated.
10707
10708 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10709
10710 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10711 value. Use "or" to set return value to -1.
10712 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10713 negate return value.
10714
10715 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10716
10717 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10718 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10719 failure if the compiler has Graphite support disabled.
10720 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10721 Likewise.
10722 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10723 CFLAGS-memmove.c): Likewise.
10724 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10725 Likewise.
10726
10727 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10728
10729 * sysdeps/x86_64/x32/_itoa.h: New file.
10730
10731 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10732 getdents system call only if kernel and user dirents have the
10733 same d_ino and d_off.
10734
10735 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10736 LLONG_MAX != LONG_MAX.
10737 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10738 (_fitoa_word): Likewise.
10739
10740 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10741 years.
10742 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10743 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10744 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10745
10746 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10747 include <bits/wordsize.h>. Check __x86_64__ instead of
10748 __WORDSIZE.
10749 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10750 if __x86_64__ is defined. Use anonymous union on fpstate.
10751
10752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10753 anonymous union.
10754
10755 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10756
10757 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10758 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10759 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10760 Refer to _rtld_local_ro instead of _rtld_global_ro.
10761 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10762 Likewise.
10763 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10764 Likewise.
10765 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10766 Likewise.
10767 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10768 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10769 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10770
10771 * sysdeps/powerpc/powerpc32/dl-machine.c
10772 (__elf_machine_runtime_setup) [PROF]: Don't reference
10773 _dl_prof_resolve.
10774
10775 2012-05-18 Andreas Jaeger <aj@suse.de>
10776
10777 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10778 function only available for GCCs before 3.4 since GCC 3.4
10779 introduced a builtin.
10780 (lrint): Likewise.
10781 (llrintf): Likewise.
10782 (llrint): Likewise.
10783 (fmaxf): Likewise.
10784 (fmax): Likewise.
10785 (fminf): Likewise.
10786 (fmin): Likewise.
10787 (rint): Likewise.
10788 (rintf): Likewise.
10789 (nearbyint): Likewise.
10790 (nearbyintf): Likewise.
10791 (ceil): Likewise.
10792 (ceilf): Likewise.
10793 (floor): Likewise.
10794 (floorf): Likewise.
10795
10796 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10799 on both fields and cast pointer to __syscall_ulong_t.
10800
10801 * bits/types.h (__fsword_t): New type.
10802 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10803 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10805 (__FSWORD_T_TYPE): Likewise.
10806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10807 (__FSWORD_T_TYPE): Likewise.
10808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10809 (__FSWORD_T_TYPE): Likewise.
10810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10811 (__FSWORD_T_TYPE): Likewise.
10812 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10813 __SWORD_TYPE with __fsword_t.
10814 (statfs64): Likewise.
10815
10816 2012-05-17 David S. Miller <davem@davemloft.net>
10817
10818 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10819
10820 2012-05-17 Andreas Jaeger <aj@suse.de>
10821
10822 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10823 warning.
10824
10825 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10826
10827 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10828
10829 2012-05-17 Andreas Jaeger <aj@suse.de>
10830
10831 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10832 when it is used.
10833
10834 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10835
10836 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10837
10838 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10839
10840 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10841 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10842
10843 2012-05-17 Andreas Jaeger <aj@suse.de>
10844 Carlos O'Donell <carlos_odonell@mentor.com>
10845
10846 [BZ #14059]
10847 * sysdeps/x86_64/multiarch/init-arch.h
10848 (bit_YMM_Usable): Rename to...
10849 (bit_AVX_Usable): ... this.
10850 (bit_FMA4_Usable): New macro.
10851 (bit_XMM_state): New macro.
10852 (bit_YMM_state): New macro.
10853 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10854 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10855 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10856 (CPUID_OSXSAVE): New macro.
10857 (CPUID_AVX): New macro.
10858 (CPUID_FMA4): New macro.
10859 (index_YMM_Usable): Rename to...
10860 (index_AVX_Usable): ... this.
10861 (HAS_AVX): Use HAS_ARCH_FEATURE.
10862 (HAS_FMA4): Likewise.
10863 (HAS_YMM_USABLE): Remove.
10864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10865 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10866 are present.
10867 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10868 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10869 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10870 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10871 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10872
10873 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10874
10875 * math/libm-test.c: Support platforms without multiple rounding modes.
10876 * math/bug-nextafter.c: Support platforms without FP exceptions.
10877 * math/bug-nexttoward.c: Likewise.
10878 * math/test-fenv.c: Likewise.
10879 * math/test-misc.c: Likewise.
10880 * stdlib/bug-getcontext.c: Likewise.
10881
10882 2012-05-17 Andreas Jaeger <aj@suse.de>
10883
10884 * manual/examples/search.c (critter_cmp): Change signature to
10885 avoid warnings.
10886 * manual/string.texi (Collation Functions): Likewise.
10887
10888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10889
10890 * bits/types.h: Fold copyright years.
10891 * bits/typesizes.h: Likewise.
10892 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10896 * time/time.h: Likewise.
10897
10898 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10899
10900 [BZ #208]
10901 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10902 in instead of returning them. Return void.
10903 (__libc_mallinfo): Accumulate over all arenas.
10904 (__malloc_stats): Adjust for change in int_mallinfo interface.
10905
10906 2012-05-16 Roland McGrath <roland@hack.frob.com>
10907
10908 [BZ #10375]
10909 * configure.in (NM): Add AC_CHECK_TOOL for it.
10910 (libc_extra_cflags): New substituted variable.
10911 Check for -fstack-protector being used implicitly.
10912 * configure: Regenerated.
10913 * config.make.in (config-extra-cflags): New variable,
10914 gets @libc_extra_cflags@.
10915 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10916
10917 [BZ #10375]
10918 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10919 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10920 * configure: Regenerated.
10921 * config.make.in (CPPUNDEFS): New substituted variable.
10922 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10923 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10924 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10925
10926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10927
10928 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10929 (mq_attr): Use __syscall_slong_t.
10930
10931 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10932
10933 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10934 Check __x86_64__ instead of __WORDSIZE.
10935 (_STAT_VER_LINUX): Likewise.
10936 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10937 __syscall_ulong_t and __syscall_slong_t.
10938 (stat64): Likewise.
10939
10940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10941
10942 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10943
10944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10947
10948 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10949
10950 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10951 __syscall_ulong_t.
10952
10953 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10954 include <bits/wordsize.h>. Check __x86_64__ instead of
10955 __WORDSIZE.
10956 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10957 defined.
10958 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10959
10960 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10961 include <bits/wordsize.h>. Check __x86_64__ instead of
10962 __WORDSIZE.
10963 (user_regs_struct): Use "__extension__ unsigned long long"
10964 instead of "unsigned long" if __x86_64__ is defined.
10965 (user): Likewise. Pad after pointer field if __ILP32__ is
10966 defined.
10967
10968 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10969
10970 * configure.in (makeinfo): Require version 4.5 or later. Allow
10971 versions 5 to 9.
10972 * configure: Regenerated.
10973 * manual/install.texi (texinfo): Increase version requirement to
10974 4.5 or later.
10975 * INSTALL: Regenerated.
10976
10977 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10978
10979 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10980
10981 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10982
10983 * sysdeps/x86_64/x32/ffs.c: New file.
10984
10985 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10986 __syscall_ulong_t.
10987 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10988 defined. Use __syscall_ulong_t.
10989 (shminfo): Use __syscall_ulong_t.
10990 (shm_info): Likewise.
10991
10992 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10993 __syscall_ulong_t.
10994
10995 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10996 <bits/wordsize.h>.
10997 (msgqnum_t): Use __syscall_ulong_t.
10998 (msglen_t): Likewise.
10999 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11000 __syscall_ulong_t.
11001
11002 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11004
11005 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11006
11007 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11008 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11009
11010 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11011 __syscall_slong_t.
11012
11013 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11014 include <bits/wordsize.h>. Check __x86_64__ instead of
11015 __WORDSIZE.
11016
11017 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11018 "unsigned long long int" if __x86_64__ is defined.
11019 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11020
11021 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11023 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11024
11025 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11026 <stdint.h>.
11027 (GET_PC): Cast to uintptr_t first.
11028 (GET_FRAME): Likewise.
11029 (GET_STACK): Likewise.
11030
11031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11032 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11034 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11036 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11037 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11038 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11039 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11043 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11048 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11060
11061 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11062
11063 * Makerules (+depfiles): Also collect depfiles from .oS in
11064 $(extra-objs).
11065 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11066 .oS, $(libnldbl-routines)).
11067
11068 * Makerules (native-compile-mkdep-flags): Define.
11069 * sunrpc/Makefile (extra-objs): Add $(addprefix
11070 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11071 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11072 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11073 calling $(make-target-directory).
11074
11075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11076
11077 * bits/types.h (__snseconds_t): Removed.
11078 * time/time.h (struct timespec): Replace __snseconds_t with
11079 __syscall_slong_t.
11080 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11081 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11082 Likewise.
11083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11084 (__SNSECONDS_T_TYPE): Likewise.
11085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11086 (__SNSECONDS_T_TYPE): Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11088 (__SNSECONDS_T_TYPE): Likewise.
11089
11090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * sysdeps/mach/hurd/bits/typesizes.h
11093 (__SYSCALL_SLONG_TYPE): New macro.
11094 (__SYSCALL_ULONG_TYPE): Likewise.
11095
11096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11097
11098 * bits/types.h (__syscall_slong_t): New type.
11099 (__syscall_ulong_t): Likewise.
11100
11101 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11102 (__SYSCALL_ULONG_TYPE): Likewise.
11103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11104 (__SYSCALL_SLONG_TYPE): Likewise.
11105 (__SYSCALL_ULONG_TYPE): Likewise.
11106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11107 (__SYSCALL_SLONG_TYPE): Likewise.
11108 (__SYSCALL_ULONG_TYPE): Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11110 (__SYSCALL_SLONG_TYPE): Likewise.
11111 (__SYSCALL_ULONG_TYPE): Likewise.
11112
11113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11114
11115 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11116 Add sigaltstack-offsets.sym.
11117 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11118 <sigaltstack-offsets.h>.
11119 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11120 longjmp_msg pointer.
11121 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11122 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11123 signal stack.
11124 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11125
11126 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11127
11128 * elf/stackguard-macros.h: Remove file.
11129 * sysdeps/generic/stackguard-macros.h: New file.
11130 * sysdeps/i386/stackguard-macros.h: Likewise.
11131 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11132 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11133 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11134 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11135 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11136 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11137 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11138 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11139 <elf/stackguard-macros.h>.
11140
11141 [BZ #14109]
11142 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11143 __aligned__ in attribute.
11144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11145 (gregset_t): Likewise.
11146
11147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11148
11149 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11150 * sysdeps/x86_64/64/Implies-after: Here. New file.
11151 * sysdeps/x86_64/x32/Implies-after: New file.
11152
11153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11156 and access return value for _dl_profile_fixup. Use R10_LP to
11157 load frame size.
11158
11159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11160
11161 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11162
11163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11164
11165 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11166 * sysdeps/x86_64/x32/sysdep.h: New file.
11167
11168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11169
11170 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11171 * sysdeps/x86_64/setjmp.S: Likewise.
11172
11173 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11174
11175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11176 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11177 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11179 remove unused global constant.
11180
11181 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11182
11183 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11184 include of <not-cancel.h>.
11185
11186 2012-05-15 Roland McGrath <roland@hack.frob.com>
11187
11188 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11189
11190 2012-05-15 Jeff Law <law@redhat.com>
11191 Andreas Jaeger <aj@suse.de>
11192
11193 [BZ #13594]
11194 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11195 out from...
11196 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11197 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11198 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11199 code changing __hst_map_handle.map.
11200
11201 2012-05-15 Roland McGrath <roland@hack.frob.com>
11202
11203 * configure.in (sysnames): Look for Implies-before and Implies-after
11204 files.
11205 * configure: Regenerated.
11206
11207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11210 8-byte data alignment with LP_SIZE alignment.
11211
11212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11213
11214 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11215 into R10_LP.
11216
11217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11218
11219 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11220
11221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11222
11223 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11225 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11226 Likewise.
11227 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11228
11229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11230
11231 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11232 (stackinfo_sub_sp): Likewise.
11233
11234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11235
11236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11237 RAX_LP.
11238
11239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11240
11241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11242 into R*_LP.
11243
11244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11247 sizes into R*_LP.
11248
11249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11250
11251 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11252
11253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11256 into R11_LP and load __x86_64_shared_cache_size_half into
11257 R8_LP.
11258
11259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11260
11261 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11262 R8_LP.
11263
11264 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265
11266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11267 logb for POWER7.
11268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11269 logbf for POWER7.
11270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11271 logbl for POWER7.
11272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11273 powerpc32/power7/fpu/s_logb.c via #include.
11274 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11275 powerpc32/power7/fpu/s_logbf.c via #include.
11276 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11277 powerpc32/power7/fpu/s_logbl.c via #include.
11278
11279 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11280
11281 * README.libm: Remove file.
11282
11283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11286 count for x32. Use R*_LP and omit operand-size suffix.
11287
11288 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11291 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11292 * sysdeps/x86_64/x32/shlib-versions: New file.
11293
11294 2012-05-14 Roland McGrath <roland@hack.frob.com>
11295
11296 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11297 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11298 Use _dl_fatal_printf instead.
11299
11300 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11301
11302 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11303 set if not set by the user. Do not allow for being unset.
11304 * sysdeps/unix/sysv/linux/configure: Regenerated.
11305
11306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11307
11308 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11309 the `q' suffix from lea and replace .quad with ASM_ADDR.
11310
11311 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11312
11313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11314 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11315 instead of $17.
11316 (PTR_DEMANGLE): Likewise.
11317
11318 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11321 (LP_OP): Likewise.
11322 (ASM_ADDR): Likewise.
11323 (RAX_LP): Likewise.
11324 (RBP_LP): Likewise.
11325 (RBX_LP): Likewise.
11326 (RCX_LP): Likewise.
11327 (RDI_LP): Likewise.
11328 (RSI_LP): Likewise.
11329 (RSP_LP): Likewise.
11330 (R8_LP): Likewise.
11331 (R9_LP): Likewise.
11332 (R10_LP): Likewise.
11333 (R10_LP): Likewise.
11334 (R11_LP): Likewise.
11335 (R12_LP): Likewise.
11336 (R13_LP): Likewise.
11337 (R14_LP): Likewise.
11338 (R15_LP): Likewise.
11339
11340 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11341
11342 * sysdeps/x86_64/x32/dl-machine.h: New file.
11343
11344 2012-05-14 Andreas Jaeger <aj@suse.de>
11345
11346 * manual/Makefile (subdir): Remove export of subdir.
11347 (all): Remove target.
11348 (.PHONY): Remove all from list.
11349 (mkinstalldirs): Remove.
11350 (.PHONY): Remove installdirs from list.
11351 ($(inst_infodir)/libc.info): Use make-target-directory.
11352 (installdirs): Remove.
11353 (subdir_%): Remove.
11354 (glibc-targets): Remove.
11355 (lib): Remove.
11356 (stubs): Remove.
11357 ($(objpfx)stubs ../po/manual.pot): Remove.
11358 ($(objpfx)stamp%): Remove.
11359 (make-target-directory): Remove.
11360 (subdir_install): Remove.
11361 (routines): Remove.
11362 (aux): Remove.
11363 (sources): Remove.
11364 (objects): Remove.
11365 (headers): Remove.
11366
11367 [BZ #13750]
11368 * manual/.gitignore: Remove, it's not needed anymore.
11369 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11370 all files in it.
11371 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11372 directory.
11373 (texis): Renamed to $(objpfx)texis.
11374 (texis-path): New, contains path to generated files.
11375 (chapters.%): Use texis-path for complete path, add extra argument
11376 libc-texinfo.sh.
11377 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11378 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11379 (summary,texi, stamp-summary): Use complete path of
11380 files. Generate files in build dir.
11381 (dir-add.texi): Build in build dir.
11382 (libm-err.texi,stamp-libm-err): Likewise.
11383 (version.texi, stamp-version): Likewise.
11384 (.%c.texi): Likewise.
11385 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11386 (mostlyclean): Remove target.
11387 (realclean): Remove target.
11388 (generated): Add new variable with contents from mostlyclean and
11389 realclean, remove entries duplicated in common-mostlyclean, add
11390 stamp-libm-err and stamp-version.
11391 (generated-dirs): Add libc directory.
11392 ($(inst_infodir)/libc.info): Install files from build dir.
11393
11394 * manual/install.texi (Configuring and compiling): Adjust since
11395 the info files are not part of the tar ball anymore.
11396
11397 2012-05-14 Andreas Jaeger <aj@suse.de>
11398
11399 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11400 variable.
11401
11402 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11403
11404 [BZ #13717]
11405 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11406 to 2.2.0 where earlier.
11407 * sysdeps/unix/sysv/linux/configure: Regenerated.
11408 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11409 Remove conditional code.
11410 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11411 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11412 Remove conditional code.
11413 [!__NR_lchown]: Likewise.
11414 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11415 [__NR_lchown]: Likewise.
11416 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11417 comment referencing __ASSUME_LCHOWN_SYSCALL.
11418 * sysdeps/unix/sysv/linux/i386/sigaction.c
11419 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11420 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11421 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11422 Remove conditional code.
11423 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11424 (__protocol_available): Remove #if 0 code.
11425 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11426 conditional code.
11427 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11428 * sysdeps/unix/sysv/linux/kernel-features.h
11429 (__ASSUME_GETCWD_SYSCALL): Don't define.
11430 (__ASSUME_REALTIME_SIGNALS): Likewise.
11431 (__ASSUME_PREAD_SYSCALL): Likewise.
11432 (__ASSUME_PWRITE_SYSCALL): Likewise.
11433 (__ASSUME_POLL_SYSCALL): Likewise.
11434 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11435 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11436 non-SPARC.
11437 (__ASSUME_SIOCGIFNAME): Don't define.
11438 (__ASSUME_MSG_NOSIGNAL): Likewise.
11439 (__ASSUME_SENDFILE): Define unconditionally.
11440 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11441 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11442 conditional code.
11443 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11444 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11445 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11446 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11447 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11448 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11449 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11451 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11454 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11455 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11457 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11458 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11460 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11463 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11466 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11469 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11472 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11474 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11475 Remove conditional code.
11476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11477 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11478 Remove conditional code.
11479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11480 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11481 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11482 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11483 Remove conditional code.
11484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11485 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11486 Remove conditional code.
11487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11488 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11489 Remove conditional code.
11490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11491 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11492 Remove conditional code.
11493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11494 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11495 Remove conditional code.
11496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11497 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11500 * sysdeps/unix/sysv/linux/sigaction.c
11501 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11502 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11503 * sysdeps/unix/sysv/linux/sigpending.c
11504 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11505 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11506 * sysdeps/unix/sysv/linux/sigprocmask.c
11507 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11508 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11509 * sysdeps/unix/sysv/linux/sigsuspend.c
11510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11512 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11513 (__libc_missing_rt_sigs): Remove.
11514 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11515 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11516 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11517 Remove conditional code.
11518 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11519 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11520 return 1.
11521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11522 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11524 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11525
11526 2012-05-14 Andreas Jaeger <aj@suse.de>
11527
11528 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11529 it's not used in glibc.
11530 (__coshm1): Likewise.
11531 (__acosh1p): Likewise.
11532 (__sgn): Likewise.
11533
11534 * manual/string.texi (Copying and Concatenation): Add missing
11535 variable in concat example.
11536 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11537
11538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 [BZ #14103]
11541 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11542 __builtin_clzl with __builtin_clzll.
11543
11544 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11545
11546 [BZ #14104]
11547 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11548 libc_freeres_ptr.
11549
11550 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11551
11552 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11553 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11554 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11555 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11556
11557 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11558
11559 * NEWS: Update ia64 info.
11560
11561 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11562
11563 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11564 used as bcopy.
11565
11566 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11567
11568 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11569 * sysdeps/unix/syscalls.list (dup3): Likewise.
11570 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11571 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11572
11573 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11574
11575 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11576 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11577
11578 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11579
11580 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11581 thread pointer.
11582 (TLS_IE): Use mov/add instead of movq/addq to load thread
11583 pointer.
11584 (TLS_GD_PREFIX): New.
11585 (TLS_GD): Use it.
11586
11587 2012-05-11 David S. Miller <davem@davemloft.net>
11588
11589 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11590 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11591 (_FPU_SETCW): Likewise.
11592
11593 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11594
11595 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11596 is 32-byte aligned.
11597
11598 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11599
11600 [BZ #11837]
11601 * iconvdata/gb18030.c: Update tables.
11602 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11603 characters specially.
11604 (BODY for TO_LOOP): Add encoding of missing ranges.
11605
11606 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11607
11608 [BZ #13673]
11609 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11610 * sysdeps/mach/hurd/dup3.c: Likewise.
11611 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11612 * sysdeps/powerpc/memmove.c:: Likewise.
11613
11614 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11615
11616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11617 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11618
11619 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 * elf/elf.h (R_X86_64_RELATIVE64): New.
11622 (R_X86_64_NUM): Updated.
11623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11624 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11625 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11626 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11627 tst-quad1pie tst-quad2pie
11628 (modules-names): Add tst-quadmod1 tst-quadmod2.
11629 ($(objpfx)tst-quad1): New dependency.
11630 ($(objpfx)tst-quad2): Likewise.
11631 ($(objpfx)tst-quad1pie): Likewise.
11632 ($(objpfx)tst-quad2pie): Likewise.
11633 * sysdeps/x86_64/tst-quad1.c: New file.
11634 * sysdeps/x86_64/tst-quad1pie.c: New file.
11635 * sysdeps/x86_64/tst-quad2.c: Likewise.
11636 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11637 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11638 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11639 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11640 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11641
11642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11643
11644 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11645 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11646 * streams/stropts.h (t_scalar_t): Define type.
11647
11648 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11649 (_PATH_PRESERVE): Set to "/var/lib".
11650 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11651
11652 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11653 instead of int.
11654
11655 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11656 if __dir_mkfile succeeded.
11657
11658 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11659 checking for _hurd_dtablesize. Unlock it right after having
11660 finished _hurd_dtable allocation.
11661
11662 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11663
11664 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11665 * sysdeps/mach/hurd/configure: Regenerated.
11666 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11667 special-casing to...
11668 * sysdeps/gnu/configure.in: ... this new file.
11669 * sysdeps/unix/sysv/linux/configure: Regenerated.
11670 * sysdeps/gnu/configure: New generated file.
11671
11672 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11673 for Linux: use nsec instead of usec, as well as:
11674 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11675 members of type struct timespec.
11676 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11677 New macros.
11678 (struct stat64): Likewise.
11679 (_STATBUF_ST_NSEC): New macro.
11680 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11681
11682 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11683 __strtoul_internal rather than strtoul.
11684
11685 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11686
11687 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11688 and reject them.
11689
11690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11691
11692 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11693 which preserves existing values.
11694 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11695
11696 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11697
11698 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11699 TIMEOUT values. Return EINVAL for NFDS values either negative or
11700 greater than FD_SETSIZE.
11701
11702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11703
11704 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11705 allocated, call __vm_protect to finish enabling the existing space, and
11706 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11707 allocate the remainder.
11708
11709 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11710
11711 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11712 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11713
11714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11715
11716 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11717 sysdeps/mach/hurd/readlink.c.
11718
11719 * posix/tst-sysconf.c (posix_options): Only use
11720 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11721 _POSIX_SYNCHRONIZED_IO when they are defined
11722 * sysdeps/mach/hurd/bits/posix_opt.h:
11723 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11724 (_XOPEN_REALTIME): Undefine macro.
11725 (_XOPEN_REALTIME_THREADS): Undefine macro.
11726 (_XOPEN_SHM): Undefine macro.
11727 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11728 macro to -1.
11729 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11730 macro to -1.
11731 (_POSIX_ASYNC_IO): Undefine macro.
11732 (_POSIX_PRIORITIZED_IO): Undefine macro.
11733 (_POSIX_SPIN_LOCKS): Define macro to -1.
11734
11735 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11736 SA_NODEFER, SA_RESETHAND.
11737 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11738 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11739 F_DUPFD_CLOEXEC.
11740
11741 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11742
11743 * elf/Makefile (pldd-modules): Define unconditionally.
11744
11745 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11746
11747 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11748
11749 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11750
11751 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11752 Return ENOENT when name is empty.
11753 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11754
11755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11756
11757 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11758
11759 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11760
11761 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11762
11763 Fix mlock in all cases except non-readable pages.
11764 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11765 instead of VM_PROT_ALL as parameter to __vm_wire function.
11766
11767 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11768 (__mkdir): When path is `/', just fail with EEXIST.
11769 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11770
11771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11772
11773 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11774 <sys/uio.h> (for writev).
11775 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11776 and <sys/param.h> (for MIN).
11777
11778 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11779
11780 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11781 REQUESTED_TIME. Properly set the remaining time and return EINTR
11782 if interrupted.
11783
11784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11785
11786 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11787 Depend on against $(link-rpcuserlibs).
11788
11789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11790
11791 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11792 (__libc_stack_end): Do not use attribute_relro.
11793 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11794 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11795 to libthread-provided value.
11796 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11797 attribute_relro.
11798
11799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11800
11801 [BZ #3748]
11802 * bits/libc-lock.h (__libc_once_get): New macro.
11803 * sysdeps/mach/bits/libc-lock.h: Likewise.
11804 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11806 instead of using implementation details.
11807
11808 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11809 * libio/freopen.c: Likewise.
11810 * libio/freopen64.c: Likewise.
11811 * misc/syslog.c: Likewise.
11812 * nscd/connections.c: Likewise.
11813 * nscd/netgroupcache.c: Likewise.
11814 * sysdeps/posix/getcwd.c: Likewise.
11815
11816 2012-05-10 Roland McGrath <roland@hack.frob.com>
11817
11818 * math/w_ilogbf.c: Add #include <limits.h>.
11819
11820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11821
11822 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11823 path instead of returning without unlocking.
11824
11825 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11826 immediate-write ioctls.
11827 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11828
11829 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11830
11831 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11832 __builtin_frame_address instead of making assumptions about the
11833 location of the return address relative to DATA. Force early load of
11834 the return address.
11835 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11836 __builtin_frame_address.
11837
11838 dup3 for GNU Hurd.
11839 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11840 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11841 implement dup3 and do some further code clean-ups.
11842 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11843 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11844
11845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11846
11847 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11848
11849 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11850 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11851 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11852 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11853 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11854 d->port.lock.
11855
11856 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11857 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11858 when handler == SIG_ERR, not when handler != SIG_ERR.
11859
11860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11861
11862 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11863 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11864 definitions.
11865
11866 accept4 for GNU Hurd.
11867 * include/sys/socket.h (__libc_accept4): New prototype.
11868 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11869 to implement __libc_accept4.
11870 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11871 __libc_accept4.
11872 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11873
11874 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11875 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11876 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11877 signal-defines.sym.
11878
11879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11880
11881 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11882
11883 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11884
11885 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11886 assertion on O_CLOEXEC flag.
11887 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11888 * hurd/intern-fd.c: Likewise.
11889 * hurd/port2fd.c: Likewise.
11890
11891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11892
11893 [BZ #3906]
11894 * bits/in.h (IPV6_PKTINFO): Define new macro.
11895 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11896
11897 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898
11899 [BZ #13954]
11900 [BZ #13955]
11901 [BZ #13956]
11902 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11903 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11904 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11905 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11907 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11908 * math/libm-test.inc (logb_test) : Additional logb tests.
11909
11910 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11911 Andreas Jaeger <aj@suse.de>
11912
11913 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11914 * configure: Regenerated.
11915 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11916 * config.make.in (link-obsolete-rpc): New substituted variable.
11917 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11918 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11919 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11920 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11921 so that libc.a contains the symbols.
11922 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11923 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11924 * sunrpc/auth_none.c: Likewise.
11925 * sunrpc/auth_unix.c: Likewise.
11926 * sunrpc/authdes_prot.c: Likewise.
11927 * sunrpc/authuxprot.c: Likewise.
11928 * sunrpc/clnt_gen.c: Likewise.
11929 * sunrpc/clnt_perr.c: Likewise.
11930 * sunrpc/clnt_raw.c: Likewise.
11931 * sunrpc/clnt_simp.c: Likewise.
11932 * sunrpc/clnt_tcp.c: Likewise.
11933 * sunrpc/clnt_udp.c: Likewise.
11934 * sunrpc/clnt_unix.c: Likewise.
11935 * sunrpc/des_crypt.c: Likewise.
11936 * sunrpc/des_soft.c: Likewise.
11937 * sunrpc/get_myaddr.c: Likewise.
11938 * sunrpc/key_call.c: Likewise.
11939 * sunrpc/key_prot.c: Likewise.
11940 * sunrpc/netname.c: Likewise.
11941 * sunrpc/pm_getmaps.c: Likewise.
11942 * sunrpc/pm_getport.c: Likewise.
11943 * sunrpc/pmap_clnt.c: Likewise.
11944 * sunrpc/pmap_prot.c: Likewise.
11945 * sunrpc/pmap_prot2.c: Likewise.
11946 * sunrpc/pmap_rmt.c: Likewise.
11947 * sunrpc/publickey.c: Likewise.
11948 * sunrpc/rpc_cmsg.c: Likewise.
11949 * sunrpc/rpc_common.c: Likewise.
11950 * sunrpc/rpc_dtable.c: Likewise.
11951 * sunrpc/rpc_prot.c: Likewise.
11952 * sunrpc/rpc_thread.c: Likewise.
11953 * sunrpc/rtime.c: Likewise.
11954 * sunrpc/svc.c: Likewise.
11955 * sunrpc/svc_auth.c: Likewise.
11956 * sunrpc/svc_raw.c: Likewise.
11957 * sunrpc/svc_run.c: Likewise.
11958 * sunrpc/svc_tcp.c: Likewise.
11959 * sunrpc/svc_udp.c: Likewise.
11960 * sunrpc/svc_unix.c: Likewise.
11961 * sunrpc/svcauth_des.c: Likewise.
11962 * sunrpc/xcrypt.c: Likewise.
11963 * sunrpc/xdr.c: Likewise.
11964 * sunrpc/xdr_array.c: Likewise.
11965 * sunrpc/xdr_float.c: Likewise.
11966 * sunrpc/xdr_intXX_t.c: Likewise.
11967 * sunrpc/xdr_mem.c: Likewise.
11968 * sunrpc/xdr_rec.c: Likewise.
11969 * sunrpc/xdr_ref.c: Likewise.
11970 * sunrpc/xdr_sizeof.c: Likewise.
11971 * sunrpc/xdr_stdio.c: Likewise.
11972
11973 2012-05-10 Roland McGrath <roland@hack.frob.com>
11974
11975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11976 change. Update copyright years.
11977
11978 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11979
11980 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11981
11982 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11983 Joseph Myers <joseph@codesourcery.com>
11984 Paul Pluzhnikov <ppluzhnikov@google.com>
11985
11986 [BZ #14012]
11987 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11988 requiring rpcgen.
11989 [cross-compiling] (extra-libs): Likewise.
11990 [cross-compiling] (extra-libs-others): Likewise.
11991 [cross-compiling] (librpcsvc-routines): Likewise.
11992 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11993 [cross-compiling] (omit-deps): Likewise.
11994 (sunrpc-CPPFLAGS): New variable.
11995 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11996 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11997 (cross-rpcgen-objs): New variable.
11998 (extra-objs): Append $(cross-rpcgen-objs).
11999 ($(cross-rpcgen-objs)): New rule.
12000 ($(objpfx)cross-rpcgen): Likewise.
12001 (rpcgen-cmd): Define to use $(built-program-file). Expand
12002 comment.
12003 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12004 ($(objpfx)x%.stmp): Likewise.
12005 * sunrpc/proto.h [IS_IN_build] (_): Define.
12006 [IS_IN_build] (_libc_intl_domainname): Likewise.
12007
12008 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12009
12010 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12011 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12012 and R_X86_64_TPOFF64.
12013
12014 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12015
12016 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12017 sysdeps/unix/sysv/syscalls.list.
12018 (stime): Likewise.
12019 (utime): Likewise.
12020 * sysdeps/unix/sysv/syscalls.list: Remove file.
12021
12022 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12023
12024 [BZ #3440]
12025 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12026 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12027 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12028 (__LC_IDENTIFICATION): Make these macros useful in #if
12029 expressions, as required by C99.
12030
12031 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12032
12033 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12034 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12035 after this.
12036
12037 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 * stdlib/longlong.h: Updated from GCC.
12040
12041 2012-05-09 Andreas Jaeger <aj@suse.de>
12042
12043 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12044 default is first entry.
12045 (run_mode): Set type.
12046 (main): Remove informal message about syslog.
12047 (options): Fix typo.
12048
12049 [BZ #14053]
12050 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12051 to asm.
12052 (lrint): Likewise.
12053 (llrintf): Likewise.
12054 (llrint): Likewise.
12055 (rint): Likewise.
12056 (rintf): Likewise.
12057 (nearbyint): Likewise.
12058 (nearbyintf): Likewise.
12059
12060 2012-05-09 Andreas Jaeger <aj@suse.de>
12061 Pedro Alves <palves@redhat.com>
12062
12063 * nscd/nscd.c (run_mode): Use enum.
12064 (main): Cleanup coding style issue.
12065
12066 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12067 Andreas Jaeger <aj@suse.de>
12068
12069 * nscd/nscd.c (go_background): Replaced with...
12070 (run_mode): ... this.
12071 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12072 (options): Add -F --foreground.
12073 (main): Implement it.
12074 (parse_opt): Parse it.
12075
12076 2012-05-09 Andreas Jaeger <aj@suse.de>
12077
12078 [BZ #14083]
12079 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12080 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12081 -Wconversion warning.
12082 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12083 Likewise.
12084
12085 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12086
12087 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12088 == 0.
12089 (LC_ALL): Use macro-int-constant.
12090 (LC_COLLATE): Likewise.
12091 (LC_CTYPE): Likewise.
12092 (LC_MESSAGES): Likewise.
12093 (LC_MONETARY): Likewise.
12094 (LC_NUMERIC): Likewise.
12095 (LC_TIME): Likewise.
12096 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12097 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12099 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12100 Specify type.
12101 [C99-based standards] (float_t): Expect type.
12102 [C99-based standards] (double_t): Expect type.
12103 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12104 type.
12105 [C99-based standards] (HUGE_VALL): Likewise.
12106 [C99-based standards] (INFINITY): Likewise.
12107 [C99-based standards] (NAN): Likewise.
12108 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12109 [C99-based standards] (FP_NAN): Likewise.
12110 [C99-based standards] (FP_NORMAL): Likewise.
12111 [C99-based standards] (FP_SUBNORMAL): Likewise.
12112 [C99-based standards] (FP_ZERO): Likewise.
12113 [C99-based standards] (FP_FAST_FMA): Use
12114 optional-macro-int-constant. Specify type. Require == 1.
12115 [C99-based standards] (FP_FAST_FMAF): Likewise.
12116 [C99-based standards] (FP_FAST_FMAL): Likewise.
12117 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12118 [C99-based standards] (FP_ILOGBNAN): Likewise.
12119 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12120 Specify type.
12121 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12122 [C99-based standards] (math_errhandling): Specify type.
12123 [ISO99 || ISO11] (signgam): Do not allow.
12124 [non-C99-based standards] (copysignf): Do not allow.
12125 [non-C99-based standards] (exp2f): Likewise.
12126 [non-C99-based standards] (log2f): Likewise.
12127 [non-C99-based standards] (modff): Allow.
12128 [non-C99-based standards] (erff): Do not allow.
12129 [non-C99-based standards] (erfcf): Likewise.
12130 [non-C99-based standards] (gammaf): Likewise.
12131 [non-C99-based standards] (hypotf): Likewise.
12132 [non-C99-based standards] (j0f): Likewise.
12133 [non-C99-based standards] (j1f): Likewise.
12134 [non-C99-based standards] (jnf): Likewise.
12135 [non-C99-based standards] (lgammaf): Likewise.
12136 [non-C99-based standards] (tgammaf): Likewise.
12137 [non-C99-based standards] (y0f): Likewise.
12138 [non-C99-based standards] (y1f): Likewise.
12139 [non-C99-based standards] (ynf): Likewise.
12140 [non-C99-based standards] (isnanf): Likewise.
12141 [non-C99-based standards] (acoshf): Likewise.
12142 [non-C99-based standards] (asinhf): Likewise.
12143 [non-C99-based standards] (atanhf): Likewise.
12144 [non-C99-based standards] (cbrtf): Likewise.
12145 [non-C99-based standards] (expm1f): Likewise.
12146 [non-C99-based standards] (ilogbf): Likewise.
12147 [non-C99-based standards] (log1pf): Likewise.
12148 [non-C99-based standards] (logbf): Likewise.
12149 [non-C99-based standards] (nextafterf): Likewise.
12150 [non-C99-based standards] (remainderf): Likewise.
12151 [non-C99-based standards] (rintf): Likewise.
12152 [non-C99-based standards] (scalbf): Likewise.
12153 [non-C99-based standards] (copysignl): Likewise.
12154 [non-C99-based standards] (exp2l): Likewise.
12155 [non-C99-based standards] (log2l): Likewise.
12156 [non-C99-based standards] (modfl): Allow.
12157 [non-C99-based standards] (erfl): Do not allow.
12158 [non-C99-based standards] (erfcl): Likewise.
12159 [non-C99-based standards] (gammal): Likewise.
12160 [non-C99-based standards] (hypotl): Likewise.
12161 [non-C99-based standards] (j0l): Likewise.
12162 [non-C99-based standards] (j1l): Likewise.
12163 [non-C99-based standards] (jnl): Likewise.
12164 [non-C99-based standards] (lgammal): Likewise.
12165 [non-C99-based standards] (tgammal): Likewise.
12166 [non-C99-based standards] (y0l): Likewise.
12167 [non-C99-based standards] (y1l): Likewise.
12168 [non-C99-based standards] (ynl): Likewise.
12169 [non-C99-based standards] (isnanl): Likewise.
12170 [non-C99-based standards] (acoshl): Likewise.
12171 [non-C99-based standards] (asinhl): Likewise.
12172 [non-C99-based standards] (atanhl): Likewise.
12173 [non-C99-based standards] (cbrtl): Likewise.
12174 [non-C99-based standards] (expm1l): Likewise.
12175 [non-C99-based standards] (ilogbl): Likewise.
12176 [non-C99-based standards] (log1pl): Likewise.
12177 [non-C99-based standards] (logbl): Likewise.
12178 [non-C99-based standards] (nextafterl): Likewise.
12179 [non-C99-based standards] (remainderl): Likewise.
12180 [non-C99-based standards] (rintl): Likewise.
12181 [non-C99-based standards] (scalbl): Likewise.
12182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12183 [non-C99-based standards] (FP_*): Do not allow.
12184 [C99-based standards] (FP_*): Change to
12185 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12186 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12187 allow.
12188 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12189 (SIG_ERR): Likewise.
12190 [X/Open-based standards] (SIG_HOLD): Likewise.
12191 (SIG_IGN): Likewise.
12192 (SIGABRT): Use macro-int-constant. Specify type. Require
12193 positive value.
12194 (SIGFPE): Likewise.
12195 (SIGILL): Likewise.
12196 (SIGINT): Likewise.
12197 (SIGSEGV): Likewise.
12198 (SIGTER): Likewise.
12199 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12200 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12201 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12202 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12205 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12206 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12207 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12208 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12209 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12210 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12211 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12213 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12214 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12215 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12216 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12217 [X/Open-based standards] (SIGTRAP): Likewise.
12218 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12219 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12220 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12221 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12222 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12223 allow.
12224
12225 2012-05-08 Ian Wienand <ianw@vmware.com>
12226
12227 [BZ #14080]
12228 * time/tzset.c (__tzset_parse_tz): Update default rules for
12229 daylight time changes in the Energy Policy Act of 2005.
12230
12231 2012-05-09 Andreas Jaeger <aj@suse.de>
12232
12233 [BZ #13983]
12234 * elf/ldconfig.c (parse_conf): Change string to make clear that
12235 ldconfig only issued a warning if ld.so.conf does not exist.
12236
12237 2012-05-08 David S. Miller <davem@davemloft.net>
12238
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12240 movxtod instead of popping the value on the stack.
12241
12242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12243
12244 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12245
12246 * config.h.in: Add HAVE_ARM_PCS_VFP.
12247
12248 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12249
12250 [BZ #13979]
12251 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12252 checking but the checks are disabled for any reason.
12253
12254 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12255
12256 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12257 and ELF64_R_TYPE with ELFW(R_TYPE).
12258
12259 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12260
12261 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12262 (ulimit): Likewise.
12263
12264 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12265 (settimeofday): Likewise.
12266
12267 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12268
12269 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12270 a struct th_u2 inside the union, and move tu_block/tu_code into
12271 a new th_u3 union of tu_block/tu_code inside of that. Move
12272 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12273 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12274 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12275 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12276 (th_stuff): Change to th_u1.tu_stuff.
12277 (th_data): Define.
12278 (th_msg): Change to th_u1.th_u2.tu_data.
12279
12280 2012-05-07 David S. Miller <davem@davemloft.net>
12281
12282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12283
12284 [BZ #14074]
12285 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12286 (SETUP_PIC_REG): Use it.
12287 (SETUP_PIC_REG_LEAF): Use it.
12288
12289 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12290
12291 [BZ #13885]
12292 [BZ #13923]
12293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12294 USE_AS_EXPM1L.
12295 (EXPL_FINITE): Likewise.
12296 (FLDLOG): Likewise.
12297 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12298 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12299 e_expl.S.
12300 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12301 USE_AS_EXPM1L.
12302 (EXPL_FINITE): Likewise.
12303 (FLDLOG): Likewise.
12304 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12305 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12306 e_expl.S.
12307 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12308 test of -max_value argument for long double.
12309 * sysdeps/i386/fpu/libm-test-ulps: Update.
12310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12311
12312 2012-05-06 David S. Miller <davem@davemloft.net>
12313
12314 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12315 quad soft-float symbols whose references which are compiler
12316 generated.
12317 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12318
12319 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12320
12321 [BZ #13884]
12322 [BZ #13914]
12323 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12324 USE_AS_EXP10L.
12325 (EXPL_FINITE): Likewise.
12326 (FLDLOG): Likewise.
12327 (c0): Likewise.
12328 (c1): Likewise.
12329 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12330 Adjust comments for base varying.
12331 (__expl_finite): Change alias to EXPL_FINITE.
12332 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12333 e_expl.S.
12334 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12335 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12337 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12338 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12339 USE_AS_EXP10L.
12340 (EXPL_FINITE): Likewise.
12341 (FLDLOG): Likewise.
12342 (c0): Likewise.
12343 (c1): Likewise.
12344 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12345 Adjust comments for base varying.
12346 (__expl_finite): Change alias to EXPL_FINITE.
12347 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12348 tests for bugs.
12349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12350
12351 [BZ #14064]
12352 * math/libm-test.inc (check_float_internal): Correct ulp
12353 calculation for subnormal expected results.
12354
12355 2012-05-06 Andreas Jaeger <aj@suse.de>
12356
12357 * Makeconfig (+math-flags): New, set to -frounding-math.
12358 (+cflags): Add +math-flags so that all of glibc gets compiled with
12359 it.
12360
12361 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12362
12363 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12364
12365 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12366 Disable one test.
12367
12368 [BZ #13787]
12369 [BZ #13922]
12370 [BZ #14036]
12371 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12372 (__ieee754_expl): Allow for and saturate large arguments.
12373 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12374 (u_threshold): Likewise.
12375 (__exp): Call __ieee754_exp before checking for overflow and
12376 underflow.
12377 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12378 (u_threshold): Likewise.
12379 (__expf): Call __ieee754_expf before checking for overflow and
12380 underflow.
12381 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12382 (u_threshold): Likewise.
12383 (__expl): Call __ieee754_expl before checking for overflow and
12384 underflow.
12385 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12386 (__ieee754_expl): Allow for and saturate large arguments.
12387 * math/libm-test.inc (exp_test): Add another test. Do not allow
12388 missing overflow exception on overflow.
12389 (expm1_test): Do not allow missing overflow exception on overflow.
12390
12391 * sysdeps/i386/fpu/e_expl.c: Move to ...
12392 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12393 rather than using inline asm.
12394 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12395 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12396 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12397
12398 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12399 (nice): Likewise.
12400 (poll): Likewise.
12401 (signal): Likewise.
12402 (time): Likewise.
12403 (times): Likewise.
12404
12405 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12406
12407 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12408 sysdeps/unix/common/syscalls.list.
12409 (fchmod): Likewise.
12410 (fchown): Likewise.
12411 (ftruncate): Likewise.
12412 (getrusage): Likewise.
12413 (gettimeofday): Likewise.
12414 (setpgid): Likewise.
12415 (setregid): Likewise.
12416 (setreuid): Likewise.
12417 (sigaction): Likewise.
12418 (truncate): Likewise.
12419 (vhangup): Likewise.
12420 * sysdeps/unix/common/syscalls.list: Remove file.
12421 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12422 * sysdeps/unix/sysv/linux/Implies: Likewise.
12423
12424 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12428 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12429 Moved to ...
12430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12431 Here.
12432 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12433 to ...
12434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12435 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12436 to ...
12437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12438 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12439 to ...
12440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12441 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12442 to ...
12443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12444 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12445 to ...
12446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12447 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12448 to ...
12449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12450 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12451 to ...
12452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12453 Here.
12454 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12455 to ...
12456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12457 Here.
12458 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12459 to ...
12460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12461 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12462 Moved to ...
12463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12464 Here.
12465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12466 to ...
12467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12468
12469 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12470
12471 * sysdeps/unix/common/bits/dirent.h: Remove file.
12472 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12473
12474 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12475 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12476 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12477 * sysdeps/unix/bsd/isatty.c: Likewise.
12478 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12479 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12480 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12481
12482 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12483
12484 [BZ #13563]
12485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12486 long double comparison inaccuracies.
12487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12489
12490 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12491
12492 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12494
12495 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12496
12497 [BZ #14049]
12498 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12499 nonzero digits before rounding a hex value.
12500 * stdlib/tst-strtod.c (tests): Add another test.
12501
12502 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12503
12504 * sysdeps/s390/fpu/libm-test-ulps: Update.
12505
12506 2012-05-03 Andreas Jaeger <aj@suse.de>
12507
12508 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12509 does not get optimized out.
12510 (malloc_opt_barrier): New.
12511
12512 2012-05-03 Andreas Jaeger <aj@suse.de>
12513 Roland McGrath <roland@hack.frob.com>
12514
12515 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12516 intermediate file deletion.
12517 (generated): Add .symlist files.
12518
12519 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12520
12521 [BZ #13775]
12522 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12523 Redirect under this condition.
12524 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12525 [__USE_GNU] (__dprintf_chk): Not under this condition.
12526 [__USE_GNU] (__vdprintf_chk): Likewise.
12527 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12528 under this condition.
12529 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12530 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12531 [__USE_XOPEN2K8] (vdprintf): Likewise.
12532 [__USE_GNU] (__dprintf_chk): Not under this condition.
12533 [__USE_GNU] (__vdprintf_chk): Likewise.
12534 [__USE_GNU] (dprintf): Likewise.
12535 [__USE_GNU] (vdprintf): Likewise.
12536
12537 2012-05-03 Roland McGrath <roland@hack.frob.com>
12538
12539 * elf/Makefile (common-generated): Set this instead of generated for
12540 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12541 $(all-built-dso)-derived lists.
12542
12543 2012-05-03 Andreas Jaeger <aj@suse.de>
12544
12545 * sysdeps/i386/fpu/libm-test-ulps: Update.
12546
12547 * FAQ: Removed.
12548 * FAQ.in: Likewise.
12549 * scripts/gen-FAQ.pl: Likewise.
12550 * manual/install.texi (Installation): Point to online location of
12551 FAQ.
12552 * Makefile (files-for-dist): Remove FAQ.
12553 (FAQ): Remove.
12554
12555 2012-05-02 Allan McRae <allan@archlinux.org>
12556
12557 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12558 (LDFLAGS-reldepmod5.so): Likewise.
12559 (LDFLAGS-reldep6mod1.so): Likewise.
12560 (LDFLAGS-reldep6mod4.so): Likewise.
12561 (LDFLAGS-reldep8mod3.so): Likewise.
12562 (LDFLAGS-unload4mod1.so): Likewise.
12563 (LDFLAGS-unload4mod2.so): Likewise.
12564 (LDFLAGS-tst-initorder): Likewise.
12565 (LDFLAGS-tst-initordera2.so): Likewise.
12566 (LDFLAGS-tst-initordera3.so): Likewise.
12567 (LDFLAGS-tst-initordera4.so): Likewise.
12568 (LDFLAGS-tst-initorderb2.so): Likewise.
12569 (LDFLAGS-noload): Likewise.
12570 (LDFLAGS-next): Likewise.
12571 (LDFLAGS-order2mod1.so): Likewise.
12572 (LDFLAGS-order2mod2.so): Likewise.
12573 (LDFLAGS-tst-initorder2): Likewise.
12574 (LDFLAGS-tst-initorder2a.so): Likewise.
12575 (LDFLAGS-tst-initorder2b.so): Likewise.
12576 (LDFLAGS-tst-initorder2c.so): Likewise.
12577 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12578
12579 2012-05-02 David S. Miller <davem@davemloft.net>
12580
12581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12582
12583 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12584
12585 [BZ #14055]
12586 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12587
12588 2012-05-02 Andreas Jaeger <aj@suse.de>
12589
12590 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12591 since we manipulate rounding mode.
12592 (CPPFLAGS-test-idouble.c): Likewise.
12593 (CPPFLAGS-test-ifloat.c): Likewise.
12594 (CFLAGS-test-ldouble.c): Likewise.
12595 (CFLAGS-test-double.c): Likewise.
12596 (CFLAGS-test-float.c): Likewise.
12597 (CFLAGS-test-misc.c): Likewise.
12598 (CFLAGS-test-test-fenv.c): Likewise.
12599
12600 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12601
12602 [BZ #2550]
12603 [BZ #2570]
12604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12605 comparisons to determine direction to adjust input.
12606
12607 2012-05-01 Roland McGrath <roland@hack.frob.com>
12608
12609 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12610 output to the target.
12611
12612 * scripts/localplt.awk: New file.
12613 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12614 (check-localplt-CFLAGS): Variable removed.
12615 ($(all-built-dso:=.jmprel)): New static pattern rule.
12616 (generated): Add those targets.
12617 (localplt-built-dso): New variable.
12618 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12619
12620 * elf/check-localplt.c: File removed.
12621
12622 * scripts/check-execstack.awk: New file.
12623 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12624 (check-execstack-CFLAGS): Variable removed.
12625 ($(objpfx)check-execstack.h): Target removed.
12626 ($(objpfx)execstack-default): New target.
12627 (generated): Add that instead of check-execstack.h.
12628 ($(all-built-dso:=.phdr)): New static pattern rule.
12629 (generated): Add those targets.
12630 * elf/check-execstack.c: File removed.
12631
12632 * scripts/check-textrel.awk: New file.
12633 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12634 (check-textrel-CFLAGS): Variable removed.
12635 (all-built-dso): Use := to define.o
12636 ($(all-built-dso:=.dyn)): New static pattern rule.
12637 (generated): Add those targets.
12638 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12639 * config.make.in (READELF): New substituted variable.
12640 * elf/check-textrel.c: File removed.
12641
12642 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12643
12644 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12645 allow.
12646 * conform/data/ctype.h-data [C99-based standards] (isblank):
12647 Expect function.
12648 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12649 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12651 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12652 Specify type. Require positive value.
12653 (EILSEQ): Likewise.
12654 (ERANGE): Likewise.
12655 [ISO || POSIX] (EILSEQ): Do not expect.
12656 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12657 Specify type. Require positive value.
12658 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12659 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12660 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12661 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12662 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12663 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12664 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12665 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12666 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12667 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12668 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12669 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12670 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12671 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12672 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12673 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12674 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12675 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12676 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12677 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12678 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12679 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12680 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12681 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12682 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12684 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12685 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12688 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12689 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12690 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12691 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12692 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12693 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12694 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12695 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12696 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12697 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12701 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12702 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12703 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12704 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12707 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12708 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12709 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12710 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12711 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12712 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12713 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12714 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12715 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12718 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12719 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12720 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12721 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12722 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12723 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12724 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12726 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12727 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12728 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12729 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12730 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12731 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12732 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12733 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12734 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12735 Require >= 2.
12736 (FLT_ROUNDS): Expect as macro, not constant.
12737 (FLT_MANT_DIG): Use macro-int-constant.
12738 (DBL_MANT_DIG): Likewise.
12739 (LDBL_MANT_DIG): Likewise.
12740 (FLT_DIG): Likewise.
12741 (DBL_DIG): Likewise.
12742 (LDBL_DIG): Likewise.
12743 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12744 (DBL_MIN_EXP): Likewise.
12745 (LDBL_MIN_EXP): Likewise.
12746 (FLT_MAX_EXP): Use macro-int-constant.
12747 (DBL_MAX_EXP): Likewise.
12748 (LDBL_MAX_EXP): Likewise.
12749 (FLT_MAX_10_EXP): Likewise.
12750 (DBL_MAX_10_EXP): Likewise.
12751 (LDBL_MAX_10_EXP): Likewise.
12752 (FLT_MAX): Use macro-constant.
12753 (DBL_MAX): Likewise.
12754 (LDBL_MAX): Likewise.
12755 (FLT_EPSILON): Use macro-constant. Give upper bound.
12756 (DBL_EPSILON): Likewise.
12757 (LDBL_EPSILON): Likewise.
12758 (FLT_MIN): Likewise.
12759 (DBL_MIN): Likewise.
12760 (LDBL_MIN): Likewise.
12761 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12762 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12763 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12764 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12765 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12766 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12767 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12768 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12769 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12770 [ISO11] (FLT_TRUE_MIN): Likewise.
12771 [ISO11] (LDBL_TRUE_MIN): Likewise.
12772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12773 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12774 (SCHAR_MIN): Use macro-int-constant. Specify type.
12775 (SCHAR_MAX): Likewise.
12776 (UCHAR_MAX): Likewise.
12777 (CHAR_MIN): Likewise.
12778 (CHAR_MAX): Likewise.
12779 (MB_LEN_MAX): Use macro-int-constant.
12780 (SHRT_MIN): Use macro-int-constant. Specify type.
12781 (SHRT_MAX): Likewise.
12782 (USHRT_MAX): Likewise.
12783 (INT_MAX): Likewise.
12784 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12785 bound negative.
12786 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12787 bound with "U".
12788 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12789 bound with "L".
12790 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12791 bound negative. Suffix upper bound with "L".
12792 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12793 bound with "UL".
12794 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12795 Specify type.
12796 [C99-based standards] (LLONG_MAX): Likewise.
12797 [C99-based standards] (ULLONG_MAX): Likewise.
12798 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12799 == 0.
12800 [ISO11] (max_align_t): Require type.
12801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12802
12803 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12804 from $CFLAGS, without defining away __attribute__ calls.
12805 (checknamespace): Use $CFLAGS_namespace.
12806
12807 * conform/conformtest.pl (@keywords): Only include C99 keywords
12808 for standards based on C99 or C11.
12809
12810 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12811 Disable tests.
12812 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12813 UNIX98]: Likewise.
12814
12815 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12816 usability of symbols in #if.
12817
12818 * conform/conformtest.pl: If macro or constant types start
12819 "promoted:", expect the symbol to be of the following type
12820 promoted by the integer promotions.
12821
12822 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12823 in one place. Also handle "macro-constant".
12824
12825 * conform/conformtest.pl: Only accept expected macro values with
12826 "==". Parse all "macro" lines in one place.
12827 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12828
12829 * conform/conformtest.pl: Handle braced types on "constant" lines
12830 instead of handling "typed-constant".
12831 * conform/data/signal.h-data: Use "constant" instead of
12832 "typed-constant".
12833
12834 * conform/conformtest.pl: Handle "optional-" at start of lines in
12835 one place rather than duplicating several cases. Handle each
12836 format of "macro" line with initial "optional-".
12837
12838 * conform/conformtest.pl: Only accept expected constant or
12839 optional-constant values with "==". Parse all "constant" lines in
12840 one place. Parse all "optional-constant" lines in one place.
12841 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12842 * conform/data/fmtmsg.h-data: Likewise.
12843 * conform/data/netinet/in.h-data: Likewise.
12844 * conform/data/tar.h-data: Likewise.
12845 * conform/data/limits.h-data: Use "==" form on "constant" and
12846 "optional-constant" lines.
12847
12848 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12849 Use -std=c99 for XOPEN2K.
12850 (@knownproblems): Remove.
12851 (newtoken): Don't check %isknown.
12852
12853 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12854 Do not expect macro.
12855 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12856 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12857 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12858 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12859 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12860 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12861 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12862 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12863 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12864 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12865 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12866 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12867 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12868 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12869 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12870 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12871 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12872 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12873 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12874 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12875 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12876 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12877 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12878 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12879 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12880 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12881 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12882 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12883 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12884 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12885 [XPG3] (acosh): Likewise.
12886 [XPG3] (asinh): Likewise.
12887 [XPG3] (atanh): Likewise.
12888 [XPG3] (cbrt): Likewise.
12889 [XPG3] (expm1): Likewise.
12890 [XPG3] (ilogb): Likewise.
12891 [XPG3] (log1p): Likewise.
12892 [XPG3] (logb): Likewise.
12893 [XPG3] (nextafter): Likewise.
12894 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12895 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12896 [XPG3] (remainder): Likewise.
12897 [XPG3] (rint): Likewise.
12898 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12899 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12900 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12901 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12902 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12903 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12904 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12905 [UNIX98 || XOPEN2K] (scalb): Expect.
12906 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12907 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12908 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12909 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12910 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12911 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12912 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12913 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12914 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12915 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12916 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12917 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12918 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12919 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12920 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12921 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12922 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12923 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12924 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12925 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12926 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12927 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12928 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12929 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12930 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12931 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12932 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12933 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12934 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12935 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12936 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12937 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12938 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12939 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12940 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12941 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12942 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12943 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12944 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12945 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12946 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12947 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12948 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12949 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12950 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12951 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12952 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12953 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12954 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12955 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12956 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12957 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12958 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12959 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12960 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12961 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12962 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12963 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12964 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12965 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12966 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12967 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12968 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12969 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12970 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12971 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12972 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12973 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12975 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12976 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12977 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12978 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12979 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12980 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12981 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12982 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12983 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12984 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12985 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12986 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12987 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12988 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12989 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12990 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12991 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12996 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12997 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12998 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12999 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13000 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13001 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13032 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13033 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13039 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13042 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13043
13044 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13045 _XOPEN_SOURCE_EXTENDED for XPG4.
13046
13047 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13048
13049 * Makeconfig (localtime): Remove variable.
13050 (inst_localtime-file): Likewise.
13051
13052 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13053
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13055 Update.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13057 Update.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13059 Update.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13061 Update.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13063 Update.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13065 Update.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13067 Update.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13069 Update.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13071 Update.
13072
13073 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13074
13075 [BZ #2550]
13076 [BZ #2570]
13077 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13078 comparisons to determine direction to adjust input.
13079 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13080 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13081 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13082 Likewise.
13083 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13084 Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13086 Likewise.
13087 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13088 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13089 Likewise.
13090 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13091 Likewise.
13092 * math/libm-test.inc (nexttoward_test): Add more tests.
13093
13094 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13095
13096 [BZ #14040]
13097 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13098 in version GLIBC_2.1, not GLIBC_2.0.
13099 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13100 Likewise.
13101
13102 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13103
13104 [BZ #13942]
13105 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13106 (1 - x) * (1 + x).
13107 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13108 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13109 * math/libm-test.inc (acos_test): Add more tests.
13110 (asin_test): Likewise.
13111 * sysdeps/i386/fpu/libm-test-ulps: Update.
13112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13113
13114 [BZ #14034]
13115 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13116 of square root.
13117 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13118 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13119 * math/libm-test.inc (acos_test_tonearest): New function.
13120 (acos_test_towardzero): Likewise.
13121 (acos_test_downward): Likewise.
13122 (acos_test_upward): Likewise.
13123 (asin_test_tonearest): Likewise.
13124 (asin_test_towardzero): Likewise.
13125 (asin_test_downward): Likewise.
13126 (asin_test_upward): Likewise.
13127 (main): Call the new functions.
13128 * sysdeps/i386/fpu/libm-test-ulps: Update.
13129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13130
13131 [BZ #13884]
13132 [BZ #13924]
13133 * math/e_exp10.c: Include <float.h>.
13134 (__ieee754_exp10): Handle underflow here rather than multiplying
13135 large negative argument by M_LN10.
13136 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13137 of __ieee754_expf.
13138 * math/e_exp10l.c: Include <float.h>.
13139 (__ieee754_exp10l): Handle underflow here rather than multiplying
13140 large negative argument by M_LN10l.
13141 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13142 spurious overflow exception on underflow.
13143
13144 2012-04-29 Marek Polacek <polacek@redhat.com>
13145
13146 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13147 (__fortify_function): New macro.
13148 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13149 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13150 __extern_always_inline.
13151 * libio/bits/stdio2.h: Likewise.
13152 * libio/bits/stdio.h: Likewise.
13153 * string/string.h: Likewise.
13154 * string/bits/string3.h: Likewise.
13155 * include/stdio.h: Likewise.
13156 * stdlib/bits/stdlib.h: Likewise.
13157 * stdlib/stdlib.h: Likewise.
13158 * rt/bits/mqueue2.h: Likewise.
13159 * rt/mqueue.h: Likewise.
13160 * posix/bits/unistd.h: Likewise.
13161 * posix/unistd.h: Likewise.
13162 * io/bits/poll2.h: Likewise.
13163 * io/bits/fcntl2.h: Likewise.
13164 * io/fcntl.h: Likewise.
13165 * io/sys/poll.h: Likewise.
13166 * misc/bits/syslog.h: Likewise.
13167 * misc/bits/syslog-ldbl.h: Likewise.
13168 * misc/sys/syslog.h: Likewise.
13169 * socket/bits/socket2.h: Likewise.
13170 * socket/sys/socket.h: Likewise.
13171 * debug/tst-chk1.c: Likewise.
13172 * wcsmbs/bits/wchar2.h: Likewise.
13173 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13174 * wcsmbs/wchar.h: Likewise.
13175
13176 2012-04-29 Andreas Jaeger <aj@suse.de>
13177
13178 * Makerules (tests): Remove enable-check-abi protection.
13179 (check-abi-warn): Remove.
13180 (check-abi-%): Remove check-abi-warn usage.
13181
13182 * configure.in: Remove check-abi configure option.
13183 * configure: Regenerated.
13184 * config.make.in (enable-check-abi): Remove.
13185
13186 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13187
13188 [BZ #14033]
13189 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13190 double functions to double *_finite functions.
13191
13192 [BZ #13941]
13193 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13194 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13195 LDBL_MIN_EXP.
13196 * stdio-common/Makefile (tests): Add tst-sprintf3.
13197 * stdio-common/tst-sprintf3.c: New file.
13198
13199 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13200 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13201
13202 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13203
13204 * conform/conformtest.pl: Remove duplicate typed-constant
13205 handling.
13206
13207 2012-04-28 David S. Miller <davem@davemloft.net>
13208
13209 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13210 (check-abi-%): Remove AWK script prerequisite and explicit
13211 abilist directory.
13212 (check-abi): Rewrite to just diff the symlist with the abilist.
13213 (config-tls, config-abi-config): Delete, no longer used.
13214 (update-abi-%): Remove AWK script and explicit abilist directory.
13215 (update-abi): Rewrite to simply compare and conditionally copy the
13216 symlist and the sysdep abilist file. Remove update-abi-config
13217 checks.
13218 * abilist/ld.abilist: Remove.
13219 * abilist/libBrokenLocale.abilist: Remove.
13220 * abilist/libanl.abilist: Remove.
13221 * abilist/libcrypt.abilist: Remove.
13222 * abilist/libdl.abilist: Remove.
13223 * abilist/librt.abilist: Remove.
13224 * abilist/libthread_db.abilist: Remove.
13225 * abilist/libutil.abilist: Remove.
13226 * scripts/extract-abilist.awk: Remove.
13227 * scripts/merge-abilist.awk: Remove.
13228 * sysdeps/generic/libcidn.abilist: New file.
13229 * sysdeps/generic/libnss_compat.abilist: New file.
13230 * sysdeps/generic/libnss_db.abilist: New file.
13231 * sysdeps/generic/libnss_dns.abilist: New file.
13232 * sysdeps/generic/libnss_files.abilist: New file.
13233 * sysdeps/generic/libnss_hesiod.abilist: New file.
13234 * sysdeps/generic/libnss_nis.abilist: New file.
13235 * sysdeps/generic/libnss_nisplus.abilist: New file.
13236 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13237 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13238 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13239 file.
13240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13241 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13242 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13243 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13244 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13245 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13246 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13247 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13248 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13249 file.
13250 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13252 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13253 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13254 file.
13255 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13256 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13257 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13258 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13259 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13260 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13261 file.
13262 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13263 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13264 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13265 file.
13266 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13268 New file.
13269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13270 New file.
13271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13272 New file.
13273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13274 New file.
13275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13276 New file.
13277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13278 New file.
13279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13280 New file.
13281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13282 New file.
13283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13284 New file.
13285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13286 New file.
13287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13288 New file.
13289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13290 New file.
13291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13292 New file.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13294 file.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13296 New file.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13298 New file.
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13300 file.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13302 New file.
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13304 New file.
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13306 file.
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13308 New file.
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13310 New file.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13312 New file.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13314 New file.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13316 New file.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13318 New file.
13319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13321 file.
13322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13323 New file.
13324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13325 file.
13326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13327 file.
13328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13329 file.
13330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13331 file.
13332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13333 file.
13334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13335 New file.
13336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13337 file.
13338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13339 file.
13340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13341 New file.
13342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13343 file.
13344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13346 file.
13347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13348 New file.
13349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13350 file.
13351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13352 file.
13353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13354 file.
13355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13356 file.
13357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13358 file.
13359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13360 New file.
13361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13362 file.
13363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13364 file.
13365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13366 New file.
13367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13368 file.
13369 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13370 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13371 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13372 file.
13373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13374 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13375 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13376 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13377 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13378 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13379 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13380 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13381 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13382 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13385 file.
13386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13387 New file.
13388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13389 file.
13390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13391 file.
13392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13393 file.
13394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13395 file.
13396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13397 file.
13398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13399 New file.
13400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13401 New file.
13402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13403 file.
13404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13405 New file.
13406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13407 file.
13408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13410 file.
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13412 New file.
13413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13414 file.
13415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13416 file.
13417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13418 file.
13419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13420 file.
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13422 file.
13423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13424 New file.
13425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13426 New file.
13427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13428 file.
13429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13430 New file.
13431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13432 file.
13433
13434 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13435
13436 * conform/conformtest.pl: Fix typo in handling typed-constant from
13437 allow-header.
13438
13439 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13440
13441 * README: Cut down references to pre-2.6 Linux kernels and
13442 Linuxthreads. Update lists of configurations in libc and ports
13443 and sort alphabetically. Say "or newer" with Linux kernel version
13444 requirements.
13445
13446 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13447
13448 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13449
13450 [BZ #887]
13451 * math/libm-test.inc (logb_test_downward): New test to expose
13452 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13453 rounding mode.
13454
13455 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13456
13457 [BZ #14027]
13458 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13459 to be done.
13460 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13461 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13462
13463 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13464
13465 * sysdeps/unix/i386/brk.S: Remove file.
13466 * sysdeps/unix/i386/dl-brk.S: Likewise.
13467 * sysdeps/unix/i386/pipe.S: Likewise.
13468 * sysdeps/unix/i386/sigreturn.S: Likewise.
13469 * sysdeps/unix/i386/syscall.S: Likewise.
13470 * sysdeps/unix/i386/vfork.S: Likewise.
13471 * sysdeps/unix/i386/wait.S: Likewise.
13472
13473 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13474 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13475
13476 * configure.in (arm*-none*): Do not allow without
13477 --enable-hacker-mode.
13478 (netbsd*): Remove case setting base_os.
13479 (386bsd*): Likewise.
13480 (freebsd*): Likewise.
13481 (bsdi*): Likewise.
13482 (osf*): Likewise.
13483 (sunos*): Likewise.
13484 (ultrix*): Likewise.
13485 (newsos*): Likewise.
13486 (dynix*): Likewise.
13487 (*bsd*): Likewise.
13488 (sysv*): Likewise.
13489 (isc*): Likewise.
13490 (esix*): Likewise.
13491 (sco*): Likewise.
13492 (minix*): Likewise.
13493 (irix4*): Likewise.
13494 (irix6*): Likewise.
13495 (solaris[2-9]*): Likewise.
13496 (none): Likewise.
13497 * configure: Regenerated.
13498
13499 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13500
13501 [BZ #11521]
13502 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13503 overflow or cancellation in calculating denominator.
13504 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13506 down expression to avoid unexpected rounding in newer GCCs.
13507 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13508
13509 2012-04-26 David S. Miller <davem@davemloft.net>
13510
13511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13512 long-double compat symbols.
13513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13526
13527 2012-04-25 David S. Miller <davem@davemloft.net>
13528
13529 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13530 HWCAP_* values only after the memory barriers have been defined.
13531 (atomic_full_barrier): Define.
13532 (atomic_read_barrier): Define.
13533 (atomic_write_barrier): Define.
13534
13535 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13536
13537 * shlib-versions: Add libgcc_s version information.
13538 * sysdeps/generic/libgcc_s.h: Remove.
13539 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13540 libgcc_s.h.
13541 * sysdeps/gnu/unwind-resume.c: Likewise.
13542 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13543
13544 2012-04-25 David S. Miller <davem@davemloft.net>
13545
13546 * sysdeps/unix/sparc/brk.S: Delete.
13547 * sysdeps/unix/sparc/dl-brk.S: Delete.
13548 * sysdeps/unix/sparc/pipe.S: Delete.
13549 * sysdeps/unix/sparc/sysdep.S: Delete.
13550 * sysdeps/unix/sparc/sysdep.h: Delete.
13551 * sysdeps/unix/sparc/vfork.S: Delete.
13552 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13553 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13554 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13555 ret_ERRVAL, r0, r1, MOVE): Define.
13556 (JUMPTARGET): Remove.
13557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13558 sysdeps/unix/sparc/sysdep.h
13559 (ENTRY, END): Remove.
13560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13561
13562 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13563
13564 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13565 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13566 -DIS_IN_build.
13567
13568 * timezone/README: Update upstream location and email address for
13569 tzcode and tzdata.
13570 * timezone/zdump.c: Update from tzcode 2012b.
13571 * timezone/zic.c: Likewise.
13572
13573 * configure.in (libc_cv_as_needed): Remove test.
13574 * configure: Regenerated.
13575 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13576 conditional definition.
13577 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13578 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13579 * config.make.in (have-as-needed): Remove variable.
13580
13581 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13582 Paul Pluzhnikov <ppluzhnikov@google.com>
13583
13584 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13585 strings correctly.
13586
13587 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13588
13589 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13590 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13591 * sysdeps/sh/strlen.S: Likewise.
13592
13593 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13594
13595 * sysdeps/unix/fork.S: Remove file.
13596 * sysdeps/unix/i386/fork.S: Likewise.
13597 * sysdeps/unix/sparc/fork.S: Likewise.
13598
13599 * sysdeps/unix/system.c: Remove file.
13600 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13601
13602 * sysdeps/unix/getegid.S: Remove file.
13603 * sysdeps/unix/geteuid.S: Likewise.
13604
13605 2012-04-24 Roland McGrath <roland@hack.frob.com>
13606
13607 * scripts/check-localplt.awk: New file.
13608 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13609 of diff.
13610 * scripts/data/localplt-generic.data: Add a comment.
13611
13612 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13613 NODE when __dir_mkfile failed.
13614 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13615 Reported by Ludovic Courtès <ludo@gnu.org>.
13616
13617 2012-04-24 Andreas Jaeger <aj@suse.de>
13618
13619 * Makerules (common-clean): Also remove gen-as-const-headers
13620 files.
13621
13622 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13623
13624 * Makerules (native-compile): Do not change working directory for
13625 build. Use $(OUTPUT_OPTION) in command.
13626 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13627
13628 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13629
13630 [BZ #13886]
13631 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13632 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13633 * math/libm-test.inc (floor_test): Add more tests.
13634 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13635
13636 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13637
13638 * sysdeps/unix/getdents.c: Remove file.
13639 * sysdeps/unix/sysv/getdents.c: Likewise.
13640 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13641
13642 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13643 sysdeps/unix/mman/syscalls.list.
13644 (mmap): Likewise.
13645 (mprotect): Likewise.
13646 (msync): Likewise.
13647 (munmap): Likewise.
13648 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13649 * sysdeps/unix/mman/syscalls.list: Remove.
13650 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13651
13652 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13653 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13654 * configure: Regenerated.
13655 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13656 $(libgcc_s_suffix).
13657 * config.make.in (libgcc_s_suffix): Remove variable.
13658
13659 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13660
13661 * sysdeps/unix/sysv/gethostname.c: Move to ...
13662 * sysdeps/posix/gethostname.c: ... here.
13663
13664 * sysdeps/unix/execve.S: Remove file.
13665
13666 * sysdeps/unix/_exit.S: Remove file.
13667
13668 2012-04-23 Andreas Jaeger <aj@suse.de>
13669
13670 [BZ #13739]
13671 * manual/Makefile: Remove make dist support, there's no
13672 need for a stand-alone documentation tar ball.
13673 (TEXI2DVI): Define always, it's not in Makeconfig.
13674 (dist): Removed.
13675 (tar-it): Removed.
13676 (edition): Removed.
13677 (glibc-doc-$(edition).tar): Removed
13678 (%.Z): Removed.
13679 (%.gz): Removed.
13680 (%.uu): Removed.
13681 (ETAGS): Remove, it's in Makeconfig.
13682 (move-if-change): Remove, it's in Makeconfig.
13683
13684 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13685
13686 [BZ #13970]
13687 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13688 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13689 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13690 (strtod_l, strtof_l, strtold_l): Remove __wur.
13691 It is not necessarily an error to ignore strtol's return value.
13692 One can reliably look at the stored endptr to decide whether
13693 the number had valid syntax.
13694
13695 2012-04-21 Andreas Jaeger <aj@suse.de>
13696
13697 [BZ #13739]
13698 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13699
13700 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13701
13702 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13703 * sysdeps/unix/sysv/Versions: Remove file.
13704
13705 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13706
13707 [BZ #13927]
13708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13709
13710 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13711
13712 [BZ #7064]
13713 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13714 version from __vm86.
13715
13716 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13717
13718 * sysdeps/unix/common/lxstat.c: Remove file.
13719 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13720
13721 * sysdeps/unix/sysv/Makefile: Remove file.
13722
13723 * sysdeps/unix/sysv/direct.h: Remove file.
13724
13725 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13726 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13727 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13728 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13729 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13730 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13731 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13732
13733 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13734
13735 * sysdeps/unix/xmknod.c: Remove file.
13736 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13737
13738 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13739
13740 * sysdeps/unix/sysv/i386/time.S: Remove file.
13741
13742 * sysdeps/unix/fxstat.c: Remove file.
13743 * sysdeps/unix/xstat.c: Likewise.
13744 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13745
13746 * sysdeps/unix/sysv/sigaction.c: Remove file.
13747
13748 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13749 (sysdep_headers): Remove variable.
13750 [termio.h not in sysdep_headers] (generated): Likewise.
13751 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13752 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13753 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13754 * sysdeps/unix/sysv/tcflow.c: Likewise.
13755 * sysdeps/unix/sysv/tcflush.c: Likewise.
13756 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13757 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13758 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13759 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13760 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13761
13762 * sysdeps/unix/siglist.c: Remove file.
13763
13764 * sysdeps/unix/getppid.S: Remove file.
13765
13766 * sysdeps/unix/mkdir.c: Remove file.
13767 * sysdeps/unix/rmdir.c: Likewise.
13768
13769 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13772 ERR_MAX value.
13773 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13774 errlist-compat value.
13775
13776 2012-04-18 David S. Miller <davem@davemloft.net>
13777
13778 * sysdeps/generic/memcopy.h (reg_char): Delete.
13779 * debug/strcat_chk.c: Use char, not reg_char.
13780 * debug/strcpy_chk.c: Likewise.
13781 * debug/strncat_chk.c: Likewise.
13782 * debug/strncpy_chk.c: Likewise.
13783 * string/memchr.c: Likewise.
13784 * string/memrchr.c: Likewise.
13785 * string/rawmemchr.c: Likewise.
13786 * string/strcat.c: Likewise.
13787 * string/strchr.c: Likewise.
13788 * string/strchrnul.c: Likewise.
13789 * string/strcmp.c: Likewise.
13790 * string/strcpy.c: Likewise.
13791 * string/strncat.c: Likewise.
13792 * string/strncmp.c: Likewise.
13793 * string/strncpy.c: Likewise.
13794
13795 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13796
13797 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13798 __builtin_memcopy is called when src and dest ranges are known to not
13799 overlap.
13800
13801 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13802
13803 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13804 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13805 fwd_align_merge macro call.
13806 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13807 bwd_align_merge macro call.
13808 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13809
13810 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13811
13812 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13813 bwd_align_merge macros.
13814 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13815 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13816 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13817
13818 2012-04-18 David S. Miller <davem@davemloft.net>
13819
13820 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13821
13822 2012-04-18 Andreas Jaeger <aj@suse.de>
13823
13824 [BZ# 6794]
13825 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13826 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13827 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13828
13829 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13830 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13831 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13832
13833 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13834 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13835 Adjust for changed ldbl-128 files.
13836
13837 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13838 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13839 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13840
13841 2012-04-17 David S. Miller <davem@davemloft.net>
13842
13843 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13844
13845 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13846
13847 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13848 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13849 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13850 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13852 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13853
13854 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13855
13856 [BZ #6794]
13857 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13858 * math/libm-test.inc: Add ilogb errno and exception tests.
13859 * math/w_ilogb.c: New file: ilogb wrapper.
13860 * math/w_ilogbf.c: New file: ilogbf wrapper.
13861 * math/w_ilogbl.c: New file: ilogbl wrapper.
13862 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13863 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13864 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13865 exception being thrown with 0.0 as argument.
13866 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13867 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13868 exception being thrown with 0.0 as argument.
13869 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13870 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13871 exception being thrown with 0.0 as argument.
13872 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13873 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13874 exception being thrown with 0.0 as argument.
13875 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13876 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13877 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13878 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13879 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13880 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13881 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13882 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13883 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13884
13885 2012-04-17 Petr Baudis <pasky@ucw.cz>
13886
13887 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13888 with altivec.
13889
13890 2012-04-16 Marek Polacek <polacek@redhat.com>
13891
13892 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13893
13894 2012-04-16 Marek Polacek <polacek@redhat.com>
13895
13896 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13897 operands of fdivp instruction.
13898
13899 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13902 * elf/tst-auditmod3b.c: Likewise.
13903 * elf/tst-auditmod4b.c: Likewise.
13904 * elf/tst-auditmod5b.c: Likewise.
13905 * elf/tst-auditmod6b.c: Likewise.
13906 * elf/tst-auditmod6c.c: Likewise.
13907 * elf/tst-auditmod7b.c: Likewise.
13908 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13909 * sysdeps/x86_64/preconfigure.in: Likewise.
13910 * sysdeps/x86_64/preconfigure: Regenerated.
13911
13912 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13913
13914 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13915 __ILP32__.
13916
13917 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13918
13919 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13920 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13921
13922 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13923
13924 [BZ #13973]
13925 * locale/iso-639.def: Fix gl language name. Spotted by
13926 Yaron Shahrabani.
13927
13928 2012-04-12 Roland McGrath <roland@hack.frob.com>
13929
13930 [BZ #2074]
13931 * libio/libio.h (__io_write_fn): Update comment.
13932
13933 2012-04-12 Petr Baudis <pasky@ucw.cz>
13934
13935 [BZ #2074]
13936 * stdio.texi (Hook Functions): The user provided writer function
13937 is not allowed to return -1.
13938
13939 2012-04-11 David S. Miller <davem@davemloft.net>
13940
13941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13942
13943 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13944
13945 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13946 Add a leading slash to rtkaio.
13947
13948 2012-04-11 Jim Meyering <meyering@redhat.com>
13949
13950 [BZ #11959]
13951 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13952 It is not necessarily an error to ignore fwrite's return
13953 value. One can reliably use ferror to test for errors after
13954 the fact.
13955
13956 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13957
13958 * bits/types.h (__snseconds_t): New type.
13959 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13960
13961 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13962 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13963 (__SNSECONDS_T_TYPE): Likewise.
13964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13965 (__SNSECONDS_T_TYPE): Likewise.
13966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13967 (__SNSECONDS_T_TYPE): Likewise.
13968
13969 2012-04-10 Andreas Jaeger <aj@suse.de>
13970
13971 [BZ #2636]
13972 * manual/time.texi (Processor Time): Return type of times is
13973 elapsed real time since an arbitrary point in the past.
13974 (CPU Time): Move CLK_TCK from here...
13975 (Processor Time): ...to here. Correct description.
13976 * manual/conf.texi (Constants for Sysconf): Correct description of
13977 _SC_CLK_TCK.
13978
13979 2012-04-10 David S. Miller <davem@davemloft.net>
13980
13981 [BZ #13967]
13982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13983 where the is a gap between DT_REL(A) and DT_JMPREL.
13984
13985 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13986
13987 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13988 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13989 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13990
13991 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13992
13993 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13994 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13995 (dl_main): Handle --inhibit-cache.
13996 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13997 _dl_inhibit_cache.
13998 * elf/dl-load.c (_dl_map_object): Use it.
13999 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14000
14001 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14002
14003 [BZ #13872]
14004 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14005 (__ieee754_powl): Saturate large exponents rather than testing for
14006 overflow of y*log2(x).
14007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14008 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14009 exceptions.
14010
14011 [BZ #11521]
14012 * math/s_ctan.c: Include <float.h>.
14013 (__ctan): Avoid internal overflow or cancellation in calculating
14014 denominator.
14015 * math/s_ctanf.c: Likewise.
14016 * math/s_ctanl.c: Likewise.
14017 * math/s_ctanh.c: Likewise.
14018 * math/s_ctanhf.c: Likewise.
14019 * math/s_ctanhl.c: Likewise.
14020 * math/libm-test.inc (ctan_test): Add more tests.
14021 (ctanh_test): Likewise.
14022 * sysdeps/i386/fpu/libm-test-ulps: Update.
14023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024
14025 2012-04-09 Andreas Jaeger <aj@suse.de>
14026
14027 [BZ #6894]
14028 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14029 is an optional BSD extension.
14030
14031 [BZ #10254]
14032 * manual/stdio.texi (Opening Streams): Document additional fopen
14033 parameters.
14034
14035 2012-04-09 Roland McGrath <roland@hack.frob.com>
14036
14037 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14038 %eax without telling the compiler.
14039
14040 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14041
14042 [BZ # 13963]
14043 * manual/install.texi: Use sourceware.org.
14044
14045 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14046
14047 [BZ #13873]
14048 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14049 (__ieee754_pow): Generate overflow and underflow using huge*huge
14050 and tiny*tiny rather than just returning constant infinity or zero
14051 for large exponents.
14052 * math/libm-test.inc (pow_test): Require overflow exceptions for
14053 applicable cases of large exponents.
14054
14055 [BZ #706]
14056 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14057 (__ieee754_pow): Use iterative multiplication algorithm only for
14058 integer exponents with absolute value below 1024. Check for odd
14059 integer exponents when using algorithm for real exponents.
14060 * math/libm-test.inc (pow_test): Add more tests.
14061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14062
14063 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14064
14065 [BZ #13705]
14066 * math/libm-test.inc (exp_test): Do not allow overflow exception
14067 on underflow test.
14068
14069 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14070
14071 [BZ #13705]
14072 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14073 instead of __kernel_standard_f.
14074
14075 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14076
14077 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14078 * sysdeps/x86_64/memset_chk.S: Likewise.
14079
14080 2012-04-08 Andreas Jaeger <aj@suse.de>
14081
14082 [BZ #10153]
14083 * manual/startup.texi (Environment Access): Describe return value
14084 for putenv and setenv.
14085
14086 [BZ #6895]
14087 * manual/filesys.texi (Directory Entries): Add description for
14088 DT_LNK.
14089
14090 [BZ #6890]
14091 * manual/filesys.texi (Directory Entries): Clarify that it's file
14092 system not operating system in the description of DT_UNKNOWN.
14093
14094 [BZ #6578]
14095 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14096
14097 2012-04-08 Stephen Compall <s11@member.fsf.org>
14098
14099 [BZ #6649]
14100 * manual/llio.texi (Opening and Closing Files): Add cross
14101 reference to explain mode argument.
14102
14103 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14104
14105 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14106 * sysdeps/x86_64/memset_chk.S: Likewise.
14107
14108 2012-04-07 David S. Miller <davem@davemloft.net>
14109
14110 * elf/elf.h (R_SPARC_WDISP10): Define.
14111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14112 R_SPARC_SIZE32.
14113 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14114 R_SPARC_SIZE64 and R_SPARC_H34.
14115
14116 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14117
14118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14119 conditions and remove no longer applicable assertion.
14120
14121 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * bits/byteswap.h: Include <features.h>.
14124 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14125 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14126
14127 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14128
14129 * bits/byteswap.h (__bswap_16): Removed.
14130 Include <bits/byteswap-16.h> to get __bswap_16.
14131 * sysdeps/i386/bits/byteswap.h: Likewise.
14132 * sysdeps/s390/bits/byteswap.h: Likewise.
14133 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14134 * bits/byteswap-16.h: New file.
14135 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14136 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14137 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14138 * string/Makefile (headers): Add bits/byteswap-16.h.
14139
14140 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14141
14142 [BZ #13895]
14143 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14144 extra indirection.
14145 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14146 * nss/tst-nss-static.c: New.
14147
14148 2012-04-06 Robert Millan <rmh@gnu.org>
14149
14150 [BZ #6486]
14151 * manual/llio.texi (File Position Primitive): lseek
14152 refers to WHENCE when it really means OFFSET.
14153
14154 2012-04-06 Andreas Jaeger <aj@suse.de>
14155
14156 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14157 strncmp declarations.
14158
14159 * abilist/libc.abilist: Add __poll and __ppoll.
14160
14161 2012-04-05 David S. Miller <davem@davemloft.net>
14162
14163 * scripts/check-local-headers.sh: Accept a host triplet in the
14164 path matched by the exclude regexp.
14165
14166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14167 definition.
14168 * sysdeps/powerpc/powerpc32/dl-machine.h
14169 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14170 * sysdeps/s390/s390-32/dl-machine.h
14171 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14172 * sysdeps/sparc/sparc32/dl-machine.h
14173 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14174 * sysdeps/sparc/sparc64/dl-machine.h
14175 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14176
14177 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14178 lazy binding.
14179 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14180 undefined symbol errors.
14181
14182 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14183 DT_NEEDED entries.
14184
14185 2012-04-05 Michael Matz <matz@suse.de>
14186
14187 [BZ #13592]
14188 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14189
14190 2012-04-05 Andreas Jaeger <aj@suse.de>
14191
14192 [BZ #13908]
14193 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14194 comment.
14195
14196 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14197
14198 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14199 which ROUND is no valid rounding mode.
14200
14201 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14202
14203 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14204 read again.
14205 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14206
14207 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14208
14209 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14210 an exception using FPU order intentionally.
14211
14212 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14213
14214 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14215 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14216 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14217 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14218
14219 2012-04-05 Simon Josefsson <simon@josefsson.org>
14220
14221 [BZ #12340]
14222 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14223 EINVAL when BUFLEN is too smal.
14224
14225 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14226
14227 [BZ #13553]
14228 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14229 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14230
14231 2012-04-03 Andreas Jaeger <aj@suse.de>
14232
14233 [BZ #13938]
14234 * manual/setjmp.texi (System V contexts): Fix sentence.
14235
14236 [BZ #13926]
14237 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14238 New macro for this case.
14239 [!__GNUC__] (__bswap_64): New inline function for this case.
14240 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14241 * bits/byteswap.h: Likewise.
14242 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14243 ull, guard with __GLIBC_HAVE_LONG_LONG.
14244
14245 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14246 __GLIBC_HAVE_LONG_LONG.
14247
14248 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14249 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14250
14251 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14252
14253 [BZ #13691]
14254 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14255 inptr and inend, rather than using last_ch.
14256
14257 2012-04-02 David S. Miller <davem@davemloft.net>
14258
14259 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14260 * stdio-common/printf-parse.h (read_int): Change return type to
14261 'int', return -1 on INT_MAX overflow.
14262 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14263 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14264 overflows INT_MAX. Check for overflow of in-format-string precision
14265 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14266 SIZE_MAX not INT_MAX for integer overflow test.
14267 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14268 skip the construct in the format string but do not record anything.
14269 * stdio-common/bug22.c: Adjust to test both width/prevision
14270 INT_MAX overflow as well as total length INT_MAX overflow. Check
14271 explicitly for proper errno values.
14272
14273 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14274
14275 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14276 CHAR_MAX.
14277 * string/test-strcmp.c [! WIDE]: Likewise.
14278 * time/tst-mktime2.c: Likewise for INT_MAX.
14279 * string/test-string.h: #include <sys/param.h> for MIN.
14280
14281 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14282 * sysdeps/i386/init-first.c (init): Likewise.
14283 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14284 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14285 * sysdeps/sh/init-first.c (init): Likewise.
14286
14287 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14288
14289 * po/ru.po: Update from translation team.
14290 * po/vi.po: Likewise.
14291
14292 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14293
14294 * resolv/nss_dns/dns-host.c: Merge copyright years.
14295
14296 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14297
14298 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14299 Optimize memcpy with prefetch if
14300 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14301 src, dst pointers have unequal 16 byte alignments.
14302
14303 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14304
14305 [BZ #13928]
14306 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14307 from a CNAME entry and return the minimum ttl for the query.
14308 (gaih_getanswer_slice): Likewise.
14309
14310 2012-03-30 Jeff Law <law@redhat.com>
14311
14312 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14313 due to long keys.
14314 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14315 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14316
14317 * resolv/nss_dns/dns-host.c: Update copyright year.
14318
14319 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14320
14321 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14322 requests to save a system call. Fix check that all bytes are sent.
14323
14324 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14325 comments for sendmmsg.
14326
14327 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14328
14329 [BZ #13691]
14330 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14331 with only 1 character between 0x0041 and 0x01b0.
14332 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14333 * wcsmbs/tst-mbsnrtowcs.c: New file.
14334
14335 2012-03-29 David S. Miller <davem@davemloft.net>
14336
14337 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14338 small copies by hand.
14339
14340 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14341
14342 [BZ #13761]
14343 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14344 _nss_compat_initgroups_dyn): Fall back to malloc/free
14345 for large group memberships.
14346
14347 2012-03-28 David S. Miller <davem@davemloft.net>
14348
14349 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14350 that branches into memcpy.
14351 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14353 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14354 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14356 bits.
14357 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14358 implementation too.
14359 * sysdeps/sparc/mempcpy.S: New file.
14360
14361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14362 the IFUNC routine in the libc case.
14363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14364
14365 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14366 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14367 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14368 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14369 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14370 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14371 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14372 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14373
14374 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14375 loop to 256 bytes instead of 64 bytes and fix test signedness.
14376
14377 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14378 * sysdeps/sparc/sparc32/Makefile: rather than here...
14379 * sysdeps/sparc/sparc64/Makefile: and here.
14380
14381 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14382
14383 * malloc/mallocbug.c: Avoid warnings about unused variables.
14384
14385 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14386
14387 [BZ #13760]
14388 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14389 in the right place. Discard and retry query if response is
14390 larger than input buffer size.
14391
14392 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14393
14394 [BZ #369]
14395 [BZ #2678]
14396 [BZ #3866]
14397 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14398 x for large integer exponent.
14399 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14400 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14401 sign of result as needed afterwards.
14402 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14403 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14404 result for underflowing pow the same as for overflow.
14405 (__kernel_standard_l): Handle powl overflow and underflow here
14406 rather than calling __kernel_standard.
14407 * math/libm-test.inc (pow_test): Add more tests.
14408
14409 [BZ #3868]
14410 [BZ #13879]
14411 [BZ #13910]
14412 [BZ #13911]
14413 [BZ #13912]
14414 [BZ #13913]
14415 [BZ #13915]
14416 [BZ #13916]
14417 [BZ #13917]
14418 [BZ #13918]
14419 [BZ #13919]
14420 [BZ #13920]
14421 [BZ #13921]
14422 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14423 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14424 (__kernel_standard_l): New function.
14425 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14426 __kernel_standard.
14427 * math/w_acosl.c (__acosl): Likewise.
14428 * math/w_asinl.c (__asinl): Likewise.
14429 * math/w_atan2l.c (__atan2l): Likewise.
14430 * math/w_atanhl.c (__atanhl): Likewise.
14431 * math/w_coshl.c (__coshl): Likewise.
14432 * math/w_exp10l.c (__exp10l): Likewise.
14433 * math/w_exp2l.c (__exp2l): Likewise.
14434 * math/w_fmodl.c (__fmodl): Likewise.
14435 * math/w_hypotl.c (__hypotl): Likewise.
14436 * math/w_j0l.c (__j0l, __y0l): Likewise.
14437 * math/w_j1l.c (__j1l, __y1l): Likewise.
14438 * math/w_jnl.c (__jnl, __ynl): Likewise.
14439 * math/w_lgammal.c (__lgammal): Likewise.
14440 * math/w_log10l.c (__log10l): Likewise.
14441 * math/w_log2l.c (__log2l): Likewise.
14442 * math/w_logl.c (__logl): Likewise.
14443 * math/w_powl.c (__powl): Likewise.
14444 * math/w_remainderl.c (__remainderl): Likewise.
14445 * math/w_scalbl.c (sysv_scalbl): Likewise.
14446 * math/w_sinhl.c (__sinhl): Likewise.
14447 * math/w_sqrtl.c (__sqrtl): Likewise.
14448 * math/w_tgammal.c (__tgammal): Likewise.
14449 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14450 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14451 * math/libm-test.inc (acos_test): Add more tests.
14452 (acosh_test): Likewise.
14453 (asin_test): Likewise.
14454 (atanh_test): Likewise.
14455 (exp_test): Likewise.
14456 (exp10_test): Likewise.
14457 (exp2_test): Likewise.
14458 (expm1_test): Likewise.
14459 (lgamma_test): Likewise.
14460 (log_test): Likewise.
14461 (log10_test): Likewise.
14462 (log1p_test): Likewise.
14463 (log2_test): Likewise.
14464 (pow_test): Do not allow some spurious overflow exceptions.
14465 (sqrt_test): Add more tests.
14466 (tgamma_test): Likewise.
14467 (y0_test): Likewise.
14468 (y1_test): Likewise.
14469 (yn_test): Likewise.
14470
14471 2012-03-27 Anton Blanchard <anton@samba.org>
14472
14473 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14474 MAP_HUGETLB.
14475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14478
14479 2012-03-27 David S. Miller <davem@davemloft.net>
14480
14481 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14482
14483 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14484 have-as-vis3 check.
14485
14486 2012-03-27 Andreas Jaeger <aj@suse.de>
14487
14488 * sysdeps/x86_64/elf/configure.in: Moved to ...
14489 * sysdeps/x86_64/configure.in: ... here.
14490 * sysdeps/x86_64/elf/start.S: Moved to ...
14491 * sysdeps/x86_64/start.S: ... here.
14492 * sysdeps/x86_64/elf/configure: Delete.
14493
14494 * sysdeps/x86_64/configure.in: Merge contents from
14495 sysdeps/i386/configure.in (without i686 check).
14496
14497 * sysdeps/i386/elf/Versions: Merge into ...
14498 * sysdeps/i386/Versions: ... this.
14499 * sysdeps/i386/elf/Versions: Delete file.
14500 * sysdeps/i386/elf/start.S: Moved to ...
14501 * sysdeps/i386/start.S: ...here.
14502 * sysdeps/i386/elf/configure.in: Merge into...
14503 * sysdeps/i386/configure.in: ...here.
14504 * sysdeps/i386/elf/configure.in: Delete file.
14505 * sysdeps/i386/elf/configure: Delete file.
14506
14507 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14508 * debug/backtracesyms.c: ... here.
14509 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14510 * debug/backtracesymsfd.c: ... here.
14511 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14512 * sysdeps/generic/ifunc-sel.h: ... here.
14513
14514 * sysdeps/unix/i386/start.c: Delete file.
14515 * sysdeps/unix/sparc/start.c: Delete file.
14516 * sysdeps/unix/start.c: Delete file.
14517
14518 * sysdeps/sh/elf/configure.in: Moved to ...
14519 * sysdeps/sh/configure.in: ... here.
14520 * sysdeps/sh/elf/start.S: Moved to ...
14521 * sysdeps/sh/start.S: ... here.
14522 * sysdeps/sh/elf/configure: Delete file.
14523
14524 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14525 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14526 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14527 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14528 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14529 * sysdeps/powerpc/powerpc64/start.S: here.
14530 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14531 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14532 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14533 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14534 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14535
14536 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14537 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14538 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14539 * sysdeps/powerpc/powerpc32/start.S: ... here.
14540 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14541 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14542 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14543
14544 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14545 * sysdeps/powerpc/ifunc-sel.h: ... here.
14546 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14547 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14548
14549 * sysdeps/sparc/elf/configure.in: Moved to ...
14550 * sysdeps/sparc/configure.in: ... here.
14551 * sysdeps/sparc/elf/configure: Delete file.
14552 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14553 * sysdeps/sparc/sparc32/start.S: ... here.
14554 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14555 * sysdeps/sparc/sparc64/start.S: ... here.
14556 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14557 * sysdeps/sparc/sparc32/Makefile: ... this.
14558 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14559 * sysdeps/sparc/sparc64/Makefile: ... this.
14560
14561 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14562 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14563 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14564 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14565 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14566 * sysdeps/s390/s390-32/setjmp.S: ... here.
14567 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14568 * sysdeps/s390/s390-32/configure.in: ... here.
14569 * sysdeps/s390/s390-32/elf/configure: Delete file.
14570 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14571 * sysdeps/s390/s390-32/start.S: ... here.
14572
14573 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14574 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14575 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14576 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14577 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14578 * sysdeps/s390/s390-64/setjmp.S: ... here.
14579 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14580 * sysdeps/s390/s390-64/configure.in: ... here
14581 * sysdeps/s390/s390-64/elf/configure: Delete file.
14582 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14583 * sysdeps/s390/s390-64/start.S: ... here.
14584 * sysdeps/s390/s390-64/elf/configure: Delete.
14585
14586 * configure.in: Remove support for elf directories in sysdeps.
14587
14588 * configure: Regenerated.
14589 * sysdeps/i386/configure: Regenerated.
14590 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14591 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14592 * sysdeps/s390/s390-32/configure: Regenerated.
14593 * sysdeps/s390/s390-64/configure: Regenerated.
14594 * sysdeps/sh/configure: Regenerated.
14595 * sysdeps/sparc/configure: Regenerated.
14596 * sysdeps/x86_64/configure: Regenerated.
14597
14598 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14599
14600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14601
14602 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14603 denormal result into account.
14604
14605 2012-03-25 Roland McGrath <roland@hack.frob.com>
14606
14607 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14608 Reported by Allan McRae <allan@archlinux.org>.
14609
14610 2012-03-23 Jeff Law <law@redhat.com>
14611
14612 * nss/getnssent.c (__nss_getent): Fix typo.
14613
14614 2012-03-23 David S. Miller <davem@davemloft.net>
14615
14616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14617
14618 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14619
14620 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14621 to pad to uint64_t for each field.
14622 (dl_tls_index): Replace unsigned long with uint64_t.
14623
14624 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14625 Paul Pluzhnikov <ppluzhnikov@google.com>
14626
14627 [BZ #6528]
14628 * grp/Makefile (otherlibs): Don't set it.
14629 * inet/Makefile (otherlibs): Likewise.
14630 * login/Makefile (otherlibs): Likewise.
14631 * nscd/Makefile (otherlibs): Likewise.
14632 * posix/Makefile (otherlibs): Likewise.
14633 * pwd/Makefile (otherlibs): Likewise.
14634 * rt/Makefile (otherlibs): Likewise.
14635 * sunrpc/Makefile (otherlibs): Likewise.
14636 * nss/Makefile (otherlibs): Likewise.
14637 Add libnss_files to routines and static-only-routines.
14638 ($(objpfx)getent): Remove rule.
14639 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14640 static-only-routines.
14641
14642 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14643
14644 [BZ #13892]
14645 * math/s_cexp.c: Include <float.h>.
14646 (__cexp): Handle exp result overflowing not necessarily
14647 overflowing both real and imaginary parts of result.
14648 * math/s_cexpf.c: Likewise.
14649 * math/s_cexpl.c: Likewise.
14650 * math/libm-test.inc (cexp_test): Add more tests.
14651 * sysdeps/i386/fpu/libm-test-ulps: Update.
14652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14653
14654 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14655
14656 * include/link.h (ELFW): New macro.
14657 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14658 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14659
14660 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14661
14662 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14663 with uint64_t.
14664
14665 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14666
14667 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14668 declaration.
14669 (struct La_x32_retval): Likewise.
14670
14671 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 * sysdeps/x86_64/preconfigure.in: New file.
14674 * sysdeps/x86_64/preconfigure: New generated file.
14675
14676 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14677
14678 [BZ #13824]
14679 * math/e_exp2l.c: Include <float.h>.
14680 (__ieee754_exp2l): Handle overflow and underflow cases
14681 separately. Only pass fractional part of argument to
14682 __ieee754_expl.
14683 * math/libm-test.inc (exp2_test): Add more tests.
14684
14685 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14686 negating x to take absolute value.
14687 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14688 Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14691 Likewise.
14692 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14693 computing low part if x was negated.
14694 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14695
14696 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14697
14698 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14699 la_x32_gnu_pltexit.
14700 (pltexit): Cast int_retval to ptrdiff_t.
14701 * elf/tst-auditmod3b.c: Likewise.
14702 * elf/tst-auditmod4b.c: Likewise.
14703 * elf/tst-auditmod5b.c: Likewise.
14704 * elf/tst-auditmod6b.c: Likewise.
14705 * elf/tst-auditmod6c.c: Likewise.
14706 * elf/tst-auditmod7b.c: Likewise.
14707
14708 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14709 and x32_gnu_pltexit.
14710
14711 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14712 __ELF_NATIVE_CLASS.
14713 (La_x32_regs): New macro.
14714 (La_x32_retval): Likewise.
14715 (la_x32_gnu_pltenter): New function prototype.
14716 (la_x32_gnu_pltexit): Likewise.
14717
14718 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14719
14720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14721 exponent.
14722
14723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14724
14725 * configure.in (libc_cv_cc_nofma): Check for option to disable
14726 generation of FMA instructions.
14727 * configure: Regenerate.
14728 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14729 * sysdeps/ieee754/dbl-64/Makefile: New file.
14730 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14731 Remove brandred-fma4.
14732 (CFLAGS-brandred-fma4.c): Remove.
14733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14734 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14735 define.
14736 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14737 define.
14738
14739 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14740
14741 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14742 LLONG_MAX != LONG_MAX.
14743 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14744 (_fitoa_word): Likewise.
14745 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14746 LLONG_MAX != LONG_MAX.
14747 * stdio-common/_itowa.h: Include <_itoa.h>.
14748 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14749 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14750 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14751 only if not defined.
14752 (_ITOA_WORD_TYPE): Likewise.
14753 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14754 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14755
14756 2012-03-21 David S. Miller <davem@davemloft.net>
14757
14758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14759
14760 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14763 of x86_64 when setting libc_cv_slibdir, libdir and
14764 libc_cv_localedir.
14765 * sysdeps/unix/sysv/linux/configure: Regenerated.
14766
14767 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14768
14769 * manual/lang.texi (Old Varargs): Remove section.
14770 (How Variadic): Update menu.
14771 (va_start): Do not mention varargs.h.
14772
14773 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14774 Joseph Myers <joseph@codesourcery.com>
14775
14776 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14777 link test.
14778 * configure: Regenerated.
14779
14780 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14781
14782 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14783 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14784 conformtest.pl
14785
14786 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14787
14788 * NOTES: Remove.
14789 * Makefile (files-for-dist): Remove NOTES.
14790 (NOTES): Remove rule.
14791 * README: Don't refer to NOTES.
14792 * manual/creature.texi: Don't include macros.texi.
14793 * manual/intro.texi (creature.texi): Remove comment referring to
14794 NOTES.
14795
14796 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14797 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14798 * configure: Regenerated.
14799 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14800 LIBC_TRY_CC_OPTION.
14801 (libc_cv_as_i686): Likewise.
14802 (libc_cv_cc_avx): Likewise.
14803 (libc_cv_cc_sse2avx): Likewise.
14804 (libc_cv_cc_fma4): Likewise.
14805 (libc_cv_cc_novzeroupper): Likewise.
14806 * sysdeps/i386/configure: Regenerated.
14807
14808 [BZ #13883]
14809 * sysdeps/i386/fpu/s_cexp.S: Remove.
14810 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14811 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14812 * math/libm-test.inc (cexp_test): Add more tests.
14813 * sysdeps/i386/fpu/libm-test-ulps: Update.
14814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14815
14816 2012-03-21 Allan McRae <allan@archlinux.org>
14817
14818 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14819
14820 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14821
14822 [BZ #13871]
14823 * math/w_exp2.c: Do not include <float.h>.
14824 (o_threshold, u_threshold): Remove.
14825 (__exp2): Calculate result before checking finiteness and calling
14826 __kernel_standard.
14827 * math/w_exp2f.c: Likewise.
14828 * math/w_exp2l.c: Likewise.
14829 * math/libm-test.inc (exp2_test): Require overflow exception for
14830 1e6 input.
14831
14832 [BZ #3866]
14833 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14834 range of signed 64-bit integers before using fistpll. Remove
14835 checks for whether integers fit in mantissa bits.
14836 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14837 the range of signed 32-bit integers before using fistpl. Remove
14838 checks for whether integers fit in mantissa bits.
14839 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14840 (__ieee754_powl): Test for y outside the range of signed 64-bit
14841 integers before using fistpll. Reduce 64-bit values to 63-bit
14842 ones as needed.
14843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14844 divide-by-zero is raised for zero to large negative powers.
14845 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14846 (__ieee754_powl): Test for y outside the range of signed 64-bit
14847 integers before using fistpll. Reduce 64-bit values to 63-bit
14848 ones as needed.
14849 * math/libm-test.inc (pow_test): Add more tests.
14850
14851 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14852
14853 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14854 <stdio-common/_itoa.h>.
14855 * debug/segfault.c: Likewise.
14856 * elf/dl-cache.c: Likewise.
14857 * elf/dl-minimal.c: Likewise.
14858 * elf/dl-misc.c: Likewise.
14859 * elf/dl-sysdep.c: Likewise.
14860 * elf/dl-version.c: Likewise.
14861 * elf/rtld.c: Likewise.
14862 * hurd/hurdsock.c: Likewise.
14863 * hurd/lookup-retry.c: Likewise.
14864 * malloc/malloc.c: Likewise.
14865 * malloc/mtrace.c: Likewise.
14866 * nscd/nscd_getgr_r.c: Likewise.
14867 * nscd/nscd_getpw_r.c: Likewise.
14868 * nscd/nscd_getserv_r.c: Likewise.
14869 * posix/getopt_init.c: Likewise.
14870 * posix/wordexp.c: Likewise.
14871 * stdio-common/_itoa.c: Likewise.
14872 * stdio-common/printf_fphex.c: Likewise.
14873 * stdio-common/vfprintf.c: Likewise.
14874 * string/_strerror.c: Likewise.
14875 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14876 * sysdeps/i386/i686/hp-timing.h: Likewise.
14877 * sysdeps/mach/_strerror.c: Likewise.
14878 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14879 * sysdeps/mach/hurd/sethostid.c: Likewise.
14880 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14881 * sysdeps/mach/xpg-strerror.c: Likewise.
14882 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14884 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14885 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14886 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14887 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14888 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14889 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14890 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14891 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14892 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14893 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14894 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14895 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14896 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14897 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14899 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14900 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14901 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14902 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14903
14904 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14905
14906 * stdio-common/_itoa.h: Moved to ...
14907 * sysdeps/generic/_itoa.h: Here.
14908
14909 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14910
14911 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14912 instead of "_itoa.h" and "_itowa.h".
14913 * stdio-common/vfprintf.: Likewise.
14914
14915 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14916
14917 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14918 <bits/wordsize.h>.
14919 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14920 (__signbit): Likwise.
14921 (llrintf): Likwise.
14922 (llrint): Likwise.
14923
14924 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14925
14926 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14927 __WORDSIZE != 64.
14928
14929 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14930
14931 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14932 OVERFLOW_EXCEPTION_OK.
14933 * math/libm-test.inc ("Philosophy"): Update comment about
14934 exception testing.
14935 (OVERFLOW_EXCEPTION): Define.
14936 (OVERFLOW_EXCEPTION_OK): Likewise.
14937 (INVALID_EXCEPTION_OK): Renumber.
14938 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14939 (IGNORE_ZERO_INF_SIGN): Likewise.
14940 (test_exceptions): Handle FE_OVERFLOW.
14941 (exp10_test): Expect overflow exceptions.
14942 (exp2_test): Likewise.
14943 (expm1_test): Likewise.
14944 (nextafter_test): Likewise.
14945 (pow_test): Likewise.
14946 (scalbn_test): Likewise.
14947 (scalbln_test): Likewise.
14948
14949 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 * sysdeps/x86_64/bits/atomic.h
14952 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14953 64bit integer.
14954 (atomic_exchange_acq): Likewise.
14955 (__arch_exchange_and_add_body): Likewise.
14956 (__arch_add_body): Likewise.
14957 (atomic_add_negative): Likewise.
14958 (atomic_add_zero): Likewise.
14959
14960 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14961
14962 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14963 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14964
14965 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14966
14967 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14968 Check __x86_64__ instead of __WORDSIZE.
14969
14970 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14971
14972 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14973
14974 2012-03-19 David S. Miller <davem@davemloft.net>
14975
14976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14977
14978 * sysdeps/sparc/fpu/fenv_private.h: New file.
14979 * sysdeps/sparc/fpu/math_private.h: Use it.
14980 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14981 Remove.
14982 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14983 (libc_feholdexcept_setroundl): Remove.
14984 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14985 Remove.
14986 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14987 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14988
14989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14990
14991 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14992 int64_t instead of long int.
14993 (INSERT_WORDS64): Likwise.
14994
14995 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14996
14997 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14998 _Unwind_GetCFA return to _Unwind_Ptr first.
14999
15000 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15001
15002 [BZ #13629]
15003 * math/s_clog.c: Include <float.h>.
15004 (__clog): Scale large or subnormal inputs.
15005 * math/s_clogf.c: Likewise.
15006 * math/s_clogl.c: Likewise.
15007 * math/s_clog10.c: Include <float.h>.
15008 (M_LOG10_2): Define.
15009 (__clog10): Scale large or subnormal inputs.
15010 * math/s_clog10f.c: Likewise.
15011 * math/s_clog10l.c: Likewise.
15012 * math/libm-test.inc (clog_test): Add more tests.
15013 (clog10_test): Likewise.
15014 * sysdeps/i386/fpu/libm-test-ulps: Update.
15015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15016
15017 [BZ #11451]
15018 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15019 x and y.
15020 * math/libm-test.inc (atan2_test): Add another test.
15021
15022 * Makerules (common-objdir-compile): Remove.
15023 * sysdeps/unix/Makefile (config-generated): Do not add
15024 $(unix-generated) to variable.
15025 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15026 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15027 Remove rule.
15028 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15029 Likewise.
15030 [generic bits/local_lim.h] (before-compile): Do not append to
15031 variable.
15032 [generic bits/local_lim.h] (common-generated): Likewise.
15033 [generic sys/param.h] (before-compile): Do not append to variable.
15034 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15035 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15036 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15037 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15038 include.
15039 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15040 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15041 [generic sys/param.h] ($(addprefix
15042 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15043 [generic sys/param.h] (common-generated): Do not append to
15044 variable.
15045 [generic sys/param.h] (sysdep_headers): Likewise.
15046 [generic bits/errno.h] (before-compile): Do not append to
15047 variable.
15048 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15049 rule.
15050 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15051 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15052 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15053 [generic bits/errno.h] (common-generated): Do not append to
15054 variable.
15055 [generic bits/ioctls.h] (before-compile): Do not append to
15056 variable.
15057 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15058 rule.
15059 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15060 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15061 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15062 rule.
15063 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15064 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15065 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15066 [generic bits/ioctls.h] (common-generated): Do not append to
15067 variable.
15068 [generic sys/syscall.h] (syscall.h): Remove variable.
15069 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15070 rule.
15071 [generic sys/syscall.h] (before-compile): Do not append to
15072 variable.
15073 [generic sys/syscall.h] (common-generated): Likewise.
15074 * sysdeps/unix/errnos-tmpl.c: Remove file.
15075 * sysdeps/unix/errnos.awk: Likewise.
15076 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15077 * sysdeps/unix/ioctls.awk: Likewise.
15078 * sysdeps/unix/mk-local_lim.c: Likewise.
15079 * sysdeps/unix/snarf-ioctls: Likewise.
15080
15081 2012-03-19 Richard Henderson <rth@twiddle.net>
15082
15083 * sysdeps/i386/fpu/fenv_private.h: New file.
15084 * sysdeps/i386/fpu/math_private.h: Use it.
15085 (math_opt_barrier, math_force_eval): Remove.
15086 (libc_feholdexcept_setround_53bit): Remove.
15087 (libc_feupdateenv_53bit): Remove.
15088 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15089 (math_opt_barrier, math_force_eval): Remove.
15090 (libc_feholdexcept): Remove.
15091 (libc_feholdexcept_setround): Remove.
15092 (libc_fetestexcept, libc_fesetenv): Remove.
15093 (libc_feupdateenv_test): Remove.
15094 (libc_feupdateenv, libc_feholdsetround): Remove.
15095 (libc_feresetround): Remove.
15096
15097 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15098 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15099
15100 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15101 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15102 (libc_feupdateenv_testl): New.
15103 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15104 (libc_feupdateenv_testf): New.
15105 (libc_feupdateenv): Use libc_feupdateenv_test.
15106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15107 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15108
15109 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15110 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15111 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15112 (libc_feresetround_noex): New.
15113 (libc_feresetround_noexf): New.
15114 (libc_feresetround_noexl): New.
15115 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15116 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15117 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15118 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15119 SET_RESTORE_ROUND.
15120 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15122 (__cos): Likewise.
15123 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15124 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15125 SET_RESTORE_ROUND_NOEX.
15126 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15127 SET_RESTORE_ROUND_NOEXF.
15128 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15129 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15130 (libc_feholdsetroundf): New.
15131 (libc_feresetround, libc_feresetroundf): New.
15132
15133 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15134 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15135 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15136
15137 * sysdeps/generic/math_private.h: Include <fenv.h>.
15138 (default_libc_feholdexcept): New.
15139 (default_libc_feholdexcept_setround): New.
15140 (default_libc_fesetenv, default_libc_feupdateenv): New.
15141 (libc_feholdexcept): Only define if undefined.
15142 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15143 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15144 (libc_feholdexcept_setroundl): Likewise.
15145 (libc_feholdexcept_setround_53bit): Likewise.
15146 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15147 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15148 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15149 (libc_feupdateenv_53bit): Likewise.
15150 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15151 (libc_feholdexcept): Convert from macro to inline function.
15152 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15153 (libc_fesetenv, libc_feupdateenv): Likewise.
15154
15155 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15156 not previously defined.
15157 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15158 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15159 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15160 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15161 * sysdeps/ieee754/flt-32/math_private.h: New file.
15162 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15163 math_private.h below SET_FLOAT_WORD.
15164 (__isnan, __isinf_ns, __finite): Remove.
15165 (__isnanf, __isinf_nsf, __finitef): Remove.
15166
15167 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15168
15169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15170
15171 2012-03-17 David S. Miller <davem@davemloft.net>
15172
15173 [BZ #6471]
15174 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15175 for 2.16.
15176
15177 2012-03-16 David S. Miller <davem@davemloft.net>
15178
15179 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15180 warnings.
15181
15182 [BZ #6471]
15183 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15184 properly.
15185 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15186 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15187 sysdep_routines when subdir is sysvipc.
15188 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15189 __getshmlba helper.
15190
15191 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15192
15193 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15194
15195 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15196 [__LP64__].
15197
15198 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15199
15200 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15201 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15202 (__lround): Renamed to ...
15203 (__llround): This. Replace long int with long long int.
15204 Define lround functions as aliases of llround functions.
15205 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15206
15207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15208
15209 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15210 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15211 adresses to uintptr_t. Replace "long int" and "unsigned long
15212 int" with "greg_t" on va_arg.
15213
15214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15215
15216 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15217 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15218
15219 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15220 Move e_machine check before EI_CLASS check. Handle x32
15221 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15222 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15223 SKIP_EM_IA_64 and include
15224 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15225
15226 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15227 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15228 (add_system_dir): New macro.
15229
15230 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15231 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15232
15233 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15234
15235 [BZ #2551]
15236 [BZ #2552]
15237 [BZ #2553]
15238 [BZ #2554]
15239 [BZ #2562]
15240 [BZ #2563]
15241 [BZ #2565]
15242 [BZ #2566]
15243 [BZ #2576]
15244 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15245 (y0): Likewise.
15246 * math/w_j0f.c (j0f): Likewise.
15247 (y0f): Likewise.
15248 * math/w_j0l.c (__j0l): Likewise.
15249 (__y0l): Likewise.
15250 * math/w_j1.c (j1): Likewise.
15251 (y1): Likewise.
15252 * math/w_j1f.c (j1f): Likewise.
15253 (y1f): Likewise.
15254 * math/w_j1l.c (__j1l): Likewise.
15255 (__y1l): Likewise.
15256 * math/w_jn.c (jn): Likewise.
15257 (yn): Likewise.
15258 * math/w_jnf.c (jnf): Likewise.
15259 (ynf): Likewise.
15260 * math/w_jnl.c (__jnl): Likewise.
15261 (__ynl): Likewise.
15262 * math/libm-test.inc (j0_test): Add more tests.
15263 (j1_test): Likewise.
15264 (jn_test): Likewise. Add trailing semicolon to existing test.
15265 (y0_test): Likewise.
15266 (y1_test): Likewise.
15267 * sysdeps/i386/fpu/libm-test-ulps: Update.
15268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15269
15270 [BZ #13851]
15271 [BZ #13854]
15272 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15273 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15274 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15276 (__tanl): Set errno for infinite argument.
15277 * sysdeps/i386/fpu/mptan.c: Remove.
15278 * sysdeps/i386/fpu/s_tan.S: Likewise.
15279 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15280 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15281 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15282 * math/libm-test.inc (tan_test): Add more tests and enable more
15283 tests for double and long double.
15284 * sysdeps/i386/fpu/libm-test-ulps: Update.
15285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15286
15287 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15288
15289 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15290 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15291
15292 2012-03-16 Roland McGrath <roland@hack.frob.com>
15293
15294 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15295 * configure.in: Use it for both main tree and add-ons.
15296 * configure: Regenerated.
15297
15298 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15299
15300 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15301
15302 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15303
15304 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15305 in comment.
15306
15307 [BZ #13851]
15308 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15309 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15312 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15313 infinite argument.
15314 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15316 != 0 for prec == 2.
15317 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15318 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15319 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15320 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15321 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15322 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15323 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15324 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15325 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15326 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15327 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15328 * math/libm-test.inc (cos_test): Add more tests and enable more
15329 tests for long double.
15330 (sin_test): Likewise.
15331 (sincos_test): Likewise.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334
15335 2012-03-16 David S. Miller <davem@davemloft.net>
15336
15337 * sysdeps/sparc/fpu/math_private.h: New file.
15338
15339 2012-03-15 David S. Miller <davem@davemloft.net>
15340
15341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15342 file.
15343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15345 file.
15346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15352 sysdep routines.
15353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15354
15355 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15356 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15357
15358 * sysdeps/sparc/sparc-ifunc.h: New file.
15359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15360 sparc-ifunc.h
15361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15363 Likewise.
15364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15365 Likewise.
15366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15370 Likewise.
15371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15376 Likewise.
15377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15378 Likewise.
15379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15403
15404 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15405
15406 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15407 scaling.
15408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15409
15410 2012-03-15 Andreas Jaeger <aj@suse.de>
15411
15412 [BZ #13852]
15413 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15414 ieee754/flt-32 implementation for sin, cos and sincos.
15415 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15416 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15417 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15418 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15419 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15420 ieee754/flt-32 implementation for tan.
15421
15422 * math/libm-test.inc (cos_test): Enable some large input tests for
15423 float as well
15424 (sin_test): Likewise.
15425 (sincos_test): Likewise.
15426 (tan_test): Add tests for large input.
15427
15428 * sysdeps/i386/fpu/libm-test-ulps: Update.
15429
15430 2012-03-15 Andreas Jaeger <aj@suse.de>
15431
15432 [BZ #13658]
15433 * math/libm-test.inc (cos_test): Add more test cases.
15434 (sin_test): Likewise.
15435 (sincos_test): Likewise.
15436
15437 2012-03-15 Andreas Jaeger <aj@suse.de>
15438
15439 [BZ #13837]
15440 * math/libm-test.inc (cos_test): Add a test case for large input
15441 value.
15442 (sin_test): Likewise.
15443 (sincos_test): Likewise.
15444
15445 2012-03-15 Andreas Jaeger <aj@suse.de>,
15446 Joseph Myers <joseph@codesourcery.com>
15447
15448 [BZ #13658]
15449 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15450 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15451 * sysdeps/i386/fpu/branred.c: Likewise.
15452 * sysdeps/i386/fpu/dosincos.c: Likewise.
15453 * sysdeps/i386/fpu/mpa.c: Likewise.
15454 * sysdeps/i386/fpu/s_cos.S: Likewise.
15455 * sysdeps/i386/fpu/s_sin.S: Likewise.
15456 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15457 * sysdeps/i386/fpu/sincos32.c: Likewise.
15458
15459 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15460 Define.
15461 (libc_feupdateenv_53bit): Define.
15462 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15463 Define.
15464 (libc_feupdateenv_53bit): Define.
15465
15466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15467 53 bit (without extend i386 double precision).
15468
15469 * math/libm-test.inc (sincos_test): Add tests for large input.
15470 (sin): Likewise.
15471 (cos): Likewise.
15472
15473 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15474
15475 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15476
15477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15478
15479 2012-03-15 David S. Miller <davem@davemloft.net>
15480
15481 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15482 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15483 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15484 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15497 file.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15500 file.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15503 file.
15504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15506 file.
15507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15509 fmin/fmax sysdep routines.
15510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15511
15512 2012-03-14 David S. Miller <davem@davemloft.net>
15513
15514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15543 routines.
15544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15545 file.
15546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15548 file.
15549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15551 file.
15552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15554 file.
15555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15557 file.
15558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15560 file.
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15562 file.
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15564 file.
15565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15566 file.
15567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15568 New file.
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15570 file.
15571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15572 file.
15573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15575 file.
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15578 file.
15579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15581 file.
15582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15584 VIS3 routines.
15585
15586 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15587 New file.
15588
15589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15590
15591 * sysdeps/sparc/configure.in: New file.
15592 * sysdeps/sparc/configure: Generate.
15593 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15594 * configure: Regenerate.
15595 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15596 * config.make.in (have-as-vis3): New.
15597 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15598 available use -Av9d instead of -Av9a.
15599 * sysdeps/sparc/sparc64/Makefile: Likewise.
15600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15602 New file.
15603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15604 file.
15605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15606 New file.
15607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15608 file.
15609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15610 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15614
15615 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15616 fzeros/fnegs to load 0x80000000 into a float register instead of
15617 using the stack.
15618 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15619
15620 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15621
15622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15623 bits/syscall.h.
15624 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15625 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15626 ($(inst_includedir)/bits/syscall.h): Remove rule.
15627 ($(objpfx)bits/syscall.d): Include instead of
15628 $(objpfx)syscall-list.d.
15629 (generated): Change syscall-list.h and syscall-list.d to
15630 bits/syscall.h and bits/syscall.d.
15631
15632 2012-03-14 Roland McGrath <roland@hack.frob.com>
15633
15634 [BZ #13846]
15635 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15636
15637 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15638
15639 [BZ #13841]
15640 * math/s_csqrt.c: Include <float.h>.
15641 (__csqrt): Scale large or subnormal inputs.
15642 * math/s_csqrtf.c: Likewise.
15643 * math/s_csqrtl.c: Likewise.
15644 * math/libm-test.inc (csqrt_test): Add more tests.
15645 * sysdeps/i386/fpu/libm-test-ulps: Update.
15646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15647
15648 [BZ #13840]
15649 * math/libm-test.inc (hypot_test): Add more tests.
15650
15651 2012-03-13 David S. Miller <davem@davemloft.net>
15652
15653 [BZ #13840]
15654 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15655 double-precision for the calculation instead of scaling.
15656
15657 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15658
15659 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15660 manipulate bits before adding and subtracting TWO52[sx].
15661 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15662 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15663 Likewise.
15664 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15665
15666 2012-03-13 David S. Miller <davem@davemloft.net>
15667
15668 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15669 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15671 rtld-global-offsets.h
15672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15673
15674 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15675 large parameters.
15676
15677 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15678
15679 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15680 'err' in the ifdef scope in which it is actually used.
15681
15682 * nss/nss_db/db-init.c: Include string.h
15683
15684 2012-03-12 David S. Miller <davem@davemloft.net>
15685
15686 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15687 masking out of the most significant byte of random value used.
15688 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15689 Fix coding style in previous change.
15690
15691 * sysdeps/unix/sysv/linux/kernel-features.h
15692 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15693 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15694 expression.
15695 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15696 later.
15697
15698 2012-03-11 David S. Miller <davem@davemloft.net>
15699
15700 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15701 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15702 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15703 for 'resultvar' otherwise things get truncated on 64-bit.
15704
15705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15706 Fix masking out of the most significant byte of random value used.
15707
15708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15709
15710 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15711
15712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15713
15714 2012-03-09 David S. Miller <davem@davemloft.net>
15715
15716 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15717 variables with appropriate CPP guards.
15718 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15719 frame pointer, not the stack pointer. Correct layout comments. Fix test
15720 on resulting framesize and the management of the outregs buffer for pltexit.
15721 Preserve floating point return values across _dl_call_pltexit call.
15722 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15723 framesize and the management of the outregs buffer for pltexit.
15724 Preserve floating point return values across _dl_call_pltexit
15725 call.
15726 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15727 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15728 (print_exit): Fix format string for return register value.
15729
15730 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15731
15732 * sunrpc/Makefile (others): Add rpcgen.
15733 ($(objpfx)rpcgen): Remove special build rule and dependency on
15734 libc.
15735 * sunrpc/rpcgen.c: New file.
15736
15737 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15738
15739 [BZ #13673]
15740 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15741 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15742 * sysdeps/i386/crti.S: Likewise.
15743 * sysdeps/i386/crtn.S: Likewise.
15744 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15745 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15746 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15747 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15748 * sysdeps/sh/crti.S: Likewise.
15749 * sysdeps/sh/crtn.S: Likewise.
15750 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15751
15752 [BZ #13673]
15753 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15754 with URL.
15755 * locale/programs/locfile-kw.gperf: Likewise.
15756 * locale/programs/charmap-kw.h: Regenerated.
15757 * locale/programs/locfile-kw.h: Likewise.
15758
15759 [BZ #13673]
15760 * intl/plural.y: Replace FSF snail mail address with URL.
15761 * intl/plural.c: Regenerated.
15762
15763 2012-03-09 Richard Henderson <rth@twiddle.net>
15764
15765 * include/math_private.h: Remove file.
15766 * math/math_private.h: Move file ...
15767 * sysdeps/generic/math_private.h: ... here.
15768
15769 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15770 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15771 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15772
15773 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15774 and <math_private.h>.
15775 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15776 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15777 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15778 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15779 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15863 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15864 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15865 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15866 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15868 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15869 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15870 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15871 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15872 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15873 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15874 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15875 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15876 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15877 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15878 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15879 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15880 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15881 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15882 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15883 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15885 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15886 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15888 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15889 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15890 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15891 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15893 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15894 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15897 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15898 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15916 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15918 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15919 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15920 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15921 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15922 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15923 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15924 * sysdeps/ieee754/k_standard.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16045 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16047 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16074 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16075 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16085 * sysdeps/ieee754/s_lib_version.c: Likewise.
16086 * sysdeps/ieee754/s_matherr.c: Likewise.
16087 * sysdeps/ieee754/s_signgam.c: Likewise.
16088 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16089 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16090 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16091 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16092 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16093 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16094 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16095 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16096 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16097 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16098 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16099 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16100 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16101 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16102 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16105 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16106 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16107 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16109
16110 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16111
16112 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16113 * sunrpc/rpc_main.c: Likewise.
16114 * sunrpc/rpc_svcout.c: Likewise.
16115
16116 2012-03-09 David S. Miller <davem@davemloft.net>
16117
16118 * include/math_private.h: New file.
16119
16120 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16121
16122 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16123 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16124 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16125 from <bits/socket_type.h>.
16126 (enum __socket_type): Don't define here.
16127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16129 bits/socket_type.h.
16130
16131 [BZ #13566]
16132 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16133 checking __USE_GNU.
16134
16135 * Makerules ($(inst_includedir)/%.h): New rule.
16136 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16137 (install-others): Remove variable setting.
16138 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16139
16140 2012-03-08 Richard Henderson <rth@twiddle.net>
16141
16142 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16143 from macro to inline function; merge with the
16144 !__LIBC_INTERNAL_MATH_INLINES version.
16145 (__ieee754_sqrtf): Likewise.
16146
16147 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16148 to inline function.
16149 (__rintf, __floor, __floorf): Likewise.
16150
16151 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16152 macro to inline function.
16153 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16154
16155 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16156 not <math/math_private.h>.
16157
16158 2012-03-08 David S. Miller <davem@davemloft.net>
16159
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16161 copyright year.
16162 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16163
16164 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16165
16166 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16167 normalization.
16168 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16169 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16170
16171 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16172
16173 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16174 be defined individually, they must be defined as a block. Define
16175 S for printing a string instead of hidint the different by using a
16176 macro for adding the 'l'.
16177 * stdio-common/tst-fphex-wide.c: Adjust.
16178
16179 2012-03-07 Marek Polacek <polacek@redhat.com>
16180
16181 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16182
16183 2012-03-08 Marek Polacek <polacek@redhat.com>
16184
16185 [BZ #13806]
16186 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16187 * stdio-common/tst-fphex.c: Define a few macros to make the
16188 test reusable. Use them.
16189 * stdio-common/tst-fphex-wide.c: New file.
16190
16191 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16192
16193 [BZ #6911]
16194 * manual/macros.texi (gnusystems): New macro.
16195 (nongnusystems): Likewise.
16196 (gnulinuxhurdsystems): Likewise.
16197 (gnuhurdsystems): Likewise..
16198 (gnulinuxsystems): Likewise.
16199 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16200 variants of the GNU system, not "GNU system".
16201 * manual/conf.texi: Likewise.
16202 * manual/errno.texi: Likewise. Update example of errno macro
16203 expansion.
16204 * manual/filesys.texi: Likewise.
16205 (getumask): Document as specific to GNU/Hurd.
16206 * manual/install.texi: Likewise. Reword some references to
16207 GNU/Linux.
16208 * manual/intro.texi: Likewise.
16209 * manual/io.texi: Likewise.
16210 (File Name Portability): Detail which constraints are inapplicable
16211 to all GNU systems and which are only inapplicable to GNU/Hurd.
16212 * manual/job.texi: Likewise.
16213 * manual/llio.texi: Likewise.
16214 (O_NOCTTY): Document as present on GNU/Linux.
16215 * manual/maint.texi: Likewise.
16216 * manual/memory.texi: Likewise.
16217 * manual/pattern.texi: Likewise.
16218 * manual/pipe.texi: Likewise.
16219 * manual/process.texi: Likewise.
16220 * manual/resource.texi: Likewise.
16221 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16222 child on GNU/Hurd.
16223 * manual/setjmp.texi: Likewise.
16224 * manual/signal.texi: Likewise.
16225 * manual/startup.texi: Likewise.
16226 * manual/stdio.texi: Likewise.
16227 * manual/terminal.texi: Likewise.
16228 (ONLCR): Document as POSIX.
16229 (OXTABS): Document availability on GNU/Linux as XTABS.
16230 (ONOEOT): Document availability separately from other bits.
16231 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16232 * manual/time.texi: Likewise.
16233 * manual/users.texi: Likewise.
16234 * INSTALL: Regenerated.
16235 * sysdeps/gnu/errlist.c: Regenerated.
16236
16237 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16238 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16239 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16240 puts.
16241 * configure: Regenerated.
16242
16243 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16244
16245 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16246 default includes instead of AC_HEADER_CHECK.
16247 * sysdeps/i386/configure: Regenerated.
16248
16249 [BZ #10716]
16250 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16251 * math/s_cacoshf.c (__cacoshf): Likewise.
16252 * math/s_cacoshl.c (__cacoshl): Likewise.
16253 * math/s_casinh.c (__casinh): Set signs of result from argument.
16254 * math/s_casinhf.c (__casinhf): Likewise.
16255 * math/s_casinhl.c (__casinhl): Likewise.
16256 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16257 (casinh_test): Add more tests.
16258 * sysdeps/i386/fpu/libm-test-ulps: Update.
16259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16260
16261 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16262
16263 * po/zh_TW.po: Update from translation team.
16264
16265 * login/Makefile (distribute): Remove variable.
16266 * catgets/Makefile: Likewise.
16267 * mach/Makefile: Likewise.
16268 * malloc/Makefile: Likewise.
16269 * misc/Makefile: Likewise.
16270 * iconv/Makefile: Likewise.
16271 * nscd/Makefile: Likewise.
16272 * hurd/Makefile: Likewise.
16273 * manual/Makefile: Likewise.
16274 * locale/Makefile: Likewise.
16275 * intl/Makefile: Likewise.
16276 * conform/Makefile: Likewise.
16277 * nss/Makefile: Likewise.
16278 * time/Makefile: Likewise.
16279 * soft-fp/Makefile: Likewise.
16280 * dirent/Makefile: Likewise.
16281 * gmon/Makefile: Likewise.
16282 * po/Makefile: Likewise.
16283 * rt/Makefile: Likewise.
16284 * socket/Makefile: Likewise.
16285 * math/Makefile: Likewise.
16286 * signal/Makefile: Likewise.
16287 * debug/Makefile: Likewise.
16288 * elf/Makefile: Likewise.
16289 * timezone/Makefile: Likewise.
16290 * stdlib/Makefile: Likewise.
16291 * iconvdata/Makefile: Likewise.
16292 * sunrpc/Makefile: Likewise.
16293 * io/Makefile: Likewise.
16294 * argp/Makefile: Likewise.
16295 * inet/Makefile: Likewise.
16296 * hesiod/Makefile: Likewise.
16297 * grp/Makefile: Likewise.
16298 * csu/Makefile: Likewise.
16299 * wctype/Makefile: Likewise.
16300 * crypt/Makefile: Likewise.
16301 * libio/Makefile: Likewise.
16302 * string/Makefile: Likewise.
16303 * nis/Makefile: Likewise.
16304 * resolv/Makefile: Likewise.
16305 * stdio-common/Makefile: Likewise.
16306 * wcsmbs/Makefile: Likewise.
16307 * dlfcn/Makefile: Likewise.
16308 * posix/Makefile: Likewise.
16309
16310 [BZ #6959]
16311 * timezone/Makefile: Don't install timezone files, just the programs
16312 and scripts.
16313
16314 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16315
16316 * nss/databases.def: Add missing gshadow entry.
16317
16318 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16319
16320 2012-03-06 Marek Polacek <polacek@redhat.com>
16321
16322 [BZ #13726]
16323 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16324 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16325 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16326 * stdio-common/tst-long-dbl-fphex.c: New file.
16327
16328 2012-03-06 David S. Miller <davem@davemloft.net>
16329
16330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16331 (set_obp_int): New function.
16332 (get_obp_int): New function.
16333 (__get_clockfreq_via_dev_openprom): Likewise.
16334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16335 Avoid unused variable warnings on 'val' and use builtin_expect.
16336 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16337 __builtin_expect.
16338 (INLINE_CLONE_SYSCALL): Likewise.
16339
16340 2012-03-05 David S. Miller <davem@davemloft.net>
16341
16342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16343
16344 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16345
16346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16347
16348 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16349 only for |x| >= 40.
16350 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16351
16352 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16353
16354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16355 Replace gettimeofday with __vdso_gettimeofday.
16356
16357 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16358 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16359 __vdso_clock_gettime and __vdso_getcpu.
16360
16361 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16362 time with __vdso_time.
16363
16364 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16365
16366 * manual/lang.texi (size_t): Note types to which size_t may be
16367 equivalent with the GNU C Library, but do not describe when
16368 differences between them are significant.
16369
16370 2012-03-05 Andreas Jaeger <aj@suse.de>
16371
16372 * sysdeps/i386/fpu/libm-test-ulps: Update.
16373
16374 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16375
16376 [BZ #3976]
16377 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16378 (__ieee754_pow): Save and restore rounding mode and use
16379 round-to-nearest for main computations.
16380 * math/libm-test.inc (pow_test_tonearest): New function.
16381 (pow_test_towardzero): Likewise.
16382 (pow_test_downward): Likewise.
16383 (pow_test_upward): Likewise.
16384 (main): Call the new functions.
16385 * sysdeps/i386/fpu/libm-test-ulps: Update.
16386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16387
16388 [BZ #3976]
16389 * math/libm-test.inc (cosh_test_tonearest): New function.
16390 (cosh_test_towardzero): Likewise.
16391 (cosh_test_downward): Likewise.
16392 (cosh_test_upward): Likewise.
16393 (sinh_test_tonearest): Likewise.
16394 (sinh_test_towardzero): Likewise.
16395 (sinh_test_downward): Likewise.
16396 (sinh_test_upward): Likewise.
16397 (main): Call the new functions.
16398 * sysdeps/i386/fpu/libm-test-ulps: Update.
16399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16400
16401 2012-03-05 Tom de Vries <tom@codesourcery.com>
16402
16403 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16404 default stack guard is set in last bytes.
16405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16406
16407 2012-03-05 Kees Cook <keescook@chromium.org>
16408
16409 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16410
16411 [BZ #13656]
16412 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16413 possibly allocate from heap instead of stack.
16414 * stdio-common/bug-vfprintf-nargs.c: New file.
16415 * stdio-common/Makefile (tests): Add nargs overflow test.
16416
16417 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16418
16419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16420
16421 2012-03-03 Marek Polacek <polacek@redhat.com>
16422
16423 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16424 * math/math_private.h: Likewise.
16425 * stdlib/tst-strtod.c: Likewise.
16426 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16427 * sysdeps/x86_64/bits/atomic.h: Likewise.
16428
16429 2012-03-02 David S. Miller <davem@davemloft.net>
16430
16431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16435 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16436 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16437 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16438 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16439
16440 2012-03-02 Roland McGrath <roland@hack.frob.com>
16441
16442 [BZ #13792]
16443 * manual/examples/README: New file, says the example source files
16444 can be used under GPL>=2.
16445 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16446 line containing just "*/".
16447 * manual/examples/add.c: Add copyright header (GPL>=2).
16448 * manual/examples/argp-ex1.c: Likewise.
16449 * manual/examples/argp-ex2.c: Likewise.
16450 * manual/examples/argp-ex3.c: Likewise.
16451 * manual/examples/argp-ex4.c: Likewise.
16452 * manual/examples/atexit.c: Likewise.
16453 * manual/examples/db.c: Likewise.
16454 * manual/examples/dir.c: Likewise.
16455 * manual/examples/dir2.c: Likewise.
16456 * manual/examples/execinfo.c: Likewise.
16457 * manual/examples/filecli.c: Likewise.
16458 * manual/examples/filesrv.c: Likewise.
16459 * manual/examples/fmtmsgexpl.c: Likewise.
16460 * manual/examples/genpass.c: Likewise.
16461 * manual/examples/inetcli.c: Likewise.
16462 * manual/examples/inetsrv.c: Likewise.
16463 * manual/examples/isockad.c: Likewise.
16464 * manual/examples/longopt.c: Likewise.
16465 * manual/examples/memopen.c: Likewise.
16466 * manual/examples/memstrm.c: Likewise.
16467 * manual/examples/mkfsock.c: Likewise.
16468 * manual/examples/mkisock.c: Likewise.
16469 * manual/examples/mygetpass.c: Likewise.
16470 * manual/examples/pipe.c: Likewise.
16471 * manual/examples/popen.c: Likewise.
16472 * manual/examples/rprintf.c: Likewise.
16473 * manual/examples/search.c: Likewise.
16474 * manual/examples/select.c: Likewise.
16475 * manual/examples/setjmp.c: Likewise.
16476 * manual/examples/sigh1.c: Likewise.
16477 * manual/examples/sigusr.c: Likewise.
16478 * manual/examples/stpcpy.c: Likewise.
16479 * manual/examples/strdupa.c: Likewise.
16480 * manual/examples/strftim.c: Likewise.
16481 * manual/examples/strncat.c: Likewise.
16482 * manual/examples/subopt.c: Likewise.
16483 * manual/examples/swapcontext.c: Likewise.
16484 * manual/examples/termios.c: Likewise.
16485 * manual/examples/testopt.c: Likewise.
16486 * manual/examples/testpass.c: Likewise.
16487 * manual/examples/timeval_subtract.c: Likewise.
16488
16489 [BZ #13792]
16490 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16491 function to ...
16492 * manual/timeval_subtract.c.texi: ... here, new file.
16493
16494 2012-03-02 David S. Miller <davem@davemloft.net>
16495
16496 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16497
16498 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16499
16500 [BZ #3976]
16501 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16502 (__sin): Save and restore rounding mode and use round-to-nearest
16503 for all computations.
16504 (__cos): Save and restore rounding mode and use round-to-nearest
16505 for all computations.
16506 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16507 <fenv.h>.
16508 (tan): Save and restore rounding mode and use round-to-nearest for
16509 all computations.
16510 * math/libm-test.inc (cos_test_tonearest): New function.
16511 (cos_test_towardzero): Likewise.
16512 (cos_test_downward): Likewise.
16513 (cos_test_upward): Likewise.
16514 (sin_test_tonearest): Likewise.
16515 (sin_test_towardzero): Likewise.
16516 (sin_test_downward): Likewise.
16517 (sin_test_upward): Likewise.
16518 (tan_test_tonearest): Likewise.
16519 (tan_test_towardzero): Likewise.
16520 (tan_test_downward): Likewise.
16521 (tan_test_upward): Likewise.
16522 (main): Call the new functions.
16523 * sysdeps/i386/fpu/libm-test-ulps: Update.
16524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525
16526 [BZ #10135]
16527 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16528 small n, then large n, before computing and testing k+n.
16529 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16531 Likewise.
16532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16533 Likewise.
16534 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16535 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16538 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16539 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16540 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16541 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16542 * math/libm-test.inc (scalbn_test): Add more tests.
16543 (scalbln_test): Likewise.
16544
16545 * manual/filesys.texi (mode_t): Describe constraints on size and
16546 signedness, not exact equivalence to a particular type.
16547 (ino_t): Likewise.
16548 (ino64_t): Likewise.
16549 (dev_t): Likewise.
16550 (nlink_t): Likewise.
16551 (blkcnt_t): Likewise.
16552 (blkcnt64_t): Likewise.
16553 * manual/llio.texi (off_t): Likewise.
16554
16555 [BZ #3976]
16556 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16557 (__ieee754_exp): Save and restore rounding mode and use
16558 round-to-nearest for all computations.
16559 * math/libm-test.inc (exp_test_tonearest): New function.
16560 (exp_test_towardzero): Likewise.
16561 (exp_test_downward): Likewise.
16562 (exp_test_upward): Likewise.
16563 (main): Call the new functions.
16564 * sysdeps/i386/fpu/libm-test-ulps: Update.
16565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16566
16567 2012-03-01 Chris Demetriou <cgd@google.com>
16568
16569 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16570 have predictable order.
16571
16572 2012-03-01 David S. Miller <davem@davemloft.net>
16573
16574 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16575
16576 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16577 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16578 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16579 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16580
16581 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16582 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16583 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16585 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16586 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16587 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16588 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16589 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16590
16591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16592
16593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16594 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16595 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16596
16597 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16598 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16599 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16600 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16601 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16602 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16603 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16604 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16605 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16606 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16607 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16610 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16613 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16614 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16615 * sysdeps/sparc/elf/configure: Regenerated.
16616
16617 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16618
16619 * configure.in (AS, LD): Require binutils 2.20 or later.
16620 * configure: Regenerated.
16621 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16622 as required minimum version.
16623 * INSTALL: Regenerated.
16624
16625 [BZ #2541]
16626 [BZ #4108]
16627 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16628 before squaring exponent.
16629 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16630 bottom long double and 27 bits of top long double before squaring
16631 exponent.
16632 * math/libm-test.inc (erfc_test): Add more tests.
16633 * sysdeps/i386/fpu/libm-test-ulps: Update.
16634 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16636
16637 2012-03-01 Kai Tietz <ktietz@redhat.com>
16638
16639 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16640 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16641 containing bit-fields.
16642 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16643 * soft-fp/single.h (_FP_UNION_S): Likewise.
16644 * soft-fp/double.h (_FP_UNION_D): Likewise.
16645
16646 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16647
16648 [BZ #13786]
16649 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16650 not include ../strcmp.S.
16651 [USE_AS_STRNCASECMP_L]: Likewise.
16652 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16653 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16654 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16655 (__strncasecmp_l_ia32): Define as alias to
16656 __strncasecmp_l_nonascii.
16657
16658 [BZ #5794]
16659 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16660 * sysdeps/i386/fpu/libm-test-ulps: Update.
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662
16663 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16665
16666 2012-02-29 Jeff Law <law@redhat.com>
16667
16668 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16669 out of bounds read.
16670
16671 2012-02-29 Marek Polacek <polacek@redhat.com>
16672
16673 [BZ #13706]
16674 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16675 * elf/Makefile: Add rules to run tst-unused-dep.out.
16676
16677 2012-02-28 David S. Miller <davem@davemloft.net>
16678
16679 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16680 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16682 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16683 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16684 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16685
16686 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16687
16688 * math/libm-test.inc (llround_test): Move one test from
16689 lround_test. Use TEST_f_L in moved test.
16690 (lround_test): Move misplaced test to llround_test. Add testcase
16691 from bug 2561.
16692
16693 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16694
16695 * sysdeps/x86_64/fpu/e_expf.S: New file.
16696 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16697
16698 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16699
16700 [BZ #13637]
16701 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16702 of remain_len that may cause incomplete multi-byte character and
16703 false match.
16704 * posix/bug-regex33.c: New file.
16705 * posix/Makefile (tests): Add bug-regex33.
16706
16707 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16708
16709 * manual/macros.texi: New file.
16710 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16711 * manual/libc.texinfo: Include macros.texi.
16712 * manual/creatute.texi: Likewise.
16713 * manual/install.texi: Likewise.
16714 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16715 @glibcadj{} in references to the GNU C Library.
16716 * manual/charset.texi: Likewise.
16717 * manual/conf.texi: Likewise.
16718 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16719 when not using those macros.
16720 * manual/creature.texi: Likewise.
16721 * manual/crypt.texi: Likewise.
16722 * manual/errno.texi: Likewise.
16723 * manual/filesys.texi: Likewise.
16724 * manual/header.texi: Likewise.
16725 * manual/install.texi: Likewise.
16726 * manual/intro.texi: Likewise.
16727 * manual/io.texi: Likewise.
16728 * manual/job.texi: Likewise.
16729 * manual/lang.texi: Likewise.
16730 * manual/libc.texiinfo: Likewise.
16731 * manual/llio.texi: Likewise.
16732 * manual/locale.texi: Likewise.
16733 * manual/maint.texi: Likewise.
16734 * manual/math.texi: Likewise.
16735 * manual/memory.texi: Likewise.
16736 * manual/message.texi: Likewise.
16737 * manual/nss.texi: Likewise.
16738 * manual/pattern.texi: Likewise.
16739 * manual/process.texi: Likewise.
16740 * manual/resource.texi: Likewise.
16741 * manual/search.texi: Likewise.
16742 * manual/setjmp.texi: Likewise.
16743 * manual/signal.texi: Likewise.
16744 * manual/socket.texi: Likewise.
16745 * manual/startup.texi: Likewise.
16746 * manual/stdio.texi: Likewise.
16747 * manual/string.texi: Likewise.
16748 * manual/sysinfo.texi: Likewise.
16749 * manual/syslog.texi: Likewise.
16750 * manual/terminal.texi: Likewise.
16751 * manual/time.texi: Likewise.
16752 * manual/users.texi: Likewise.
16753 * INSTALL: Regenerated.
16754 * NOTES: Regenerated.
16755 * sysdeps/gnu/errlist.c: Regenerated.
16756
16757 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16758
16759 * include/dirent.h: Include <dirstream.h> before
16760 <dirent/dirent.h>.
16761
16762 2012-02-28 David S. Miller <davem@davemloft.net>
16763
16764 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16765 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16767 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16768
16769 2012-02-27 David S. Miller <davem@davemloft.net>
16770
16771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16773 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16774 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16775
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16777 frame pointer instead of stack pointer relative arg slot.
16778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16779 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16780 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16781
16782 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16783
16784 [BZ #3992]
16785 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16786
16787 2012-02-27 David S. Miller <davem@davemloft.net>
16788
16789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16793 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16794 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16795 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16796 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16797
16798 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16799
16800 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16801 later. Allow versions 5-9.
16802 * configure: Regenerated.
16803 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16804 required minimum version and 4.6 as recommended version. Do not
16805 mention bugs in GCC 2.7 and 2.8.
16806 * INSTALL: Regenerated.
16807
16808 2012-02-27 David S. Miller <davem@davemloft.net>
16809
16810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16814 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16815 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16816 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16817 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16818
16819 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16820 manipulate bits before adding and subtracting TWO112[sx].
16821 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16822
16823 2012-02-27 Roland McGrath <roland@hack.frob.com>
16824
16825 [BZ #13775]
16826 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16827 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16828 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16829 being in POSIX, because they are in 1003.1-2008.
16830
16831 * rt/tst-aio.c: Include <fcntl.h>.
16832 * rt/tst-aio7.c: Likewise.
16833 * rt/tst-aio64.c: Likewise.
16834
16835 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16836
16837 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16838
16839 * manual/install.texi (--with-headers): Describe headers as
16840 interface headers, not private headers.
16841 (Specific advice for GNU/Linux systems): Describe use of headers
16842 from "make headers_install", not private headers from older
16843 kernels.
16844 * INSTALL: Regenerated.
16845 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16846 Change to 2.6.19.
16847 * sysdeps/unix/sysv/linux/configure: Regenerated.
16848
16849 * manual/llio.texi (fclean): Remove documentation.
16850
16851 * manual/Makefile (libc-texi-generated): New variable. Include
16852 version.texi.
16853 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16854 $(libc-texi-generated), not duplicated list of files.
16855 (version.texi, stamp-version): New rules.
16856 (realclean): Remove $(libc-texi-generated), not individual files
16857 from that list. Do not remove dir-add.texinfo.
16858 * manual/libc.texinfo: Comment out uses of edition numbers and
16859 references to printed manual. Remove last-updated dates.
16860 (EDITION): Comment out.
16861 (ISBN): Likewise.
16862 (VERSION, UPDATED): Remove.
16863 (version.texi): Include.
16864
16865 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16866
16867 * sysdeps/posix/spawni.c: Include <signal.h>.
16868 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16869 * sysdeps/pthread/aio_fsync.c: Likewise.
16870
16871 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16872
16873 * conform/Makefile (tests): Run only when not cross-compiling and
16874 when fast-check is not defined.
16875
16876 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16877 * conform/data/limits.h-data: Fixes for POSIX2008.
16878 * conform/run-conformtest.sh: Run all tests.
16879 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16880 headers.
16881 * include/bits/dlfcn.h: Likewise.
16882 * include/langinfo.h: Likewise.
16883 * include/monetary.h: Likewise.
16884 * include/sys/poll.h: Likewise.
16885
16886 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16887 for __USE_GNU.
16888 * posix/spawn.h: Define __need_sigset_t.
16889 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16890 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16891 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16892 to get sigevent_t only.
16893 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16894 only for __USE_GNU.
16895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16896 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16897 process_vm_writev only for __USE_GNU.
16898 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16899
16900 * conform/Makefile: For now ignore errors from run-conformtest.
16901 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16902 POSIX to avoid namespace pollution. Don't prepend headers.
16903 * conform/data/aio.h-data: Fixes for POSIX testing.
16904 * conform/data/fcntl.h-data: Likewise.
16905 * conform/data/glob.h-data: Likewise.
16906 * conform/data/grp.h-data: Likewise.
16907 * conform/data/pthread.h-data: Likewise.
16908 * conform/data/pwd.h-data: Likewise.
16909 * conform/data/signal.h-data: Likewise.
16910 * conform/data/spawn.h-data: Likewise.
16911 * conform/data/stdio.h-data: Likewise.
16912 * conform/data/stdlib.h-data: Likewise.
16913 * conform/data/stropts.h-data: Likewise.
16914 * conform/data/sys/mman.h-data: Likewise.
16915 * conform/data/sys/stat.h-data: Likewise.
16916 * conform/data/sys/types.h-data: Likewise.
16917 * conform/data/sys/wait.h-data: Likewise.
16918 * conform/data/time.h-data: Likewise.
16919 * conform/data/unistd.h-data: Likewise.
16920 * conform/data/utime.h-data: Likewise.
16921
16922 * io/sys/stat.h: fchmod was always in POSIX.
16923 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16924 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16925 * rt/aio.h: Define __need_timespec before including <time.h>.
16926 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16927 struct. Add forward declaration of pthread_attr_t and use it in
16928 sigevent.
16929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16931 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16932 always remove CLK_TCK definition.
16933
16934 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16935
16936 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16937
16938 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16939
16940 * conform/run-conformtest.sh: New file.
16941 * conform/Makefile: Run run-conformtest for tests.
16942 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16943 support.
16944
16945 * conform/data/uchar.h-data: New file.
16946 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16947 * conform/data/arpa/inet.h-data: Likewise.
16948 * conform/data/assert.h-data: Likewise.
16949 * conform/data/complex.h-data: Likewise.
16950 * conform/data/cpio.h-data: Likewise.
16951 * conform/data/ctype.h-data: Likewise.
16952 * conform/data/dirent.h-data: Likewise.
16953 * conform/data/dlfcn.h-data: Likewise.
16954 * conform/data/errno.h-data: Likewise.
16955 * conform/data/fcntl.h-data: Likewise.
16956 * conform/data/float.h-data: Likewise.
16957 * conform/data/fmtmsg.h-data: Likewise.
16958 * conform/data/fnmatch.h-data: Likewise.
16959 * conform/data/ftw.h-data: Likewise.
16960 * conform/data/glob.h-data: Likewise.
16961 * conform/data/grp.h-data: Likewise.
16962 * conform/data/iconv.h-data: Likewise.
16963 * conform/data/inttypes.h-data: Likewise.
16964 * conform/data/langinfo.h-data: Likewise.
16965 * conform/data/libgen.h-data: Likewise.
16966 * conform/data/limits.h-data: Likewise.
16967 * conform/data/locale.h-data: Likewise.
16968 * conform/data/math.h-data: Likewise.
16969 * conform/data/monetary.h-data: Likewise.
16970 * conform/data/mqueue.h-data: Likewise.
16971 * conform/data/ndbm.h-data: Likewise.
16972 * conform/data/net/if.h-data: Likewise.
16973 * conform/data/netdb.h-data: Likewise.
16974 * conform/data/netinet/in.h-data: Likewise.
16975 * conform/data/nl_types.h-data: Likewise.
16976 * conform/data/poll.h-data: Likewise.
16977 * conform/data/pthread.h-data: Likewise.
16978 * conform/data/pwd.h-data: Likewise.
16979 * conform/data/regex.h-data: Likewise.
16980 * conform/data/sched.h-data: Likewise.
16981 * conform/data/search.h-data: Likewise.
16982 * conform/data/semaphore.h-data: Likewise.
16983 * conform/data/setjmp.h-data: Likewise.
16984 * conform/data/signal.h-data: Likewise.
16985 * conform/data/spawn.h-data: Likewise.
16986 * conform/data/stdarg.h-data: Likewise.
16987 * conform/data/stdio.h-data: Likewise.
16988 * conform/data/stdlib.h-data: Likewise.
16989 * conform/data/string.h-data: Likewise.
16990 * conform/data/strings.h-data: Likewise.
16991 * conform/data/stropts.h-data: Likewise.
16992 * conform/data/sys/ipc.h-data: Likewise.
16993 * conform/data/sys/mman.h-data: Likewise.
16994 * conform/data/sys/msg.h-data: Likewise.
16995 * conform/data/sys/resource.h-data: Likewise.
16996 * conform/data/sys/select.h-data: Likewise.
16997 * conform/data/sys/sem.h-data: Likewise.
16998 * conform/data/sys/shm.h-data: Likewise.
16999 * conform/data/sys/socket.h-data: Likewise.
17000 * conform/data/sys/stat.h-data: Likewise.
17001 * conform/data/sys/statvfs.h-data: Likewise.
17002 * conform/data/sys/time.h-data: Likewise.
17003 * conform/data/sys/timeb.h-data: Likewise.
17004 * conform/data/sys/times.h-data: Likewise.
17005 * conform/data/sys/types.h-data: Likewise.
17006 * conform/data/sys/uio.h-data: Likewise.
17007 * conform/data/sys/un.h-data: Likewise.
17008 * conform/data/sys/utsname.h-data: Likewise.
17009 * conform/data/sys/wait.h-data: Likewise.
17010 * conform/data/syslog.h-data: Likewise.
17011 * conform/data/tar.h-data: Likewise.
17012 * conform/data/termios.h-data: Likewise.
17013 * conform/data/utime.h-data: Likewise.
17014 * conform/data/utmpx.h-data: Likewise.
17015 * conform/data/varargs.h-data: Likewise.
17016 * conform/data/wchar.h-data: Likewise.
17017 * conform/data/wctype.h-data: Likewise.
17018 * conform/data/wordexp.h-data: Likewise.
17019
17020 * include/stropts.h: New file.
17021 * include/uchar.h: New file.
17022 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17023 * include/assert.h: Likewise.
17024 * include/ctype.h: Likewise.
17025 * include/dirent.h: Likewise.
17026 * include/dlfcn.h: Likewise.
17027 * include/fcntl.h: Likewise.
17028 * include/fnmatch.h: Likewise.
17029 * include/glob.h: Likewise.
17030 * include/grp.h: Likewise.
17031 * include/libio.h: Likewise.
17032 * include/locale.h: Likewise.
17033 * include/math.h: Likewise.
17034 * include/net/if.h: Likewise.
17035 * include/netdb.h: Likewise.
17036 * include/netinet/in.h: Likewise.
17037 * include/pthread.h: Likewise.
17038 * include/pwd.h: Likewise.
17039 * include/regex.h: Likewise.
17040 * include/sched.h: Likewise.
17041 * include/search.h: Likewise.
17042 * include/setjmp.h: Likewise.
17043 * include/signal.h: Likewise.
17044 * include/stdio.h: Likewise.
17045 * include/stdlib.h: Likewise.
17046 * include/string.h: Likewise.
17047 * include/sys/cdefs.h: Likewise.
17048 * include/sys/mman.h: Likewise.
17049 * include/sys/msg.h: Likewise.
17050 * include/sys/resource.h: Likewise.
17051 * include/sys/select.h: Likewise.
17052 * include/sys/socket.h: Likewise.
17053 * include/sys/stat.h: Likewise.
17054 * include/sys/statvfs.h: Likewise.
17055 * include/sys/time.h: Likewise.
17056 * include/sys/times.h: Likewise.
17057 * include/sys/uio.h: Likewise.
17058 * include/sys/utsname.h: Likewise.
17059 * include/sys/wait.h: Likewise.
17060 * include/termios.h: Likewise.
17061 * include/time.h: Likewise.
17062 * include/ulimit.h: Likewise.
17063 * include/unistd.h: Likewise.
17064 * include/utime.h: Likewise.
17065 * include/wchar.h: Likewise.
17066 * include/wctype.h: Likewise.
17067 * include/wordexp.h: Likewise.
17068
17069 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17070
17071 * time/time.h: TIME_UTC must be a macro.
17072 Make timespec_get available for ISO C11 only as well.
17073
17074 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17075
17076 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17077 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17078
17079 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17080
17081 * configure.in: Use -o not -a in test for unsupported multi-arch.
17082
17083 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17084
17085 * manual/texinfo.tex: Update to version 2012-01-19.16.
17086
17087 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17088
17089 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17090
17091 2012-02-24 Roland McGrath <roland@hack.frob.com>
17092
17093 [BZ #13738]
17094 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17095 * manual/fdl-1.3.texi: New file.
17096 * manual/fdl-1.1.texi: File removed.
17097
17098 [BZ #13738]
17099 * manual/libc.texinfo (FDL_VERSION): New @set.
17100 Use it for mention of FDL in cover text.
17101 (Documentation License): Use it in @include file name.
17102
17103 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17104 Roland McGrath <roland@hack.frob.com>
17105
17106 [BZ #5461]
17107 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17108 not LONG_LONG_MAX and LONG_LONG_MIN.
17109 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17110 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17111 name.
17112 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17113
17114 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17115
17116 [BZ #2547]
17117 [BZ #11365]
17118 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17119 manipulate bits before adding and subtracting TWO23[sx].
17120 * math/libm-test.inc (nearbyint_test): Add more tests.
17121
17122 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17123
17124 [BZ #2548]
17125 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17126 bits before adding and subtracting TWO23[sx].
17127 * math/libm-test.inc (rint_test): Add more tests.
17128 (rint_test_tonearest): Likewise.
17129 (rint_test_towardzero): Likewise.
17130 (rint_test_downward): Likewise.
17131 (rint_test_upward: Likewise.
17132
17133 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17134
17135 [BZ #10110]
17136 * include/stdc-predef.h: New file. Extracted from features.h.
17137 * include/features.h: Include stdc-predef.h.
17138 * Makefile (headers): Add stdc-predef.h.
17139 * CONFORMANCE (Compiler limitations): Update.
17140
17141 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17142
17143 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17144
17145 2012-02-21 David S. Miller <davem@davemloft.net>
17146
17147 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17148 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17149
17150 2012-02-20 David S. Miller <davem@davemloft.net>
17151
17152 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17153 using a normal save/restore sequence, rather than allocating a
17154 dummy stack frame just to store a frame pointer and restore.
17155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17156
17157 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17158
17159 * manual/install.texi: Fix stray word in line-wrapped comment.
17160
17161 2012-02-20 David S. Miller <davem@davemloft.net>
17162
17163 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17164 both binutils and gcc support GOTDATA.
17165
17166 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17167 "rd %pc" in the PIC register setup sequences.
17168
17169 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17170 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17171 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17172 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17173 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17175 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17178 (SYSCALL_ERROR_HANDLER): Likewise.
17179 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17180 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17182 (SYSCALL_ERROR_HANDLER): Likewise.
17183
17184 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17185 (HAVE_GCC_GOTDATA): New.
17186 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17187 relocation support in both binutils and gcc.
17188 * sysdeps/sparc/elf/configure: Regenerate.
17189
17190 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17191 * sysdeps/sparc/sparc32/elf/configure: Delete.
17192 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17193 * sysdeps/sparc/sparc64/elf/configure: Delete.
17194 * sysdeps/sparc/elf/configure.in: New file.
17195 * sysdeps/sparc/elf/configure: Generate.
17196
17197 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17198 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17199 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17200 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17201 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17202
17203 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17204
17205 * manual/install.texi: Do not mention specific glibc version
17206 numbers.
17207 * manual/libc.texinfo (VERSION, UPDATED): Update.
17208 (@copying): Use @copyright{} and range of years.
17209
17210 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17211
17212 [BZ #13695]
17213 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17214 [crti.S not in sysdirs] (generated): Do not append.
17215 [crti.S not in sysdirs] (omit-deps): Likewise.
17216 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17217 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17218 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17219 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17220 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17221 Likewise.
17222 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17223 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17224 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17225 * csu/defs.awk: Remove file.
17226 * sysdeps/generic/initfini.c: Likewise.
17227 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17228 variable.
17229 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17230 Likewise.
17231
17232 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17233
17234 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17235 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17236 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17238 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17239 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17240 <bits/epoll.h>.
17241 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17242 (__EPOLL_PACKED): Define to empty if not defined by
17243 <bits/epoll.h>.
17244 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17246 bits/epoll.h.
17247
17248 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17249
17250 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17251 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17253 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17254 <bits/timerfd.h>.
17255 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17257 bits/timerfd.h.
17258
17259 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17260
17261 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17262 in C locale.
17263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17264 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17265 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17267
17268 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17269
17270 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17271 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17272
17273 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17274
17275 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17276 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17277 defined.
17278 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17279 Likewise.
17280 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17281 entry for 2.16.
17282
17283 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17284
17285 * math/w_acos.c: Use non-signaling floating-point comparisons.
17286 * math/w_acosf.c: Likewise.
17287 * math/w_acosh.c: Likewise.
17288 * math/w_acoshf.c: Likewise.
17289 * math/w_acoshl.c: Likewise.
17290 * math/w_acosl.c: Likewise.
17291 * math/w_asin.c: Likewise.
17292 * math/w_asinf.c: Likewise.
17293 * math/w_asinl.c: Likewise.
17294 * math/w_atanh.c: Likewise.
17295 * math/w_atanhf.c: Likewise.
17296 * math/w_atanhl.c: Likewise.
17297 * math/w_exp2.c: Likewise.
17298 * math/w_exp2f.c: Likewise.
17299 * math/w_exp2l.c: Likewise.
17300 * math/w_j0.c: Likewise.
17301 * math/w_j0f.c: Likewise.
17302 * math/w_j0l.c: Likewise.
17303 * math/w_j1.c: Likewise.
17304 * math/w_j1f.c: Likewise.
17305 * math/w_j1l.c: Likewise.
17306 * math/w_jn.c: Likewise.
17307 * math/w_jnf.c: Likewise.
17308 * math/w_log.c: Likewise.
17309 * math/w_log10.c: Likewise.
17310 * math/w_log10f.c: Likewise.
17311 * math/w_log10l.c: Likewise.
17312 * math/w_log2.c: Likewise.
17313 * math/w_log2f.c: Likewise.
17314 * math/w_log2l.c: Likewise.
17315 * math/w_logf.c: Likewise.
17316 * math/w_logl.c: Likewise.
17317 * math/w_sqrt.c: Likewise.
17318 * math/w_sqrtf.c: Likewise.
17319 * math/w_sqrtl.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17322 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17323 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17325
17326 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17327
17328 [BZ #9739]
17329 * manual/string.texi (strnlen): Use correct parameter name in
17330 equivalent expression.
17331
17332 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17333
17334 [BZ #11174]
17335 * manual/users.texi (seteuid): Consistently use neweuid for
17336 argument name.
17337
17338 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17339
17340 [BZ #13704]
17341 * manual/nss.texi (Services in the NSS configuration): Correct
17342 list of services in example configuration file.
17343
17344 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17345
17346 [BZ #11322]
17347 * manual/arith.texi: Remove statements about negative zero
17348 behaving identically to zero.
17349
17350 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17351
17352 [BZ #5993]
17353 * manual/install.texi: Do not document upgrading from libc5.
17354
17355 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17356
17357 [BZ #4596]
17358 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17359
17360 2012-02-18 David S. Miller <davem@davemloft.net>
17361
17362 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17363 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17364 %o7 across the call.
17365 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17366 instead.
17367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17368 SETUP_PIC_REG_LEAF.
17369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17370 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17371 * sysdeps/sparc/crtn.S: Likewise.
17372
17373 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17374
17375 * aout/Makefile: Remove.
17376
17377 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17378
17379 [BZ #13058]
17380 * manual/examples/argp-ex1.c (main): Format definition in GNU
17381 style.
17382 * manual/examples/argp-ex2.c (main): Likewise.
17383 * manual/examples/argp-ex3.c (main): Likewise.
17384 * manual/examples/argp-ex4.c (main): Likewise.
17385 * manual/examples/longopt.c (main): Use new-style prototype
17386 definition.
17387 * manual/examples/strncat.c (main): Specify return type and use
17388 (void) for arguments.
17389 * manual/examples/subopt.c (main): Use char **argv argument.
17390
17391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17392
17393 [BZ #5077]
17394 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17395 rounding modes.
17396
17397 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17398
17399 [BZ #6907]
17400 * manual/string.texi (strchr): Change when strchrnul is
17401 recommended.
17402
17403 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17404
17405 [BZ #174]
17406 * manual/locale.texi (setlocale): Document LOCPATH.
17407
17408 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17409
17410 [BZ #10210]
17411 * manual/process.texi (execle): Move @dots{} before last argument.
17412
17413 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17414
17415 [BZ #12047]
17416 * manual/charset.texi (Generic Charset Conversion): Fix typo
17417 (LC_TYPE -> LC_CTYPE).
17418
17419 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17420
17421 [BZ #5805]
17422 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17423 (scalbnf): Likewise.
17424 (scalbnl): Likewise.
17425 (scalbln): Likewise.
17426 (scalblnf): Likewise.
17427 (scalblnl): Likewise.
17428 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17429 (vwarnx): Likewise.
17430 (verr): Likewise.
17431 (verrx): Likewise.
17432 * manual/filesys.texi (telldir): Use braces around return type.
17433 * manual/llio.texi (mmap): Add space after comma.
17434 (mmap64): Likewise.
17435 * manual/math.texi (jn): Use @var{} on parameter names.
17436 (jnf): Likewise.
17437 (jnl): Likewise.
17438 (yn): Likewise.
17439 (ynf): Likewise.
17440 (ynl): Likewise.
17441 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17442 line.
17443 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17444 "...".
17445 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17446 (sched_get_priority_max): Likewise.
17447 * manual/signal.texi (sigvec): Add space after comma.
17448 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17449 names.
17450 (if_indextoname): Likewise.
17451 (if_freenameindex): Likewise.
17452 (sendto): Use ',' instead of '.' in prototype.
17453 * manual/startup.texi (syscall): Use @dots{} instead of literal
17454 "...".
17455 * manual/stdio.texi (__fpending): Separate initial words of
17456 paragraph from @deftypefun line.
17457 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17458 "...".
17459 (vsyslog): Use @var{} on parameter names.
17460 * manual/terminal.texi (stty): Use @var{} on parameter names.
17461 * manual/users.texi (getutmp): Use @var{} on parameter names.
17462 (getutmpx): Likewise.
17463
17464 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17465
17466 [BZ #6884]
17467 * manual/stdio.texi (fopen): Fix typos in description of
17468 ",ccs=STRING".
17469
17470 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17471
17472 [BZ #4026]
17473 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17474 get clock_id definition.
17475
17476 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17477
17478 [BZ #4822]
17479 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17480 (madvise): Cast every argument to void on its own.
17481
17482 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17483
17484 [BZ #9902]
17485 * manual/startup.texi (Exit Status): Fix typo.
17486
17487 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17488
17489 [BZ #10140]
17490 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17491 * manual/examples/argp-ex2.c: Likewise.
17492 * manual/examples/argp-ex3.c: Likewise.
17493
17494 2012-02-16 Richard Henderson <rth@redhat.com>
17495
17496 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17497 * sysdeps/s390/s390-32/initfini.c: Remove.
17498 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17499 * sysdeps/s390/s390-64/initfini.c: Remove.
17500
17501 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17502
17503 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17504 compiler output for sysdeps/generic/initfini.c.
17505 * sysdeps/sh/elf/initfini.c: Remove file.
17506
17507 2012-02-16 David S. Miller <davem@davemloft.net>
17508
17509 [BZ #11494]
17510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17511
17512 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17513 * sysdeps/sparc/crti.S: New file.
17514 * sysdeps/sparc/crtn.S: New file.
17515 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17516 * sysdeps/sparc/sparc64/Makefile: Likewise.
17517
17518 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17519
17520 [BZ #3335]
17521 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17522
17523 2012-02-15 Roland McGrath <roland@hack.frob.com>
17524
17525 [BZ #4822]
17526 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17527
17528 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17529 (write, read, close): Likewise.
17530 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17531
17532 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17533
17534 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17535 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17536 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17537 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17538 <bits/signalfd.h>.
17539 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17541 bits/signalfd.h.
17542
17543 2012-02-14 Marek Polacek <polacek@redhat.com>
17544
17545 * sysdeps/x86_64/crti.S: New file.
17546 * sysdeps/x86_64/crtn.S: New file.
17547 * sysdeps/x86_64/elf/initfini.c: Remove file.
17548
17549 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17550
17551 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17552 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17553 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17554 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17555 <bits/inotify.h>.
17556 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17558 bits/inotify.h.
17559
17560 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17561
17562 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17563 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17564 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17565 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17566 <bits/eventfd.h>.
17567 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17569 bits/eventfd.h.
17570
17571 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17572
17573 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17574 __feraiseexcept instead of feraiseexcept.
17575
17576 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17577 nanosleep invocations.
17578 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17579 strings, and add error checking for a nanosleep invocations.
17580
17581 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17582
17583 Replace FSF snail mail address with URLs, as per GNU coding standards.
17584 Most of the snail mail addresses were wrong anyway, and omitting
17585 them makes the source code easier to maintain. Almost all of the
17586 changes are to license notices and to locale LC_IDENTIFICATION
17587 addresses, except for this one:
17588 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17589 not its snail mail address.
17590
17591 2012-02-09 Richard Henderson <rth@twiddle.net>
17592
17593 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17594 of kernel-features.h.
17595
17596 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17597
17598 2012-02-08 Marek Polacek <polacek@redhat.com>
17599
17600 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17601 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17602 * sysdeps/gnu/_G_config.h: Likewise.
17603 * sysdeps/generic/_G_config.h: Likewise.
17604
17605 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17606
17607 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17608 tests.
17609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17610
17611 * sysdeps/powerpc/powerpc32/crti.S: New file.
17612 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17613 * sysdeps/powerpc/powerpc64/crti.S: New file.
17614 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17615
17616 * Makeconfig (have-initfini): Don't set.
17617 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17618 * configure.in (nopic_initfini): Don't substitute.
17619 * config.h.in (HAVE_INITFINI): Don't #undef.
17620 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17621 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17622
17623 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17624
17625 Support crti.S and crtn.S provided directly by architectures.
17626 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17627 [crti.S in sysdirs] (omit-deps): Likewise.
17628 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17629 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17630 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17631 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17632 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17633 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17634 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17635 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17636 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17637 compiler output for sysdeps/generic/initfini.c.
17638 * sysdeps/i386/elf/Makefile: Remove file.
17639 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17640
17641 2012-02-07 Marek Polacek <polacek@redhat.com>
17642
17643 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17644 * sysdeps/gnu/_G_config.h: Likewise.
17645 * sysdeps/mach/hurd/_G_config.h: Likewise.
17646
17647 2012-02-07 Marek Polacek <polacek@redhat.com>
17648
17649 * math/Makefile (tests): Add tst-CMPLX2.
17650 * math/tst-CMPLX2.c: New file.
17651
17652 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17653
17654 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17655
17656 * math/libm-test.inc (jn_test): Add missing L suffix.
17657
17658 2012-02-06 Marek Polacek <polacek@redhat.com>
17659
17660 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17661 * sysdeps/i386/fpu/e_powf.S: Likewise.
17662 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17663 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17664 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17665 * sysdeps/i386/fpu/e_pow.S: Likewise.
17666 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17667 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17668 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17669 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17670 * sysdeps/i386/fpu/e_log2.S: Likewise.
17671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17672 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17673 * sysdeps/i386/fpu/e_powl.S: Likewise.
17674 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17675 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17676 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17677 * sysdeps/i386/fpu/e_logl.S: Likewise.
17678 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17679 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17680 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17681 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17682 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17683 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17684 * sysdeps/i386/fpu/e_log.S: Likewise.
17685 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17687 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17688 * sysdeps/i386/fpu/e_logf.S: Likewise.
17689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17690 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17691 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17692 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17693 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17694 * sysdeps/i386/fpu/e_log10.S: Likewise.
17695 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17696 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17697 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17698 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17699 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17700 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17701 * sysdeps/i386/asm-syntax.h: Likewise.
17702 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17703 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17704 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17705 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17706 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17707 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17708 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17709 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17710 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17711 * sysdeps/powerpc/sysdep.h: Likewise.
17712 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17713 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17714
17715 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17716
17717 [BZ #411]
17718 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17719
17720 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17721
17722 * sysdeps/i386/sysdep.h: Include <features.h>.
17723 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17724 version.
17725
17726 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17727
17728 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17729 Define.
17730 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17731 LOAD_PIC_REG_STR.
17732
17733 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17734
17735 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17736 (SETUP_PIC_REG): Use GET_PC_THUNK.
17737 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17738 macro.
17739
17740 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17741
17742 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17743 for non-PIC compilation.
17744 (SETUP_PIC_REG): Add .p2align directive.
17745 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17746 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17747 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17748 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17749 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17750 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17753 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17754 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17755 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17756 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17757 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17758 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17759 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17760 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17761 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17762 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17763 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17764 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17765 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17766 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17767 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17768 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17769 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17770 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17771 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17772 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17773 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17774 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17775 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17776 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17777 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17778 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17779 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17780 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17781 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17782 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17783 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17784 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17785 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17786
17787 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17788
17789 * math/tst-CMPLX.c: Include <stdio.h>.
17790
17791 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17792
17793 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17794 float.
17795 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17796 * sysdeps/sparc/bits/mathdef.h: Likewise.
17797
17798 2012-01-31 Marek Polacek <polacek@redhat.com>
17799
17800 * libio/libio.h: Don't define _PARAMS.
17801 * locale/programs/config.h: Don't define PARAMS.
17802 * stdlib/strtol_l.c: Likewise.
17803 (__strtol_l): Remove PARAMS from the prototype.
17804
17805 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17806
17807 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17808 names. Just use the correct names. Remove unnecessary wrapper
17809 functions.
17810 * malloc/arena.c: Likewise.
17811 * malloc/hooks.c: Likewise.
17812
17813 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17814 ARENA_TEST says not to. Simplify test for creation of a new arena.
17815 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17816
17817 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17818
17819 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17820 into tail calls.
17821 (update_get_addr): New function.
17822 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17823 GET_ADDR_MODULE parameter.
17824
17825 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17826
17827 * crypt/cert.c: Remove __STDC__ conditionals.
17828 * crypt/crypt-entry.c: Likewise.
17829 * crypt/crypt_util.c: Likewise.
17830 * libio/filedoalloc.c: Likewise.
17831 * libio/fileops.c: Likewise.
17832 * libio/genops.c: Likewise.
17833 * libio/iofclose.c: Likewise.
17834 * libio/iofdopen.c: Likewise.
17835 * libio/iofopen.c: Likewise.
17836 * libio/iofopen64.c: Likewise.
17837 * libio/iogetdelim.c: Likewise.
17838 * libio/iopopen.c: Likewise.
17839 * libio/obprintf.c: Likewise.
17840 * libio/oldfileops.c: Likewise.
17841 * libio/oldiofclose.c: Likewise.
17842 * libio/oldiofdopen.c: Likewise.
17843 * libio/oldiofopen.c: Likewise.
17844 * libio/oldiopopen.c: Likewise.
17845 * libio/wfiledoalloc.c: Likewise.
17846 * libio/wgenops.c: Likewise.
17847 * locale/programs/xmalloc.c: Likewise.
17848 * misc/syslog.c: Likewise.
17849 * stdio-common/xbug.c: Likewise.
17850 * string/memchr.c: Likewise.
17851 * string/memcmp.c: Likewise.
17852 * string/memrchr.c: Likewise.
17853 * string/rawmemchr.c: Likewise.
17854 * sysdeps/posix/getcwd.c: Likewise.
17855 * time/strftime_l.c: Likewise.
17856
17857 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17858
17859 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17860 * config.make.in (config-cflags-sse2avx): Define.
17861 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17862 Fix typo.
17863
17864 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17865
17866 * scripts/config.guess: Update from upstream config git repository.
17867 * scripts/config.sub: Likewise.
17868
17869 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17870
17871 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17872 (EM_NUM): Update.
17873 (R_TILEPRO_*, R_TILEGX_*): New macros.
17874
17875 * scripts/firstversions.awk: Fix bug in version range handling.
17876
17877 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17878
17879 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17880
17881 * include/sys/epoll.h: New file.
17882 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17883 libc_hidden_def.
17884
17885 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17886
17887 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17888 Avoid unnecessary __WORDSIZE == 64 test.
17889 (fmaxf): Use VEX format if possible.
17890 (fmax): Likewise.
17891 (fminf): Likewise.
17892 (fmin): Likewise.
17893
17894 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17895 * math/math_private.h: Remove libc_fegetround* and
17896 libc_fesetround*.
17897 * sysdeps/i386/configure.in: Check for -msse2avx.
17898 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17899 also if SSE2AVX is defined.
17900 Remove libc_fegetround* and libc_fesetround*.
17901 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17902 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17903 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17904 of HAS_YMM_USABLE.
17905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17906 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17907 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17910
17911 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17912
17913 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17914
17915 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17916 size is not set.
17917 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17918
17919 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17920
17921 [BZ #13618]
17922 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17923 relocation.
17924 * Makeconfig (libm): Define.
17925 * elf/Makefile: Add rules to build and run tst-relsort1.
17926 * elf/tst-relsort1.c: New file.
17927 * elf/tst-relsort1mod1.c: New file.
17928 * elf/tst-relsort1mod2.c: New file.
17929
17930 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17931
17932 * math/s_ldexp.c: Remove __STDC__ conditionals.
17933 * math/s_ldexpf.c: Likewise.
17934 * math/s_ldexpl.c: Likewise.
17935 * math/s_nextafter.c: Likewise.
17936 * math/s_nexttowardf.c: Likewise.
17937 * math/s_significand.c: Likewise.
17938 * math/s_significandf.c: Likewise.
17939 * math/s_significandl.c: Likewise.
17940 * math/w_jnl.c: Likewise.
17941 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17942 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17943 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17944 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17945 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17960 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17961 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17962 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17963 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17965 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17966 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17967 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17969 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17970 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17971 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17972 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17973 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17976 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17977 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17978 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17981 * sysdeps/ieee754/k_standard.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18043 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18050 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18051 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18061 * sysdeps/ieee754/s_matherr.c: Likewise.
18062 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18063 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18066
18067 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18068
18069 * crypt/md5.h: Remove __STDC__ conditionals.
18070 * libio/libioP.h: Likewise.
18071 * locale/programs/config.h: Likewise.
18072 * sysdeps/generic/sysdep.h: Likewise.
18073 * sysdeps/i386/asm-syntax.h: Likewise.
18074 * sysdeps/s390/asm-syntax.h: Likewise.
18075 * sysdeps/unix/sysdep.h: Likewise.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18078
18079 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18080
18081 * libio/libio.h: Remove __STDC__ conditionals.
18082 * malloc/obstack.h: Likewise.
18083 * math/complex.h: Likewise.
18084 * math/math.h: Likewise.
18085 * sysdeps/generic/_G_config.h: Likewise.
18086 * sysdeps/gnu/_G_config.h: Likewise.
18087 * sysdeps/mach/hurd/_G_config.h: Likewise.
18088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18089 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18090 * sysdeps/sparc/bits/mathdef.h: Likewise.
18091
18092 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18093
18094 [BZ #13583]
18095 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18096 Clean up HAS_* macros.
18097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18098 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18099 possible.
18100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18101 HAS_AVX.
18102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18103 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18104 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18105 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18106 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18107
18108 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18109
18110 * elf/tst-unique3.cc (gets): Remove declaration.
18111 * elf/tst-unique3lib.cc (gets): Likewise.
18112 * elf/tst-unique3lib2.cc (gets): Likewise.
18113 * elf/tst-unique4.cc (gets): Likewise.
18114
18115 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18116
18117 * include/stdio.h: Add C++ protection. Add gets declarations and
18118 definitions.
18119 * debug/tst-chk1.c: Don't declare gets here.
18120 * stdio-common/tst-gets.c: Likewise.
18121
18122 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18123
18124 * posix/glob: Remove directory.
18125
18126 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18127
18128 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18129
18130 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18131
18132 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18133 of the non-standard EPFNOSUPPORT.
18134
18135 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18136
18137 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18138 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18139 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18140
18141 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18142
18143 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18144
18145 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18146
18147 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18148 transient errors.
18149 * nscd/grpcache.c (cache_addgr): Likewise.
18150 * nscd/hstcache.c (cache_addhst): Likewise.
18151 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18152 * nscd/pwdcache.c (cache_addpw): Likewise.
18153 * nscd/servicescache.c (cache_addserv): Likewise.
18154
18155 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18156
18157 * malloc/malloc.c: Various cleanups.
18158 * malloc/hooks.c: Likewise.
18159
18160 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18161 * stdlib/bug-fmtmsg1.c: New file.
18162
18163 * stdlib/fmtmsg.c (init): Add missing unlock.
18164 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18165
18166 2012-01-12 Marek Polacek <polacek@redhat.com>
18167
18168 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18169 and _GNU_SOURCE.
18170
18171 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18172
18173 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18175 macro to ensure uniqueness of label name.
18176 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18177 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18178
18179 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18180
18181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18182
18183 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18184 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18185 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18187
18188 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18189
18190 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18191
18192 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18193 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18195
18196 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18197
18198 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18199 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18202
18203 * math/bits/math-finite.h: Add ldexp support.
18204
18205 2012-01-10 Marek Polacek <polacek@redhat.com>
18206
18207 * locale/programs/localedef.h (show_archive_content): Add noreturn
18208 attribute.
18209
18210 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18211
18212 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18213
18214 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18215
18216 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18217
18218 * io/Makefile (headers): Add bits/poll2.h.
18219
18220 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18221
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18223 typo #include statement.
18224
18225 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18226
18227 * include/sys/cdefs.h: Define __attribute_alloc_size.
18228 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18229 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18230 * elf/pldd.c: Likewise.
18231 * iconv/iconv_charmap.c: Likewise.
18232 * iconv/iconvconfig.c: Likewise.
18233 * iconv/strtab.c: Likewise.
18234 * locale/programs/locale.c: Likewise.
18235 * locale/programs/localedef.h: Likewise.
18236 * locale/programs/simple-hash.c: Likewise.
18237 * nscd/nscd.h: Likewise.
18238 * nss/makedb.c: Likewise.
18239 * sysdeps/generic/ldconfig.h: Likewise.
18240 * locale/programs/localedef.c: Remove xmalloc prototype.
18241 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18242
18243 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18244
18245 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18246 appropriate.
18247
18248 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18249
18250 * math/Makefile (tests): Add tst-CMPLX.
18251 * math/tst-CMPLX.c: New file.
18252
18253 * math/complex.h (CMPLXL): Fix typo.
18254
18255 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18256 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18257 GLIBC_2.16.
18258 * debug/tst-chk1.c: Add poll and ppoll tests.
18259 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18260 * include/sys/poll.h: Add hidden proto for ppoll.
18261 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18262 * sysdeps/mach/hurd/ppoll.c: Likewise.
18263 * io/ppoll.c: Likewise.
18264 * debug/poll_chk.c: New file.
18265 * debug/ppoll_chk.c: New file.
18266 * include/bits/poll2.h: New file.
18267 * io/bits/poll2.h: New file.
18268
18269 [BZ #1350]
18270 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18271
18272 * configure.in: static is always set to yes. Remove.
18273 * config.make.in: Don't set build-static.
18274 * Makeconfig: Remove use of build-static.
18275 * dlfcn/Makefile: Likewise.
18276 * elf/Makefile: Likewise.
18277 * math/Makefile: Likewise.
18278 * misc/Makefile: Likewise.
18279 * nptl/Makefile: Likewise.
18280 * sysdeps/mach/hurd/Makefile: Likewise.
18281
18282 * configure.in: PWD_P is not used anymore.
18283 * config.make.in: Remove PWD_P entry.
18284
18285 * configure.in: Remove last remnants of RANLIB.
18286 No need to check for signed size_t anymore.
18287 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18288 and IA-64.
18289 Remove __builtin_expect test because we require at least gcc 3.4.
18290 * aclocal.m4: Likewise.
18291
18292 * wcsmbs/mbrtoc16.c: Implement using towc function.
18293 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18294 * wcsmbs/wcsmbsload.c: Likewise.
18295 * iconv/gconv_simple.c: Likewise.
18296 * iconv/gconv_int.h: Likewise.
18297 * iconv/gconv_builtin.h: Likewise.
18298 * iconv/iconv_prog.c: Remove CHAR16 handling.
18299
18300 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18301
18302 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18303
18304 * configure.in: Remove --with-elf and --enable-bounded options.
18305 Dont set base_machine for ia64. More non-ELF conditions removed.
18306 Remove testing and setting of leading underscore information.
18307 * config.make.in (build-bounded): Set to no.
18308 * config.h.in: Remove NO_UNDERSCORES entry.
18309 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18310 them.
18311 * csu/start.c: Remove !NO_UNDERSCORE code.
18312 * locale/localeinfo.h: Likewise.
18313 * sysdeps/generic/machine-gmon.h: Likewise.
18314 * sysdeps/generic/sysdep.h: Likewise.
18315 * sysdeps/i386/sysdep.h: Likewise.
18316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18317 * sysdeps/mach/sysdep.h: Likewise.
18318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18320 * sysdeps/sh/sysdep.h: Likewise.
18321 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18322 * sysdeps/unix/i386/sysdep.S: Likewise.
18323 * sysdeps/unix/sparc/start.c: Likewise.
18324 * sysdeps/unix/sparc/sysdep.S: Likewise.
18325 * sysdeps/unix/sparc/sysdep.h: Likewise.
18326 * sysdeps/unix/start.c: Likewise.
18327 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18328 * sysdeps/x86_64/sysdep.h: Likewise.
18329
18330 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18331
18332 [BZ #13553]
18333 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18334 for non-gcc.
18335 * argp/argp-fmtstream.h: Use const instead __const.
18336 * argp/argp.h: Likewise.
18337 * assert/assert.h: Likewise.
18338 * bits/fenv.h: Likewise.
18339 * bits/sched.h: Likewise.
18340 * bits/sigset.h: Likewise.
18341 * bits/sigthread.h: Likewise.
18342 * catgets/nl_types.h: Likewise.
18343 * conform/data/pthread.h-data: Likewise.
18344 * crypt/crypt-private.h: Likewise.
18345 * crypt/crypt.h: Likewise.
18346 * crypt/crypt_util.c: Likewise.
18347 * ctype/ctype.h: Likewise.
18348 * debug/execinfo.h: Likewise.
18349 * debug/mbsnrtowcs_chk.c: Likewise.
18350 * debug/mbsrtowcs_chk.c: Likewise.
18351 * debug/wcsnrtombs_chk.c: Likewise.
18352 * debug/wcsrtombs_chk.c: Likewise.
18353 * debug/wcstombs_chk.c: Likewise.
18354 * dirent/dirent.h: Likewise.
18355 * dlfcn/dlfcn.h: Likewise.
18356 * elf/neededtest4.c: Likewise.
18357 * grp/grp.h: Likewise.
18358 * gshadow/gshadow.h: Likewise.
18359 * iconv/gconv.h: Likewise.
18360 * iconv/gconv_int.h: Likewise.
18361 * iconv/gconv_simple.c: Likewise.
18362 * iconv/iconv.h: Likewise.
18363 * iconv/loop.c: Likewise.
18364 * iconv/skeleton.c: Likewise.
18365 * include/aio.h: Likewise.
18366 * include/aliases.h: Likewise.
18367 * include/argz.h: Likewise.
18368 * include/arpa/inet.h: Likewise.
18369 * include/assert.h: Likewise.
18370 * include/dirent.h: Likewise.
18371 * include/dlfcn.h: Likewise.
18372 * include/execinfo.h: Likewise.
18373 * include/fcntl.h: Likewise.
18374 * include/fenv.h: Likewise.
18375 * include/glob.h: Likewise.
18376 * include/grp.h: Likewise.
18377 * include/libintl.h: Likewise.
18378 * include/mntent.h: Likewise.
18379 * include/netdb.h: Likewise.
18380 * include/pwd.h: Likewise.
18381 * include/rpc/netdb.h: Likewise.
18382 * include/sched.h: Likewise.
18383 * include/search.h: Likewise.
18384 * include/shadow.h: Likewise.
18385 * include/signal.h: Likewise.
18386 * include/stdio.h: Likewise.
18387 * include/stdlib.h: Likewise.
18388 * include/string.h: Likewise.
18389 * include/sys/socket.h: Likewise.
18390 * include/sys/stat.h: Likewise.
18391 * include/sys/statfs.h: Likewise.
18392 * include/sys/statvfs.h: Likewise.
18393 * include/sys/syslog.h: Likewise.
18394 * include/sys/time.h: Likewise.
18395 * include/sys/uio.h: Likewise.
18396 * include/time.h: Likewise.
18397 * include/unistd.h: Likewise.
18398 * include/utmp.h: Likewise.
18399 * include/wchar.h: Likewise.
18400 * include/wctype.h: Likewise.
18401 * inet/aliases.h: Likewise.
18402 * inet/arpa/inet.h: Likewise.
18403 * inet/netinet/ether.h: Likewise.
18404 * inet/netinet/in.h: Likewise.
18405 * intl/libintl.h: Likewise.
18406 * io/bits/fcntl2.h: Likewise.
18407 * io/fcntl.h: Likewise.
18408 * io/ftw.h: Likewise.
18409 * io/sys/poll.h: Likewise.
18410 * io/sys/stat.h: Likewise.
18411 * io/sys/statfs.h: Likewise.
18412 * io/sys/statvfs.h: Likewise.
18413 * io/utime.h: Likewise.
18414 * libio/bits/stdio.h: Likewise.
18415 * libio/bits/stdio2.h: Likewise.
18416 * libio/libio.h: Likewise.
18417 * libio/libioP.h: Likewise.
18418 * libio/stdio.h: Likewise.
18419 * locale/lc-ctype.c: Likewise.
18420 * locale/locale.h: Likewise.
18421 * login/utmp.h: Likewise.
18422 * malloc/arena.c: Likewise.
18423 * malloc/malloc.c: Likewise.
18424 * malloc/malloc.h: Likewise.
18425 * malloc/mcheck.c: Likewise.
18426 * malloc/mtrace.c: Likewise.
18427 * math/bits/mathcalls.h: Likewise.
18428 * math/fenv.h: Likewise.
18429 * math/math_private.h: Likewise.
18430 * misc/bits/error.h: Likewise.
18431 * misc/bits/syslog.h: Likewise.
18432 * misc/err.h: Likewise.
18433 * misc/error.h: Likewise.
18434 * misc/fstab.h: Likewise.
18435 * misc/mntent.h: Likewise.
18436 * misc/regexp.h: Likewise.
18437 * misc/search.h: Likewise.
18438 * misc/sgtty.h: Likewise.
18439 * misc/sys/mman.h: Likewise.
18440 * misc/sys/syslog.h: Likewise.
18441 * misc/sys/uio.h: Likewise.
18442 * misc/sys/xattr.h: Likewise.
18443 * misc/ttyent.h: Likewise.
18444 * nis/rpcsvc/ypclnt.h: Likewise.
18445 * nss/nss.h: Likewise.
18446 * posix/bits/unistd.h: Likewise.
18447 * posix/fnmatch.h: Likewise.
18448 * posix/glob.h: Likewise.
18449 * posix/sched.h: Likewise.
18450 * posix/spawn.h: Likewise.
18451 * posix/sys/wait.h: Likewise.
18452 * posix/unistd.h: Likewise.
18453 * posix/wordexp.h: Likewise.
18454 * pwd/pwd.h: Likewise.
18455 * resolv/netdb.h: Likewise.
18456 * resource/sys/resource.h: Likewise.
18457 * rt/aio.h: Likewise.
18458 * rt/bits/mqueue2.h: Likewise.
18459 * rt/mqueue.h: Likewise.
18460 * shadow/shadow.h: Likewise.
18461 * signal/signal.h: Likewise.
18462 * socket/send.c: Likewise.
18463 * socket/sendto.c: Likewise.
18464 * socket/sys/socket.h: Likewise.
18465 * stdio-common/printf.h: Likewise.
18466 * stdlib/bits/stdlib.h: Likewise.
18467 * stdlib/fmtmsg.h: Likewise.
18468 * stdlib/monetary.h: Likewise.
18469 * stdlib/stdlib.h: Likewise.
18470 * stdlib/ucontext.h: Likewise.
18471 * streams/stropts.h: Likewise.
18472 * string/argz.h: Likewise.
18473 * string/bits/string2.h: Likewise.
18474 * string/string.h: Likewise.
18475 * string/strings.h: Likewise.
18476 * sunrpc/rpc/auth.h: Likewise.
18477 * sunrpc/rpc/auth_des.h: Likewise.
18478 * sunrpc/rpc/clnt.h: Likewise.
18479 * sunrpc/rpc/netdb.h: Likewise.
18480 * sunrpc/rpc/pmap_clnt.h: Likewise.
18481 * sunrpc/rpc/xdr.h: Likewise.
18482 * sysdeps/generic/inttypes.h: Likewise.
18483 * sysdeps/generic/net/if.h: Likewise.
18484 * sysdeps/generic/sys/swap.h: Likewise.
18485 * sysdeps/gnu/net/if.h: Likewise.
18486 * sysdeps/gnu/utmpx.h: Likewise.
18487 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18488 * sysdeps/i386/i486/bits/string.h: Likewise.
18489 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18490 * sysdeps/s390/bits/string.h: Likewise.
18491 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18492 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18493 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18494 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18495 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18496 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18497 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18498 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18499 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18500 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18501 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18502 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18503 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18504 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18505 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18506 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18507 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18509 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18510 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18512 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18513 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18514 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18515 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18516 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18517 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18518 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18519 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18520 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18521 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18522 * sysvipc/sys/ipc.h: Likewise.
18523 * sysvipc/sys/msg.h: Likewise.
18524 * sysvipc/sys/sem.h: Likewise.
18525 * sysvipc/sys/shm.h: Likewise.
18526 * termios/termios.h: Likewise.
18527 * time/sys/time.h: Likewise.
18528 * time/time.h: Likewise.
18529 * wcsmbs/bits/wchar2.h: Likewise.
18530 * wcsmbs/uchar.h: Likewise.
18531 * wcsmbs/wchar.h: Likewise.
18532 * wctype/wctype.h: Likewise.
18533
18534 [BZ #13551]
18535 * Makeconfig: Remove all but ELF support including AIX support.
18536 * Makerules: Likewise.
18537 * config.h.in: Likewise.
18538 * config.make.in: Likewise.
18539 * configure: Likewise.
18540 * configure.in: Likewise.
18541 * csu/Makefile: Likewise.
18542 * csu/version.c: Likewise.
18543 * debug/Makefile: Likewise.
18544 * dlfcn/Makefile: Likewise.
18545 * elf/Makefile: Likewise.
18546 * extra-lib.mk: Likewise.
18547 * iconv/Makefile: Likewise.
18548 * include/libc-symbols.h: Likewise.
18549 * include/shlib-compat.h: Likewise.
18550 * resolv/Makefile: Likewise.
18551 * resolv/res_libc.c: Likewise.
18552 * rt/Makefile: Likewise.
18553 * sysdeps/i386/asm-syntax.h: Likewise.
18554 * sysdeps/i386/sysdep.h: Likewise.
18555 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18556 * sysdeps/mach/sysdep.h: Likewise.
18557 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18558 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18559 * sysdeps/s390/asm-syntax.h: Likewise.
18560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18562 * sysdeps/sh/sysdep.h: Likewise.
18563 * sysdeps/unix/sparc/sysdep.h: Likewise.
18564 * sysdeps/wordsize-32/divdi3.c: Likewise.
18565 * sysdeps/x86_64/sysdep.h: Likewise.
18566
18567 * argp/Versions: Remove _argp_unlock_xxx.
18568
18569 [BZ #13559]
18570 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18571 * abilist/libBrokenLocale.abilist: Likewise.
18572 * abilist/libanl.abilist: Likewise.
18573 * abilist/libc.abilist: Likewise.
18574 * abilist/libcrypt.abilist: Likewise.
18575 * abilist/libdl.abilist: Likewise.
18576 * abilist/libm.abilist: Likewise.
18577 * abilist/libnsl.abilist: Likewise.
18578 * abilist/libpthread.abilist: Likewise.
18579 * abilist/libresolv.abilist: Likewise.
18580 * abilist/librt.abilist: Likewise.
18581 * abilist/libthread_db.abilist: Likewise.
18582 * abilist/libutil.abilist: Likewise.
18583 * abilist/libnss_db.abilist: New file.
18584
18585 * scripts/abilist.awk: Add support for indirect functions.
18586
18587 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18588
18589 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18590
18591 * shlib-versions: Remove entries for ports architectures.
18592
18593 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18594 files in ports.
18595 * elf/stackguard-macros.h: Remove support for IA-64.
18596 * elf/tst-auditmod1.c: Likewise.
18597 * sysdeps/generic/ldsodefs.h: Likewise.
18598
18599 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18600 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18601 configure files.
18602
18603 [BZ #13552]
18604 * configure.in: Remove --enable-omitfp support.
18605 * FAQ.in: Adjust.
18606 * config.make.in: Likewise.
18607 * Makeconfig: Likewise.
18608 * manual/install.texi: Likewise.
18609
18610 In case anyone cares, the IA-64 architecture could move to ports.
18611 * sysdeps/ia64/*: Removed.
18612 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18613 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18614
18615 [BZ #13555]
18616 * configure.in: Remove entries for unsupported architectures.
18617
18618 [BZ #13533]
18619 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18620 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18621 routines.
18622 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18623 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18624 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18625 fall back to using wcrtomb.
18626 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18627 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18628 renaming.
18629 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18630 * wcsmbs/tst-c16c32-1.c: New file.
18631
18632 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18633 local variable.
18634
18635 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18636
18637 * elf/tst-unique3.cc: Add explicit declaration of gets.
18638 * elf/tst-unique3lib.cc: Likewise.
18639 * elf/tst-unique3lib2.cc: Likewise.
18640 * elf/tst-unique4.cc: Likewise.
18641
18642 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18643
18644 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18645
18646 [BZ #13566]
18647 * assert/assert.h (static_assert): Don't define for C++.
18648 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18649 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18650
18651 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18652
18653 * iconv/loop.c (single loop): Fix assertion in storing of
18654 remaining bytes.
18655
18656 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18657
18658 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18659
18660 * posix/getconf.c: Update copyright year.
18661 * nss/getent.c: Likewise.
18662 * nss/makedb.c: Likewise.
18663 * iconv/iconvconfig.c: Likewise.
18664 * iconv/iconv_prog.c: Likewise.
18665 * elf/ldconfig.c: Likewise.
18666 * elf/pldd.c: Likewise.
18667 * elf/sotruss.ksh: Likewise.
18668 * catgets/gencat.c: Likewise.
18669 * csu/version.c: Likewise.
18670 * elf/ldd.bash.in: Likewise.
18671 * elf/sprof.c (print_version): Likewise.
18672 * locale/programs/locale.c: Likewise.
18673 * locale/programs/localedef.c: Likewise.
18674 * login/programs/pt_chown.c: Likewise.
18675 * nscd/nscd.c (print_version): Likewise.
18676 * debug/xtrace.sh: Likewise.
18677 * malloc/memusage.sh: Likewise.
18678 * malloc/mtrace.pl: Likewise.
18679 * debug/catchsegv.sh: Likewise.
18680
18681 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18682
18683 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18684 pure attribute.
18685
18686 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18687
18688 [BZ #13533]
18689 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18690 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18691 transformations.
18692 * iconv/gconv_int.h: Likewise.
18693 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18694 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18695 from libc for GLIBC_2.16.
18696 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18697 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18698 * wcsmbs/uchar.h: Really define mbstate_t.
18699 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18700 * wcsmbs/c16rtomb.c: New file.
18701 * wcsmbs/mbrtoc16.c: New file.
18702 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18703 for C/POSIX locale.
18704 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18705 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18706
18707 * wcsmbs/wchar.h: Add missing __restrict.
18708
18709 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18710
18711 [BZ #13532]
18712 * time/Makefile (routines): Add timespec_get.
18713 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18714 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18715 timespec for ISO C11.
18716 * time/timespec_get.c: New file.
18717 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18718 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18719
18720 [BZ #13531]
18721 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18722 * stdlib/stdlib.h: Declare aligned_alloc.
18723 * Versions.def: Add GLIBC_2.16 for libc.
18724 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18725
18726 [BZ 13527]
18727 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18728 ISO C11.
18729
18730 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18731 code.
18732
18733 [BZ #13528]
18734 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18735
18736 [BZ #13529]
18737 * assert/assert.h (static_assert): Define.
18738
18739 * version.h: Update for 2.16 development version.
18740
18741 [BZ #13526]
18742 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18743 _ISOC11_SOURCE.
18744
18745 * version.h (RELEASE): Bump for 2.15 release.
18746 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18747
18748 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18749 Patch by Marek Polacek <mpolacek@redhat.com>.
18750
18751 * bits/byteswap.h: Protect long long constants with __extension__.
18752 * sysdeps/i386/bits/byteswap.h: Likewise.
18753 * sysdeps/ia64/bits/byteswap.h: Likewise.
18754 * sysdeps/s390/bits/byteswap.h: Likewise.
18755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18756
18757 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18758
18759 [BZ #13540]
18760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18761 destination buffer.
18762 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18763
18764 2011-12-23 Marek Polacek <polacek@redhat.com>
18765
18766 * elf/dl-addr.c (determine_info): Add inline keyword.
18767 * elf/tst-auditmod4b.c (check_avx): Likewise.
18768 * elf/tst-auditmod6b.c (check_avx): Likewise.
18769 * elf/tst-auditmod6c.c (check_avx): Likewise.
18770 * elf/tst-auditmod7b.c (check_avx): Likewise.
18771
18772 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18773
18774 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18775 !__SSE_MATH__.
18776
18777 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18778
18779 [BZ #13540]
18780 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18781 processing for last bytes.
18782
18783 2011-08-06 Bruno Haible <bruno@clisp.org>
18784
18785 [BZ #13061]
18786 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18787 U+0385, not to U+1FEE.
18788
18789 [BZ #13062]
18790 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18791 entry for U+00A5 U+0301.
18792
18793 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18794
18795 [BZ #13166]
18796 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18797 buffer for the output is too small.
18798
18799 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18800 optimization.
18801
18802 [BZ #13185]
18803 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18804 SSE flags if possible.
18805
18806 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18807
18808 [BZ #13540]
18809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18810 processing for last bytes.
18811
18812 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18813
18814 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18815 (syscall-list-default-options, syscall-list-default-condition)
18816 (syscall-list-includes): Define.
18817 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18818 list of ABIs and options and #if conditions for each ABI. Do not
18819 handle common syscalls between ABIs specially.
18820 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18821 Remove.
18822 (syscall-list-variants, syscall-list-32bit-options)
18823 (syscall-list-32bit-condition, syscall-list-64bit-options)
18824 (syscall-list-64bit-condition): Define.
18825 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18826 (syscall-list-variants, syscall-list-32bit-options)
18827 (syscall-list-32bit-condition, syscall-list-64bit-options)
18828 (syscall-list-64bit-condition): Define.
18829 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18830 Remove.
18831 (syscall-list-variants, syscall-list-32bit-options)
18832 (syscall-list-32bit-condition, syscall-list-64bit-options)
18833 (syscall-list-64bit-condition): Define.
18834 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18835 Remove.
18836 (syscall-list-variants, syscall-list-32bit-options)
18837 (syscall-list-32bit-condition, syscall-list-64bit-options)
18838 (syscall-list-64bit-condition): Define.
18839
18840 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18841
18842 * locale/iso-639.def: Add brx entry.
18843
18844 [BZ #13328]
18845 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18846 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18847
18848 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18849 __feraiseexcept_renamed.
18850
18851 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18852
18853 [BZ #13538]
18854 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18855 EPOLLET with unsigned values.
18856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18858
18859 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18860 to large cancellation.
18861 * math/s_cacoshf.c: Likewise.
18862 * math/s_cacoshl.c: Likewise.
18863
18864 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18865
18866 [BZ #13305]
18867 [BZ #12786]
18868 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18869 * math/s_cacoshf.c: Likewise.
18870 * math/s_cacoshl.c: Likewise.
18871
18872 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18873
18874 [BZ #13439]
18875 * iconv/gconv.h: Define __GCONV_SWAP.
18876 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18877 * iconvdata/utf-16.c: Likewise.
18878 * iconvdata/utf-32.c: Likewise.
18879
18880 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18881
18882 [BZ #13524]
18883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18884 numerator after shifting it by one limb.
18885
18886 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18887
18888 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18889 under [__USE_EXTERN_INLINES].
18890
18891 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18892
18893 [BZ #13446]
18894 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18895
18896 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18897
18898 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18899 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18900 optimized code.
18901 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18902 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18903 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18904 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18905 for strncasecmp/strncasecmp_l compilation.
18906 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18907 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18908
18909 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18910
18911 [BZ #13484]
18912 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18913 of __asm__.
18914
18915 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18916
18917 [BZ #13506]
18918 * time/tzfile.c (__tzfile_read): Check values from file header.
18919
18920 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18921
18922 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18923 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18924 * powerpc/powerpc32/dl-start.S: Likewise.
18925 * powerpc/powerpc32/elf/start.S: Likewise.
18926 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18927 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18928 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18929 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18930 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18931 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18932 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18933 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18934 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18935 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18936 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18937 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18938 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18939 * powerpc/powerpc32/memset.S: Likewise.
18940 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18941 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18942 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18943 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18944 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18945 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18946 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18947 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18948 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18949 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18950 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18951 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18952 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18953
18954 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18955
18956 * math/libm-test.inc: Added more nearbyint tests.
18957 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18959 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18961
18962 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18963
18964 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18965 FD_CLOEXEC.
18966
18967 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18968
18969 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18970 Add wcscpy-ssse3 wcscpy-c.
18971 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18972 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18973 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18974 * sysdeps/x86_64/wcschr.S: New file.
18975 * sysdeps/x86_64/wcsrchr.S: New file.
18976 * string/test-strcmp.c: Remove checking of wcscmp function for
18977 wrong alignments.
18978 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18979 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18980 wcsrchr-sse2 wcsrchr-c.
18981 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18982 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18983 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18984 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18985 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18986 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18987 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18988 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18989 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18990 * wcsmbc/wcschr.c (WCSCHR): New macro.
18991
18992 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18993
18994 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18995 * wcsmbs/test-wcsrchr.c: New file.
18996 * string/test-strrchr.c: Add wcsrchr support.
18997 (WIDE): New macro.
18998 * wcsmbs/test-wcscpy.c: New file.
18999 * string/test-strcpy.c: Add wcscpy support.
19000 (WIDE): New macro.
19001
19002 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19003
19004 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19005 the inner loop.
19006
19007 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19008
19009 [BZ #13472]
19010 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19011
19012 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19013
19014 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19015 Minor optimizations.
19016
19017 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19018 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19019 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19020
19021 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19022
19023 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19024 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19025 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19026 for gcc to avoid warnings.
19027 * inet/Makefile (tests): Add tst-checks.
19028 * inet/tst-checks.c: New file.
19029
19030 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19031 warning.
19032
19033 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19034 __wmemcmp_sse2.
19035
19036 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19037 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19038
19039 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19040
19041 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19042
19043 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19044 problem.
19045
19046 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19047
19048 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19049
19050 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19051 conditional on GCC version.
19052 (__arch_compare_and_exchange_val_8_acq)
19053 (__arch_compare_and_exchange_val_16_acq)
19054 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19055 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19056 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19057
19058 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19059
19060 * sysdeps/sh/backtrace.c: New file.
19061
19062 2011-12-02 Andreas Schwab <schwab@redhat.com>
19063
19064 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19065 parenthesis.
19066
19067 2011-12-01 Andreas Schwab <schwab@redhat.com>
19068
19069 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19070 falling back to utime.
19071
19072 2011-11-30 Andreas Schwab <schwab@redhat.com>
19073
19074 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19075 expectations for float.
19076
19077 2011-11-29 Andreas Schwab <schwab@redhat.com>
19078
19079 * locale/weight.h (findidx): Add parameter len.
19080 * locale/weightwc.h (findidx): Likewise.
19081 * posix/fnmatch_loop.c (FCT): Adjust caller.
19082 * posix/regcomp.c (build_equiv_class): Likewise.
19083 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19084 * posix/regexec.c (check_node_accept_bytes): Likewise.
19085 * string/strcoll_l.c (STRCOLL): Likewise.
19086 * string/strxfrm_l.c (STRXFRM): Likewise.
19087
19088 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19089
19090 * Makefile.in: Remove CVSOPT handling.
19091 * configure.in: Remove use of AC_REVISION.
19092 * iconvdata/Makefile (distribute): No need to filter out CVS.
19093 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19094 handling.
19095
19096 2011-11-16 Andreas Schwab <schwab@redhat.com>
19097
19098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19099 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19100 [USE_AS_STRNCASECMP_L]: Likewise.
19101 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19102 NO_TLS_DIRECT_SEG_REFS.
19103 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19104 Fix argument offsets for non-PIC.
19105 [USE_AS_STRNCASECMP_L]: Likewise.
19106 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19107 NO_TLS_DIRECT_SEG_REFS.
19108
19109 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19110
19111 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19112 O_CLOEXEC.
19113 * locale/loadlocale.c (_nl_load_locale): Likewise.
19114
19115 2011-11-15 Andreas Schwab <schwab@redhat.com>
19116
19117 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19118 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19119 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19120 (SYSCALL_GETTIME): Set errno on error.
19121
19122 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19123 count references to noai6ai_cached.
19124
19125 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19126
19127 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19128
19129 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19130 FD_CLOEXEC for /proc/self/maps.
19131
19132 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19133 FD_CLOEXEC for /proc/meminfo.
19134
19135 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19136 gai.conf.
19137
19138 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19139 FD_CLOEXEC for given file.
19140
19141 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19142
19143 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19144 FD_CLOEXEC for /etc/hosts.
19145 (_gethtent): Likewise.
19146
19147 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19148
19149 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19150 cancellation and set FD_CLOEXEC for /etc/netgroup.
19151
19152 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19153 reading /etc/publickey.
19154
19155 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19156 allow cancellation when reading /etc/group.
19157
19158 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19159 cancellation.
19160 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19161
19162 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19163 when using data file.
19164
19165 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19166
19167 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19168 (write_nis_obj): Use "c" and "e" in fopen.
19169
19170 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19171
19172 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19173
19174 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19175
19176 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19177
19178 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19179 locale.alias.
19180
19181 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19182
19183 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19184
19185 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19186
19187 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19188 file parsing and set FD_CLOEXEC.
19189
19190 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19191
19192 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19193
19194 2011-11-14 Andreas Schwab <schwab@redhat.com>
19195
19196 * malloc/arena.c (arena_get2): Don't call reused_arena when
19197 _int_new_arena failed.
19198
19199 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19200
19201 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19202 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19203 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19204 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19205 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19206 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19207 to compile strcasecmp and strncasecmp.
19208 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19209 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19210
19211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19212
19213 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19214
19215 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19216 locale-defines.sym to gen-as-const-headers.
19217 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19218 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19220 to compile strcasecmp and strncasecmp.
19221 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19222 strcasecmp_l and strncasecmp_l.
19223 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19224 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19225 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19226 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19227 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19228 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19229 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19230 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19231 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19232 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19233 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19234
19235 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19236
19237 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19238 result of SYSDEP_GETTIME_CPU to retval.
19239 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19240 parameter list to macro. Remove trailing semicolon. Adjust users.
19241
19242 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19243 variable.
19244
19245 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19246 mantissa words.
19247 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19248
19249 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19250 from unused variable.
19251
19252 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19253 DWARF definitions.
19254 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19255 for assembling.
19256
19257 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19258 over namespaces.
19259
19260 * sunrpc/rpc_prot.c (rejected): Fix case value.
19261
19262 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19263 unsigned long long int to avoid warnings in shift.
19264
19265 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19266 of use of trans.
19267 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19268 variable tmp.
19269
19270 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19271 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19272 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19273
19274 * nis/nis_table.c (nis_list): Use variable of correct type for
19275 result of __follow_path call.
19276
19277 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19278
19279 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19280 of math functions ceil, trunc, floor, round, and sqrt, when
19281 avaliable on the platform.
19282 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19283 name clash.
19284 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19285 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19286 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19287
19288 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19289
19290 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19291 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19292
19293 2011-11-11 Roland McGrath <roland@hack.frob.com>
19294
19295 * include/unistd.h: Fix __readlink return type.
19296 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19297
19298 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19299
19300 * stdlib/ucontext.h: Undo last change for makecontext.
19301
19302 2011-11-11 Andreas Schwab <schwab@redhat.com>
19303
19304 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19305
19306 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19307 * setjmp/setjmp.h: Mark functions as non-leaf.
19308 * setjmp/bits/setjmp2.h: Likewise.
19309 * stdlib/ucontext.h: Likewise.
19310
19311 2011-11-10 Andreas Schwab <schwab@redhat.com>
19312
19313 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19314 (reused_arena): Don't check arena limit.
19315 (arena_get2): Atomically check arena limit.
19316
19317 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19318
19319 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19320 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19321
19322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19323 instructions.
19324
19325 2011-11-07 Andreas Schwab <schwab@redhat.com>
19326
19327 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19328 handler when locking.
19329
19330 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19331 Fix size of allocated buffer.
19332
19333 2011-11-04 Andreas Schwab <schwab@redhat.com>
19334
19335 [BZ #10103]
19336 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19337 declarations for long double functions.
19338 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19339
19340 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19341
19342 2011-11-03 Andreas Schwab <schwab@redhat.com>
19343
19344 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19345 installed.
19346
19347 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19348 is disabled.
19349
19350 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19351
19352 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19353
19354 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19355
19356 * include/alloca.h (stackinfo_alloca_round): Define.
19357 (extend_alloca): Use it.
19358 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19359 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19360 here.
19361
19362 * scripts/check-local-headers.sh: Ignore libaudit.h.
19363
19364 * nscd/Makefile (extra-objs): Make recursively expanded.
19365
19366 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19367
19368 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19370
19371 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19372 * posix/tst-rfc3484-2.c: Likewise.
19373 * posix/tst-rfc3484-3.c: Likewise.
19374
19375 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19376 process_vm_writev.
19377 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19378 process_vm_writev.
19379 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19380 process_vm_writev from libc using GLIBC_2.15 version.
19381
19382 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19383
19384 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19385
19386 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19387 stack usage.
19388
19389 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19390
19391 [BZ #13367]
19392 * nss/getent.c (initgroups_keys): Show error message in case no group
19393 names are given.
19394
19395 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19396 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19397 __bump_nl_timestamp.
19398 * nscd/connections (nscd_init): When host database is served open
19399 netlink socket and request notification about configuration changes.
19400 (main_loop_poll): Track netlink file descriptor and bump timestamp
19401 in case data becomes available.
19402 (main_loop_epoll): Likewise.
19403 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19404 (database_pers_head): Add extra_data fileds.
19405 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19406 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19407 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19408 Adjust caller.
19409 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19410 in6ai data, call __free_in6ai.
19411 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19412 Add -DHAVE_NETLINK.
19413 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19414 interface information. Reuse previous data if netlink timestamp
19415 is not changed.
19416 (__bump_nl_timestamp): New function.
19417 (__free_in6ai): New function.
19418
19419 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19420
19421 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19422 close_not_cancel_no_status here.
19423 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19424
19425 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19426
19427 [BZ #13276]
19428 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19429 return value.
19430
19431 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19432 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19433 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19434
19435 2011-07-03 Andreas Jaeger <aj@suse.de>
19436
19437 [BZ #10709]
19438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19439 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19440 * math/libm-test.inc (sin_test): Add test case.
19441
19442 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19443
19444 [BZ #13337]
19445 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19446 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19447
19448 * elf/chroot_canon.c (chroot_canon): Cleanups.
19449
19450 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19451
19452 [BZ #13335]
19453 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19454 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19455
19456 * string/test-strchr.c: Make usable for strchrnul testing.
19457 * string/test-strchrnul.c: New file.
19458 * string/Makefile (strop-tests): Add strchrnul.
19459
19460 * po/it.po: Update from translation team.
19461 * po/es.po: Likewise.
19462
19463 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19464
19465 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19466 the three constants needed as parameters. Drop the others.
19467 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19468 __m128i_strloadu_tolower.
19469 Create and initialize variable zero and use it in all the places
19470 where _mm_setzero_si128 was used.
19471
19472 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19473 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19474 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19475 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19476 anymore.
19477 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19478 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19479 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19480 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19481 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19482 __mpranred, __mptan.
19483 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19484 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19485 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19486 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19487 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19488 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19489 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19490 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19491 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19492
19493 2011-10-28 Andreas Schwab <schwab@redhat.com>
19494
19495 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19496 redefine if SHARED.
19497 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19498
19499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19500 wide char related routines to wcsmbs subdir.
19501
19502 2011-10-27 Andreas Schwab <schwab@redhat.com>
19503
19504 [BZ #13344]
19505 * misc/sys/cdefs.h (__THROWNL): Define.
19506 * posix/unistd.h: Use __THREADNL instead of __THREAD
19507 for memory synchronization functions.
19508
19509 2011-10-26 Roland McGrath <roland@hack.frob.com>
19510
19511 [BZ #13349]
19512 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19513 doesn't exist.
19514 * manual/stdio.texi (Obstack Streams): Node removed.
19515
19516 2011-10-26 Andreas Schwab <schwab@redhat.com>
19517
19518 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19519 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19521
19522 * math/math_private.h (math_force_eval): Allow non-addressable
19523 arguments.
19524 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19525
19526 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19527
19528 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19529 file is not needed.
19530
19531 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19533 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19534 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19535 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19536 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19537 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19538 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19539 Add AVX variants.
19540 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19541 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19542 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19543 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19544 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19545 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19546 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19547 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19548 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19549 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19550 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19551 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19553 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19554 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19555 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19556 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19557 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19558 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19559
19560 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19561 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19562
19563 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19564 place. Use VEX encoding when compiling for AVX.
19565
19566 2011-10-25 Andreas Schwab <schwab@redhat.com>
19567
19568 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19569 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19570
19571 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19572
19573 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19574
19575 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19576 useless if() expression.
19577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19587 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19588 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19589 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19590 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19591 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19592 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19593 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19595 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19596
19597 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19598
19599 2011-10-25 Andreas Schwab <schwab@redhat.com>
19600
19601 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19602 condition.
19603 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19604
19605 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19606
19607 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19608 .text section. Avoid duplicate constants.
19609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19619 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19621 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19624 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19626 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19632 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19633 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19634 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19635 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19636 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19637 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19638 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19639 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19640 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19641 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19642 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19643 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19644 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19645 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19646 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19647 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19648 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19649 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19650 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19651 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19652 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19653 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19654
19655 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19656
19657 * sysdeps/x86_64/dla.h: Move to ...
19658 * sysdeps/x86_64/fpu/dla.h: ...here.
19659 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19660 situations. Use __builtin_fma only for gcc 4.6 and up.
19661
19662 * config.make.in: Add have-mfma4 entry.
19663 * configure.in: Substitute libc_cv_cc_fma4.
19664 * math/Makefile (dbl-only-routines): Add sincostab.
19665 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19666 Use __sincostab not sincos.
19667 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19668 name is a macro.
19669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19673 using __copysign.
19674 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19675 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19676 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19677 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19678 and __inv.
19679 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19680 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19681 __copysign.
19682 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19683 define aliases when function name is a macro.
19684 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19685 sysdeps/ieee754/dbl-64/sincos.tbl.
19686 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19687 fma4-enabled routines.
19688 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19689 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19690 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19691 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19692 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19693 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19694 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19695 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19696 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19697 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19698 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19699 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19700 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19701 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19702 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19703 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19704 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19705 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19706 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19707 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19708 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19709 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19710 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19711 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19713 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19715 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19717 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19718
19719 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19720 rename.
19721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19729
19730 2011-10-24 Andreas Schwab <schwab@redhat.com>
19731
19732 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19733
19734 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19735
19736 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19737
19738 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19739 prediction.
19740 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19741
19742 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19743 Remove unused variable magic_bits.
19744 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19745
19746 * string/strnlen.c: Define and use STRNLEN macro.
19747 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19748 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19749 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19750 * wcsmbs/wcslen.c: Define and use WCSLEN.
19751 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19752 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19753 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19754 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19755 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19756 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19757 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19758
19759 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19760
19761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19762 strnlen-sse2-no-bsf.
19763 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19765 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19766 Add strnlen support.
19767 (USE_AS_STRNLEN): New macro.
19768 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19769 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19770 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19771 * sysdeps/x86_64/wcslen.S: New file.
19772
19773 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19774
19775 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19776 XMM-moves are used for copying on small sizes.
19777
19778 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19779
19780 * wcsmbs/Makefile (strop-tests): Add wcschr.
19781 * wcsmbs/test-wcschr.c: New file.
19782 * string/test-strchr.c: Update.
19783 Add wcschr support.
19784 (WIDE): New macro.
19785
19786 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19787
19788 * wcsmbs/Makefile (strop-tests): Add wcslen.
19789 * wcsmbs/test-wcslen.c: New file.
19790 * string/test-strlen.c: Update.
19791 Add wcslen support.
19792 (WIDE): New macro.
19793
19794 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19795
19796 * po/it.po: Update from translation team.
19797
19798 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19799
19800 * sysdeps/x86_64/wcscmp.S: Update.
19801 Fix wrong comparison semantics.
19802 wcscmp shall use signed comparison not unsigned.
19803 Don't use substraction to avoid overflow bug.
19804 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19805 * wcsmbc/wcscmp.c: Likewise.
19806 * string/test-strcmp.c: Likewise.
19807 Add new tests to check cases with negative values.
19808
19809 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19810
19811 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19812 * sysdeps/x86_64/dla.h: ...here. New file.
19813 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19814 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19822
19823 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19824
19825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19826 __ynl_finite aliases.
19827
19828 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19829
19830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19831
19832 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19833 define DLA_FMA.
19834 [DLA_FMA] (EMULV): Use DLA_FMA.
19835 [DLA_FMA] (MUL12): Use EMULV.
19836 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19837 that are not needed.
19838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19845
19846 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19847
19848 * math/s_nan.c: Undef __nan.
19849 * math/s_nanf.c: Undef __nanf.
19850 * math/s_nanl.c: Undef __nanl.
19851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19852 "math_private.h".
19853
19854 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19855
19856 * math/s_catan.c: Add branch predictions.
19857 * math/s_catanf.c: Likewise.
19858 * math/s_catanh.c: Likewise.
19859 * math/s_catanhf.c: Likewise.
19860 * math/s_catanhl.c: Likewise.
19861 * math/s_catanl.c: Likewise.
19862 * math/s_cexp.c: Likewise.
19863 * math/s_cexpf.c: Likewise.
19864 * math/s_cexpl.c: Likewise.
19865 * math/s_clog.c: Likewise.
19866 * math/s_clog10.c: Likewise.
19867 * math/s_clog10f.c: Likewise.
19868 * math/s_clog10l.c: Likewise.
19869 * math/s_clogf.c: Likewise.
19870 * math/s_clogl.c: Likewise.
19871 * math/s_csqrt.c: Likewise.
19872 * math/s_csqrtf.c: Likewise.
19873 * math/s_csqrtl.c: Likewise.
19874 * math/s_ctanf.c: Likewise.
19875 * math/s_ctanh.c: Likewise.
19876 * math/s_ctanhf.c: Likewise.
19877 * math/s_ctanhl.c: Likewise.
19878 * math/s_ctanl.c: Likewise.
19879
19880 * math/math_private.h: Define __nan, __nanf, __nanl.
19881 * math/s_cacosh.c: Include <math_private.h>.
19882 * math/s_cacoshl.c: Likewise.
19883 * math/s_casinh.c: Likewise.
19884 * math/s_casinhf.c: Likewise.
19885 * math/s_casinhl.c: Likewise.
19886 * math/s_ccos.c: Rely entire on ccosh.
19887 * math/s_ccosf.c: Rely entire on ccoshf.
19888 * math/s_ccosl.c: Rely entirely on ccoshl.
19889 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19890 Remove tests for FE_INVALID.
19891 * math/s_ccoshf.c: Likewise.
19892 * math/s_ccoshl.c: Likewise.
19893 * math/s_csin.c: Likewise.
19894 * math/s_csinf.c: Likewise.
19895 * math/s_csinh.c Likewise.
19896 * math/s_csinhf.c: Likewise.
19897 * math/s_csinhl.c: Likewise.
19898 * math/s_csinl.c: Likewise.
19899 * math/s_ctan.c: Likewise.
19900 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19901 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19902 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19903
19904 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19905
19906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19907 compilation problems.
19908
19909 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19910 __builtin_expect.
19911
19912 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19913
19914 * sysdeps/i386/configure.in: Test for -mfma4 option.
19915 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19916 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19917 COMMON_CPUID_INDEX_80000001.
19918 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19919 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19920 use it if FMA3 is not supported.
19921 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19922
19923 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19924 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19925
19926 2011-10-20 Andreas Schwab <schwab@redhat.com>
19927
19928 [BZ #12892]
19929 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19930 it would create a cycle with a link time dependency.
19931
19932 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19933
19934 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19935 instruction.
19936 * string/Makefile (strop-tests): Add rawmemchr.
19937 * string/test-rawmemchr.c: New file.
19938
19939 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19940 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19941 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19942 when compiling str{,n}casecmp and when AVX is available. Hook up
19943 new optimized code in initializers.
19944
19945 2011-10-19 Andreas Schwab <schwab@redhat.com>
19946
19947 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19948 __feraiseexcept instead of feraiseexcept.
19949
19950 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19951
19952 * math/math_private.h: Define defaults for libc_fetestexcept and
19953 libc_feupdateenv.
19954 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19955 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19956 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19957 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19959 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19960 libc_fetestexcept and libc_feupdateenv.
19961
19962 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19963 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19964 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19965 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19966 libc_feholdexcept_setround.
19967
19968 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19969 Add s_nearbyint-c and s_nearbyintf-c.
19970 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19971 nearbyintf inlines.
19972 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19973 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19974 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19975 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19976
19977 * math/math_private.h: Define defaults for libc_fegetround,
19978 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19979 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19980 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19982 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19983 standard functions.
19984 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19985 Remove comments and hacks for old compiler versions.
19986 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19987 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19988 libc_feholdexceptl.
19989
19990 2011-10-18 Andreas Schwab <schwab@redhat.com>
19991
19992 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19993 (__feraiseexcept_renamed): Add __NTH.
19994 (feraiseexcept): Add __NTH. Rename local variables to fix
19995 namespace violations.
19996
19997 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19998
19999 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20000
20001 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20002
20003 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20004 recently added interfaces.
20005 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20006
20007 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20008 about macro parameter expansion.
20009
20010 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20011 __NO_MATH_INLINES is defined. Cleanups.
20012
20013 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20014 and __floorf is target has SSE4.1.
20015 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20016 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20017 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20018 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20019
20020 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20021 name.
20022 (floorf): Likewise.
20023
20024 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20025
20026 2011-10-17 Andreas Schwab <schwab@redhat.com>
20027
20028 * misc/sys/cdefs.h: Fix last change.
20029
20030 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20031 database lookup.
20032
20033 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20034
20035 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20036
20037 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20039 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20040 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20042 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20043 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20045 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20046 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20047 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20048 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20049 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20050 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20051 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20052 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20053 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20054 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20055 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20056 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20057 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20058 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20059
20060 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20061 ceil, ceilf, floor, floorf.
20062
20063 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20064 Perform IRELATIVE relocations last.
20065
20066 * elf/do-rel.h: Add another parameter nrelative, replacing the
20067 local variable with the same name. Change name of the function
20068 to end in Rel or Rela (uppercase).
20069 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20070 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20071 elf_dynamic_do_##reloc function.
20072
20073 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20074
20075 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20076 is sufficient, at least on modern CPUs.
20077
20078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20079
20080 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20082
20083 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20084 __expl_finite.
20085 * math/bits/math-finite.h: Add entries for exp.
20086 * math/e_expl.c: Add __*_finite alias.
20087 * sysdeps/i386/fpu/e_exp.S: Likewise.
20088 * sysdeps/i386/fpu/e_expf.S: Likewise.
20089 * sysdeps/i386/fpu/e_expl.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20091 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20092 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20093 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20095 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20096 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20097
20098 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20099 is sufficient, at least on modern CPUs.
20100
20101 * ctype/ctype-info.c (__ctype_init): Define.
20102 * include/ctype.h (__ctype_init): Declare.
20103 (__ctype_b_loc): The variable is always initialized.
20104 (__ctype_toupper_loc): Likewise.
20105 (__ctype_tolower_loc): Likewise.
20106 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20107 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20108
20109 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20110
20111 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20112
20113 * configure.in: Also look in $cxxmachine/include for C++ system
20114 headers.
20115
20116 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20117
20118 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20119 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20120 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20121 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20122 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20123 (USE_AS_WMEMCMP): New macro.
20124 Fixing indents.
20125 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20126 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20127 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20128 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20130 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20131 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20132 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20133 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20134 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20135 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20136 (USE_AS_WMEMCMP): New macro.
20137 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20138 * sysdeps/string/test-memcmp.c: Update.
20139 Fix simple_wmemcmp.
20140 Add new tests.
20141 * wcsmbs/wmemcmp.c: Update.
20142 (WMEMCMP): New macro.
20143 Fix overflow bug.
20144
20145 2011-10-12 Andreas Jaeger <aj@suse.de>
20146
20147 [BZ #13268]
20148 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20149
20150 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20151
20152 * libio/iofwide.c (do_length): Avoid warning.
20153
20154 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20155
20156 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20157
20158 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20159
20160 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20161 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20162 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20163 * sysdeps/i386/i686/fpu/e_log.S: New file.
20164 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20165 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20166
20167 * ctype/ctype.h: Add support for inlined isXXX functions when
20168 compiling C++ code.
20169
20170 2011-10-14 Andreas Schwab <schwab@redhat.com>
20171
20172 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20173
20174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20175
20176 2011-10-13 Roland McGrath <roland@hack.frob.com>
20177
20178 [BZ #13291]
20179 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20180
20181 2011-10-13 Andreas Schwab <schwab@redhat.com>
20182
20183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20184 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20185 feraiseexcept.
20186
20187 * sysdeps/x86_64/memrchr.S: Check for zero size.
20188
20189 * string/stratcliff.c: Add memrchr tests.
20190
20191 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20192
20193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20194 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20195 rawmemchr-sse2 rawmemchr-sse2-bsf.
20196 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20197 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20198 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20199 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20200 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20201 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20202 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20203 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20204 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20205 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20206 * string/memrchr.c (MEMRCHR): New macro.
20207
20208 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20209
20210 Add integration with gcc's -ffinite-math-only and optimize wrapper
20211 functions in libm.
20212 * Versions.def: Define GLIBC_2.15 version for libm.
20213 * math/Makefile (headers): Add bits/math-finite.h.
20214 * math/bits/math-finite.h: New file.
20215 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20216 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20217 * math/e_acoshl.c: Add __*_finite alias.
20218 * math/e_acosl.c: Likewise.
20219 * math/e_asinl.c: Likewise.
20220 * math/e_atan2l.c: Likewise.
20221 * math/e_atanhl.c: Likewise.
20222 * math/e_coshl.c: Likewise.
20223 * math/e_exp10.c: Likewise.
20224 * math/e_exp10f.c: Likewise.
20225 * math/e_exp10l.c: Likewise.
20226 * math/e_exp2l.c: Likewise.
20227 * math/e_fmodl.c: Likewise.
20228 * math/e_gammal_r.c: Likewise.
20229 * math/e_hypotl.c: Likewise.
20230 * math/e_j0l.c: Likewise.
20231 * math/e_j1l.c: Likewise.
20232 * math/e_jnl.c: Likewise.
20233 * math/e_lgammal_r.c: Likewise.
20234 * math/e_log10l.c: Likewise.
20235 * math/e_log2l.c: Likewise.
20236 * math/e_logl.c: Likewise.
20237 * math/e_powl.c: Likewise.
20238 * math/e_sinhl.c: Likewise.
20239 * math/e_sqrtl.c: Likewise.
20240 * math/e_scalb.c: Completely rewritten and optimized.
20241 * math/e_scalbf.c: Likewise.
20242 * math/e_scalbl.c: Likewise.
20243 * math/w_acos.c: Likewise.
20244 * math/w_acosf.c: Likewise.
20245 * math/w_acosl.c: Likewise.
20246 * math/w_acosh.c: Likewise.
20247 * math/w_acoshf.c: Likewise.
20248 * math/w_acoshl.c: Likewise.
20249 * math/w_asin.c: Likewise.
20250 * math/w_asinf.c: Likewise.
20251 * math/w_asinl.c: Likewise.
20252 * math/w_atan2.c: Likewise.
20253 * math/w_atan2f.c: Likewise.
20254 * math/w_atan2l.c: Likewise.
20255 * math/w_atanh.c: Likewise.
20256 * math/w_atanhf.c: Likewise.
20257 * math/w_atanhl.c: Likewise.
20258 * math/w_exp10.c: Likewise.
20259 * math/w_exp10f.c: Likewise.
20260 * math/w_exp10l.c: Likewise.
20261 * math/w_fmod.c: Likewise.
20262 * math/w_fmodf.c: Likewise.
20263 * math/w_fmodl.c: Likewise.
20264 * math/w_j0.c: Likewise.
20265 * math/w_j0f.c: Likewise.
20266 * math/w_j0l.c: Likewise.
20267 * math/w_j1.c: Likewise.
20268 * math/w_j1f.c: Likewise.
20269 * math/w_j1l.c: Likewise.
20270 * math/w_jn.c: Likewise.
20271 * math/w_jnf.c: Likewise.
20272 * math/w_log.c: Likewise.
20273 * math/w_logf.c: Likewise.
20274 * math/w_logl.c: Likewise.
20275 * math/w_log10.c: Likewise.
20276 * math/w_log10f.c: Likewise.
20277 * math/w_log10l.c: Likewise.
20278 * math/w_log2.c: Likewise.
20279 * math/w_log2f.c: Likewise.
20280 * math/w_log2l.c: Likewise.
20281 * math/w_pow.c: Likewise.
20282 * math/w_powf.c: Likewise.
20283 * math/w_powl.c: Likewise.
20284 * math/w_remainder.c: Likewise.
20285 * math/w_remainderf.c: Likewise.
20286 * math/w_remainderl.c: Likewise.
20287 * math/w_scalb.c: Likewise.
20288 * math/w_scalbf.c: Likewise.
20289 * math/w_scalbl.c: Likewise.
20290 * math/w_sqrt.c: Likewise.
20291 * math/w_sqrtf.c: Likewise.
20292 * math/w_sqrtl.c: Likewise.
20293 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20294 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20295 used.
20296 * math/math_private.h: Declare __kernel_standard_f.
20297 * math/w_cosh.c: Remove cruft and optimize a bit.
20298 * math/w_coshf.c: Likewise.
20299 * math/w_coshl.c: Likewise.
20300 * math/w_exp2.c: Likewise.
20301 * math/w_exp2f.c: Likewise.
20302 * math/w_exp2l.c: Likewise.
20303 * math/w_hypot.c: Likewise.
20304 * math/w_hypotf.c: Likewise.
20305 * math/w_hypotl.c: Likewise.
20306 * math/w_lgamma.c: Likewise.
20307 * math/w_lgamma_r.c: Likewise.
20308 * math/w_lgammaf.c: Likewise.
20309 * math/w_lgammaf_r.c: Likewise.
20310 * math/w_lgammal.c: Likewise.
20311 * math/w_lgammal_r.c: Likewise.
20312 * math/w_sinh.c: Likewise.
20313 * math/w_sinhf.c: Likewise.
20314 * math/w_sinhl.c: Likewise.
20315 * math/w_tgamma.c: Likewise.
20316 * math/w_tgammaf.c: Likewise.
20317 * math/w_tgammal.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20319 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20320 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20321 Minor optimizations. Pretty printing. Remove cruft.
20322 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20323 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20324 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20325 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20326 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20327 * sysdeps/i386/fpu/e_asin.S: Likewise.
20328 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20329 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20330 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20331 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20332 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20333 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20334 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20335 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20336 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20337 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20338 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20339 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20340 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20341 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20342 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20343 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20344 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20345 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20346 * sysdeps/i386/fpu/e_log.S: Likewise.
20347 * sysdeps/i386/fpu/e_log10.S: Likewise.
20348 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20349 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20350 * sysdeps/i386/fpu/e_log2.S: Likewise.
20351 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20352 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20353 * sysdeps/i386/fpu/e_logf.S: Likewise.
20354 * sysdeps/i386/fpu/e_logl.S: Likewise.
20355 * sysdeps/i386/fpu/e_pow.S: Likewise.
20356 * sysdeps/i386/fpu/e_powf.S: Likewise.
20357 * sysdeps/i386/fpu/e_powl.S: Likewise.
20358 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20359 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20360 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20362 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20363 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20364 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20365 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20366 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20378 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20388 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20389 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20390 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20391 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20392 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20393 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20394 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20395 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20396 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20397 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20398 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20399 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20400 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20401 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20402 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20403 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20404 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20405 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20406 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20407 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20408 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20447 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20452 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20455 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20458 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20459 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20460 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20462 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20463 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20464 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20465 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20466 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20467 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20468 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20469 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20470 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20472 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20473 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20475 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20477 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20478 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20479 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20480 (__isnanf): Likewise.
20481 (__isinf_ns): Likewise.
20482 (__isinf_nsf): Likewise.
20483 (__finite): Likewise.
20484 (__finitef): Likewise.
20485 (__ieee754_sqrt): Define as macro.
20486 (__ieee754_sqrtf): Define as macro.
20487 (__ieee754_sqrtl): Define as macro.
20488 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20489 inlined copy.
20490 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20491 __FINITE_MATH_ONLY__ consistent.
20492 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20493
20494 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20495
20496 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20497 of rawmemchr.
20498
20499 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20500
20501 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20502
20503 * po/ja.po: Update from translation team.
20504
20505 2011-10-08 Roland McGrath <roland@hack.frob.com>
20506
20507 * locale/programs/locarchive.c (prepare_address_space): New function.
20508 (create_archive, enlarge_archive, open_archive): Use it.
20509
20510 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20511 inside [SHARED], where it is used.
20512
20513 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20514
20515 * nss/getent.c (netgroup_keys): Remove unused variable.
20516 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20517
20518 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20519
20520 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20521 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20522 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20523 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20524 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20525 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20526 * math/Makefile (libm-calls): Add s_isinf_ns.
20527 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20528 * math/multc3.c: Likewise.
20529 * math/s_casin.c: Likewise.
20530 * math/s_casinf.c: Likewise.
20531 * math/s_casinl.c: Likewise.
20532 * math/s_ccos.c: Likewise.
20533 * math/s_ccosf.c: Likewise.
20534 * math/s_ccosl.c: Likewise.
20535 * math/s_ctan.c: Likewise.
20536 * math/s_ctanf.c: Likewise.
20537 * math/s_ctanh.c: Likewise.
20538 * math/s_ctanhf.c: Likewise.
20539 * math/s_ctanhl.c: Likewise.
20540 * math/s_ctanl.c: Likewise.
20541 * math/w_fmod.c: Likewise.
20542 * math/w_fmodf.c: Likewise.
20543 * math/w_fmodl.c: Likewise.
20544 * math/w_remainder.c: Likewise.
20545 * math/w_remainderf.c: Likewise.
20546 * math/w_remainderl.c: Likewise.
20547 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20548 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20551 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20552 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20553 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20554 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20555
20556 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20557 of the number.
20558 * stdio-common/printf_fphex.c: Likewise.
20559 * stdio-common/printf_size.c: Likewise.
20560
20561 * math/e_exp10.c: Include math_private.h using <...> not "...".
20562 * math/e_exp10f.c: Likewise.
20563 * math/e_exp10l.c: Likewise.
20564 * math/e_exp2l.c: Likewise.
20565 * math/e_j0l.c: Likewise.
20566 * math/e_j1l.c: Likewise.
20567 * math/e_jnl.c: Likewise.
20568 * math/e_lgammal_r.c: Likewise.
20569 * math/e_rem_pio2l.c: Likewise.
20570 * math/e_scalb.c: Likewise.
20571 * math/e_scalbf.c: Likewise.
20572 * math/e_scalbl.c: Likewise.
20573 * math/k_cosl.c: Likewise.
20574 * math/k_sinl.c: Likewise.
20575 * math/k_tanl.c: Likewise.
20576 * math/s_cacoshf.c: Likewise.
20577 * math/s_catan.c: Likewise.
20578 * math/s_catanf.c: Likewise.
20579 * math/s_catanh.c: Likewise.
20580 * math/s_catanhf.c: Likewise.
20581 * math/s_catanhl.c: Likewise.
20582 * math/s_catanl.c: Likewise.
20583 * math/s_ccosh.c: Likewise.
20584 * math/s_ccoshf.c: Likewise.
20585 * math/s_ccoshl.c: Likewise.
20586 * math/s_cexp.c: Likewise.
20587 * math/s_cexpf.c: Likewise.
20588 * math/s_cexpl.c: Likewise.
20589 * math/s_clog.c: Likewise.
20590 * math/s_clog10.c: Likewise.
20591 * math/s_clog10f.c: Likewise.
20592 * math/s_clog10l.c: Likewise.
20593 * math/s_clogf.c: Likewise.
20594 * math/s_clogl.c: Likewise.
20595 * math/s_csin.c: Likewise.
20596 * math/s_csinf.c: Likewise.
20597 * math/s_csinh.c: Likewise.
20598 * math/s_csinhf.c: Likewise.
20599 * math/s_csinhl.c: Likewise.
20600 * math/s_csinl.c: Likewise.
20601 * math/s_csqrt.c: Likewise.
20602 * math/s_csqrtf.c: Likewise.
20603 * math/s_csqrtl.c: Likewise.
20604 * math/s_ctan.c: Likewise.
20605 * math/s_ctanf.c: Likewise.
20606 * math/s_ctanh.c: Likewise.
20607 * math/s_ctanhf.c: Likewise.
20608 * math/s_ctanhl.c: Likewise.
20609 * math/s_ctanl.c: Likewise.
20610 * math/s_ldexp.c: Likewise.
20611 * math/s_ldexpf.c: Likewise.
20612 * math/s_ldexpl.c: Likewise.
20613 * math/s_significand.c: Likewise.
20614 * math/s_significandf.c: Likewise.
20615 * math/s_significandl.c: Likewise.
20616 * math/w_acos.c: Likewise.
20617 * math/w_acosf.c: Likewise.
20618 * math/w_acosh.c: Likewise.
20619 * math/w_acoshf.c: Likewise.
20620 * math/w_acoshl.c: Likewise.
20621 * math/w_acosl.c: Likewise.
20622 * math/w_asin.c: Likewise.
20623 * math/w_asinf.c: Likewise.
20624 * math/w_asinl.c: Likewise.
20625 * math/w_atan2.c: Likewise.
20626 * math/w_atan2f.c: Likewise.
20627 * math/w_atan2l.c: Likewise.
20628 * math/w_atanh.c: Likewise.
20629 * math/w_atanhf.c: Likewise.
20630 * math/w_atanhl.c: Likewise.
20631 * math/w_cosh.c: Likewise.
20632 * math/w_coshf.c: Likewise.
20633 * math/w_coshl.c: Likewise.
20634 * math/w_dremf.c: Likewise.
20635 * math/w_exp10.c: Likewise.
20636 * math/w_exp10f.c: Likewise.
20637 * math/w_exp10l.c: Likewise.
20638 * math/w_exp2.c: Likewise.
20639 * math/w_exp2f.c: Likewise.
20640 * math/w_fmod.c: Likewise.
20641 * math/w_fmodf.c: Likewise.
20642 * math/w_fmodl.c: Likewise.
20643 * math/w_hypot.c: Likewise.
20644 * math/w_hypotf.c: Likewise.
20645 * math/w_hypotl.c: Likewise.
20646 * math/w_j0.c: Likewise.
20647 * math/w_j0f.c: Likewise.
20648 * math/w_j0l.c: Likewise.
20649 * math/w_j1.c: Likewise.
20650 * math/w_j1f.c: Likewise.
20651 * math/w_j1l.c: Likewise.
20652 * math/w_jn.c: Likewise.
20653 * math/w_jnf.c: Likewise.
20654 * math/w_jnl.c: Likewise.
20655 * math/w_lgamma.c: Likewise.
20656 * math/w_lgamma_r.c: Likewise.
20657 * math/w_lgammaf.c: Likewise.
20658 * math/w_lgammaf_r.c: Likewise.
20659 * math/w_lgammal.c: Likewise.
20660 * math/w_lgammal_r.c: Likewise.
20661 * math/w_log.c: Likewise.
20662 * math/w_log10.c: Likewise.
20663 * math/w_log10f.c: Likewise.
20664 * math/w_log10l.c: Likewise.
20665 * math/w_log2.c: Likewise.
20666 * math/w_log2f.c: Likewise.
20667 * math/w_log2l.c: Likewise.
20668 * math/w_logf.c: Likewise.
20669 * math/w_logl.c: Likewise.
20670 * math/w_pow.c: Likewise.
20671 * math/w_powf.c: Likewise.
20672 * math/w_powl.c: Likewise.
20673 * math/w_remainder.c: Likewise.
20674 * math/w_remainderf.c: Likewise.
20675 * math/w_remainderl.c: Likewise.
20676 * math/w_scalb.c: Likewise.
20677 * math/w_scalbf.c: Likewise.
20678 * math/w_scalbl.c: Likewise.
20679 * math/w_sinh.c: Likewise.
20680 * math/w_sinhf.c: Likewise.
20681 * math/w_sinhl.c: Likewise.
20682 * math/w_sqrt.c: Likewise.
20683 * math/w_sqrtf.c: Likewise.
20684 * math/w_sqrtl.c: Likewise.
20685 * math/w_tgamma.c: Likewise.
20686 * math/w_tgammaf.c: Likewise.
20687 * math/w_tgammal.c: Likewise.
20688
20689 * po/ja.po: Update from translation team.
20690
20691 2011-09-29 Andreas Jaeger <aj@suse.de>
20692
20693 [BZ #13179]
20694 * sunrpc/netname.c (netname2host): Fix logic.
20695
20696 [BZ #6779]
20697 [BZ #6783]
20698 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20699 correctly.
20700 * math/w_remainder.c (__remainder): Likewise.
20701 * math/w_remainderf.c (__remainderf): Likewise.
20702 * math/libm-test.inc (remainder_test): Add test cases.
20703
20704 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20705
20706 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20707 sdiv_qrnnd.
20708
20709 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20710
20711 * string/test-memcmp.c: Avoid unncessary #defines.
20712 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20713
20714 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20715
20716 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20717 Use new sse2 version for core i3 - i7 as it's faster
20718 than sse42 version.
20719 (bit_Prefer_PMINUB_for_stringop): New.
20720 * sysdeps/x86_64/rawmemchr.S: Update.
20721 Replace with faster SSE2 version.
20722 * sysdeps/x86_64/memrchr.S: New file.
20723 * sysdeps/x86_64/memchr.S: Update.
20724 Replace with faster SSE2 version.
20725
20726 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20727
20728 * elf/dl-load.c (lose): Add cast to avoid warning.
20729
20730 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20731
20732 * po/ca.po: Update from translation team.
20733
20734 * inet/getnetgrent_r.c: Hook up nscd.
20735 * nscd/Makefile (routines): Add nscd_netgroup.
20736 (nscd-modules): Add netgroupcache.
20737 (CFLAGS-netgroupcache.c): Define.
20738 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20739 (cache_search): Add const to second parameter.
20740 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20741 INNETGR.
20742 (dbs): Add netgrdb entry.
20743 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20744 (verify_persistent_db): Handle netgrdb.
20745 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20746 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20747 GETFDNETGR.
20748 (netgroup_response_header): Define.
20749 (innetgroup_response_header): Define.
20750 (datahead): Add netgroup_response_header and innetgroup_response_header
20751 elements.
20752 * nscd/nscd.conf: Add entries for netgroup cache.
20753 * nscd/nscd.h (dbtype): Add netgrdb.
20754 (_PATH_NSCD_NETGROUP_DB): Define.
20755 (netgroup_iov_disabled): Declare.
20756 (xmalloc, xcalloc, xrealloc): Move declarations here.
20757 (cache_search): Adjust prototype.
20758 Add netgroup-related prototypes.
20759 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20760 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20761 (__nscd_innetgr): Declare.
20762 * nscd/selinux.c (perms): Use access_vector_t as element type and
20763 add netgroup-related initializers.
20764 * nscd/netgroupcache.c: New file.
20765 * nscd/nscd_netgroup.c: New file.
20766 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20767 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20768 For four parameters use innetgr.
20769 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20770 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20771 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20772 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20773
20774 * nscd/connections.c (register_traced_file): Don't register file
20775 for disabled databases.
20776
20777 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20778
20779 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20780
20781 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20782 from tree and freeing node.
20783
20784 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20785
20786 * nss/nsswitch.c (__nss_database_lookup): Handle
20787 nss_parse_service_list out of memory case.
20788
20789 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20790
20791 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20792 out of memory case.
20793
20794 2011-10-04 Andreas Schwab <schwab@redhat.com>
20795
20796 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20797 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20798 pass it down.
20799 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20800 elf_machine_rela, elf_machine_lazy_rel.
20801 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20802 (ELF_DYNAMIC_DO_REL): Likewise.
20803 (ELF_DYNAMIC_DO_RELA): Likewise.
20804 (ELF_DYNAMIC_RELOCATE): Likewise.
20805 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20806 to ELF_DYNAMIC_DO_REL.
20807 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20808 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20809 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20810 elf_machine_rela.
20811 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20812 skip_ifunc, don't call ifunc function if non-zero.
20813 (elf_machine_rela): Likewise.
20814 (elf_machine_lazy_rel): Likewise.
20815 (elf_machine_lazy_rela): Likewise.
20816 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20817 (elf_machine_lazy_rel): Likewise.
20818 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20819 Likewise.
20820 (elf_machine_lazy_rel): Likewise.
20821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20822 Likewise.
20823 (elf_machine_lazy_rel): Likewise.
20824 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20825 (elf_machine_lazy_rel): Likewise.
20826 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20827 (elf_machine_lazy_rel): Likewise.
20828 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20829 (elf_machine_lazy_rel): Likewise.
20830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20831 (elf_machine_lazy_rel): Likewise.
20832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20833 (elf_machine_lazy_rel): Likewise.
20834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20835 (elf_machine_lazy_rel): Likewise.
20836
20837 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20838
20839 * nss/nss_files/files-init.c (_nss_files_init): Use static
20840 initialization for all the *_traced_file variables.
20841
20842 2011-09-28 Andreas Schwab <schwab@redhat.com>
20843
20844 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20845
20846 2011-09-27 Roland McGrath <roland@hack.frob.com>
20847
20848 [BZ #13226]
20849 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20850
20851 2011-09-27 Andreas Schwab <schwab@redhat.com>
20852
20853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20854 Reread the line before reparsing it.
20855
20856 2011-09-26 Andreas Schwab <schwab@redhat.com>
20857
20858 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20859
20860 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20861 Maxim Kuvyrkov <maxim@codesourcery.com>
20862 Joseph Myers <joseph@codesourcery.com>
20863
20864 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20865 if needed for __stack_chk_guard.
20866
20867 2011-09-19 Roland McGrath <roland@hack.frob.com>
20868
20869 * sysdeps/posix/spawni.c (script_execute): Always define it.
20870 It will be optimized away if unused.
20871 (maybe_script_execute): New function.
20872 (__spawni): Call it.
20873
20874 * Makerules: Don't include tls.make.
20875 (config-tls): Always set to thread.
20876 * tls.make.c: File removed.
20877
20878 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20879
20880 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20881 * config.make.in (CPPFLAGS-config): New substituted variable.
20882
20883 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20884
20885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20886
20887 [BZ #13192]
20888 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20889 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20890
20891 2011-09-15 Roland McGrath <roland@hack.frob.com>
20892
20893 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20894 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20896 (CALL_FAIL): Likewise.
20897 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20898 (CALL_FAIL): Macro removed.
20899 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20900
20901 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20902
20903 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20904 for __FINITE_MATH_ONLY__ == 1.
20905
20906 2011-09-15 Andreas Schwab <schwab@redhat.com>
20907
20908 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20909 __ieee754_sqrt instead of sqrt.
20910 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20911 __ieee754_sqrtf instead of sqrtf.
20912 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20913 __floorf instead of floorf.
20914 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20915 __floorf, __truncf instead of floorf, truncf.
20916
20917 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20918
20919 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20920
20921 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20922 __extern_always_inline.
20923 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20924 32-bit.
20925
20926 2011-09-14 Andreas Schwab <schwab@redhat.com>
20927
20928 * elf/rtld.c (dl_main): Also relocate in dependency order when
20929 doing symbol dependency testing.
20930
20931 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20932
20933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20934 Always define `refsym'.
20935
20936 2011-09-13 Andreas Schwab <schwab@redhat.com>
20937
20938 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20939 (__FD_ELT): Renamed from __FDELT.
20940 * misc/bits/select2.h (__FD_ELT): Likewise.
20941 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20942 __FD_MASK instead of __FDELT, __FDMASK.
20943 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20944 Likewise.
20945 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20946 Likewise.
20947
20948 * elf/Makefile (gen-ldd): Fix pattern.
20949
20950 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20951 (init_tls): Likewise.
20952
20953 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20954
20955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20956
20957 2011-09-12 Andreas Schwab <schwab@redhat.com>
20958
20959 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20960 `struct cmsghdr *' instead of `void *'.
20961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20962 Likewise.
20963
20964 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20965
20966 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20967 if non-absolute.
20968 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20969 ldd_rewrite_script.
20970
20971 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20972
20973 * configure.in: Remove --with-tls option.
20974 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20975 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20976 out in case it is missing.
20977 * sysdeps/ia64/elf/configure.in: Likewise.
20978 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20979 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20980 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20981 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20982 * sysdeps/sh/elf/configure.in: Likewise.
20983 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20984 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20985 * sysdeps/x86_64/elf/configure.in: Likewise.
20986 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20987 * sysdeps/mach/hurd/tls.h: Likewise.
20988
20989 [BZ #13067]
20990 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20991
20992 [BZ #13090]
20993 * configure.in: Fix use of AC_INIT.
20994
20995 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20996
20997 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20998
20999 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21000 __set_errno.
21001 * malloc/hooks.c: Likewise.
21002
21003 [BZ #11929]
21004 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21005 variables statically.
21006 (narenas): Initialize.
21007 (list_lock): Initialize.
21008 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21009 initializtion of main_arena and list_lock. Small cleanups.
21010 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21011 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21012 Add initializers to main_arena and mp_.
21013 (malloc_state): Remove pagesize member. Change all users to use
21014 GLRO(dl_pagesize).
21015
21016 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21017 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21018 is always initialized.
21019
21020 * malloc/malloc.c: Removed unused configurations and dead code.
21021 * malloc/arena.c: Likewise.
21022 * malloc/hooks.c: Likewise.
21023 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21024
21025 * include/tls.h: Removed. USE___THREAD must always be defined.
21026 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21027 * elf/dl-libc.c: Likewise.
21028 * elf/dl-tsd.c: Likewise.
21029 * include/errno.h: Likewise.
21030 * include/netdb.h: Likewise.
21031 * include/resolv.h: Likewise.
21032 * inet/herrno-loc.c: Likewise.
21033 * inet/herrno.c: Likewise.
21034 * malloc/arena.c: Likewise.
21035 * malloc/hooks.c: Likewise.
21036 * malloc/malloc.c: Likewise.
21037 * resolv/res-state.c: Likewise.
21038 * resolv/res_libc.c: Likewise.
21039 * sysdeps/i386/dl-machine.h: Likewise.
21040 * sysdeps/ia64/dl-machine.h: Likewise.
21041 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21042 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21043 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21044 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21045 * sysdeps/sh/dl-machine.h: Likewise.
21046 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21047 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21048 * sysdeps/unix/i386/sysdep.S: Likewise.
21049 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21050 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21055 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21059 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21060 * sysdeps/x86_64/dl-machine.h: Likewise.
21061 * tls.make.c: Likewise.
21062
21063 * configure.in: Remove --with-__thread option. Make tests for
21064 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21065 tls_model attribute fail if no support is available. Remove
21066 USE_IN_LIBIO.
21067 * Makeconfig: Adjust for dropped configure option. All features are
21068 now mandatory.
21069 * Makerules: Likewise.
21070 * Versions.def: Likewise.
21071 * argp/argp-fmtstream.c: Likewise.
21072 * argp/argp-fmtstream.h: Likewise.
21073 * argp/argp-help.c: Likewise.
21074 * assert/assert.c: Likewise.
21075 * config.h.in: Likewise.
21076 * config.make.in: Likewise.
21077 * configure: Likewise.
21078 * configure.in: Likewise.
21079 * csu/Versions: Likewise.
21080 * csu/init.c: Likewise.
21081 * elf/tst-audit2.c: Likewise.
21082 * elf/tst-tls10.c: Likewise.
21083 * elf/tst-tls10.h: Likewise.
21084 * elf/tst-tls11.c: Likewise.
21085 * elf/tst-tls12.c: Likewise.
21086 * elf/tst-tls14.c: Likewise.
21087 * elf/tst-tlsmod11.c: Likewise.
21088 * elf/tst-tlsmod12.c: Likewise.
21089 * elf/tst-tlsmod13.c: Likewise.
21090 * elf/tst-tlsmod13a.c: Likewise.
21091 * elf/tst-tlsmod14a.c: Likewise.
21092 * elf/tst-tlsmod15b.c: Likewise.
21093 * elf/tst-tlsmod16a.c: Likewise.
21094 * elf/tst-tlsmod16b.c: Likewise.
21095 * elf/tst-tlsmod7.c: Likewise.
21096 * elf/tst-tlsmod8.c: Likewise.
21097 * elf/tst-tlsmod9.c: Likewise.
21098 * gmon/gmon.c: Likewise.
21099 * grp/fgetgrent_r.c: Likewise.
21100 * grp/putgrent.c: Likewise.
21101 * hurd/fopenport.c: Likewise.
21102 * include/libc-symbols.h: Likewise.
21103 * include/tls.h: Likewise.
21104 * intl/gettextP.h: Likewise.
21105 * intl/loadinfo.h: Likewise.
21106 * locale/global-locale.c: Likewise.
21107 * locale/localeinfo.h: Likewise.
21108 * mach/devstream.c: Likewise.
21109 * malloc/arena.c: Likewise.
21110 * malloc/set-freeres.c: Likewise.
21111 * misc/err.c: Likewise.
21112 * misc/getttyent.c: Likewise.
21113 * misc/mntent_r.c: Likewise.
21114 * posix/getopt.c: Likewise.
21115 * posix/wordexp.c: Likewise.
21116 * pwd/fgetpwent_r.c: Likewise.
21117 * resolv/Versions: Likewise.
21118 * resolv/res_hconf.c: Likewise.
21119 * shadow/fgetspent_r.c: Likewise.
21120 * shadow/putspent.c: Likewise.
21121 * stdio-common/printf_fphex.c: Likewise.
21122 * stdio-common/tmpfile.c: Likewise.
21123 * stdlib/abort.c: Likewise.
21124 * stdlib/fmtmsg.c: Likewise.
21125 * sunrpc/auth_unix.c: Likewise.
21126 * sunrpc/clnt_perr.c: Likewise.
21127 * sunrpc/clnt_tcp.c: Likewise.
21128 * sunrpc/clnt_udp.c: Likewise.
21129 * sunrpc/clnt_unix.c: Likewise.
21130 * sunrpc/openchild.c: Likewise.
21131 * sunrpc/svc_simple.c: Likewise.
21132 * sunrpc/svc_tcp.c: Likewise.
21133 * sunrpc/svc_udp.c: Likewise.
21134 * sunrpc/svc_unix.c: Likewise.
21135 * sunrpc/xdr.c: Likewise.
21136 * sunrpc/xdr_array.c: Likewise.
21137 * sunrpc/xdr_rec.c: Likewise.
21138 * sunrpc/xdr_ref.c: Likewise.
21139 * sunrpc/xdr_stdio.c: Likewise.
21140
21141 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21142
21143 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21144
21145 2011-07-03 Andreas Jaeger <aj@suse.de>
21146
21147 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21148 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21149 regenerate with gen-libm-tests.pl.
21150
21151 2010-05-12 Petr Baudis <pasky@suse.cz>
21152
21153 [BZ #11589]
21154 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21155 around j0() zero points by switching to j1().
21156 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21160
21161 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21162
21163 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21164 instead of 0.
21165 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21166 instead of 0.
21167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21168 Patch in part by Pavel Roskin <proski@gnu.org>.
21169
21170 [BZ #13138]
21171 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21172 realloc.
21173 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21174 Free memory block if necessary.
21175
21176 [BZ #12847]
21177 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21178 be NULL. Don't lock in this case.
21179
21180 2011-09-09 Roland McGrath <roland@hack.frob.com>
21181
21182 * elf/elf.h (ELFOSABI_GNU): New macro.
21183 (ELFOSABI_LINUX): Define to that.
21184
21185 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21186
21187 * string/strncat.c (strncat): Undef the symbol in case it has been
21188 defined in bits/string.h.
21189
21190 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21191
21192 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21193
21194 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21195 link map.
21196
21197 2011-08-17 Andreas Jaeger <aj@suse.de>
21198
21199 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21200
21201 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21202 Ian Lance Taylor <iant@google.com>
21203
21204 * math/libm-test.inc (lround_test): New testcase.
21205 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21206
21207 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21208
21209 * Makefile: Remove support for automatic cvs check-ins.
21210 * Makerules: Likewise.
21211 * config.make.in: Likewise.
21212 * configure.in: Likewise.
21213 * intl/Makefile: Likewise.
21214 * locale/Makefile: Likewise.
21215 * po/Makefile: Likewise.
21216 * posix/Makefile: Likewise.
21217 * sysdeps/gnu/Makefile: Likewise.
21218 * sysdeps/mach/hurd/Makefile: Likewise.
21219 * sysdeps/sparc/sparc32/Makefile: Likewise.
21220
21221 [BZ #13118]
21222 * posix/Makefile (bug-regex32-ENV): Define.
21223 Patch by John Stanley <jpsinthemix@verizon.net>.
21224
21225 * misc/Makefile (headers): Add bits/select2.h.
21226 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21227 * misc/bits/select2.h: New file.
21228 * include/bits/select2.h: New file.
21229 * debug/Makefile (routines): Add fdelt_chk.
21230 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21231 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21232 FD_ISSET.
21233 * debug/fdelt_chk.c: New file.
21234
21235 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21236 * wcsmbs/test-wmemcmp.c: Likewise.
21237 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21238 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21239
21240 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21241
21242 * string/Makefile (strop-tests): Add memcmp.
21243 * string/test-wmemcmp.c: New file.
21244 * string/test-memcmp.c: Add wmemcmp support.
21245
21246 2011-09-08 Roland McGrath <roland@hack.frob.com>
21247
21248 [BZ #13153]
21249 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21250 2011-07-19 change.
21251
21252 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21253 garbage value in a __mach_port_mod_refs call in the cases of the
21254 task-self and thread-self ports.
21255
21256 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21257
21258 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21259
21260 2011-09-08 Andreas Schwab <schwab@redhat.com>
21261
21262 * elf/dl-load.c (lose): Check for non-null L.
21263
21264 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21265
21266 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21267
21268 * elf/dl-libc.c (dlerror_run): Pass back error code from
21269 dl_catch_error.
21270
21271 [BZ #13123]
21272 * elf/dl-load.c (lose): Free l_origin if it is valid.
21273
21274 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21275 names.
21276 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21277 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21278 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21280 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21281 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21282
21283 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21284
21285 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21286 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21287 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21288 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21289 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21290 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21291 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21292 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21293 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21294 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21295
21296 2011-08-15 Alan Modra <amodra@gmail.com>
21297
21298 [BZ #13092]
21299 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21300 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21301 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21302 ppc_mcount to static-only-routines.
21303 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21304 __mcount_internal.
21305 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21306 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21307
21308 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21309
21310 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21311 for finite and infinity parameters.
21312
21313 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21314
21315 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21316 and add nop instructions for throughput optimization.
21317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21318
21319 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21320
21321 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21322 aligned copy for power7 with vector-scalar instructions.
21323 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21324
21325 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21326
21327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21328 AVX check.
21329
21330 2011-09-07 Andreas Schwab <schwab@redhat.com>
21331
21332 [BZ #13144]
21333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21334 last change.
21335
21336 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21337
21338 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21339 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21340 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21341 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21342 clock_gettime.
21343
21344 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21345
21346 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21347 Forgot to demangle the pointer.
21348
21349 * sysdeps/i386/sysdep.h: Define atom_text_section.
21350 * sysdeps/x86_64/sysdep.h: Likewise.
21351 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21352 section with atom_text_section.
21353 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21354 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21355 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21357 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21358
21359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21360 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21361 already be defined. Change to take two parameters and don't assign
21362 result to variable. Adjust all users.
21363 Define INTERNAL_GETTIME if not already defined.
21364 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21365 call.
21366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21367 HAVE_CLOCK_GETTIME_VSYSCALL.
21368 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21369
21370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21371 gettimeofday vsyscall, just use time.
21372
21373 2011-09-06 Andreas Schwab <schwab@redhat.com>
21374
21375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21376 <errno.h>.
21377
21378 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21379
21380 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21381 syscall on x86-64.
21382 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21383 syscall.
21384 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21386 syscall if possible.
21387
21388 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21389
21390 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21391 e_ident. Don't pass to find_mapsXX.
21392 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21393
21394 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21395
21396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21397 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21398 * sysdeps/x86_64/multiarch/strchr.S: Update.
21399 Check bit_slow_BSF bit.
21400 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21401 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21402 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21403
21404 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21405
21406 [BZ #13134]
21407 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21408 before glibc 2.15.
21409 (tryshell): Define.
21410 (__spawni): Change last parameter to be flag. Test
21411 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21412 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21413 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21414 * posix/spawni.c: Likewise.
21415 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21416 * posix/spawnp.c: Likewise. Change normal version to use
21417 SPAWN_XFLAGS_USE_PATH.
21418 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21419 SPAWN_XFLAGS_TRY_SHELL.
21420
21421 [BZ #13150]
21422 * posix/glob.h: Remove gcc 1.x support.
21423
21424 [BZ #13068]
21425 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21426
21427 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21428
21429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21430 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21431 strrchr-sse2-bsf
21432 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21433 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21434 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21435 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21436 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21437 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21438
21439 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21440
21441 * sysdeps/x86_64/wcscmp.S: New file.
21442
21443 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21444 wcscmp-c wcscmp-sse2
21445 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21446 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21447 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21448 * wcsmbs/wcscmp.c: Allow renaming.
21449
21450 2011-09-05 David S. Miller <davem@davemloft.net>
21451
21452 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21453 stack slot, rather than the struct return pointer slot.
21454 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21455 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21457 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21458
21459 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21460
21461 * po/ja.po: Update from translation team.
21462
21463 [BZ #13144]
21464 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21465 kernel in 64-bit binaries.
21466
21467 2011-09-01 David S. Miller <davem@davemloft.net>
21468
21469 * elf/elf.h (HWCAP_SPARC_*): Move to..
21470 * sysdeps/sparc/sysdep.h: this new file and add new values.
21471 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21472 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21473 _DL_HWCAP_COUNT to 24.
21474 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21475 entries.
21476 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21477 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21478 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21480 instead of magic constants.
21481 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21482
21483 2011-08-31 David S. Miller <davem@davemloft.net>
21484
21485 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21487 Reimplement to do errno handling inline.
21488 (SYSCALL_ERROR_HANDLER): New macro.
21489 (__SYSCALL_STRING): Do not do errno handling in asm.
21490 (__CLONE_SYSCALL_STRING): Delete.
21491 (__INTERNAL_SYSCALL_STRING): Delete.
21492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21493 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21494 (PSEUDO): Reimplement to do errno handling inline.
21495 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21496 (SYSCALL_ERROR_HANDLER): New macro.
21497 (__SYSCALL_STRING): Do not do errno handling in asm.
21498 (__CLONE_SYSCALL_STRING): Delete.
21499 (__INTERNAL_SYSCALL_STRING): Delete.
21500 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21501 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21502 i386.
21503 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21504 (inline_syscall*): Add 'err' argument.
21505 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21506 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21507 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21508 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21509
21510 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21511 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21512
21513 2011-08-30 Andreas Schwab <schwab@redhat.com>
21514
21515 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21516
21517 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21518
21519 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21520 directive.
21521
21522 2011-08-24 David S. Miller <davem@davemloft.net>
21523
21524 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21525
21526 2011-08-24 Andreas Schwab <schwab@redhat.com>
21527
21528 * elf/Makefile: Add rules to build and run unload8 test.
21529 * elf/unload8.c: New file.
21530 * elf/unload8mod1.c: New file.
21531 * elf/unload8mod1x.c: New file.
21532 * elf/unload8mod2.c: New file.
21533 * elf/unload8mod3.c: New file.
21534
21535 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21536 it wasn't used.
21537
21538 2011-08-23 David S. Miller <davem@davemloft.net>
21539
21540 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21541 subtract stack bias.
21542 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21543 %sp not %fp in calculations.
21544 (_JMPBUF_UNWINDS_ADJ): Likewise.
21545
21546 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21547 (aio_suspend): Call it to force an exception region around the
21548 AIO_MISC_WAIT() invocation.
21549
21550 2011-08-23 Andreas Schwab <schwab@redhat.com>
21551
21552 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21553 backslash.
21554
21555 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21556
21557 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21558 protection macro.
21559 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21560 and <dl-machine.h>.
21561 (Elf64_FuncDesc): Remove.
21562
21563 2011-08-22 David S. Miller <davem@davemloft.net>
21564
21565 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21566 sigaltstack check, add missing cfi directives.
21567 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21568 missing cfi directives, and sigaltstack handling.
21569
21570 2011-08-16 Andreas Schwab <schwab@redhat.com>
21571
21572 [BZ #11724]
21573 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21574 object is seen twice.
21575 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21576
21577 * elf/Makefile (distribute): Add tst-initorder2.c.
21578 (tests): Add tst-initorder2.
21579 (modules-names): Add tst-initorder2a tst-initorder2b
21580 tst-initorder2c tst-initorder2d. Add rules to build them.
21581 ($(objpfx)tst-initorder2.out): New rule.
21582 * elf/tst-initorder2.c: New file.
21583 * elf/tst-initorder2.exp: New file.
21584
21585 2011-08-22 Andreas Schwab <schwab@redhat.com>
21586
21587 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21588
21589 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21590 dependencies back to end of function.
21591
21592 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21593 $(elfobjdir)/ld.so.
21594
21595 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21596
21597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21598 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21600 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21601 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21602 of __vdso_gettimeofday.
21603 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21604 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21605 attribute_hidden.
21606 (_libc_vdso_platform_setup): Remove initialization of
21607 __vdso_gettimeofday and __vdso_time.
21608
21609 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21610
21611 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21612 and fgetc_unlocked.
21613 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21614 getc_unlocked.
21615
21616 * elf/dl-open.c (add_to_global): Report additions to the global scope
21617 for LD_DEBUG=scopes.
21618 (dl_open_worker): Also print scope of newly loaded dependencies.
21619 (_dl_show_scope): Indicate if there is no scope.
21620
21621 [BZ #13114]
21622 * stdio-common/Makefile (tests): Add bug24.
21623 * stdio-common/bug24.c: New file.
21624
21625 2011-08-19 Andreas Jaeger <aj@suse.de>
21626
21627 [BZ #13114]
21628 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21629 non-existant file when using close-on-exec mode.
21630
21631 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21632
21633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21634 the very first instruction.
21635
21636 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21637 the CFI state in the end.
21638 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21639 inclusion of dl-trampoline.h.
21640 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21641
21642 2011-08-19 Andreas Schwab <schwab@redhat.com>
21643
21644 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21645 expectations for long double.
21646
21647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21648 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21649
21650 2011-08-14 David S. Miller <davem@davemloft.net>
21651
21652 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21653 artificual limit depends upon the system page size.
21654
21655 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21656
21657 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21658 * resolv/Makefile: Define CFLAGS-libresolv.
21659
21660 2011-08-17 Andreas Schwab <schwab@redhat.com>
21661
21662 * nss/makedb.c (compute_tables): Make variables used in nested
21663 function static.
21664
21665 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21666
21667 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21668 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21669 if buffer was too small.
21670
21671 * elf/pldd.c (main): Attach to all threads in the process.
21672 Rewrite /proc handling to use *at functions.
21673
21674 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21675
21676 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21677 specifies first scope to show.
21678 (dl_open_worker): Update callers. Move printing scope of new
21679 object to before the relocation.
21680 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21681 * sysdeps/generic/ldsodefs.h: Update declaration.
21682
21683 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21684 string for the scope number.
21685
21686 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21687
21688 * nscd/servicescache.c (cache_addserv): Make sure written is always
21689 initialized.
21690
21691 2011-08-14 Roland McGrath <roland@hack.frob.com>
21692
21693 * sysdeps/i386/i486/bits/atomic.h
21694 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21695 statement expression, so as to suppress "set but not used" warning.
21696 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21697
21698 * string/strncat.c (STRNCAT): Use prototype definition.
21699
21700 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21701 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21702 -Iprograms here.
21703 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21704 (localedef-modules): Add localedef.
21705 (locale-modules): Add locale.
21706
21707 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21708 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21709 to avoid a warning.
21710
21711 2011-08-14 David S. Miller <davem@davemloft.net>
21712
21713 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21714 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21715
21716 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21717
21718 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21719 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21720 * elf/rtld.c (dl_main): Set l_name of vDSO.
21721 Call _dl_show_scope when DL_DEBUG_SCOPES.
21722 (process_dl_debug): Recognize scopes flag and also set it for all.
21723 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21724 Declare _dl_show_scope.
21725
21726 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21727 (do_dlopen): Pass caller_dlopen to dl_open.
21728 (__libc_dlopen_mode): Initialize caller_dlopen.
21729
21730 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21731 of libc. Make tolower call locale-independent. Optimize a bit by
21732 using isdigit instead of isalnum.
21733 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21734
21735 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21736
21737 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21738 was a dependency or dynamically loaded.
21739
21740 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21741
21742 * intl/l10nflist.c: Allow architecture-specific pop function.
21743 * sysdeps/x86_64/l10nflist.c: New file.
21744
21745 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21746 classification.
21747
21748 2011-08-10 Andreas Schwab <schwab@redhat.com>
21749
21750 * include/dirent.h: Add libc_hidden_proto for scandirat and
21751 scandirat64. Don't declare __scandirat64.
21752 * dirent/scandirat.c: Add libc_hidden_def.
21753 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21754 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21755
21756 2011-08-10 David S. Miller <davem@davemloft.net>
21757
21758 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21759 enum.
21760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21763
21764 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21765
21766 * Versions.def [libc]: Add GLIBC_2.15.
21767 * dirent/Makefile (routines): Add scandirat and scandirat64.
21768 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21769 GLIBC_2.15.
21770 * dirent/dirent.h: Declare scandirat and scandirat64.
21771 * dirent/scandirat.c: New file.
21772 * dirent/scandirat64.c: New file.
21773 * sysdeps/wordsize-64/scandirat.c: New file.
21774 * sysdeps/wordsize-64/scandirat64.c: New file.
21775 * dirent/opendir.c: Define opendirat.
21776 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21777 using scandirat.
21778 * dirent/scandir64.c: Adjust for scandir.c change.
21779 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21780 __scandirat64, and __scandir_cancel_handler.
21781 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21782 additional parameter and use openat instead of open (outside of ld.so).
21783 Add new __opendir as wrapper around __opendirat.
21784 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21785 here without requiring old scandirat implementation.
21786
21787 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21788
21789 * dirent/scandir.c (cancel_handler): Renamed to
21790 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21791 defined. Adjust users.
21792 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21794
21795 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21796
21797 * string/test-string.h (IMPL): Use __STRING to expand name and then
21798 stringify it.
21799
21800 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21801 of cleanups.
21802
21803 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21804
21805 * string/Makefile: Update.
21806 (strop-tests): Append strncat.
21807 * string/test-wcscmp.c: New file.
21808 New comprehensive test for wcscmp.
21809 * string/test-strcmp.c: Update.
21810 (WIDE): New define.
21811
21812 2011-07-22 Andreas Schwab <schwab@redhat.com>
21813
21814 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21815 line.
21816
21817 2011-07-26 Andreas Schwab <schwab@redhat.com>
21818
21819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21820 encoding to ACE if AI_IDN.
21821
21822 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21823
21824 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21825 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21826
21827 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21828
21829 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21830 Fix overflow bug in strncat.
21831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21832
21833 * string/test-strncat.c: Update.
21834 Add new tests for checking overflow bugs.
21835
21836 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21837
21838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21839 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21840 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21841 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21843 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21844 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21845 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21846 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21847
21848 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21849 (USE_AS_STRCAT): Define.
21850 Add strcat and strncat support.
21851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21852
21853 2011-07-25 Andreas Schwab <schwab@redhat.com>
21854
21855 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21856 __n bigger than INT_MAX+1.
21857 (__strncmp_g): Likewise.
21858
21859 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21860
21861 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21862 * libio/stido.h: Likewise.
21863
21864 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21865 (AF_NFC): Define.
21866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21867 (AF_NFC): Define.
21868
21869 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21870 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21871 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21872 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21873 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21874
21875 [BZ #13021]
21876 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21877 installed.
21878
21879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21880 typo.
21881 (_dl_x86_64_save_sse): Likewise.
21882
21883 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21884
21885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21886 OSXSAVE.
21887 (_dl_x86_64_save_sse): Likewise.
21888
21889 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21890
21891 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21892
21893 2011-07-21 Andreas Schwab <schwab@redhat.com>
21894
21895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21896 change.
21897 (_dl_x86_64_save_sse): Use correct AVX check.
21898
21899 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21900
21901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21902 bug in strncpy/strncat.
21903 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21904
21905 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21906
21907 * string/tester.c (test_strcat): Add tests for different alignments
21908 of source and destination.
21909 (test_strncat): Likewise.
21910
21911 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21912
21913 [BZ #12852]
21914 * posix/glob.c (glob): Check passed in values before using them in
21915 expressions to avoid some overflows.
21916 (glob_in_dir): Likewise.
21917
21918 [BZ #13007]
21919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21920 check for AVX enablement so that we don't crash with old kernels and
21921 new hardware.
21922 * elf/tst-audit4.c: Add same checks here.
21923 * elf/tst-audit6.c: Likewise.
21924
21925 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21926
21927 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21928
21929 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21930
21931 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21932
21933 * po/cs.po: Update from translation team.
21934 * po/bg.po: Likewise.
21935
21936 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21937
21938 * misc/sys/cdefs.h: Add support for const attribute.
21939 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21940 to gnu_dev_{major,minor,makedev} functions.
21941
21942 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21943
21944 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21945
21946 2011-07-20 Andreas Schwab <schwab@redhat.com>
21947
21948 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21949 strlen results.
21950
21951 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21952
21953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21954 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21955 register in order to avoid conflicts with the soft frame pointer
21956 being held in r11 when necessary.
21957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21958 (INTERNAL_VSYSCALL_NCS): Likewise.
21959
21960 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21961
21962 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21963 * elf/dl-fini.c (_dl_fini): Adjust caller.
21964 * elf/dl-close.c (_dl_close_worker): Likewise.
21965 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21966
21967 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21968
21969 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21970 "aux_cache->nlibs < 0".
21971
21972 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21973 in the reload-count case.
21974
21975 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21976
21977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21978 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21979 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21980 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21981 * sysdeps/x86_64/multiarch/strcat.S: New file.
21982 * sysdeps/x86_64/multiarch/strncat.S: New file.
21983 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21985 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21986 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21988 (USE_AS_STRCAT): Define.
21989 Add strcat and strncat support.
21990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21992 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21993 * string/strncat.c: Update.
21994 (USE_AS_STRNCAT): Define.
21995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21996 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21997 and i7.
21998 * sysdeps/x86_64/multiarch/init-arch.h
21999 (bit_Prefer_PMINUB_for_stringop): New.
22000 (index_Prefer_PMINUB_for_stringop): Likewise.
22001 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22002 bit_Prefer_PMINUB_for_stringop.
22003
22004 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22005
22006 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22007 buffer64.
22008 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22009 of casting of buffer.
22010 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22011 buffer32 and buffer64.
22012 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22013 writes instead of casting of buffer.
22014 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22015 buffer32.
22016 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22017 casting of buffer.
22018
22019 2011-07-19 Andreas Schwab <schwab@redhat.com>
22020
22021 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22022
22023 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22024
22025 * nscd/nscd.c (termination_handler): Don't do anything for a database
22026 if it has not yet been initialized.
22027
22028 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22029
22030 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22031
22032 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22033
22034 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22035
22036 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22037
22038 * po/nl.po: Update from translation team.
22039 * po/sv.po: Likewise.
22040
22041 2011-07-16 Roland McGrath <roland@hack.frob.com>
22042
22043 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22044 now disallowed by GCC.
22045
22046 * configure.in (use-default-link): Default to yes if a test -shared
22047 link meets our qualifications.
22048 * configure: Regenerated.
22049
22050 * config.make.in (output-format): New variable.
22051 * configure.in: Check for ld --print-output-format support.
22052 * configure: Regenerated.
22053 * Makerules ($(common-objpfx)format.lds)
22054 [$(output-format) != unknown]: Just use $(output-format),
22055 instead of the linker-script munging.
22056
22057 2011-07-14 Roland McGrath <roland@hack.frob.com>
22058
22059 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22060 of $(common-objpfx)shlib.lds.
22061 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22062
22063 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22064 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22065
22066 * configure.in (-z relro check): Adjust test code to add a large
22067 writable data section after it.
22068 * configure: Regenerated.
22069
22070 2011-07-11 Roland McGrath <roland@hack.frob.com>
22071
22072 * configure.in (-z relro check): Fix test code to make the variable
22073 truly const.
22074 * configure: Regenerated.
22075
22076 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22077
22078 * nscd/nscd.h (struct traced_file): Define.
22079 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22080 elements. Add traced_files.
22081 (inotify_fd): Declare.
22082 (register_traced_file): Declare.
22083 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22084 (inotify_fd): Export.
22085 (resolv_conf_descr): Remove.
22086 (nscd_init): Move inotify descriptor creation to main.
22087 Don't register files for notification here.
22088 (register_traced_file): New function.
22089 (invalidate_cache): Don't use reset_res to determine whether to call
22090 res_init, go through the list of registered files.
22091 (main_loop_poll): The inotify descriptors are now stored in the
22092 structures for the traced files.
22093 (main_loop_epoll): Likewise
22094 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22095 to __nss_disable_nscd.
22096 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22097 for a database anymore. Check the records for all the registered
22098 files instead.
22099 * nss/Makefile (libnss_files-routines): Add files-init.
22100 (libnss_db-routines): Add db-init.
22101 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22102 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22103 * nss/nss_db/db-init.c: New file.
22104 * nss/nss_files/files-init.c: New file.
22105 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22106 __nss_lookup_function.
22107 (__nss_lookup_function): Call nss_load_library.
22108 (nss_load_all_libraries): New function.
22109 (__nss_disable_nscd): Take parameter with callback function for files
22110 to register. Set is_nscd. Load all the DSOs for the NSS modules
22111 used for the cached services.
22112 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22113 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22114 options for features to all the files in nscd.
22115
22116 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22117
22118 2011-07-10 Roland McGrath <roland@hack.frob.com>
22119
22120 * csu/elf-init.c (__libc_csu_init): Comment typo.
22121
22122 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22123
22124 * po/pl.po: Update from translation team.
22125 * po/ja.po: Likewise.
22126 * po/ru.po: Likewise.
22127 * po/ko.po: Likewise.
22128 * po/fr.po: Likewise.
22129
22130 2011-07-09 Roland McGrath <roland@hack.frob.com>
22131
22132 * configure.in (.ctors/.dtors header and trailer check):
22133 Use an empirical test on a built program.
22134 * configure: Regenerated.
22135
22136 * configure.in (-z relro check): Use an empirical test on a built DSO.
22137 Detect, but do not require, on ia64.
22138 * configure: Regenerated.
22139
22140 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22141 Update tests that use readelf to use $READELF instead.
22142 * configure: Regenerated.
22143
22144 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22145
22146 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22147 if the result is not used.
22148
22149 2011-07-05 Andreas Jaeger <aj@suse.de>
22150
22151 [BZ#9696]
22152 * stdlib/tst-strtod.c: Add testcase.
22153
22154 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22155
22156 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22157 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22158 The latter has a higher limit. Take additional parameter to pass to
22159 the new function.
22160 (__pathconf): Pass file to __statfs_link_max.
22161 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22162 __statfs_link_max.
22163 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22164 __statfs_link_max.
22165
22166 [BZ #12868]
22167 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22168 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22169 Handle Lustre.
22170 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22171 (__statfs_filesize_max): Likewise.
22172 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22173
22174 2011-07-05 Andreas Jaeger <aj@suse.de>
22175
22176 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22177
22178 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22179
22180 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22181 `status' variable.
22182 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22183 Likewise.
22184
22185 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22186
22187 * Makefile (strop-tests): Add strncat.
22188 * string/test-strncat.c: New file.
22189
22190 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22191
22192 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22193
22194 2011-06-21 Andreas Jaeger <aj@suse.de>
22195
22196 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22197 Copy rule from iconvdata/Makefile.
22198
22199 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22200
22201 [BZ #12922]
22202 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22203 but no long options are defined, just return 'W'.
22204
22205 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22206
22207 [BZ #9696]
22208 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22209
22210 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22211
22212 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22213 netgroups to read.
22214 (innetgr): Likewise.
22215
22216 2011-07-05 Roland McGrath <roland@hack.frob.com>
22217
22218 * config.make.in (install_root): Default to $(DESTDIR).
22219
22220 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22221
22222 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22223
22224 2011-07-02 Roland McGrath <roland@hack.frob.com>
22225
22226 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22227
22228 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22229 containing directory rather than embedding absolute directory names.
22230
22231 * scripts/check-local-headers.sh: Rewritten using awk.
22232 Match by word, not by line. Print error messages for matches.
22233 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22234
22235 * Makerules [shlib-lds-flags empty]:
22236 ($(common-objpfx)libc_pic.opts): New target.
22237 ($(common-objpfx)libc_pic.os.clean): New target.
22238 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22239
22240 * config.make.in (OBJCOPY): New variable.
22241 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22242 * configure: Regenerated.
22243
22244 * config.make.in (use-default-link): New variable.
22245 * configure.in (use_default_link): Grok --with-default-link to set it.
22246 * configure: Regenerated.
22247 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22248 (shlib-lds, shlib-lds-flags): Define to empty.
22249
22250 * Makerules (shlib-lds): New variable.
22251 (shlib-lds-flags): New variable.
22252 (build-shlib, build-moduile, build-module-asneeded): Use it.
22253 ($(common-objpfx)libc.so): Use $(shlib-lds).
22254 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22255 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22256
22257 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22258 DT_FLAGS/DT_FLAGS_1 with zero flags.
22259
22260 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22261 linker script munging.
22262
22263 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22264
22265 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22266 as 128-bit value.
22267 * crypt/sha512.c (sha512_process_block): Perform total addition using
22268 128-bit if possible.
22269 (__sha512_finish_ctx): Likewise.
22270 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22271 as 64-bit value.
22272 * crypt/sha256.c (SWAP64): Define.
22273 (sha256_process_block): Perform total addition using 64-bit if
22274 possible.
22275 (__sha256_finish_ctx): Likewise.
22276
22277 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22278
22279 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22281 * nscd/hstcache.c (cache_addhst): Likewise.
22282 * nscd/grpcache.c (cache_addgr): Likewise.
22283 * nscd/aicache.c (addhstaiX): Likewise
22284 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22285
22286 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22287
22288 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22290 * nscd/hstcache.c (cache_addhst): Likewise.
22291 * nscd/grpcache.c (cache_addgr): Likewise.
22292 * nscd/aicache.c (addhstaiX): Likewise
22293
22294 2011-07-01 Andreas Schwab <schwab@redhat.com>
22295
22296 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22297 domain only when needed.
22298
22299 2011-06-30 Andreas Schwab <schwab@redhat.com>
22300
22301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22302 is always restored.
22303
22304 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22305
22306 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22307 are re-adding the entry.
22308 * nscd/servicescache.c (cache_addserv): Likewise.
22309
22310 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22311
22312 * sysdeps/generic/dl-irel.h: fix protection against multiple
22313 inclusions.
22314 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22315
22316 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22317
22318 [BZ #12935]
22319 * malloc/memusage.sh: Fix quoting in message.
22320 * debug/xtrace.sh: Likewise.
22321
22322 * configure.in: Remove support for --experimental-malloc option, make
22323 it the default.
22324 * config.make.in: Likewise.
22325 * malloc/Makefile: Likewise.
22326
22327 2011-06-27 Andreas Schwab <schwab@redhat.com>
22328
22329 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22330 two-byte characters.
22331
22332 2011-06-27 Roland McGrath <roland@hack.frob.com>
22333
22334 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22335 AC_CACHE_CHECK invocation.
22336 * configure: Regenerated.
22337
22338 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22339
22340 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22341
22342 [BZ #12350]
22343 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22344 bit from old_res_options.
22345
22346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22347
22348 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22349 value type for setfct.
22350
22351 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22354 __gettimeofday instead of gettimeofday.
22355
22356 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22357
22358 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22359
22360 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22361
22362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22363
22364 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22365 info.
22366
22367 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22368
22369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22370 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22371 strcpy-sse2-unaligned strncpy-sse2-unaligned
22372 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22373 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22374 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22375 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22376 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22377 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22378 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22379 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22380 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22381 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22382 (STRCPY): Support SSE2 and SSSE3 versions.
22383
22384 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22385
22386 [BZ #12874]
22387 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22388 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22389 kernels which artificially limit size of requests.
22390
22391 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22392
22393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22394 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22395 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22396 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22397 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22398 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22399 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22400 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22401 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22402 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22403 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22404 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22405 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22406 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22407 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22409 Enable unaligned load optimization for Intel Core i3, i5 and i7
22410 processors.
22411 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22412 Define.
22413 (index_Fast_Unaligned_Load): Define.
22414 (HAS_FAST_UNALIGNED_LOAD): Define.
22415
22416 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22417
22418 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22419
22420 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22421
22422 [BZ #12907]
22423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22424 until it is clear that the information is realy needed.
22425 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22426
22427 2011-06-22 Andreas Schwab <schwab@redhat.com>
22428
22429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22430
22431 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22432
22433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22434 /sys/devices/system/cpu/online if it is usable.
22435
22436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22437 reading the information from the /proc filesystem to once a second.
22438
22439 2011-06-21 Andreas Jaeger <aj@suse.de>
22440
22441 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22442 NULL after inclusion of kernel headers.
22443
22444 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22445
22446 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22447 calls to internal_setent.
22448
22449 [BZ #12885]
22450 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22451 addresses using gethostbyname4_r ignore IPv4 addresses.
22452
22453 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22454 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22455
22456 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22457
22458 2011-06-20 David S. Miller <davem@davemloft.net>
22459
22460 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22461 inclusions.
22462 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22463
22464 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22465 (elf_irel): Use it.
22466 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22467 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22468 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22469 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22470 * sysdeps/x86_64/dl-irel.h: Likewise.
22471
22472 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22473 * elf/dl-sym.c: Likewise.
22474
22475 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22476
22477 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22478 need to dereference resplen2.
22479
22480 2011-06-14 Andreas Schwab <schwab@redhat.com>
22481
22482 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22483
22484 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22485
22486 * Makeconfig: Define vardbdir and inst_vardbdir.
22487 * nss/Makefile: Add rules to install db-Makefile.
22488
22489 * nss/nss_db/db-XXX.c: Cleanup.
22490
22491 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22492 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22493 GLIBC_PRIVATE.
22494 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22495 * nss/makedb.c: Implement -g option to specify that value strings
22496 are generated and should not be added to table iterated over for
22497 get*ent calls.
22498 * nss/nss_db/db-initgroups.c: New file.
22499
22500 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22501 interface.
22502
22503 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22504 (internal_getgrouplist): Adjust to name change.
22505 Update use_initgroups_entry if this is not the first call.
22506 * nss/databases.def: Add initgroups entry.
22507
22508 * nss/makedb.c (compute_tables): Check result of multiple hash table
22509 sizes to minimize maximum chain length.
22510
22511 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22512
22513 * Versions.def: Add entry for libnss_db.
22514 * shlib-versions: Likewise.
22515 * nss/Makefile: Add rules to build libnss_db.
22516 * nss/Versions: Add libnss_db information. Organize libnss_files
22517 entries better.
22518 * nss/db-Makefile: Add gshadow support. Change rules for the new
22519 makedb progra. Some minor improvements to generate smaller files.
22520 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22521 here from...
22522 * nss/makedb.c: ...here.
22523 Improve database format to be smaller and require less memory at
22524 runtime.
22525 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22526 db anymore.
22527 * nss/nss_db/db-netgrp.c: Likewise.
22528 * nss/nss_db/db-open.c: Likewise.
22529 * nss/nss_files/flies-XXX.x: Adjust comments.
22530 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22531 * nss/nss_files/files-grp.c: Likewise.
22532 * nss/nss_files/files-hosts.c: Likewise.
22533 * nss/nss_files/files-network.c: Likewise.
22534 * nss/nss_files/files-proto.c: Likewise.
22535 * nss/nss_files/files-pwd.c: Likewise.
22536 * nss/nss_files/files-rpc.c: Likewise.
22537 * nss/nss_files/files-service.c: Likewise.
22538 * nss/nss_files/files-sgrp.c: Likewise.
22539 * nss/nss_files/files-spwd.c: Likewise.
22540 * nss/nss_db/db-alias.c: Removed.
22541 * nss/nss_db/dummy-db.h: Removed.
22542
22543 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22544
22545 * nss/makedb.c: Rewritten to not use database library.
22546 * nss/Makefile: Update to build new makedb program.
22547
22548 2011-06-14 Andreas Jaeger <aj@suse.de>
22549
22550 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22551 memset declaration.
22552
22553 2011-06-10 Andreas Schwab <schwab@redhat.com>
22554
22555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22556 tmpbuf.
22557
22558 2011-06-10 Roland McGrath <roland@hack.frob.com>
22559
22560 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22561 * elf/Makefile ($(objpfx)ld.so): Likewise.
22562
22563 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22564 Don't list ld.so twice in dependencies.
22565
22566 * posix/bug-regex31.c: Include <stdlib.h>.
22567
22568 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22569
22570 * nis/nss_compat/compat-spwd.c
22571 (getspent_next_nss_netgr): Remove unused variable.
22572 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22573
22574 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22575 nonmembers" output to use the right array.
22576
22577 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22578
22579 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22580
22581 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22582 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22583 * catgets/gencat.c (read_input_file): Likewise.
22584 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22585
22586 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22587 variable definition inside #if's controlling its use.
22588
22589 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22590
22591 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22592
22593 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22594
22595 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22596 unreachable code.
22597
22598 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22599
22600 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22601 * configure: Regenerated.
22602
22603 * Makerules: Revert last change.
22604 * elf/Makefile: Likewise.
22605
22606 2011-06-09 Roland McGrath <roland@hack.frob.com>
22607
22608 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22609 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22610 (reloc-link): Likewise.
22611
22612 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22613
22614 * elf/Makefile: Add rules to build pldd.
22615 * elf/pldd.c: New file.
22616 * elf/pldd-xx.c: New file.
22617
22618 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22619
22620 * version.h: Update for 2.15 development version.
22621
22622 2011-06-07 David S. Miller <davem@davemloft.net>
22623
22624 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22625 ifuncs.
22626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22627 elf_machine_lazy_rel): Likewise.
22628 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22630 elf_machine_lazy_rel): Likewise.
22631 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22632 dl_hwcap via passed in argument.
22633 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22634 Likewise.
22635
22636 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22637
22638 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22639
22640 2011-06-06 Roland McGrath <roland@hack.frob.com>
22641
22642 [BZ #12849]
22643 * manual/fdl-1.1.texi: New file, verbatim from:
22644 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22645 * manual/lgpl-2.1.texi: New file, verbatim from:
22646 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22647 * manual/Makefile (licenses): New variable, list those new file names.
22648 (texis): Use it.
22649 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22650
22651 * manual/fdl.texi: File removed.
22652 * manual/lesser.texi: File removed.
22653 * manual/libc.texinfo (Copying, Documentation License):
22654 Use new @include file names, put @appendix directive before @include.
22655
22656 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22657
22658 [BZ #12841]
22659 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22660 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22661 (mq_open): Add __NTH.
22662
22663 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22664
22665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22666 Assume Intel Core i3/i5/i7 processor if AVX is available.
22667
22668 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22669
22670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22671 typo.
22672
22673 2011-05-31 Andreas Schwab <schwab@redhat.com>
22674
22675 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22676 memory. Use alloca_account. Fix memory leak when retrying.
22677
22678 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22679
22680 * version.h (RELEASE): Bump for 2.14 release.
22681 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22682
22683 * config.make.in (RANLIB): Remove entry.
22684
22685 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22686
22687 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22688 (libc.pot): Work around missing support for .ksh extension in xgettext.
22689
22690 [BZ #12684]
22691 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22692 if both request failed.
22693 (send_dg): In case of server errors clear resplen or *resplen2.
22694
22695 [BZ #12454]
22696 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22697 when there are multiple maps.
22698 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22699 (_dl_fini): Remove test here.
22700
22701 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22702
22703 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22704
22705 [BZ #12350]
22706 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22707 bit from old_res_options.
22708 (gaih_inet): Likewise.
22709
22710 [BZ #11099]
22711 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22712 as signed.
22713
22714 * resolv/res_init.c (res_setoptions): Make the code more compact.
22715
22716 [BZ #11558]
22717 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22718 set RES_USEVC.
22719
22720 [BZ #11634]
22721 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22722
22723 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22724
22725 [BZ #11781]
22726 * malloc/malloc.h: Declare malloc hook variables as volatile.
22727
22728 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22729 in last patch.
22730
22731 [BZ #11799]
22732 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22733 raise in the comment.
22734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22735 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22736 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22737
22738 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22739
22740 [BZ #12811]
22741 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22742 grow the buffers more if it already has to be sufficient.
22743 (build_wcs_upper_buffer): Likewise.
22744 * posix/regexec.c (check_matching): Likewise.
22745 (clean_state_log_if_needed): Likewise.
22746 (extend_buffers): Don't enlarge buffers beyond size of the input
22747 buffer.
22748 Patches mostly by Emil Wojak <emil@wojak.eu>.
22749 * posix/bug-regex32.c: New file.
22750 * posix/Makefile (tests): Add bug-regex32.
22751
22752 * locale/findlocale.c (_nl_find_locale): Return right away if
22753 _nl_explode_name failed.
22754 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22755
22756 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22757
22758 * debug/xtrace.sh: Unify messages.
22759 * malloc/memusage.sh: Likewise.
22760
22761 [BZ #12813]
22762 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22763 time symbol from vDSO. Substitute with vsyscall if not available.
22764 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22765 __vdso_time.
22766
22767 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22768 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22769 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22770 Add sendmmsg and internal_sendmmsg.
22771 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22772 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22773 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22774
22775 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22776 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22777 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22778
22779 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22780
22781 [BZ #12813]
22782 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22783 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22784 available.
22785 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22786 __vdso_getcpu.
22787
22788 [BZ #12814]
22789 * iconvdata/Makefile (tests): Add bug-iconv9.
22790 * iconvdata/bug-iconv9.c: New file.
22791
22792 2011-05-27 Andreas Schwab <schwab@redhat.com>
22793
22794 [BZ #12814]
22795 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22796
22797 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22798
22799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22800 (struct user_regs_struct): Change intcs field back to cs.
22801
22802 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22803
22804 * po/ja.po: Update from translation team.
22805
22806 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22807
22808 [BZ #12795]
22809 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22811
22812 2011-05-20 Andreas Schwab <schwab@redhat.com>
22813
22814 * stdlib/longlong.h: Update from GCC.
22815
22816 2011-05-23 Andreas Schwab <schwab@redhat.com>
22817
22818 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22819 parameter name.
22820 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22821 Add parameter name.
22822 (__sysconf): Pass it down.
22823
22824 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22825
22826 [BZ #12671]
22827 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22828 some situations.
22829 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22830 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22831 add in in __libc_use_alloca calls. Adjust callers.
22832 (glob): Use malloc in some situations.
22833
22834 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22835 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22836 pltexit.
22837
22838 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22839
22840 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22841 and CLOCK_BOOTTIME_ALARM.
22842
22843 [BZ #12782]
22844 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22845 is returned.
22846
22847 * string/_strerror.c (__strerror_r): Print negative errors as signed
22848 numbers.
22849
22850 [BZ #12777]
22851 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22852 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22853 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22854
22855 * configure.in: Fix typo in redirection and correct removal of test
22856 files in two cases.
22857
22858 [BZ #12788]
22859 * locale/setlocale.c (new_composite_name): Fix test to check for
22860 identical name of all categories.
22861
22862 [BZ #12792]
22863 * libio/filedoalloc.c (local_isatty): New function.
22864 (_IO_file_doallocate): Use local_isatty.
22865 * stdio-common/perror.c (perror): In case a new stream is used
22866 forward the stream error.
22867 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22868 error flag.
22869
22870 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22871
22872 [BZ #11869]
22873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22874 alloca.
22875 * include/alloca.h (extend_alloca_account): Define.
22876
22877 [BZ #11857]
22878 * posix/regex.h: Fix comments with documentation of user-accessible
22879 fields after compilation and describe correct free'ing of pattern
22880 after re_compile_pattern.
22881 Patch by Reuben Thomas <rrt@sc3d.org>.
22882
22883 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22884
22885 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22886 and -mno-altivec to prevent the compiler from using Altivec and/or
22887 VSX instructions when the corresponding registers are not available.
22888
22889 2011-05-19 Andreas Schwab <schwab@redhat.com>
22890
22891 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22892
22893 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22894
22895 * libio/freopen.c (freopen): Use __dup2, not dup2.
22896 * libio/freopen64.c (freopen64): Likewise.
22897
22898 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22899
22900 [BZ #12775]
22901 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22902 * math/Makefile (tests): Add test-powl.
22903 (CFLAGS-test-powl.c): Define.
22904 * math/test-powl.c: New file.
22905
22906 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22907
22908 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22909
22910 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22911
22912 [BZ #11837]
22913 * iconvdata/gb18030.c: Update to GB18020-2005.
22914
22915 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22916
22917 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22918 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22919 Patch by Aharon Robbins <arnold@skeeve.com>.
22920
22921 [BZ #11892]
22922 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22923 on the stack.
22924
22925 [BZ #11895]
22926 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22927 through underflows.
22928
22929 [BZ #12766]
22930 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22931 point to strings before performing equality test for error_one_per_line
22932 mode.
22933
22934 [BZ #11697]
22935 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22936
22937 [BZ #11820]
22938 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22939 (struct user_fpregs_struct): Avoid __uint*_t types.
22940
22941 [BZ #6420]
22942 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22943 symbol info. Use it instead of calling _dl_addr locally.
22944 (lock_and_info): New function.
22945 (tr_freehook): Call lock_and_info and pass symbol info as additional
22946 parameter to tr_where.
22947 (tr_mallochook): Likewise.
22948 (tr_reallochook): Likewise.
22949 (tr_memalignhook): Likewise.
22950
22951 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22952 used and couldn't be at all thread-safe.
22953
22954 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22955
22956 * libio/freopen.c (freopen): Don't close old file descriptor
22957 before the new one is opened. Instead dup the new file descriptor
22958 to the old one after the new stream is created.
22959 * libio/freopen64.c (freopen64): Likewise.
22960 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22961 * libio/fileops.c (_IO_new_file_close_it): Handle new
22962 _IO_FLAGS2_NOCLOSE flag.
22963 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22964 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22965 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22966 _IO_FLAGS2_NOCLOSE flag.
22967 * include/unistd.h: Add hidden_proto for dup3.
22968 Define __have_dup3.
22969 * io/dup3.c: Define hidden symbol.
22970 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22971
22972 [BZ #7101]
22973 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22974 when an incomplete long option is used.
22975 * posix/tst-getopt_long1.c: New file.
22976 * posix/Makefile (tests): Add tst-getopt_long1.
22977
22978 [BZ #10138]
22979 * scripts/config.guess: Update from autoconf-2.68.
22980 * scripts/config.sub: Likewise.
22981
22982 [BZ #10157]
22983 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22984 tests into ...
22985 (has_cpuclock): ...this. New function.
22986 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22987 macro here based on has_cpuclock code.
22988
22989 [BZ #10149]
22990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22991 First byte (not low byte) is now always NUL.
22992 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22993
22994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22995 Use non-cancelable interfaces.
22996
22997 [BZ #9809]
22998 * locale/iso-639.def: Add entry for Sorani.
22999
23000 [BZ #11901]
23001 * include/stdlib.h: Move include protection to the right place.
23002 Define abort_msg_s. Declare __abort_msg with it.
23003 * stdlib/abort.c (__abort_msg): Adjust type.
23004 * assert/assert.c (__assert_fail_base): New function. Majority
23005 of code from __assert_fail. Allocate memory for __abort_msg with
23006 mmap.
23007 (__assert_fail): Now call __assert_fail_base.
23008 * assert/assert-perr.c: Remove bulk of implementation. Use
23009 __assert_fail_base.
23010 * include/assert.hL Declare __assert_fail_base.
23011 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23012 mmap.
23013 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23014
23015 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23016
23017 [BZ #11952]
23018 [BZ #12453]
23019 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23020 until all modules are registered in the DTV.
23021 * elf/Makefile: Add rules to build and run tst-tls19.
23022 * elf/tst-tls19.c: New file.
23023 * elf/tst-tls19mod1.c: New file.
23024 * elf/tst-tls19mod2.c: New file.
23025 * elf/tst-tls19mod3.c: New file.
23026 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23027
23028 [BZ #12083]
23029 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23030 correctly.
23031
23032 [BZ #12601]
23033 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23034 two-byte sequence errors.
23035 * iconvdata/Makefile (tests): Add bug-iconv8.
23036 * iconvdata/bug-iconv8.c: New file.
23037
23038 [BZ #12626]
23039 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23040 buf2 definition.
23041
23042 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23043
23044 [BZ #12432]
23045 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23046 (dummy_getcfa): New function.
23047 (init): Get _Unwind_GetCFA address, use dummy if not found.
23048 (backtrace_helper): In recursion check, also check whether CFA changes.
23049 (__backtrace): Completely initialize arg.
23050
23051 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23052 storing incomplete byte sequence in state object. Avoid testing for
23053 guaranteed too small input if we know there is enough data available.
23054
23055 2011-05-11 Andreas Schwab <schwab@redhat.com>
23056
23057 * Makeconfig (+link-pie): Indent.
23058 * Rules (binaries-pie): Define if $(have-fpie) and
23059 $(build-shared).
23060 (binaries-shared): Also filter out $(binaries-pie).
23061 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23062 * nscd/Makefile (others-pie): Add nscd.
23063 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23064 ($(objpfx)nscd): Remove command override.
23065 * login/Makefile (others-pie): Add pt_chown.
23066 ($(objpfx)pt_chown): Remove command override.
23067 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23068 remove command overrides.
23069
23070 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23071
23072 * libio/tst_putwc.c: Fix error messages.
23073
23074 [BZ #12724]
23075 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23076 currently writing and seek to current position when not.
23077 * libio/Makefile (tests): Add bug-fclose1.
23078 * libio/bug-fclose1.c: New file.
23079
23080 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23081
23082 [BZ #12511]
23083 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23084 don't set DF_1_NODELETE here.
23085 (do_lookup_x): When entering new entry test for copy relocation
23086 and if necessary set DF_1_NODELETE flag.
23087 * elf/tst-unique4.cc: New file.
23088 * elf/tst-unique4.h: New file.
23089 * elf/tst-unique4lib.cc: New file.
23090 * elf/Makefile: Add rules to build and run tst-unique4.
23091 Patch by Piotr Bury <pbury@goahead.com>.
23092
23093 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23094
23095 [BZ #12052]
23096 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23097
23098 [BZ #12625]
23099 * misc/mntent_r.c (addmntent): Flush the stream after the output
23100
23101 [BZ #12393]
23102 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23103 (is_trusted_path_normalize): Skip initial colon. Append slash
23104 to empty buffer. Duplicate is_trusted_path code but allow
23105 constructed patch to be prefix.
23106 (is_dst): Allow $ORIGIN followed by /.
23107 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23108 Correct testing of result of is_trusted_path_normalize
23109 (decompose_rpath): Fix warning.
23110
23111 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23112
23113 [BZ #11257]
23114 * grp/initgroups.c (internal_getgrouplist): When we found the service
23115 list through the initgroups entry in nsswitch.conf do not always
23116 continue on a successful lookup. Don't always use the
23117 __nss_group_database value if it is set.
23118 * nss/nsswitch.conf (initgroups): Change action for successful db
23119 lookup to continue for compatibility.
23120
23121 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23122
23123 [BZ #11532]
23124 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23125 and CP774 modules.
23126 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23127 and CP774 modules.
23128 * iconvdata/tst-tables.sh: Likewise.
23129 * iconvdata/cp770.c: New file.
23130 * iconvdata/cp771.c: New file.
23131 * iconvdata/cp772.c: New file.
23132 * iconvdata/cp773.c: New file.
23133 * iconvdata/cp774.c: New file.
23134 * iconvdata/testdata/CP770: New file.
23135 * iconvdata/testdata/CP770..UTF8: New file.
23136 * iconvdata/testdata/CP771: New file.
23137 * iconvdata/testdata/CP771..UTF8: New file.
23138 * iconvdata/testdata/CP772: New file.
23139 * iconvdata/testdata/CP772..UTF8: New file.
23140 * iconvdata/testdata/CP773: New file.
23141 * iconvdata/testdata/CP773..UTF8: New file.
23142 * iconvdata/testdata/CP774: New file.
23143 * iconvdata/testdata/CP774..UTF8: New file.
23144
23145 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23146 END CHARMAP line.
23147 * iconvdata/gen-8bit-gap.sh: Likewise.
23148 * iconvdata/gen-8bit.sh: Likewise.
23149
23150 * locale/iso-639.def: Add ary entry.
23151
23152 [BZ #11258]
23153 * locale/C-translit.h.in: Add U20A1 transliteration.
23154
23155 [BZ #12178]
23156 * locale/iso-639.def: Add wae entry.
23157 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23158
23159 [BZ #12545]
23160 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23161 for n.
23162
23163 [BZ #12711]
23164 * locale/C-translit.h.in: Add entry for U20B9.
23165 Patch by pravin.d.s@gmail.com.
23166
23167 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23168
23169 [BZ #12713]
23170 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23171 ENAMETOOLONG use generic getcwd.
23172 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23173 in rtld. Use *stat64.
23174 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23175 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23176 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23177 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23178 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23179 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23180 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23181 __fstatat64 macros.
23182 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23183 * dirent/rewinddir.c: Add libc_hidden_def.
23184 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23185 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23186
23187 * include/dirent.h (__alloc_dir): Add flags parameter.
23188 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23189 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23190 __alloc_dir.
23191 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23192 from fdopendir if O_CLOEXEC is already set.
23193
23194 2011-03-15 Alan Modra <amodra@gmail.com>
23195
23196 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23197 l_tls_firstbyte_offset non-zero. Save padding offset in
23198 l_tls_firstbyte_offset for later use.
23199 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23200 freeing static tls block.
23201
23202 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23203
23204 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23205 where #ifdef was intended. The intent is to prevent ARG_MAX from
23206 being defined by the kernel headers.
23207
23208 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23209
23210 [BZ #12734]
23211 * resolv/resolv.h: Define RES_NOTLDQUERY.
23212 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23213 no-tld-query and set RES_NOTLDQUERY.
23214 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23215 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23216 modern BIND to search name as TLD unless forbidden.
23217
23218 2011-05-07 Petr Baudis <pasky@suse.cz>
23219 Ulrich Drepper <drepper@gmail.com>
23220
23221 [BZ #12393]
23222 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23223 (is_trusted_path): ...to here.
23224 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23225 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23226 using is_trusted_path_normalize() in setuid scripts.
23227
23228 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23229
23230 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23231 __BEGIN/__END_DECLS.
23232
23233 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23234
23235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23236 NSS_STATUS_NOTFOUND if no record was found.
23237
23238 2011-05-05 Andreas Schwab <schwab@redhat.com>
23239
23240 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23241 (headers-not-in-tirpc): Remove rpc/netdb.h
23242 * resolv/netdb.h: Revert last change.
23243
23244 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23245
23246 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23247 circular dependency between libgcc.a and libc.a.
23248
23249 2011-05-05 Andreas Schwab <schwab@redhat.com>
23250
23251 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23252 * nis/Makefile: Don't install rpcsvc/*.
23253 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23254 instead of <rpc/types.h>.
23255 (MAXHOSTNAMELEN): Define.
23256
23257 2011-05-03 Andreas Schwab <schwab@redhat.com>
23258
23259 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23260
23261 2011-04-28 Maciej Babinski <mbabinski@google.com>
23262
23263 [BZ #12714]
23264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23265 gethostbyname4_r when IPv6 results are possible.
23266
23267 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23268
23269 [BZ #12723]
23270 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23271 _PC_PIPE_BUF handling.
23272
23273 2011-04-30 Bruno Haible <bruno@clisp.org>
23274
23275 [BZ #12717]
23276 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23277 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23278 to 'int'.
23279 * inet/getnameinfo.c (getnameinfo): Likewise.
23280
23281 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23282
23283 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23284 to groups setting in database lookup.
23285 * nss/nsswitch.conf: Add initgroups entry.
23286
23287 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23288
23289 [BZ #12685]
23290 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23291 mode string.
23292 Patch by Eric Blake <eblake@redhat.com>.
23293
23294 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 * sunrpc/Makefile (need-export-routines): Add svc_run.
23297 (routines): Remove svc_run.
23298 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23299 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23300 * sunrpc/svc_run.c (svc_run): Likewise.
23301 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23302
23303 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23304
23305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23306 problem in reallocation in last patch.
23307
23308 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23309
23310 * sunrpc/Makefile: Move inclusion of Rules.
23311
23312 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23313
23314 * nss/nss_files/files-initgroups.c: New file.
23315 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23316 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23317 _nss_files_initgroups_dyn.
23318
23319 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23320
23321 * elf/elf.h (R_ARM_IRELATIVE): Define.
23322
23323 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23324
23325 * po/ru.po: Update from translation team.
23326
23327 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23328
23329 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23330 dependencies.
23331
23332 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23333
23334 [BZ #12653]
23335 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23336 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23337 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23338 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23340
23341 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23342
23343 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23344 differing bytes.
23345 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23347 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23348
23349 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23350
23351 [BZ #12420]
23352 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23353 storing it.
23354 * stdlib/bug-getcontext.c: New file.
23355 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23356
23357 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23358
23359 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23360 instructions into .machine "z9-109".
23361 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23362 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23363
23364 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23365
23366 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23367 between environment variables and auxiliary vector.
23368
23369 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23370
23371 * Makefile: Add rules to build linkobj/libc.so.
23372 * include/libc-symbols.h: Define libc_hidden_nolink.
23373 * include/rpc/auth.h: Mark functions which are to be hidden.
23374 * include/rpc/auth_des.h: Likewise.
23375 * include/rpc/auth_unix.h: Likewise.
23376 * include/rpc/clnt.h: Likewise.
23377 * include/rpc/des_crypt.h: Likewise.
23378 * include/rpc/key_prot.h: Likewise.
23379 * include/rpc/pmap_clnt.h: Likewise.
23380 * include/rpc/pmap_prot.h: Likewise.
23381 * include/rpc/pmap_rmt.h: Likewise.
23382 * include/rpc/rpc_msg.h: Likewise.
23383 * include/rpc/svc.h: Likewise.
23384 * include/rpc/svc_auth.h: Likewise.
23385 * include/rpc/xdr.h: Likewise.
23386 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23387 * nss/Makefile: Likewise.
23388 * sunrpc/Makefile: Don't install headers. Build library with normal
23389 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23390 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23391 for the compat linking library. Remove use of INTDEF/INTUSE.
23392 * sunrpc/auth_none.c: Likewise.
23393 * sunrpc/auth_unix.c: Likewise.
23394 * sunrpc/authdes_prot.c: Likewise.
23395 * sunrpc/authuxprot.c: Likewise.
23396 * sunrpc/clnt_gen.c: Likewise.
23397 * sunrpc/clnt_perr.c: Likewise.
23398 * sunrpc/clnt_raw.c: Likewise.
23399 * sunrpc/clnt_simp.c: Likewise.
23400 * sunrpc/clnt_tcp.c: Likewise.
23401 * sunrpc/clnt_udp.c: Likewise.
23402 * sunrpc/clnt_unix.c: Likewise.
23403 * sunrpc/des_crypt.c: Likewise.
23404 * sunrpc/des_soft.c: Likewise.
23405 * sunrpc/get_myaddr.c: Likewise.
23406 * sunrpc/key_call.c: Likewise.
23407 * sunrpc/key_prot.c: Likewise.
23408 * sunrpc/netname.c: Likewise.
23409 * sunrpc/pm_getmaps.c: Likewise.
23410 * sunrpc/pm_getport.c: Likewise.
23411 * sunrpc/pmap_clnt.c: Likewise.
23412 * sunrpc/pmap_prot.c: Likewise.
23413 * sunrpc/pmap_prot2.c: Likewise.
23414 * sunrpc/pmap_rmt.c: Likewise.
23415 * sunrpc/publickey.c: Likewise.
23416 * sunrpc/rpc_cmsg.c: Likewise.
23417 * sunrpc/rpc_common.c: Likewise.
23418 * sunrpc/rpc_dtable.c: Likewise.
23419 * sunrpc/rpc_prot.c: Likewise.
23420 * sunrpc/rpc_thread.c: Likewise.
23421 * sunrpc/rtime.c: Likewise.
23422 * sunrpc/svc.c: Likewise.
23423 * sunrpc/svc_auth.c: Likewise.
23424 * sunrpc/svc_authux.c: Likewise.
23425 * sunrpc/svc_raw.c: Likewise.
23426 * sunrpc/svc_run.c: Likewise.
23427 * sunrpc/svc_simple.c: Likewise.
23428 * sunrpc/svc_tcp.c: Likewise.
23429 * sunrpc/svc_udp.c: Likewise.
23430 * sunrpc/svc_unix.c: Likewise.
23431 * sunrpc/svcauth_des.c: Likewise.
23432 * sunrpc/xcrypt.c: Likewise.
23433 * sunrpc/xdr.c: Likewise.
23434 * sunrpc/xdr_array.c: Likewise.
23435 * sunrpc/xdr_float.c: Likewise.
23436 * sunrpc/xdr_intXX_t.c: Likewise.
23437 * sunrpc/xdr_mem.c: Likewise.
23438 * sunrpc/xdr_rec.c: Likewise.
23439 * sunrpc/xdr_ref.c: Likewise.
23440 * sunrpc/xdr_sizeof.c: Likewise.
23441 * sunrpc/xdr_stdio.c: Likewise.
23442
23443 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23444
23445 [BZ #12650]
23446 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23447 * sysdeps/ia64/dl-tls.h: Likewise.
23448 * sysdeps/powerpc/dl-tls.h: Likewise.
23449 * sysdeps/s390/dl-tls.h: Likewise.
23450 * sysdeps/sh/dl-tls.h: Likewise.
23451 * sysdeps/sparc/dl-tls.h: Likewise.
23452 * sysdeps/x86_64/dl-tls.h: Likewise.
23453 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23454
23455 2011-03-14 Andreas Schwab <schwab@redhat.com>
23456
23457 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23458 rpath element also skip the following colon.
23459 (expand_dynamic_string_token): Add is_path parameter and pass
23460 down to DL_DST_REQUIRED and _dl_dst_substitute.
23461 (decompose_rpath): Call expand_dynamic_string_token with
23462 non-zero is_path. Ignore empty rpaths.
23463 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23464 with zero is_path.
23465
23466 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23467
23468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23469 Make cancelable.
23470
23471 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23472
23473 [BZ #12655]
23474 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23475 Patch by Filipe David Manana <fdmanana@apache.org>.
23476
23477 2011-04-07 Andreas Schwab <schwab@redhat.com>
23478
23479 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23480 Maintain aligned stack.
23481 (CHECK_RSP): Remove unused macro.
23482
23483 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23484
23485 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23486 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23487
23488 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23489
23490 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23491
23492 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23493
23494 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23495
23496 [BZ #12518]
23497 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23498 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23499 * sysdeps/x86_64/memmove.c: New file.
23500 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23501 (memcpy): Renamed to ...
23502 (__new_memcpy): This.
23503 (memcpy): Provide GLIBC_2_14 memcpy.
23504 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23505 (memcpy): Provide GLIBC_2_2_5 memcpy.
23506
23507 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23508
23509 [BZ #12631]
23510 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23511
23512 2011-03-30 Andreas Schwab <schwab@redhat.com>
23513
23514 * misc/syncfs.c: New file.
23515 * misc/Makefile (routines): Add syncfs.
23516 * posix/unistd.h: Declare syncfs.
23517 * sysdeps/unix/syscalls.list: Add syncfs.
23518
23519 2011-04-01 Andreas Schwab <schwab@redhat.com>
23520
23521 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23522 open_by_handle_at.
23523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23524 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23526 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23528 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23530
23531 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23532
23533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23534 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23535 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23537 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23539 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23540
23541 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23542 sync_file_range.c with -fexceptions.
23543 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23544 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23545 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23546 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23547 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23548 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23549 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23550 sync_file_range as cancellation point
23551 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23552 now a wrapper around __call_sync_file_range with cancellation handling.
23553 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23554 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23555 function name to __call_sync_file_range.
23556 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23557 Add call_sync_file_range.
23558
23559 2011-04-01 Andreas Schwab <schwab@redhat.com>
23560
23561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23562 bits/timex.h.
23563
23564 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23565
23566 * iconv/iconv.h: Fix typo in comment.
23567 * io/fcntl.h: Likewise.
23568 * libio/stdio.h: Likewise.
23569 * posix/spawn.h: Likewise.
23570 * posix/unistd.h: Likewise.
23571 * stdlib/stdlib.h: Likewise.
23572 * time/time.h: Likewise.
23573 * wcsmbs/wchar.h: Likewise.
23574
23575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23576 open_by_handle): Add.
23577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23578 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23579 Augment a few comments.
23580 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23584 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23585 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23586 open_by_handle.
23587
23588 * io/fcntl.h (AT_EMPTY_PATH): Define.
23589
23590 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23591
23592 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23593 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23594 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23595 to...
23596 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23597 * Versions.def: Add GLIBC_2.14.
23598 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23599 Export.
23600
23601 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23602
23603 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23604 round counter.
23605 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23606
23607 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23608
23609 [BZ #12597]
23610 * string/test-strncmp.c (do_page_test): New function.
23611 (check2): Likewise.
23612 (test_main): Call check2.
23613 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23614
23615 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23616
23617 [BZ #12587]
23618 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23619 Handle cache information in CPU leaf 4.
23620 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23621
23622 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23623
23624 [BZ #12583]
23625 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23626 character representation.
23627 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23628
23629 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23630
23631 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23632 END(__isnan) to END(__isnanf) to match function entry point/label
23633 EALIGN(__isnanf,...).
23634
23635 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23636
23637 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23638
23639 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23640
23641 [BZ #12510]
23642 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23643 copy from the symbol referenced in the relocation to initialize the
23644 used variable.
23645 Patch by Piotr Bury <pbury@goahead.com>.
23646 * elf/Makefile: Add rules to build and tst-unique3.
23647 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23648 * elf/tst-unique3.cc: New file.
23649 * elf/tst-unique3.h: New file.
23650 * elf/tst-unique3lib.cc: New file.
23651 * elf/tst-unique3lib2.cc: New file.
23652
23653 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23654
23655 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23656
23657 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23658 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23659 to _start.
23660
23661 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23662
23663 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23664 to-be-loaded object along a path to loader is ld.so.
23665
23666 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23667 Ulrich Drepper <drepper@gmail.com>
23668
23669 * sysdeps/x86_64/memset.S: After aligning destination, code
23670 branches to different locations depending on the value of
23671 misalignment, when multiarch is enabled. Fix this.
23672
23673 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23674
23675 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23676 Set _x86_64_preferred_memory_instruction for AMD processsors.
23677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23678 Set bit_Prefer_SSE_for_memop for AMD processors.
23679
23680 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23681
23682 * libio/fmemopen.c (fmemopen): Optimize a bit.
23683
23684 2011-03-03 Andreas Schwab <schwab@redhat.com>
23685
23686 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23687
23688 2011-03-03 Roland McGrath <roland@redhat.com>
23689
23690 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23691
23692 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23693
23694 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23695 __bzero_ultra1 instead of __memset_ultra1.
23696
23697 2011-02-23 Andreas Schwab <schwab@redhat.com>
23698 Ulrich Drepper <drepper@gmail.com>
23699
23700 [BZ #12509]
23701 * include/link.h (struct link_map): Add l_orig_initfini.
23702 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23703 returning unsuccessfully.
23704 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23705 close of a file loaded at startup, restore the original l_initfini
23706 list.
23707 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23708 list, store the pointer.
23709 * elf/Makefile ($(objpfx)noload-mem): New rule.
23710 (noload-ENV): Define.
23711 (tests): Add $(objpfx)noload-mem.
23712 * elf/noload.c: Include <memcheck.h>.
23713 (main): Call mtrace. Close all opened handles.
23714
23715 2011-02-17 Andreas Schwab <schwab@redhat.com>
23716
23717 [BZ #12454]
23718 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23719 dependencies are missing.
23720
23721 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23722
23723 Fix __if_freereq crash: Unlike the generic version which uses free,
23724 Hurd needs munmap.
23725 * sysdeps/mach/hurd/ifreq.h: New file.
23726
23727 2011-01-27 Petr Baudis <pasky@suse.cz>
23728 Ulrich Drepper <drepper@gmail.com>
23729
23730 [BZ 12445]#
23731 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23732 to extend_alloca().
23733 * stdio-common/bug23.c: New file.
23734 * stdio-common/Makefile (tests): Add bug23.
23735
23736 2010-09-28 Andreas Schwab <schwab@redhat.com>
23737 Ulrich Drepper <drepper@gmail.com>
23738
23739 [BZ #12489]
23740 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23741 before performing relro protection. At old place add assertion
23742 to make sure nothing changed.
23743
23744 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23745 Glauber de Oliveira Costa <glommer@gmail.com>
23746
23747 * elf/elf.h: Add new ARM TLS relocs.
23748
23749 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23750
23751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23752 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23753 cast from r3.
23754 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23755 'tests' variable.
23756 * sysdeps/wordsize-64/tst-writev.c: New file.
23757
23758 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23759
23760 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23761 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23762 insns in _dl_start to prevent a TOC reference before relocs are
23763 resolved.
23764
23765 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23766
23767 [BZ #12469]
23768 * Makeconfig: Remove RANLIB definition.
23769 * Makerules: Don't use RANLIB.
23770 * aclocal.m4: Remove ranlib test.
23771 * configure.in: No need to check for ranlib.
23772 * elf/rtld-Rules: Don't use RANLIB.
23773
23774 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23775
23776 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23777 protection macro.
23778 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23779 inclusion protection macro.
23780
23781 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23782 SIGRTMIN and SIGRTMAX and print information in that case only when
23783 SIGRTMIN is defined.
23784
23785 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23786
23787 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23788 arginfo fn returning -1.
23789
23790 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23791 and thousands string is zero terminated.
23792
23793 2011-02-03 Andreas Schwab <schwab@redhat.com>
23794
23795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23796 sysdeps/unix/sysv/linux/bits/socket.h.
23797
23798 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23799
23800 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23801 (__CPU_COUNT): Remove old macros.
23802 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23803 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23804 (__CPU_ALLOC, __CPU_FREE): Add macros.
23805 (__sched_cpualloc, __sched_cpufree): Add declarations.
23806
23807 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23808
23809 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23810 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23811 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23812 (readdhstai): Return value of addhstaiX call.
23813 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23814 (addgrbyX): Return value returned by cache_addgr.
23815 (readdgrbyname): Return value returned by addgrbyX.
23816 (readdgrbygid): Likewise.
23817 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23818 (addpwbyX): Return value returned by cache_addpw.
23819 (readdpwbyname): Return value returned by addhstbyX.
23820 (readdpwbyuid): Likewise.
23821 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23822 (addservbyX): Return value returned by cache_addserv.
23823 (readdservbyname): Return value returned by addservbyX:
23824 (readdservbyport): Likewise.
23825 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23826 (addhstbyX): Return value returned by cache_addhst.
23827 (readdhstbyname): Return value returned by addhstbyX.
23828 (readdhstbyaddr): Likewise.
23829 (readdhstbynamev6): Likewise.
23830 (readdhstbyaddrv6): Likewise.
23831 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23832 (readdinitgroups): Return value returned by addinitgroupsX.
23833 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23834 (prune_cache): Keep track of timeout value of re-added entries.
23835 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23836 * nscd/nscd.h: Adjust prototypes of readd* functions.
23837
23838 2011-02-04 Roland McGrath <roland@redhat.com>
23839
23840 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23841 (nis_stats): Likewise.
23842 * nis/nis_modify.c (nis_modify): Likewise.
23843 * nis/nis_remove.c (nis_remove): Likewise.
23844 * nis/nis_add.c (nis_add): Likewise.
23845
23846 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23847
23848 * posix/fnmatch_loop.c: Add some consts.
23849
23850 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23851
23852 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23853
23854 [BZ #12460]
23855 * config.make.in (config-cflags-novzeroupper): Define.
23856 * configure.in: Substitute libc_cv_cc_novzeroupper.
23857 * elf/Makefile (AVX-CFLAGS): Define.
23858 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23859 (CFLAGS-tst-auditmod4a.c): Likewise.
23860 (CFLAGS-tst-auditmod4b.c): Likewise.
23861 (CFLAGS-tst-auditmod6b.c): Likewise.
23862 (CFLAGS-tst-auditmod6c.c): Likewise.
23863 (CFLAGS-tst-auditmod7b.c): Likewise.
23864 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23865
23866 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23867
23868 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23869 function to the callback.
23870 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23871
23872 2011-02-02 Andreas Schwab <schwab@redhat.com>
23873
23874 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23875 of errno.
23876
23877 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23878
23879 [BZ #11724]
23880 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23881 of constructors.
23882 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23883 of destructors.
23884 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23885
23886 [BZ #11724]
23887 * elf/Makefile: Add rules to build and run new test.
23888 * elf/tst-initorder.c: New file.
23889 * elf/tst-initorder.exp: New file.
23890 * elf/tst-initordera1.c: New file.
23891 * elf/tst-initordera2.c: New file.
23892 * elf/tst-initordera3.c: New file.
23893 * elf/tst-initordera4.c: New file.
23894 * elf/tst-initorderb1.c: New file.
23895 * elf/tst-initorderb2.c: New file.
23896 * elf/tst-order-a1.c: New file.
23897 * elf/tst-order-a2.c: New file.
23898 * elf/tst-order-a3.c: New file.
23899 * elf/tst-order-a4.c: New file.
23900 * elf/tst-order-b1.c: New file.
23901 * elf/tst-order-b2.c: New file.
23902 * elf/tst-order-main.c: New file.
23903 New test case by George Gensure <werkt0@gmail.com>.
23904
23905 2010-10-01 Andreas Schwab <schwab@redhat.com>
23906
23907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23908 decoding ACE if AI_CANONIDN.
23909
23910 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23911
23912 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23913
23914 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23915
23916 * version.h (RELEASE): Bump for 2.13 release.
23917 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23918
23919 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23920
23921 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23922 MADV_NOHUGEPAGE.
23923 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23924 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23926 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23927 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23928 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23929
23930 * posix/getconf.c: Update copyright year.
23931 * catgets/gencat.c: Likewise.
23932 * csu/version.c: Likewise.
23933 * debug/catchsegv.sh: Likewise.
23934 * debug/xtrace.sh: Likewise.
23935 * elf/ldconfig.c: Likewise.
23936 * elf/ldd.bash.in: Likewise.
23937 * elf/sprof.c (print_version): Likewise.
23938 * iconv/iconv_prog.c: Likewise.
23939 * iconv/iconvconfig.c: Likewise.
23940 * locale/programs/locale.c: Likewise.
23941 * locale/programs/localedef.c: Likewise.
23942 * malloc/memusage.sh: Likewise.
23943 * malloc/mtrace.pl: Likewise.
23944 * nscd/nscd.c (print_version): Likewise.
23945 * nss/getent.c: Likewise.
23946
23947 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23948 PF_CAIF, and PF_ALG.
23949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23950
23951 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23952
23953 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23954 (modules-names): Use them.
23955 (ifunc-test-modules, ifunc-pie-tests): Define.
23956 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23957 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23958 (test-extras): Likewise.
23959 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23960 $(compile-command.c).
23961 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23962 (all-built-dso): Define.
23963 (check-textrel.out, check-execstack.out): Depend on it.
23964
23965 * configure.in: Don't override --enable-multi-arch.
23966
23967 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23968
23969 [BZ #6812]
23970 * nscd/hstcache.c (tryagain): Define.
23971 (cache_addhst): Return tryagain not notfound for temporary errors.
23972 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23973 failed.
23974
23975 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23976
23977 [BZ #10563]
23978 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23979 to make the syscall.
23980 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23981
23982 [BZ #12378]
23983 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23984 and fall back to matching as normal character if the string ends before
23985 the matching ']' is found. This is what POSIX requires.
23986 * posix/testfnm.c: Adjust test result.
23987 * posix/globtest.sh: Adjust test result. Add new test.
23988 * posix/tst-fnmatch.input: Likewise.
23989 * posix/tst-fnmatch2.c: Add new test.
23990
23991 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23992
23993 * elf/Makefile (check-execstack): Revert last change. Depend on
23994 check-execstack.h.
23995 (check-execstack.h): New target.
23996 (generated): Add check-execstack.h.
23997 * elf/check-execstack.c: Include "check-execstack.h".
23998 (main): Revert last change.
23999 (handle_file): Return zero if GNU_STACK is absent and
24000 DEFAULT_STACK_PERMS doesn't include PF_X.
24001
24002 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24003
24004 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24005 in child fails because the descriptor is already closed.
24006 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24007 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24008 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24009
24010 [BZ #12397]
24011 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24012 syscall.
24013
24014 [BZ #10484]
24015 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24016 temporary buffer used to handle multi lookups locally.
24017 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24018
24019 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24020
24021 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24022 loader is ld.so.
24023
24024 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24025
24026 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24027 alignment for SSE2.
24028
24029 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24030
24031 [BZ #12394]
24032 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24033 characters. When rounding increased number of integer digits recompute
24034 number of groups.
24035 * stdio-common/tst-grouping.c: New file.
24036 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24037
24038 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24039
24040 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24041 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24042
24043 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24044 void.
24045 * bits/select.h: Likewise.
24046
24047 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24048
24049 * po/ja.po: Update from translation team.
24050
24051 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24052
24053 [BZ #11155]
24054 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24055 implementation just like for lxstat, fxstatat, et al.
24056
24057 2010-12-27 Jim Meyering <meyering@redhat.com>
24058
24059 [BZ #12348]
24060 * posix/regexec.c (build_trtable): Return failure indication upon
24061 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24062
24063 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24064
24065 [BZ #12201]
24066 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24067 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24068 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24069 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24070
24071 [BZ #12207]
24072 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24073
24074 [BZ #12204]
24075 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24076 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24077
24078 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24079
24080 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24081 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24082 script has SORT_BY_INIT_PRIORITY.
24083 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24084 NO_CTORS_DTORS_SECTIONS is defined.
24085 * elf/soinit.c: Likewise.
24086 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24087 NO_CTORS_DTORS_SECTIONS is defined.
24088 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24089 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24090 * sysdeps/sh/init-first.c: Likewise.
24091 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24092
24093 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24094
24095 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24096 always use the slow path.
24097
24098 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24099
24100 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24101 similar rule which adds the sysdep directories to the header search in
24102 order to pick up the correct platform stackinfo.h.
24103 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24104 perform test if it is, otherwise return successfully without testing.
24105 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24106 DEFAULT_STACK_PERMS define in stackinfo.h.
24107 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24108 defined in stackinfo.h.
24109 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24110 DEFAULT_STACK_PERMS defined in stackinfo.h.
24111 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24112 * sysdeps/ia64/stackinfo.h: Likewise.
24113 * sysdeps/s390/stackinfo.h: Likewise.
24114 * sysdeps/sh/stackinfo.h: Likewise.
24115 * sysdeps/sparc/stackinfo.h: Likewise.
24116 * sysdeps/x86_64/stackinfo.h: Likewise.
24117 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24118 PF_X for powerpc64. Retain PF_X for powerpc32.
24119
24120 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24121
24122 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24123 accurately.
24124 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24125 GETDENTS_64BIT_ALIGNED.
24126
24127 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24128
24129 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24130
24131 2010-12-10 Andreas Schwab <schwab@redhat.com>
24132
24133 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24134 _GNU_SOURCE.
24135
24136 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24137 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24138 Remove __restrict.
24139 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24140 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24141
24142 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24143
24144 [BZ #11655]
24145 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24146 are initialized.
24147
24148 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24149
24150 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24151
24152 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24153
24154 * po/it.po: Update from translation team.
24155
24156 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24157
24158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24159 unused codes.
24160
24161 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24162
24163 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24164
24165 2010-11-24 Andreas Schwab <schwab@redhat.com>
24166
24167 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24168 specially.
24169 (gaih_getanswer_slice): Likewise.
24170
24171 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24172
24173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24174
24175 2010-05-31 Petr Baudis <pasky@suse.cz>
24176
24177 [BZ #11149]
24178 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24179 silently even in the chroot mode.
24180
24181 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24182
24183 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24184 last patch a bit. Pretty printing
24185
24186 2010-05-31 Petr Baudis <pasky@suse.cz>
24187
24188 [BZ #10085]
24189 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24190 initialization of skip_initgroups_dyn.
24191
24192 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24193
24194 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24195 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24196
24197 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24198
24199 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24200
24201 2010-11-11 Andreas Schwab <schwab@redhat.com>
24202
24203 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24204 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24205 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24206 ($(objpfx)tst-fnmatch-mem): New rule.
24207 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24208 * posix/tst-fnmatch.c (main): Call mtrace.
24209
24210 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24211
24212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24213 Support Intel processor model 6 and model 0x2c.
24214
24215 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24216
24217 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24218 signed comparison.
24219
24220 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 [BZ #12205]
24223 * string/test-strncasecmp.c (check_result): New function.
24224 (do_one_test): Use it.
24225 (check1): New function.
24226 (test_main): Use it.
24227 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24228 Support strcasecmp and strncasecmp.
24229
24230 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24231
24232 [BZ #12194]
24233 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24234 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24235
24236 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24239 IFUNC support.
24240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24241 memset-x86-64.
24242 * sysdeps/x86_64/multiarch/bzero.S: New file.
24243 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24244 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24245 * sysdeps/x86_64/multiarch/memset.S: New file.
24246 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24248 Set bit_Prefer_SSE_for_memop for Intel processors.
24249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24250 Define.
24251 (index_Prefer_SSE_for_memop): Define.
24252 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24253
24254 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24255
24256 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24257 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24258
24259 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24260
24261 [BZ #12191]
24262 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24263 (__x86_64_raw_data_cache_size_half): Likewise.
24264 (__x86_64_raw_shared_cache_size): Likewise.
24265 (__x86_64_raw_shared_cache_size_half): Likewise.
24266
24267 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24268 (__x86_64_raw_data_cache_size_half): Likewise.
24269 (__x86_64_raw_shared_cache_size): Likewise.
24270 (__x86_64_raw_shared_cache_size_half): Likewise.
24271 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24272 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24273 and __x86_64_raw_shared_cache_size_half. Round
24274 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24275 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24276 to multiple of 256 bytes.
24277
24278 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24279
24280 [BZ #12167]
24281 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24282 of inacessible symlinks. Verify result of symlink before returning it.
24283 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24284 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24285
24286 2010-10-28 Erich Ritz <erichritz@gmail.com>
24287
24288 * math/math.h (isinf): Fix typo in comment.
24289
24290 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24291
24292 * po/da.po: Update from translation team.
24293
24294 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24295
24296 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24297 is added to the list.
24298
24299 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24300 Ulrich Drepper <drepper@gmail.com>
24301
24302 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24303 the global list here. Move code to...
24304 (_dl_add_to_namespace_list): ...here. New function.
24305 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24306 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24307 * elf/dl-load.c (lose): Don't remove the element from the list.
24308 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24309 (_dl_map_object): Likewise.
24310
24311 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24312
24313 [BZ #12159]
24314 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24315 into all bytes of SSE register.
24316 Patch by Richard Li <richardpku@gmail.com>.
24317
24318 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24319
24320 [BZ #12140]
24321 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24322 perturbing.
24323
24324 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24325
24326 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24327 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24328 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24329 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24331 submachine.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24333
24334 2010-10-22 Andreas Schwab <schwab@redhat.com>
24335
24336 * include/dlfcn.h (__RTLD_SECURE): Define.
24337 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24338 mode & __RTLD_SECURE instead.
24339 (open_path): Rename preloaded parameter to secure.
24340 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24341 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24342 * elf/dl-deps.c (openaux): Likewise.
24343 * elf/rtld.c (struct map_args): Remove is_preloaded.
24344 (map_doit): Don't use it.
24345 (dl_main): Likewise.
24346 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24347 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24348
24349 2010-09-09 Andreas Schwab <schwab@redhat.com>
24350
24351 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24352 (sysd-rules-targets): Remove duplicates.
24353 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24354 rtld-%.$o dependency.
24355
24356 2010-10-18 Andreas Schwab <schwab@redhat.com>
24357
24358 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24359 _dl_map_object do it.
24360
24361 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24362
24363 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24364 fast fma builtins, define the macros in the C99 standard.
24365 (FP_FAST_FMAF): Likewise.
24366 (FP_FAST_FMAL): Likewise.
24367 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24368
24369 * bits/mathdef.h: Update copyright year.
24370 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24371
24372 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24373
24374 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24375 builtins, define the macros in the C99 standard.
24376 (FP_FAST_FMAF): Likewise.
24377 (FP_FAST_FMAL): Likewise.
24378 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24379 multiply/add.
24380 (FP_FAST_FMAF): Likewise.
24381
24382 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24383
24384 [BZ #3268]
24385 * math/libm-test.inc (fma_test): Some new testcases.
24386 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24387 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24388 y and infinite z. Do multiplication by C already in long double.
24389 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24391 y and infinite z. Do bitwise or of inexact bit into u.d.
24392 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24393 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24394 * sysdeps/i386/fpu/s_fma.S: Removed.
24395 * sysdeps/i386/fpu/s_fmal.S: Removed.
24396
24397 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24398
24399 [BZ #3268]
24400 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24402 computation is not scheduled after fetestexcept. Fix value
24403 of minimum denormal long double.
24404
24405 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24406
24407 [BZ #3268]
24408 * math/libm-test.inc (fma_test): Add some more tests.
24409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24410 correctly.
24411
24412 2010-10-15 Andreas Schwab <schwab@redhat.com>
24413
24414 * scripts/data/localplt-s390-linux-gnu.data: New file.
24415 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24416
24417 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24418
24419 [BZ #3268]
24420 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24421 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24422 instead of dbl-64.
24423 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24424 inlines.
24425 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24427 if one of x and y is very large and the other is subnormal.
24428 * sysdeps/s390/fpu/s_fmaf.c: New file.
24429 * sysdeps/s390/fpu/s_fma.c: New file.
24430 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24431 * sysdeps/powerpc/fpu/s_fma.S: New file.
24432 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24433 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24434 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24435
24436 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24437
24438 [BZ #3268]
24439 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24440 fma tests.
24441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24442 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24443 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24444 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24445 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24446 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24447 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24448
24449 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24450
24451 [BZ #12078]
24452 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24453 * posix/bug-regex31.input: Add test case.
24454
24455 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24456
24457 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24458 * posix/bug-regex31.input: New file.
24459
24460 [BZ #12078]
24461 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24462 (parse_sub_exp): Fix last change, use postorder.
24463
24464 * posix/bug-regex31.c: New file.
24465 * posix/Makefile: Add rules to build and run bug-regex31.
24466
24467 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24468
24469 [BZ #12078]
24470 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24471
24472 [BZ #12108]
24473 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24474 to have entries in sys_siglist.
24475
24476 [BZ #12093]
24477 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24478 be NULL.
24479
24480 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24481
24482 [BZ #3268]
24483 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24484 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24485 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24486 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24487 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24488 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24489 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24490 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24491 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24492 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24493 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24494 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24495 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24496 * math/ftestexcept.c (fetestexcept): Likewise.
24497 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24498 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24499 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24500 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24501 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24502 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24503 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24504
24505 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24506
24507 [BZ #12107]
24508 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24509 newline.
24510
24511 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24512
24513 * string/bug-strstr1.c: New file.
24514 * string/Makefile: Add rules to build and run bug-strstr1.
24515
24516 2010-10-05 Eric Blake <eblake@redhat.com>
24517
24518 [BZ #12092]
24519 * string/str-two-way.h (two_way_long_needle): Always clear memory
24520 when skipping input due to the shift table.
24521
24522 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24523
24524 [BZ #12005]
24525 * malloc/mcheck.c: Handle large requests.
24526
24527 [BZ #12077]
24528 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24529 for strncmp and strncasecmp.
24530 * string/stratcliff.c: Add tests for strcmp and strncmp.
24531 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24532
24533 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24534
24535 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24536 __set_fpscr.
24537
24538 2010-09-30 Andreas Jaeger <aj@suse.de>
24539
24540 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24541 (CGROUP_SUPER_MAGIC): Define.
24542 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24543 Handle btrfs and cgroup file systems.
24544 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24545 Likewise.
24546
24547 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24548
24549 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24550 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24551
24552 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24553
24554 [BZ #12067]
24555 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24556 trying to locate the ELF header.
24557
24558 2010-09-27 Andreas Schwab <schwab@redhat.com>
24559
24560 [BZ #11611]
24561 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24562 Mask out sign-bit copies when constructing f_fsid.
24563
24564 2010-09-24 Petr Baudis <pasky@suse.cz>
24565
24566 * debug/stack_chk_fail_local.c: Add missing licence exception.
24567 * debug/warning-nop.c: Likewise.
24568
24569 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24570
24571 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24572 implementing getdents64 using getdents syscall, set d_type if
24573 __ASSUME_GETDENTS32_D_TYPE.
24574
24575 2010-09-16 Andreas Schwab <schwab@redhat.com>
24576
24577 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24578 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24579
24580 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24581
24582 [BZ #12037]
24583 * posix/unistd.h: Undo change of feature selection for ftruncate from
24584 2010-01-11.
24585
24586 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24587
24588 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24589 detection.
24590
24591 2010-09-20 Andreas Schwab <schwab@redhat.com>
24592
24593 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24594 fanotify_mark.
24595 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24596
24597 2010-09-14 Andreas Schwab <schwab@redhat.com>
24598
24599 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24600 variables after CHECK_SP call.
24601 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24602
24603 2010-09-13 Andreas Schwab <schwab@redhat.com>
24604 Ulrich Drepper <drepper@redhat.com>
24605
24606 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24607 re-relocationg ld.so.
24608 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24609 _dl_init_paths call.
24610 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24611 here anymore.
24612
24613 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24614
24615 * resolv/res_init.c (__res_vinit): Count the default server we added.
24616
24617 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24618 Ulrich Drepper <drepper@redhat.com>
24619
24620 [BZ #11968]
24621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24622 (____longjmp_chk): Use %ebx for saving value across system call.
24623 Add unwind info.
24624
24625 2010-09-06 Andreas Schwab <schwab@redhat.com>
24626
24627 * manual/Makefile: Don't mix pattern rules with normal rules.
24628
24629 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24630
24631 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24632 operation.
24633 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24634 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24635 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24636 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24638 Likewise.
24639
24640 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24641
24642 [BZ #11979]
24643 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24644 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24645
24646 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24647
24648 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24649 * sysdeps/x86_64/addmul_1.S: Likewise.
24650 * sysdeps/x86_64/lshift.S: Likewise.
24651 * sysdeps/x86_64/mul_1.S: Likewise.
24652 * sysdeps/x86_64/rshift.S: Likewise.
24653 * sysdeps/x86_64/sub_n.S: Likewise.
24654 * sysdeps/x86_64/submul_1.S: Likewise.
24655
24656 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24657
24658 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24659 Define __sched_param instead of SCHED_* and sched_param when
24660 <bits/sched.h> is included with __need_schedparam defined.
24661 * bits/sched.h [__need_schedparam]
24662 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24663 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24664 (__defined_schedparam): Define to 1.
24665 (__sched_param): New structure, identical to sched_param.
24666 (__need_schedparam): Undefine.
24667
24668 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24669
24670 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24671 (epoll_create1): Declare.
24672
24673 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24674
24675 2010-08-31 Andreas Schwab <schwab@redhat.com>
24676
24677 [BZ #7066]
24678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24679 shifting retval into place.
24680
24681 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24682
24683 * nis/rpcsvc/nis.h: Update copyright notice.
24684 * nis/rpcsvc/nis.x: Likewise.
24685 * nis/rpcsvc/nis_callback.h: Likewise.
24686 * nis/rpcsvc/nis_callback.x: Likewise.
24687 * nis/rpcsvc/nis_object.x: Likewise.
24688 * nis/rpcsvc/nis_tags.h: Likewise.
24689 * nis/rpcsvc/yp.h: Likewise.
24690 * nis/rpcsvc/yp.x: Likewise.
24691 * nis/rpcsvc/ypupd.h: Likewise.
24692 * nis/yp_xdr.c: Likewise.
24693 * nis/ypupdate_xdr.c: Likewise.
24694
24695 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24696 mainly the body of pmap_getport. Add parameters to specify timeouts.
24697 (pmap_getport): Use __libc_rpc_getport.
24698 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24699 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24700 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24701
24702 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24703
24704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24705 fanotify_mark.
24706
24707 2010-08-27 Roland McGrath <roland@redhat.com>
24708
24709 * sysdeps/i386/i686/multiarch/Makefile
24710 (CFLAGS-varshift.c): New variable.
24711
24712 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24713
24714 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24715 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24716
24717 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24718
24719 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24720
24721 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24722
24723 * sysdeps/x86_64/strlen.S: Unroll the loop.
24724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24725 strlen-sse2 strlen-sse2-bsf.
24726 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24727 __strlen_no_bsf if bit_Slow_BSF is set.
24728 (__strlen_sse42): Removed.
24729 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24730 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24731
24732 2010-08-25 Roland McGrath <roland@redhat.com>
24733
24734 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24735 * sysdeps/x86_64/multiarch/varshift.c: New file.
24736 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24737 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24738 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24739 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24740
24741 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24742
24743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24744 strlen-sse2 strlen-sse2-bsf.
24745 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24746 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24747 (__strlen_sse2): Removed.
24748 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24749 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24751 bit_Slow_BSF for Atom.
24752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24753 (index_Slow_BSF): Define.
24754 (HAS_SLOW_BSF): Define.
24755
24756 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24757
24758 [BZ #10851]
24759 * resolv/res_init.c (__res_vinit): When no server address at all
24760 is given default to loopback.
24761
24762 2010-08-24 Roland McGrath <roland@redhat.com>
24763
24764 * configure.in: Remove config-name.h generation.
24765 * configure: Regenerated.
24766 * config-name.in: File removed.
24767 * scripts/config-uname.sh: New file.
24768 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24769 ($(objdir)config-name.h): New target.
24770
24771 * sunrpc/rpc_parse.h: Avoid nested comment.
24772
24773 2010-08-24 Richard Henderson <rth@redhat.com>
24774 Ulrich Drepper <drepper@redhat.com>
24775 H.J. Lu <hongjiu.lu@intel.com>
24776
24777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24779 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24780 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24781 _mm_alignr_epi8 with _mm_loadu_si128.
24782 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24783 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24784 (__m128i_shift_right): Removed.
24785 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24786 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24787 * sysdeps/x86_64/multiarch/varshift.h: New file.
24788 * sysdeps/x86_64/multiarch/varshift.S: New file.
24789
24790 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24791
24792 * configure.in: Move assembler checks to before sysdep dir checking.
24793
24794 2010-08-20 Petr Baudis <pasky@suse.cz>
24795
24796 * LICENSES: Sync the sunrpc license.
24797
24798 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24799
24800 * sunrpc/auth_des.c: Update copyright notice once again.
24801 * sunrpc/auth_none.c: Likewise.
24802 * sunrpc/auth_unix.c: Likewise.
24803 * sunrpc/authdes_prot.c: Likewise.
24804 * sunrpc/authuxprot.c: Likewise.
24805 * sunrpc/bindrsvprt.c: Likewise.
24806 * sunrpc/clnt_gen.c: Likewise.
24807 * sunrpc/clnt_perr.c: Likewise.
24808 * sunrpc/clnt_raw.c: Likewise.
24809 * sunrpc/clnt_simp.c: Likewise.
24810 * sunrpc/clnt_tcp.c: Likewise.
24811 * sunrpc/clnt_udp.c: Likewise.
24812 * sunrpc/clnt_unix.c: Likewise.
24813 * sunrpc/des_crypt.c: Likewise.
24814 * sunrpc/des_soft.c: Likewise.
24815 * sunrpc/get_myaddr.c: Likewise.
24816 * sunrpc/getrpcport.c: Likewise.
24817 * sunrpc/key_call.c: Likewise.
24818 * sunrpc/key_prot.c: Likewise.
24819 * sunrpc/openchild.c: Likewise.
24820 * sunrpc/pm_getmaps.c: Likewise.
24821 * sunrpc/pm_getport.c: Likewise.
24822 * sunrpc/pmap_clnt.c: Likewise.
24823 * sunrpc/pmap_prot.c: Likewise.
24824 * sunrpc/pmap_prot2.c: Likewise.
24825 * sunrpc/pmap_rmt.c: Likewise.
24826 * sunrpc/rpc/auth.h: Likewise.
24827 * sunrpc/rpc/auth_unix.h: Likewise.
24828 * sunrpc/rpc/clnt.h: Likewise.
24829 * sunrpc/rpc/des_crypt.h: Likewise.
24830 * sunrpc/rpc/key_prot.h: Likewise.
24831 * sunrpc/rpc/netdb.h: Likewise.
24832 * sunrpc/rpc/pmap_clnt.h: Likewise.
24833 * sunrpc/rpc/pmap_prot.h: Likewise.
24834 * sunrpc/rpc/pmap_rmt.h: Likewise.
24835 * sunrpc/rpc/rpc.h: Likewise.
24836 * sunrpc/rpc/rpc_des.h: Likewise.
24837 * sunrpc/rpc/rpc_msg.h: Likewise.
24838 * sunrpc/rpc/svc.h: Likewise.
24839 * sunrpc/rpc/svc_auth.h: Likewise.
24840 * sunrpc/rpc/types.h: Likewise.
24841 * sunrpc/rpc/xdr.h: Likewise.
24842 * sunrpc/rpc_clntout.c: Likewise.
24843 * sunrpc/rpc_cmsg.c: Likewise.
24844 * sunrpc/rpc_common.c: Likewise.
24845 * sunrpc/rpc_cout.c: Likewise.
24846 * sunrpc/rpc_dtable.c: Likewise.
24847 * sunrpc/rpc_hout.c: Likewise.
24848 * sunrpc/rpc_main.c: Likewise.
24849 * sunrpc/rpc_parse.c: Likewise.
24850 * sunrpc/rpc_parse.h: Likewise.
24851 * sunrpc/rpc_prot.c: Likewise.
24852 * sunrpc/rpc_sample.c: Likewise.
24853 * sunrpc/rpc_scan.c: Likewise.
24854 * sunrpc/rpc_scan.h: Likewise.
24855 * sunrpc/rpc_svcout.c: Likewise.
24856 * sunrpc/rpc_tblout.c: Likewise.
24857 * sunrpc/rpc_util.c: Likewise.
24858 * sunrpc/rpc_util.h: Likewise.
24859 * sunrpc/rpcinfo.c: Likewise.
24860 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24861 * sunrpc/rpcsvc/key_prot.x: Likewise.
24862 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24863 * sunrpc/rpcsvc/mount.x: Likewise.
24864 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24865 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24866 * sunrpc/rpcsvc/rex.x: Likewise.
24867 * sunrpc/rpcsvc/rstat.x: Likewise.
24868 * sunrpc/rpcsvc/rusers.x: Likewise.
24869 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24870 * sunrpc/rpcsvc/spray.x: Likewise.
24871 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24872 * sunrpc/rtime.c: Likewise.
24873 * sunrpc/svc.c: Likewise.
24874 * sunrpc/svc_auth.c: Likewise.
24875 * sunrpc/svc_authux.c: Likewise.
24876 * sunrpc/svc_raw.c: Likewise.
24877 * sunrpc/svc_run.c: Likewise.
24878 * sunrpc/svc_simple.c: Likewise.
24879 * sunrpc/svc_tcp.c: Likewise.
24880 * sunrpc/svc_udp.c: Likewise.
24881 * sunrpc/svc_unix.c: Likewise.
24882 * sunrpc/svcauth_des.c: Likewise.
24883 * sunrpc/xcrypt.c: Likewise.
24884 * sunrpc/xdr.c: Likewise.
24885 * sunrpc/xdr_array.c: Likewise.
24886 * sunrpc/xdr_float.c: Likewise.
24887 * sunrpc/xdr_mem.c: Likewise.
24888 * sunrpc/xdr_rec.c: Likewise.
24889 * sunrpc/xdr_ref.c: Likewise.
24890 * sunrpc/xdr_sizeof.c: Likewise.
24891 * sunrpc/xdr_stdio.c: Likewise.
24892
24893 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24894 handling.
24895
24896 2010-08-19 Andreas Schwab <schwab@redhat.com>
24897
24898 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24899
24900 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24901
24902 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24903 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24904 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24905 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24906 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24907 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24908 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24909 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24910 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24911 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24912 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24913 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24914 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24915 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24916
24917 2010-07-26 Anton Blanchard <anton@samba.org>
24918
24919 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24920 * malloc/arena.c (heap_trim): Likewise.
24921
24922 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24923
24924 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24925 here. Not...
24926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24927 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24928
24929 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24930
24931 * sysdeps/i386/elf/Makefile: New file.
24932
24933 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24934
24935 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24936 from fanotify_init.
24937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24938 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24939
24940 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24941
24942 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24943 of strncasecmp_l.
24944 * sysdeps/multiarch/strcmp.S: Likewise.
24945
24946 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24947
24948 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24949 strncase_l-nonascii.
24950 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24951 Add strncase_l-ssse3.
24952 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24953 * sysdeps/x86_64/strcmp.S: Likewise.
24954 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24955 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24956 * sysdeps/x86_64/strncase.S: New file.
24957 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24958 * sysdeps/x86_64/strncase_l.S: New file.
24959 * string/Makefile (strop-tests): Add strncasecmp.
24960 * string/test-strncasecmp.c: New file.
24961
24962 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24963 warning.
24964
24965 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24966 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24967
24968 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24969
24970 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24971
24972 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24973
24974 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24975 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24976 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24977
24978 2010-05-01 Alan Modra <amodra@gmail.com>
24979
24980 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24981 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24982 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24983 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24984 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24985 tidying. Don't tail-call __sigjmp_save for static lib.
24986 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24987 save location.
24988 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24989 (CALL_MCOUNT): Add eh info, and nop after bl.
24990 (TAIL_CALL_SYSCALL_ERROR): New macro.
24991 (PSEUDO_RET): Use it.
24992 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24993 Correct save location of integer regs and cr.
24994 (_dl_profile_resolve): Correct cr save location. Delete nops
24995 after bl when SHARED. Reduce cfi size a little by better
24996 placement of cfi directives.
24997 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24998 make a stack frame. Instead use parm save area as a temp.
24999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25000 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25002 Don't make a stack frame for parent, use parm save area.
25003 Increase child stack frame to 112 bytes. Don't save unused reg,
25004 and adjust reg usage. Set up cfi on error recovery and
25005 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25007 (__makecontext): Add dummy nop after jump to exit.
25008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25009 Use correct parm save area and cr save, reduce stack frame.
25010 Correct cfi for possible PSEUDO_RET frame setup.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25012 Branch to local label emitted by PSEUDO_RET rather than
25013 __syscall_error.
25014
25015 2010-08-12 Andreas Schwab <schwab@redhat.com>
25016
25017 [BZ #11904]
25018 * locale/programs/locale.c (print_assignment): New function.
25019 (show_locale_vars): Use it.
25020
25021 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25022
25023 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25024 field.
25025 (struct statfs64): Likewise.
25026 (_STATFS_F_FLAGS): Define.
25027 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25028 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25029 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25030 (ST_VALID): Define locally.
25031 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25032 __statvfs_getflags, use the provided value.
25033 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25034 __ASSUME_STATFS_F_FLAGS.
25035
25036 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25037
25038 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25039 Add sys/fanotify.h.
25040 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25041 fanotify_mask for GLIBC_2.13.
25042 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25043 fanotify_init and fanotify_mark.
25044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25045 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25046
25047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25048 Add prlimit.
25049 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25050 prlimit64 for GLIBC_2.13.
25051 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25052 prlimit64.
25053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25054 syscall.
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25056 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25057 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25058 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25059 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25060 add prlimit alias.
25061 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25062
25063 [BZ #11903]
25064 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25065 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25066
25067 * nss/Makefile: Add rules to build and run tst-nss-test1.
25068 * shlib-versions: Add entry for libnss_test1.
25069 * nss/nss_test1.c: New file.
25070 * nss/tst-nss-test1.c: New file.
25071
25072 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25073 (__nss_configure_lookup): Set appropriate entry in
25074 __nss_configure_lookup to true.
25075 * nss/nsswitch.h: Define enum with indeces of databases in
25076 databases and __nss_database_custom arrays. Declare
25077 __nss_database_custom.
25078 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25079 to avoid using nscd when custom rules are installed.
25080 * nss/getXXbyYY_r.c: Likewise.
25081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25082
25083 * nss/nss_files/files-parse.c: Whitespace fixes.
25084
25085 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25086
25087 [BZ #11883]
25088 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25089 * posix/fnmatch_loop.c: Likewise.
25090
25091 2010-07-17 Andi Kleen <ak@linux.intel.com>
25092
25093 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25094 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25095 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25096 * Versions.def [GLIBC_2.13]: Add.
25097
25098 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25099
25100 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25101 Also fail if tpwd after pwuid call is NULL.
25102
25103 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25104
25105 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25106 when converting to ms.
25107
25108 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25109
25110 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25111 EOPNOTSUPP errors with ENOTTY.
25112 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25113 EOPNOTSUPP errors with ENOTTY.
25114
25115 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25116
25117 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25118 Add strcasecmp_l-ssse3.
25119 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25120 strcasecmp.
25121 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25122 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25123 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25124
25125 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25126
25127 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25128
25129 * string/Makefile (strop-tests): Add strcasecmp.
25130 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25131 strcasecmp_l-nonascii.
25132 (gen-as-const-headers): Add locale-defines.sym.
25133 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25134 * sysdeps/x86_64/strcasecmp.S: New file.
25135 * sysdeps/x86_64/strcasecmp_l.S: New file.
25136 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25137 * sysdeps/x86_64/locale-defines.sym: New file.
25138 * string/test-strcasecmp.c: New file.
25139
25140 * string/test-strcasestr.c: Test both ends of the range of characters.
25141 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25142
25143 2010-07-29 Roland McGrath <roland@redhat.com>
25144
25145 [BZ #11856]
25146 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25147
25148 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25149
25150 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25151 for ld.so.
25152
25153 2010-07-27 Andreas Schwab <schwab@redhat.com>
25154
25155 * manual/memory.texi (Malloc Tunable Parameters): Document
25156 M_PERTURB.
25157
25158 2010-07-26 Roland McGrath <roland@redhat.com>
25159
25160 [BZ #11840]
25161 * configure.in (-fgnu89-inline check): Set and substitute
25162 gnu89_inline, not libc_cv_gnu89_inline.
25163 * configure: Regenerated.
25164 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25165
25166 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25167
25168 * string/test-strnlen.c: New file.
25169 * string/Makefile (strop-tests): Add strnlen.
25170 * string/tester.c (test_strnlen): Add a few more test cases.
25171 * string/tst-strlen.c: Better error reporting.
25172
25173 * sysdeps/x86_64/strnlen.S: New file.
25174
25175 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25176
25177 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25178 lower-latency instructions.
25179
25180 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25181
25182 * string/test-strcasestr.c: New file.
25183 * string/test-strstr.c: New file.
25184 * string/Makefile (strop-tests): Add strstr and strcasestr.
25185 * string/str-two-way.h: Don't undefine MAX.
25186 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25187
25188 2010-07-21 Andreas Schwab <schwab@redhat.com>
25189
25190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25191 strcasestr-nonascii.
25192 (CFLAGS-strcasestr-nonascii.c): Define.
25193 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25194 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25195 Remove unused attribute.
25196
25197 2010-07-20 Roland McGrath <roland@redhat.com>
25198
25199 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25200 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25201 ld.so.cache was broken. With it, there is no way to disable dsocaps
25202 like LD_HWCAP_MASK can disable hwcaps.
25203
25204 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25205
25206 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25207
25208 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25209
25210 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25211 call in strcasestr.
25212 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25213 __strcasestr_sse42_nonascii.
25214 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25215 strcasestr-nonascii.c.
25216 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25217
25218 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25219
25220 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25221 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25222 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25224
25225 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25226
25227 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25228 fcntl.
25229
25230 2010-07-06 Andreas Schwab <schwab@redhat.com>
25231
25232 [BZ #11577]
25233 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25234 dl_signal_cerror.
25235
25236 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25237
25238 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25239 _PC_PIPE_BUF using F_GETPIPE_SZ.
25240
25241 2010-07-05 Roland McGrath <roland@redhat.com>
25242
25243 * manual/arith.texi (Rounding Functions): Fix rint description
25244 implicit in round description.
25245
25246 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25247
25248 * elf/Makefile: Fix linking for a few tests to make recent linker
25249 happy.
25250
25251 2010-06-30 Andreas Schwab <schwab@redhat.com>
25252
25253 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25254 $(common-objpfx)libc_nonshared.a.
25255
25256 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25257
25258 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25259 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25260 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25261 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25262 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25263 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25265 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25280 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25281 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25282 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25283 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25284 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25285 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25286 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25287 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25288 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25289 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25290 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25291 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25306
25307 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25308
25309 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25310 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25311 * string/memmove.c (memmove): Renamed to ...
25312 (MEMMOVE): ...this. Default to memmove.
25313 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25314 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25315 (END_CHK): Define.
25316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25317 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25318 mempcpy-ssse3-back memmove-ssse3-back.
25319 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25322 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25323 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25324 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25325 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25326 * sysdeps/x86_64/multiarch/memmove.c: New file.
25327 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25328 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25329 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25330 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25331 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25333 Define.
25334 (index_Fast_Copy_Backward): Define.
25335 (HAS_ARCH_FEATURE): Define.
25336 (HAS_FAST_REP_STRING): Define.
25337 (HAS_FAST_COPY_BACKWARD): Define.
25338
25339 2010-06-21 Andreas Schwab <schwab@redhat.com>
25340
25341 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25342 Restore proper fallback handling.
25343
25344 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25345
25346 [BZ #11701]
25347 * posix/group_member.c (__group_member): Correct checking loop.
25348
25349 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25350 OOM in getpwuid_r correctly. Return error number when the caller
25351 should return, otherwise -1.
25352 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25353 call returning > 0 value.
25354 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25355
25356 2010-06-07 Andreas Schwab <schwab@redhat.com>
25357
25358 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25359 libc_nonshared.a from targets in modules-names.
25360
25361 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25362
25363 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25364 requires it.
25365
25366 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25367
25368 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25369 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25372
25373 2010-06-02 Andreas Schwab <schwab@redhat.com>
25374
25375 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25376
25377 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25378
25379 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25380 and F_GETPIPE_SZ.
25381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25386 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25387
25388 2010-06-14 Roland McGrath <roland@redhat.com>
25389
25390 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25391
25392 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25393
25394 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25395 __REDIRECT followed by __THROW.
25396 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25397 * posix/getopt.h (getopt): Likewise.
25398
25399 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25400
25401 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25402 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25403 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25404 in AT_FLAGS.
25405 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25406 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25407
25408 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25409
25410 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25411
25412 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25413
25414 [BZ #11640]
25415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25416 Properly check family and model.
25417
25418 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25419
25420 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25421
25422 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25423
25424 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25425
25426 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25427
25428 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25429 symbol reference.
25430
25431 2010-05-19 Andreas Schwab <schwab@redhat.com>
25432
25433 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25434 symbol reference.
25435
25436 2010-05-21 Andreas Schwab <schwab@redhat.com>
25437
25438 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25439 and internal_recvmmsg.
25440 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25441 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25442 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25443 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25444
25445 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25446 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25447 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25448
25449 2010-05-20 Andreas Schwab <schwab@redhat.com>
25450
25451 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25452
25453 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25454
25455 POWER7 optimizations.
25456 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25457 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25458
25459 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25460
25461 * version.h: Update for 2.13 development version.
25462
25463 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25464
25465 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25466 exceptions. Return 0.
25467
25468 2010-05-07 Roland McGrath <roland@redhat.com>
25469
25470 * elf/ldconfig.c (main): Add a const.
25471
25472 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25473
25474 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25475 (args_options): Add no-idn option.
25476 (ahosts_keys_int): Add idn_flags to ai_flags.
25477 (parse_option): Handle 'i' option to clear idn_flags.
25478
25479 * malloc/malloc.c (_int_free): Possible race in the most recently
25480 added check. Only act on the data if no current modification
25481 happened.
25482
25483 See ChangeLog.17 for earlier changes.