]> sourceware.org Git - glibc.git/blob - ChangeLog
[BZ #13761]
[glibc.git] / ChangeLog
1 2012-11-28 Jeff Law <law@redhat.com>
2
3 [BZ #13761]
4 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5 dataset_temporary. Track alloca usage into alloca_used.
6 If dataset is large allocate and release it via malloc/free.
7
8 2012-06-04 Florian Weimer <fweimer@redhat.com>
9
10 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11
12 2012-11-28 David S. Miller <davem@davemloft.net>
13
14 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15
16 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17
18 [BZ #14803]
19 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20 of pi/2 rounded to nearest to 64 bits.
21 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22 nearest to 64 bits.
23 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24 bits.
25
26 2012-11-28 Jeff Law <law@redhat.com>
27 Martin Osvald <mosvald@redhat.com>
28
29 [BZ #14889]
30 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31 * sunrpc/svc.c: Include time.h.
32 (__svc_accept_failed): New function.
33 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34 any reason other than EINTR, call __svc_accept_failed.
35 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37
38 2012-11-28 Andreas Schwab <schwab@suse.de>
39
40 * scripts/abilist.awk: Also handle indirect functions in .opd
41 section.
42
43 2012-11-28 Joseph Myers <joseph@codesourcery.com>
44
45 [BZ #13881]
46 * sysdeps/x86/fpu/powl_helper.c: New file.
47 * sysdeps/x86/fpu/Makefile: Likewise.
48 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49 (p3): New object.
50 (__ieee754_powl): Use __powl_helper for finite arguments except
51 integer exponents below 8.
52 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53 (p3): New object.
54 (__ieee754_powl): Use __powl_helper for finite arguments except
55 integer exponents below 8.
56 * math/libm-test.inc (pow_test): Add more tests and enable some
57 previously disabled tests.
58 * sysdeps/i386/fpu/libm-test-ulps: Update.
59 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60
61 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62 Carlos O'Donell <carlos_odonell@mentor.com>
63
64 * nss/makedb.c (is_prime): Assert that input is odd and greater
65 than 4. Note that fact in a comment too.
66 (next_prime): Add 4 to input.
67
68 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69
70 [BZ #11741]
71 * libio/Makefile (tests): Add test case tst-fwrite-error.
72 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
74 * libio/tst-fwrite-error.c: New test case.
75
76 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
77
78 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
79 before casting to void *.
80 * include/libc-internal.h (__pointer_type): New macro.
81 (__integer_if_pointer_type_sub): Likewise.
82 (__integer_if_pointer_type): Likewise.
83 (cast_to_integer): Likewise.
84 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
85 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
86 before casting to atomic64_t.
87 (atomic_exchange_acq): Likewise.
88 (__arch_exchange_and_add_body): Likewise.
89 (__arch_add_body): Likewise.
90 (atomic_add_negative): Likewise.
91 (atomic_add_zero): Likewise.
92
93 2012-11-26 Joseph Myers <joseph@codesourcery.com>
94
95 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
96 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
97 (add_fdes): Likewise.
98 (linear_search_fdes): Likewise.
99 (binary_search_unencoded_fdes): Likewise.
100
101 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
102
103 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
104
105 2012-11-24 Adam Conrad <adconrad@0c3.net>
106
107 * configure.in: Autodetect C++ header directories.
108 * configure: Regenerated.
109
110 2012-11-23 Mike Frysinger <vapier@gentoo.org>
111
112 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
113
114 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
115
116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
117
118 2012-11-22 Joseph Myers <joseph@codesourcery.com>
119
120 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
121 LDBL_MANT_DIG == 106]: Disable some tests.
122 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
123 Likewise.
124 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
125 Likewise.
126
127 [BZ #14871]
128 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
129 input for small inputs. Return +/- pi/2 for large inputs.
130 * math/libm-test.inc (atan_test): Add more tests.
131
132 * sysdeps/generic/unwind-dw2-fde-glibc.c
133 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
134 __attribute__ ((unused)).
135
136 [BZ #14645]
137 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
138 x * y if x and y are nonzero and z is zero.
139
140 [BZ #14811]
141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
142 nonzero exponents with absolute value below 0x1p-117 to +/-
143 0x1p-117.
144
145 [BZ #14869]
146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
147 up arguments below 2**-450, not just those below 2**-500.
148 * math/libm-test.inc (hypot_test): Add another test.
149
150 [BZ #14868]
151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
152 Return a+b for ratio over 2**120, not 2**60.
153 * math/libm-test.inc (hypot_test): Add another test.
154
155 * math/libm-test.inc (clog_test): Use
156 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
157 (clog10_test): Likewise.
158
159 [BZ #6778]
160 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
161
162 2012-11-22 Andreas Schwab <schwab@suse.de>
163
164 * sysdeps/i386/fpu/libm-test-ulps: Update.
165
166 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
167
168 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
169 printf output with newline.
170
171 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
172
173 [BZ #14865]
174 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
175 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
176 -z nodlopen, -z initfirst and -z execstack support.
177 * configure: Regenerated.
178
179 * elf/elf.h (DF_1_NODIRECT): New macro.
180 (DF_1_IGNMULDEF): Likewise.
181 (DF_1_NOKSYMS): Likewise.
182 (DF_1_NOHDR): Likewise.
183 (DF_1_EDITED): Likewise.
184 (DF_1_NORELOC): Likewise.
185 (DF_1_SYMINTPOSE): Likewise.
186 (DF_1_GLOBAUDIT): Likewise.
187 (DF_1_SINGLETON): Likewise.
188 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
189 DT_1_SUPPORTED_MASK bits.
190 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
191
192 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
193
194 * sysdeps/unix/make-syscalls.sh: Document prefixes.
195
196 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
197
198 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
199 macro.
200
201 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
202 (sendmmsg): Move declarations...
203 * socket/sys/socket.h: ... here.
204 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
205 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
206 include it from...
207 * socket/recvmmsg.c: ... this new file.
208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
209 (sendmmsg): Rename to __sendmmsg, create weak alias and make
210 definition of __sendmmsg hidden.
211 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
212 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
213 Move ENOSYS stub into and include it from...
214 * socket/sendmmsg.c: ... this new file.
215 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
216 (sysdep_routines): Move recvmmsg and sendmmsg...
217 * socket/Makefile (routines): ... here.
218 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
219 (GLIBC_PRIVATE): Add __sendmmsg.
220 * include/sys/socket.h (__sendmmsg): Add declarations.
221 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
222 sendmmsg.
223
224 2012-11-20 Joseph Myers <joseph@codesourcery.com>
225
226 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
227 variable I1 with __attribute__ ((unused)).
228 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
229
230 2012-11-19 Joseph Myers <joseph@codesourcery.com>
231
232 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
233 DUMMY variables with __attribute__ ((unused)).
234
235 * bits/byteswap.h: Include <bits/types.h>.
236 (__bswap_64): Use __uint64_t instead of unsigned long long int.
237
238 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
239
240 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
241 string_t. Do not manually set errno.
242 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
243 length with __strnlen. Make sure to both set errno and return it on
244 failure.
245
246 2012-11-19 David S. Miller <davem@davemloft.net>
247
248 With help from Joseph Myers.
249 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
250 very large arguments properly.
251 * math/libm-test.inc (atan_test): New tests.
252 (atan2_test): New tests.
253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
255
256 2012-11-19 Joseph Myers <joseph@codesourcery.com>
257
258 [BZ #14856]
259 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
260 Define to 3.
261
262 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
263 [POSIX] (EADDRNOTAVAIL): Likewise.
264 [POSIX] (EAFNOSUPPORT): Likewise.
265 [POSIX] (EALREADY): Likewise.
266 [POSIX] (ECONNABORTED): Likewise.
267 [POSIX] (ECONNREFUSED): Likewise.
268 [POSIX] (ECONNRESET): Likewise.
269 [POSIX] (EDESTADDRREQ): Likewise.
270 [POSIX] (EDQUOT): Likewise.
271 [POSIX] (EHOSTUNREACH): Likewise.
272 [POSIX] (EIDRM): Likewise.
273 [POSIX] (EISCONN): Likewise.
274 [POSIX] (ELOOP): Likewise.
275 [POSIX] (EMULTIHOP): Likewise.
276 [POSIX] (ENETDOWN): Likewise.
277 [POSIX] (ENETUNREACH): Likewise.
278 [POSIX] (ENOBUFS): Likewise.
279 [POSIX] (ENODATA): Likewise.
280 [POSIX] (ENOLINK): Likewise.
281 [POSIX] (ENOMSG): Likewise.
282 [POSIX] (ENOPROTOOPT): Likewise.
283 [POSIX] (ENOSR): Likewise.
284 [POSIX] (ENOSTR): Likewise.
285 [POSIX] (ENOTCONN): Likewise.
286 [POSIX] (ENOTSOCK): Likewise.
287 [POSIX] (EOPNOTSUPP): Likewise.
288 [POSIX] (EOVERFLOW): Likewise.
289 [POSIX] (EPROTO): Likewise.
290 [POSIX] (EPROTONOSUPPORT): Likewise.
291 [POSIX] (EPROTOTYPE): Likewise.
292 [POSIX] (ESTALE): Likewise.
293 [POSIX] (ETIME): Likewise.
294 [POSIX] (ETXTBSY): Likewise.
295 [POSIX] (EWOULDBLOCK): Likewise.
296 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
297 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
298 [POSIX] (SEEK_CUR): Likewise.
299 [POSIX] (SEEK_END): Likewise.
300 [POSIX || UNIX98] (mode_t): Do not require.
301 [POSIX] (off_t): Likewise.
302 [POSIX] (pid_t): Likewise.
303 [POSIX] (sys/stat.h): Do not allow header.
304 [POSIX] (unistd.h): Likewise.
305 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
306 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
307 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
308 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
309 require.
310 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
311 sigevent): Specify elements.
312 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
313 entry.
314 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
315 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
316
317 * conform/data/cpio.h-data [POSIX]: Disable whole file.
318 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
319 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
320 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
321 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
322 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
323 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
324 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
325 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
326 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
327 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
328 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
329 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
330 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
331 Likewise.
332 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
333 Likewise.
334 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
335 Likewise.
336 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
337 Likewise.
338 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
339 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
340 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
341 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
342 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
343 Specify lower bound on value.
344 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
345 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
346 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
347 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
348 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
349 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
350 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
351 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
352 value.
353 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
354 as optional.
355 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
356 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
357 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
358 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
359 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
360 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
361 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
362 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
363 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
364 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
365 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
366 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
367 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
368 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
369 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
370 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
371 entry.
372 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
373 optional.
374 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
375 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
376 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
377 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
378 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
379 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
380 Likewise.
381 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
382 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
383 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
384 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
385 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
386 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
387 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
388 as optional.
389 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
390 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
391 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
392 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
393 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
394 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
395 specify as optional.
396 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
397 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
398 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
399 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
400 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
401 [XPG3] (NL_LANGMAX): Likewise.
402 [POSIX || XPG3] (NL_MSGMAX): Likewise.
403 [POSIX || XPG3] (NL_NMAX): Likewise.
404 [POSIX || XPG3] (NL_SETMAX): Likewise.
405 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
406 [XPG3] (NZERO): Likewise.
407 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
408 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
409 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
410 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
411 (REG_ERANGE): Expect.
412 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
413 optional-constant.
414 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
415 Use (void) in prototype.
416 [POSIX] (*_t): Allow.
417 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
418 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
419 (WRDE_BADVAL): Expect.
420
421 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
422 expect.
423 [XPG3 || XPG4] (O_RSYNC): Likewise.
424 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
425 Likewise.
426 [XPG3 || XPG4] (pthread_sigmask): Likewise.
427 [XPG3 || XPG4] (sigqueue): Likewise.
428 [XPG3 || XPG4] (sigtimedwait): Likewise.
429 [XPG3 || XPG4] (sigwaitinfo): Likewise.
430 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
431 [XPG3 || XPG4] (vsnprintf): Likewise.
432 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
433 Likewise.
434 [XPG3 || XPG4] (blksize_t): Likewise.
435 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
436 Likewise.
437 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
438 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
439 [XPG3 || XPG4] (struct itimerspec): Likewise.
440 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
441 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
442 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
443 [XPG3 || XPG4] (clockid_t): Likewise.
444 [XPG3 || XPG4] (timer_t): Likewise.
445 [XPG3 || XPG4] (clock_getres): Likewise.
446 [XPG3 || XPG4] (clock_gettime): Likewise.
447 [XPG3 || XPG4] (clock_settime): Likewise.
448 [XPG3 || XPG4] (nanosleep): Likewise.
449 [XPG3 || XPG4] (timer_create): Likewise.
450 [XPG3 || XPG4] (timer_delete): Likewise.
451 [XPG3 || XPG4] (timer_gettime): Likewise.
452 [XPG3 || XPG4] (timer_getoverrun): Likewise.
453 [XPG3 || XPG4] (timer_settime): Likewise.
454 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
455 [XPG3 || XPG4] (getlogin_r): Likewise.
456 [XPG3 || XPG4] (pread): Likewise.
457 [XPG3 || XPG4] (pthread_atfork): Likewise.
458 [XPG3 || XPG4] (pwrite): Likewise.
459
460 [BZ #14835]
461 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
462 <bits/siginfo.h>.
463
464 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
465
466 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
467 finalizing MALLSTREAM.
468
469 * sysdeps/mach/hurd/syncfs.c: New file.
470
471 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
472
473 [BZ #14719]
474 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
475 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
476 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
477 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
478 (_nss_dns_gethostbyname4_r): Likewise.
479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
480 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
481
482 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
483
484 [BZ #13763]
485 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
486
487 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
488
489 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
490 * elf/cache.c (print_entry): Print ",AArch64" for
491 FLAG_AARCH64_LIB64
492
493 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
494 * elf/cache.c (print_entry): Print ",hard-float" for
495 FLAG_ARM_LIBHF.
496
497 2012-11-18 David S. Miller <davem@davemloft.net>
498
499 With help from Joseph Myers.
500 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
501 cutoff to 2**-13.
502 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
503 cutoff to 2**-25.
504 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
505 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
506 small.
507 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
508 * math/libm-test.inc (y0_test): New tests.
509 (y1_test): New tests.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
513
514 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
515
516 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
517 64-bit targets.
518 * configure: Regenerated.
519
520 2012-11-17 David S. Miller <davem@davemloft.net>
521
522 [BZ #14811]
523 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
524 nonzero exponents with absolute value below 0x1p-128 to +/-
525 0x1p-128.
526
527 2012-11-17 Joseph Myers <joseph@codesourcery.com>
528
529 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
530
531 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
532
533 * posix/getconf-speclist.c: New file.
534 * posix/posix-envs.def: Likewise.
535 * posix/confstr.c (START_ENV_GROUP): New macro.
536 (END_ENV_GROUP): Likewise.
537 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
538 (KNOWN_PRESENT_ENV_STRING): Likewise.
539 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
540 (UNKNOWN_ENVIRONMENT): Likewise.
541 (confstr): Include posix-envs.def instead of handling
542 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
543 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
544 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
545 (END_ENV_GROUP): Likewise.
546 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
547 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
548 (UNKNOWN_ENVIRONMENT): Likewise.
549 (__sysconf): Include posix-envs.def instead of handling associated
550 cases directly here.
551 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
552 preprocessing getconf-speclist.c rather than running getconf or
553 generating empty file.
554
555 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
556
557 * scripts/check-local-headers.sh: Ignore 'mach' headers.
558
559 2012-11-16 Andrej Lajovic <natrij@gmail.com>
560
561 [BZ #14672]
562 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
563
564 2012-11-16 David S. Miller <davem@davemloft.net>
565
566 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
567 smaller than LDBL_EPSILON/2.0L, just return xm1.
568
569 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
570
571 * elf/tst-array1.c (init): Set constructor priority to 1000.
572 (fini): Set destructor priority to 1000.
573 * elf/tst-array2dep.c: Likewise.
574
575 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
576
577 [BZ #11741]
578 * libio/fileops.c (_IO_new_file_write): Correctly return error.
579 (_IO_new_file_xsputn): Also return EOF if none of the input
580 data was written when overflow failed.
581 * libio/iopadn.c (_IO_padn): Likewise.
582 * libio/iowpadn.c (_IO_wpadn): Likewise.
583 * stdio-common/tst-put-error.c: Add copyright notice.
584 (do_test): Add case for printing padded string.
585 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
586 _IO_padn returned error.
587 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
588 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
589 return EOF.
590
591 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
592
593 * libio/libioP.h: Add comment note that the references to C++
594 bits are now obsolete.
595
596 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
597
598 * math/libm-test.inc (check_complex): Use asprintf.
599
600 2012-11-14 Joseph Myers <joseph@codesourcery.com>
601
602 * debug/pcprofiledump.c (print_version): Update copyright year.
603 * malloc/memusagestat.c (print_version): Likewise.
604
605 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
606
607 [BZ #14831]
608 * elf/Makefile (tests): Add tst-audit8.
609 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
610 ($(objpfx)tst-audit8.out): New target.
611 (tst-audit8-ENV): New variable.
612 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
613 audit if l_reloc_result is NULL.
614 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
615 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
616 * elf/tst-audit8.c: New file.
617
618 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
619
620 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
621 * misc/Makefile (CFLAGS-select.c): Define.
622 * posix/Makefile (CFLAGS-pause.c): Define.
623
624 2012-11-13 David S. Miller <davem@davemloft.net>
625
626 * crypt/Makefile: Move test targets after toplevel Rules
627 inclusion. Grab any necessary sysdep routines when linking.
628 * crypt/md5.c (md5_process_block): Remove define, we will always
629 name it __md5_process_block.
630 (md5_finish_ctx): Update md5_process_block call.
631 (md5_stream): Likewise.
632 (md5_process_bytes): Likewise.
633 (md5_process_block): Rename to __md5_process_block and move to ...
634 * crypt/md5-block.c: ... here.
635 * crypt/sha256.c (sha256_process_block): Move to ...
636 * crypt/sha256-block.c: ... here.
637 * crypt/sha512.c (sha512_process_block): Move to ...
638 * crypt/sha512-block.c: ... here.
639 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
640 path.
641 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
642 * sysdeps/sparc/sparc64/multiarch/Makefile
643 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
644 crypt subdir.
645 (localedef-aux): Add md5 crypto assembler when in locale subdir.
646 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
647 multiarch changes.
648 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
649 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
650 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
651 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
652 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
653 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
654 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
655 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
656 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
657 file.
658 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
659 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
660 file.
661 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
662
663 2012-11-13 Joseph Myers <joseph@codesourcery.com>
664
665 * timezone/tzselect.ksh: Update from tzcode git revision
666 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
667 * timezone/zdump.c: Likewise.
668 * timezone/zic.c: Likewise.
669 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
670 in TZVERSION setting, not $(PKGVERSION).
671 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
672 REPORT_BUGS_TO settings.
673
674 [BZ #14838]
675 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
676 macro.
677
678 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
679
680 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
681 detection to immediately after _FP_ROUND().
682 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
683 bits are 0.
684
685 2012-11-11 David S. Miller <davem@davemloft.net>
686
687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
688 inttypes.h
689 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
690 __close rather than their public counterparts.
691
692 2012-11-10 Joseph Myers <joseph@codesourcery.com>
693
694 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
695 file.
696 [UNIX98] (sem_timedwait): Do not expect.
697 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
698 [XPG4 || UNIX98] (sockatmark): Do not expect.
699 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
700 (clock_getcpuclockid): Do not expect.
701 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
702 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
703 Do not expect.
704 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
705 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
706 [UNIX98] (vwscanf): Likewise.
707 [UNIX98] (vswscanf): Likewise.
708
709 2012-11-09 Joseph Myers <joseph@codesourcery.com>
710
711 * timezone/version.h: Remove file.
712 * timezone/README: Do not refer to version.h.
713 * timezone/Makefile ($(objpfx)zic.o): New dependency on
714 $(objpfx)version.h.
715 ($(objpfx)zdump.o): Likewise.
716 ($(objpfx)version.h): New target.
717
718 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
719 2012i.
720 * timezone/README: Don't mention modification to tzselect.ksh.
721 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
722 work on unmodified tzselect.ksh. Substitute version numbers in
723 tzselect.ksh.
724
725 * Makefile (format-me): Remove.
726 (INSTALL): Adjust indentation. Use commands directly instead of
727 using $(format-me).
728
729 * aclocal.m4 (ACX_PKGVERSION): New macro.
730 (ACX_BUGURL): Likewise.
731 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
732 (PKGVERSION): New AC_DEFINE_UNQUOTED.
733 (REPORT_BUGS_TO): Likewise.
734 * configure: Regenerated.
735 * config.h.in (PKGVERSION): New macro.
736 (REPORT_BUGS_TO): Likewise.
737 * config.make.in (PKGVERSION): New variable.
738 (PKGVERSION_TEXI): Likewise.
739 (REPORT_BUGS_TO): Likewise.
740 (REPORT_BUGS_TEXI): Likewise.
741 * Makefile (format-me): Use -I$(common-objpfx)manual.
742 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
743 ($(common-objpfx)manual/%): New target.
744 (manual/%): Remove target.
745 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
746 (print_version): Use PKGVERSION.
747 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
748 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
749 and REPORT_BUGS_TO.
750 ($(objpfx)xtrace): Likewise.
751 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
752 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
753 (print_version): Use PKGVERSION.
754 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
755 (do_version): Use PKGVERSION.
756 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
757 REPORT_BUGS_TO.
758 (common-ldd-rewrite): Likewise.
759 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
760 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
761 (print_version): Use PKGVERSION.
762 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
763 * elf/pldd.c (argp_program_bug_address): Remove variable.
764 (more_help): New function.
765 (argp): Use more_help.
766 (print_version): Use PKGVERSION.
767 * elf/sln.c (main): Use PKGVERSION.
768 (usage): Use REPORT_BUGS_TO.
769 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
770 (top level): Use PKGVERSION.
771 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
772 (print_version): Use PKGVERSION.
773 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
774 (print_version): Use PKGVERSION.
775 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
776 (print_version): Use PKGVERSION.
777 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
778 (print_version): Use PKGVERSION.
779 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
780 (print_version): Use PKGVERSION.
781 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
782 (print_version): Use PKGVERSION.
783 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
784 and BUGURL.
785 ($(objpfx)memusage): Likewise.
786 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
787 (do_version): Use PKGVERSION.
788 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
789 (print_version): Use PKGVERSION.
790 * malloc/mtrace.pl ($PACKAGE): Remove variable.
791 ($PKGVERSION): New variable.
792 ($REPORT_BUGS_TO): Likewise.
793 (usage): Use $REPORT_BUGS_TO.
794 (top level): Use $PKGVERSION.
795 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
796 ($(objpfx)pkgvers.texi): New rule.
797 ($(objpfx)stamp-pkgvers): Likewise.
798 * manual/install.texi: Include pkgvers.texi.
799 (--with-pkgversion): Document new configure option.
800 (--with-bugurl): Likewise.
801 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
802 than necessarily for this particular distribution. Use
803 REPORT_BUGS_TO for where to report bugs.
804 * INSTALL: Regenerated.
805 * manual/libc.texinfo: Include pkgvers.texi.
806 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
807 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
808 (print_version): Use PKGVERSION.
809 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
810 (print_version): Use PKGVERSION.
811 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
812 (print_version): Use PKGVERSION.
813 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
814 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
815 macro.
816 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
817 (print_version): Use PKGVERSION.
818 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
819 (print_version): Use PKGVERSION.
820 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
821 and PKGVERSION.
822
823 * timezone/checktab.awk: Update from tzcode 2012i.
824 * timezone/ialloc.c: Likewise.
825 * timezone/private.h: Likewise.
826 * timezone/scheck.c: Likewise.
827 * timezone/tzfile.h: Likewise.
828 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
829 (TZVERSION): Hardcode tzcode version number.
830 * timezone/zdump.c: Update from tzcode 2012i.
831 * timezone/zic.c: Likewise.
832 * timezone/version.h: New file.
833 * timezone/README: Describe version.h. Update upstream location.
834
835 [BZ #14824]
836 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
837 (mktemp): Enable declaration.
838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
839 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
841 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
842 Likewise.
843 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
844 Likewise.
845 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
846 Likewise.
847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
848 Likewise.
849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
850 Likewise.
851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
852 Likewise.
853
854 [BZ #14821]
855 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
856 offset in buffer as u_int32_t not u_long. Consistently use memcpy
857 for copies of such integer values.
858 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
859 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
860
861 2012-11-09 Andreas Jaeger <aj@suse.de>
862
863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
864 definitions and declarations that are provided by
865 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
866
867 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
868
869 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
870 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
871 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
872 definition.
873
874 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
875
876 * elf/elf.h: Update comment before AArch64 relocations.
877
878 2012-11-07 David S. Miller <davem@davemloft.net>
879
880 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
882 (__start_context): Declare.
883 (__makecontext_ret): Delete.
884 (__makecontext): Hook up __start_context instead of
885 __makecontext_ret.
886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
887 (sysdep_routines): Add __start_context when in stdlib.
888
889 2012-11-07 Joseph Myers <joseph@codesourcery.com>
890
891 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
892 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
893 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
894 hardcoded "nm".
895 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
896 (READELF): New variable. Use it instead of hardcoded "readelf".
897
898 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
899
900 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
901 * sysdeps/x86/Makefile: Here.
902 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
903 * sysdeps/x86/tst-xmmymm.sh: This.
904
905 2012-11-07 Joseph Myers <joseph@codesourcery.com>
906
907 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
908 expectations.
909 [UNIX98] (pthread_barrier_t): Do not expect.
910 [UNIX98] (pthread_barrierattr_t): Likewise.
911 [UNIX98] (pthread_spinlock_t): Likewise.
912 [UNIX98] (pthread_barrier_destroy): Likewise.
913 [UNIX98] (pthread_barrier_init): Likewise.
914 [UNIX98] (pthread_barrier_wait): Likewise.
915 [UNIX98] (pthread_barrierattr_destroy): Likewise.
916 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
917 [UNIX98] (pthread_barrierattr_init): Likewise.
918 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
919 [UNIX98] (pthread_getcpuclockid): Likewise.
920 [UNIX98] (pthread_mutex_timedlock): Likewise.
921 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
922 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
923 [UNIX98] (pthread_sigmask): Likewise.
924 [UNIX98] (pthread_spin_destroy): Likewise.
925 [UNIX98] (pthread_spin_init): Likewise.
926 [UNIX98] (pthread_spin_lock): Likewise.
927 [UNIX98] (pthread_spin_trylock): Likewise.
928 [UNIX98] (pthread_spin_unlock): Likewise.
929 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
930 Do not expect.
931 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
932 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
933 [XPG3 || XPG4] (pthread_cond_t): Likewise.
934 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
935 [XPG3 || XPG4] (pthread_key_t): Likewise.
936 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
937 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
938 [XPG3 || XPG4] (pthread_once_t): Likewise.
939 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
940 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
941 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
942 [XPG3 || XPG4] (pthread_t): Likewise.
943
944 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
945 not expect.
946 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
947
948 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
949 Change function return type to int.
950
951 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
952 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
953 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
954 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
955 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
956 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
957 [!POSIX] (posix_madvise): Likewise.
958 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
959 && !UNIX98].
960 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
961 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
962 (mode_t): Likewise.
963 (posix_mem_offset): Likewise.
964 (posix_typed_mem_get_info): Likewise.
965 (posix_typed_mem_open): Likewise.
966
967 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
968 Change condition to [XOPEN2K8].
969
970 * conform/conformtest.pl: Preprocess allow-header data with -x c
971 instead of from stdin.
972 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
973 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
974 [C99-based standards] (cerfc): Likewise.
975 [C99-based standards] (cexp2): Likewise.
976 [C99-based standards] (cexpm1): Likewise.
977 [C99-based standards] (clog10): Likewise.
978 [C99-based standards] (clog1p): Likewise.
979 [C99-based standards] (clog2): Likewise.
980 [C99-based standards] (clgamma): Likewise.
981 [C99-based standards] (ctgamma): Likewise.
982 [C99-based standards] (cerff): Likewise.
983 [C99-based standards] (cerfcf): Likewise.
984 [C99-based standards] (cexp2f): Likewise.
985 [C99-based standards] (cexpm1f): Likewise.
986 [C99-based standards] (clog10f): Likewise.
987 [C99-based standards] (clog1pf): Likewise.
988 [C99-based standards] (clog2f): Likewise.
989 [C99-based standards] (clgammaf): Likewise.
990 [C99-based standards] (ctgammaf): Likewise.
991 [C99-based standards] (cerfl): Likewise.
992 [C99-based standards] (cerfcl): Likewise.
993 [C99-based standards] (cexp2l): Likewise.
994 [C99-based standards] (cexpm1l): Likewise.
995 [C99-based standards] (clog10l): Likewise.
996 [C99-based standards] (clog1pl): Likewise.
997 [C99-based standards] (clog2l): Likewise.
998 [C99-based standards] (clgammal): Likewise.
999 [C99-based standards] (ctgammal): Likewise.
1000 * conform/data/inttypes.h-data [C99-based standards]: Include
1001 stdint.h-data. Remove all expectations for stdint.h contents.
1002 [C99-based standards] (PRI*): Do not allow.
1003 [C99-based standards] (SCN*): Likewise.
1004 [C99-based standards] (*_t): Likewise.
1005 [C99-based-standards] (PRId8): Expect macro.
1006 [C99-based-standards] (PRIi8): Likewise.
1007 [C99-based-standards] (PRIo8): Likewise.
1008 [C99-based-standards] (PRIu8): Likewise.
1009 [C99-based-standards] (PRIx8): Likewise.
1010 [C99-based-standards] (PRIX8): Likewise.
1011 [C99-based-standards] (SCNd8): Likewise.
1012 [C99-based-standards] (SCNi8): Likewise.
1013 [C99-based-standards] (SCNo8): Likewise.
1014 [C99-based-standards] (SCNu8): Likewise.
1015 [C99-based-standards] (SCNx8): Likewise.
1016 [C99-based-standards] (PRIdLEAST8): Likewise.
1017 [C99-based-standards] (PRIiLEAST8): Likewise.
1018 [C99-based-standards] (PRIoLEAST8): Likewise.
1019 [C99-based-standards] (PRIuLEAST8): Likewise.
1020 [C99-based-standards] (PRIxLEAST8): Likewise.
1021 [C99-based-standards] (PRIXLEAST8): Likewise.
1022 [C99-based-standards] (SCNdLEAST8): Likewise.
1023 [C99-based-standards] (SCNiLEAST8): Likewise.
1024 [C99-based-standards] (SCNoLEAST8): Likewise.
1025 [C99-based-standards] (SCNuLEAST8): Likewise.
1026 [C99-based-standards] (SCNxLEAST8): Likewise.
1027 [C99-based-standards] (PRIdFAST8): Likewise.
1028 [C99-based-standards] (PRIiFAST8): Likewise.
1029 [C99-based-standards] (PRIoFAST8): Likewise.
1030 [C99-based-standards] (PRIuFAST8): Likewise.
1031 [C99-based-standards] (PRIxFAST8): Likewise.
1032 [C99-based-standards] (PRIXFAST8): Likewise.
1033 [C99-based-standards] (SCNdFAST8): Likewise.
1034 [C99-based-standards] (SCNiFAST8): Likewise.
1035 [C99-based-standards] (SCNoFAST8): Likewise.
1036 [C99-based-standards] (SCNuFAST8): Likewise.
1037 [C99-based-standards] (SCNxFAST8): Likewise.
1038 [C99-based-standards] (PRId16): Likewise.
1039 [C99-based-standards] (PRIi16): Likewise.
1040 [C99-based-standards] (PRIo16): Likewise.
1041 [C99-based-standards] (PRIu16): Likewise.
1042 [C99-based-standards] (PRIx16): Likewise.
1043 [C99-based-standards] (PRIX16): Likewise.
1044 [C99-based-standards] (SCNd16): Likewise.
1045 [C99-based-standards] (SCNi16): Likewise.
1046 [C99-based-standards] (SCNo16): Likewise.
1047 [C99-based-standards] (SCNu16): Likewise.
1048 [C99-based-standards] (SCNx16): Likewise.
1049 [C99-based-standards] (PRIdLEAST16): Likewise.
1050 [C99-based-standards] (PRIiLEAST16): Likewise.
1051 [C99-based-standards] (PRIoLEAST16): Likewise.
1052 [C99-based-standards] (PRIuLEAST16): Likewise.
1053 [C99-based-standards] (PRIxLEAST16): Likewise.
1054 [C99-based-standards] (PRIXLEAST16): Likewise.
1055 [C99-based-standards] (SCNdLEAST16): Likewise.
1056 [C99-based-standards] (SCNiLEAST16): Likewise.
1057 [C99-based-standards] (SCNoLEAST16): Likewise.
1058 [C99-based-standards] (SCNuLEAST16): Likewise.
1059 [C99-based-standards] (SCNxLEAST16): Likewise.
1060 [C99-based-standards] (PRIdFAST16): Likewise.
1061 [C99-based-standards] (PRIiFAST16): Likewise.
1062 [C99-based-standards] (PRIoFAST16): Likewise.
1063 [C99-based-standards] (PRIuFAST16): Likewise.
1064 [C99-based-standards] (PRIxFAST16): Likewise.
1065 [C99-based-standards] (PRIXFAST16): Likewise.
1066 [C99-based-standards] (SCNdFAST16): Likewise.
1067 [C99-based-standards] (SCNiFAST16): Likewise.
1068 [C99-based-standards] (SCNoFAST16): Likewise.
1069 [C99-based-standards] (SCNuFAST16): Likewise.
1070 [C99-based-standards] (SCNxFAST16): Likewise.
1071 [C99-based-standards] (PRId32): Likewise.
1072 [C99-based-standards] (PRIi32): Likewise.
1073 [C99-based-standards] (PRIo32): Likewise.
1074 [C99-based-standards] (PRIu32): Likewise.
1075 [C99-based-standards] (PRIx32): Likewise.
1076 [C99-based-standards] (PRIX32): Likewise.
1077 [C99-based-standards] (SCNd32): Likewise.
1078 [C99-based-standards] (SCNi32): Likewise.
1079 [C99-based-standards] (SCNo32): Likewise.
1080 [C99-based-standards] (SCNu32): Likewise.
1081 [C99-based-standards] (SCNx32): Likewise.
1082 [C99-based-standards] (PRIdLEAST32): Likewise.
1083 [C99-based-standards] (PRIiLEAST32): Likewise.
1084 [C99-based-standards] (PRIoLEAST32): Likewise.
1085 [C99-based-standards] (PRIuLEAST32): Likewise.
1086 [C99-based-standards] (PRIxLEAST32): Likewise.
1087 [C99-based-standards] (PRIXLEAST32): Likewise.
1088 [C99-based-standards] (SCNdLEAST32): Likewise.
1089 [C99-based-standards] (SCNiLEAST32): Likewise.
1090 [C99-based-standards] (SCNoLEAST32): Likewise.
1091 [C99-based-standards] (SCNuLEAST32): Likewise.
1092 [C99-based-standards] (SCNxLEAST32): Likewise.
1093 [C99-based-standards] (PRIdFAST32): Likewise.
1094 [C99-based-standards] (PRIiFAST32): Likewise.
1095 [C99-based-standards] (PRIoFAST32): Likewise.
1096 [C99-based-standards] (PRIuFAST32): Likewise.
1097 [C99-based-standards] (PRIxFAST32): Likewise.
1098 [C99-based-standards] (PRIXFAST32): Likewise.
1099 [C99-based-standards] (SCNdFAST32): Likewise.
1100 [C99-based-standards] (SCNiFAST32): Likewise.
1101 [C99-based-standards] (SCNoFAST32): Likewise.
1102 [C99-based-standards] (SCNuFAST32): Likewise.
1103 [C99-based-standards] (SCNxFAST32): Likewise.
1104 [C99-based-standards] (PRId64): Likewise.
1105 [C99-based-standards] (PRIi64): Likewise.
1106 [C99-based-standards] (PRIo64): Likewise.
1107 [C99-based-standards] (PRIu64): Likewise.
1108 [C99-based-standards] (PRIx64): Likewise.
1109 [C99-based-standards] (PRIX64): Likewise.
1110 [C99-based-standards] (SCNd64): Likewise.
1111 [C99-based-standards] (SCNi64): Likewise.
1112 [C99-based-standards] (SCNo64): Likewise.
1113 [C99-based-standards] (SCNu64): Likewise.
1114 [C99-based-standards] (SCNx64): Likewise.
1115 [C99-based-standards] (PRIdLEAST64): Likewise.
1116 [C99-based-standards] (PRIiLEAST64): Likewise.
1117 [C99-based-standards] (PRIoLEAST64): Likewise.
1118 [C99-based-standards] (PRIuLEAST64): Likewise.
1119 [C99-based-standards] (PRIxLEAST64): Likewise.
1120 [C99-based-standards] (PRIXLEAST64): Likewise.
1121 [C99-based-standards] (SCNdLEAST64): Likewise.
1122 [C99-based-standards] (SCNiLEAST64): Likewise.
1123 [C99-based-standards] (SCNoLEAST64): Likewise.
1124 [C99-based-standards] (SCNuLEAST64): Likewise.
1125 [C99-based-standards] (SCNxLEAST64): Likewise.
1126 [C99-based-standards] (PRIdFAST64): Likewise.
1127 [C99-based-standards] (PRIiFAST64): Likewise.
1128 [C99-based-standards] (PRIoFAST64): Likewise.
1129 [C99-based-standards] (PRIuFAST64): Likewise.
1130 [C99-based-standards] (PRIxFAST64): Likewise.
1131 [C99-based-standards] (PRIXFAST64): Likewise.
1132 [C99-based-standards] (SCNdFAST64): Likewise.
1133 [C99-based-standards] (SCNiFAST64): Likewise.
1134 [C99-based-standards] (SCNoFAST64): Likewise.
1135 [C99-based-standards] (SCNuFAST64): Likewise.
1136 [C99-based-standards] (SCNxFAST64): Likewise.
1137 [C99-based-standards] (PRIdMAX): Likewise.
1138 [C99-based-standards] (PRIiMAX): Likewise.
1139 [C99-based-standards] (PRIoMAX): Likewise.
1140 [C99-based-standards] (PRIuMAX): Likewise.
1141 [C99-based-standards] (PRIxMAX): Likewise.
1142 [C99-based-standards] (PRIXMAX): Likewise.
1143 [C99-based-standards] (SCNdMAX): Likewise.
1144 [C99-based-standards] (SCNiMAX): Likewise.
1145 [C99-based-standards] (SCNoMAX): Likewise.
1146 [C99-based-standards] (SCNuMAX): Likewise.
1147 [C99-based-standards] (SCNxMAX): Likewise.
1148 [C99-based-standards] (PRIdPTR): Likewise.
1149 [C99-based-standards] (PRIiPTR): Likewise.
1150 [C99-based-standards] (PRIoPTR): Likewise.
1151 [C99-based-standards] (PRIuPTR): Likewise.
1152 [C99-based-standards] (PRIxPTR): Likewise.
1153 [C99-based-standards] (PRIXPTR): Likewise.
1154 [C99-based-standards] (SCNdPTR): Likewise.
1155 [C99-based-standards] (SCNiPTR): Likewise.
1156 [C99-based-standards] (SCNoPTR): Likewise.
1157 [C99-based-standards] (SCNuPTR): Likewise.
1158 [C99-based-standards] (SCNxPTR): Likewise.
1159 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1160 allow.
1161 * conform/data/stdint.h-data: Update comments to clarify
1162 requirements.
1163 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1164 type.
1165 [C99-based standards] (INT8_MAX): Likewise.
1166 [C99-based standards] (INT16_MIN): Likewise.
1167 [C99-based standards] (INT16_MAX): Likewise.
1168 [C99-based standards] (INT32_MIN): Likewise.
1169 [C99-based standards] (INT32_MAX): Likewise.
1170 [C99-based standards] (INT64_MIN): Likewise.
1171 [C99-based standards] (INT64_MAX): Likewise.
1172 [C99-based standards] (UINT8_MAX): Likewise.
1173 [C99-based standards] (UINT16_MAX): Likewise.
1174 [C99-based standards] (UINT32_MAX): Likewise.
1175 [C99-based standards] (UINT64_MAX): Likewise.
1176 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1177 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1178 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1179 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1180 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1181 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1182 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1183 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1184 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1185 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1186 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1187 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1188 [C99-based standards] (INT_FAST8_MIN): Likewise.
1189 [C99-based standards] (INT_FAST8_MAX): Likewise.
1190 [C99-based standards] (INT_FAST16_MIN): Likewise.
1191 [C99-based standards] (INT_FAST16_MAX): Likewise.
1192 [C99-based standards] (INT_FAST32_MIN): Likewise.
1193 [C99-based standards] (INT_FAST32_MAX): Likewise.
1194 [C99-based standards] (INT_FAST64_MIN): Likewise.
1195 [C99-based standards] (INT_FAST64_MAX): Likewise.
1196 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1197 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1198 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1199 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1200 [C99-based standards] (INTPTR_MIN): Likewise.
1201 [C99-based standards] (INTPTR_MAX): Likewise.
1202 [C99-based standards] (UINTPTR_MAX): Likewise.
1203 [C99-based standards] (INTMAX_MIN): Likewise.
1204 [C99-based standards] (INTMAX_MAX): Likewise.
1205 [C99-based standards] (UINTMAX_MAX): Likewise.
1206 [C99-based standards] (PTRDIFF_MIN): Likewise.
1207 [C99-based standards] (PTRDIFF_MAX): Likewise.
1208 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1209 [C99-based standards] (SIZE_MAX): Likewise.
1210 [C99-based standards] (WCHAR_MAX): Likewise.
1211 [C99-based standards] (WINT_MAX): Likewise.
1212 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1213 constraint on value.
1214 [C99-based standards] (WCHAR_MIN): Likewise.
1215 [C99-based standards] (WINT_MIN): Likewise.
1216 [C99-based standards] (*_t): Allow.
1217 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1218 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1219 Include math.h-data and complex.h-data. Remove all expectations
1220 of math.h and complex.h contents.
1221 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1222 at end of line.
1223 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1224 (struct tm): Expect tag.
1225 [C99-based-standards] (wcstof): Expect function.
1226 [C99-based-standards] (wcstold): Likewise.
1227 [C99-based-standards] (wcstoll): Likewise.
1228 [C99-based-standards] (wcstoull): Likewise.
1229 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1230 macro-int-constant. Specify type.
1231 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1232 constraint on value.
1233 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1234 Specify type.
1235 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1236 Specify value.
1237 [ISO C standards]: Do not allow headers.
1238 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1239 wcs[abcdefghijklmnopqrstuvwxyz]*.
1240 [ISO C standards] (*_t): Do not allow.
1241 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1242 Expect function.
1243 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1244 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1245 Specify type.
1246 [ISO C standards]: Do not allow headers.
1247 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1248 is[abcdefghijklmnopqrstuvwxyz]*.
1249 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1250 to[abcdefghijklmnopqrstuvwxyz]*.
1251 [ISO C standards] (*_t): Do not allow.
1252 * conform/data/stdalign.h-data: New file.
1253 * conform/data/stdbool.h-data: Likewise.
1254 * conform/data/stdnoreturn.h-data: Likewise.
1255
1256 2012-11-07 Roland McGrath <roland@hack.frob.com>
1257
1258 [BZ #14815]
1259 * manual/filesys.texi (Directory Entries): Typo fix.
1260 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1261
1262 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1263
1264 * elf/elf.h (EM_AARCH64): New macro.
1265 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1266 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1267 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1268 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1269 (R_AARCH64_TLSDESC): Likewise.
1270 (NT_ARM_TLS): Likewise.
1271 (NT_ARM_HW_BREAK): Likewise.
1272 (NT_ARM_HW_WATCH): Likewise.
1273
1274 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1275
1276 [BZ #14811]
1277 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1278 (__ieee754_powl): Saturate nonzero exponents with absolute value
1279 below 0x1p-79 to +/- 0x1p-79.
1280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1281 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1282 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1283 nonzero exponents with absolute value below 0x1p-32 to +/-
1284 0x1p-32.
1285 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1286 (__ieee754_powl): Saturate nonzero exponents with absolute value
1287 below 0x1p-79 to +/- 0x1p-79.
1288 * math/libm-test.inc (pow_test): Add more tests.
1289
1290 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1291
1292 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1293 _dl_s390_cap_flags with kernel. Increase string length.
1294 (_dl_s390_platforms): Add z196 and zEC12.
1295
1296 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1297
1298 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1299 Change XOPEN21K to XOPEN2K.
1300
1301 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1302
1303 * string/memmove.c: Use memcpy when possible.
1304
1305 2012-11-06 Andreas Jaeger <aj@suse.de>
1306
1307 * po/eo.po: Update from translation team.
1308
1309 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1310
1311 [BZ #14793]
1312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1313 exponent and small x and y exponents, scale x or y up. Increase
1314 by 2 the exponent used in scaling up.
1315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1316 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1317 * math/libm-test.inc (fma_test): Add more tests.
1318 (fma_test_towardzero): Likewise.
1319 (fma_test_downward): Likewise.
1320 (fma_test_upward): Likewise.
1321
1322 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1323
1324 [BZ #14805]
1325 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1326 fenv_t *.
1327
1328 [BZ #14801]
1329 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1330 namespace for names of struct fields.
1331 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1332 fenv_t fields.
1333 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1334 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1335
1336 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1337
1338 [BZ #3665]
1339 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1340
1341 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1342
1343 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1344 PTR_DEMANGLE.
1345
1346 [BZ #5246]
1347 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1348 PTR_DEMANGLE.
1349
1350 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #14797]
1353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1354 definitely overflow as x * y not x * y + z.
1355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1357 * math/libm-test.inc (fma_test): Add more tests.
1358 (fma_test_towardzero): Likewise.
1359 (fma_test_downward): Likewise.
1360 (fma_test_upward): Likewise.
1361
1362 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1363
1364 [BZ #157]
1365
1366 * include/stub-tag.h: Remove file.
1367 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1368 '#include' of it.
1369 * manual/maint.texi (Porting): Don't reference it.
1370 * Makerules ($(objpfx)stubs): Likewise.
1371 * dirent/closedir.c: Don't include <stub-tag.h>.
1372 * dirent/dirfd.c: Likewise.
1373 * dirent/fdopendir.c: Likewise.
1374 * dirent/getdents.c: Likewise.
1375 * dirent/getdents64.c: Likewise.
1376 * dirent/opendir.c: Likewise.
1377 * dirent/readdir.c: Likewise.
1378 * dirent/readdir64.c: Likewise.
1379 * dirent/readdir64_r.c: Likewise.
1380 * dirent/readdir_r.c: Likewise.
1381 * dirent/rewinddir.c: Likewise.
1382 * dirent/seekdir.c: Likewise.
1383 * dirent/telldir.c: Likewise.
1384 * gmon/profil.c: Likewise.
1385 * grp/setgroups.c: Likewise.
1386 * inet/if_index.c: Likewise.
1387 * io/access.c: Likewise.
1388 * io/chdir.c: Likewise.
1389 * io/chmod.c: Likewise.
1390 * io/chown.c: Likewise.
1391 * io/close.c: Likewise.
1392 * io/dup.c: Likewise.
1393 * io/dup2.c: Likewise.
1394 * io/dup3.c: Likewise.
1395 * io/euidaccess.c: Likewise.
1396 * io/faccessat.c: Likewise.
1397 * io/fchdir.c: Likewise.
1398 * io/fchmod.c: Likewise.
1399 * io/fchmodat.c: Likewise.
1400 * io/fchown.c: Likewise.
1401 * io/fchownat.c: Likewise.
1402 * io/fcntl.c: Likewise.
1403 * io/flock.c: Likewise.
1404 * io/fstatfs.c: Likewise.
1405 * io/fstatfs64.c: Likewise.
1406 * io/fstatvfs.c: Likewise.
1407 * io/fstatvfs64.c: Likewise.
1408 * io/futimens.c: Likewise.
1409 * io/fxstat.c: Likewise.
1410 * io/fxstat64.c: Likewise.
1411 * io/fxstatat.c: Likewise.
1412 * io/fxstatat64.c: Likewise.
1413 * io/getcwd.c: Likewise.
1414 * io/isatty.c: Likewise.
1415 * io/lchmod.c: Likewise.
1416 * io/lchown.c: Likewise.
1417 * io/link.c: Likewise.
1418 * io/linkat.c: Likewise.
1419 * io/lseek.c: Likewise.
1420 * io/lseek64.c: Likewise.
1421 * io/lxstat64.c: Likewise.
1422 * io/mkdir.c: Likewise.
1423 * io/mkdirat.c: Likewise.
1424 * io/mkfifo.c: Likewise.
1425 * io/mkfifoat.c: Likewise.
1426 * io/open.c: Likewise.
1427 * io/open64.c: Likewise.
1428 * io/openat.c: Likewise.
1429 * io/openat64.c: Likewise.
1430 * io/pipe.c: Likewise.
1431 * io/pipe2.c: Likewise.
1432 * io/poll.c: Likewise.
1433 * io/posix_fadvise.c: Likewise.
1434 * io/posix_fadvise64.c: Likewise.
1435 * io/posix_fallocate.c: Likewise.
1436 * io/posix_fallocate64.c: Likewise.
1437 * io/read.c: Likewise.
1438 * io/readlink.c: Likewise.
1439 * io/readlinkat.c: Likewise.
1440 * io/rmdir.c: Likewise.
1441 * io/sendfile.c: Likewise.
1442 * io/sendfile64.c: Likewise.
1443 * io/statfs.c: Likewise.
1444 * io/statfs64.c: Likewise.
1445 * io/statvfs.c: Likewise.
1446 * io/statvfs64.c: Likewise.
1447 * io/symlink.c: Likewise.
1448 * io/symlinkat.c: Likewise.
1449 * io/ttyname.c: Likewise.
1450 * io/ttyname_r.c: Likewise.
1451 * io/umask.c: Likewise.
1452 * io/unlink.c: Likewise.
1453 * io/unlinkat.c: Likewise.
1454 * io/utime.c: Likewise.
1455 * io/utimensat.c: Likewise.
1456 * io/write.c: Likewise.
1457 * io/xmknod.c: Likewise.
1458 * io/xmknodat.c: Likewise.
1459 * io/xstat.c: Likewise.
1460 * io/xstat64.c: Likewise.
1461 * login/getpt.c: Likewise.
1462 * login/grantpt.c: Likewise.
1463 * login/unlockpt.c: Likewise.
1464 * math/e_acoshl.c: Likewise.
1465 * math/e_acosl.c: Likewise.
1466 * math/e_asinl.c: Likewise.
1467 * math/e_atan2l.c: Likewise.
1468 * math/e_atanhl.c: Likewise.
1469 * math/e_coshl.c: Likewise.
1470 * math/e_expl.c: Likewise.
1471 * math/e_fmodl.c: Likewise.
1472 * math/e_gammal_r.c: Likewise.
1473 * math/e_hypotl.c: Likewise.
1474 * math/e_j0l.c: Likewise.
1475 * math/e_j1l.c: Likewise.
1476 * math/e_jnl.c: Likewise.
1477 * math/e_lgammal_r.c: Likewise.
1478 * math/e_log10l.c: Likewise.
1479 * math/e_log2l.c: Likewise.
1480 * math/e_logl.c: Likewise.
1481 * math/e_powl.c: Likewise.
1482 * math/e_rem_pio2l.c: Likewise.
1483 * math/e_sinhl.c: Likewise.
1484 * math/e_sqrtl.c: Likewise.
1485 * math/fclrexcpt.c: Likewise.
1486 * math/fedisblxcpt.c: Likewise.
1487 * math/feenablxcpt.c: Likewise.
1488 * math/fegetenv.c: Likewise.
1489 * math/fegetexcept.c: Likewise.
1490 * math/fegetround.c: Likewise.
1491 * math/feholdexcpt.c: Likewise.
1492 * math/fesetenv.c: Likewise.
1493 * math/fesetround.c: Likewise.
1494 * math/feupdateenv.c: Likewise.
1495 * math/fgetexcptflg.c: Likewise.
1496 * math/fraiseexcpt.c: Likewise.
1497 * math/fsetexcptflg.c: Likewise.
1498 * math/ftestexcept.c: Likewise.
1499 * math/k_cosl.c: Likewise.
1500 * math/k_rem_pio2l.c: Likewise.
1501 * math/k_sinl.c: Likewise.
1502 * math/k_tanl.c: Likewise.
1503 * math/s_asinhl.c: Likewise.
1504 * math/s_atanl.c: Likewise.
1505 * math/s_cbrtl.c: Likewise.
1506 * math/s_erfl.c: Likewise.
1507 * math/s_expm1l.c: Likewise.
1508 * math/s_log1pl.c: Likewise.
1509 * math/s_tanhl.c: Likewise.
1510 * misc/acct.c: Likewise.
1511 * misc/brk.c: Likewise.
1512 * misc/chflags.c: Likewise.
1513 * misc/chroot.c: Likewise.
1514 * misc/fchflags.c: Likewise.
1515 * misc/fgetxattr.c: Likewise.
1516 * misc/flistxattr.c: Likewise.
1517 * misc/fremovexattr.c: Likewise.
1518 * misc/fsetxattr.c: Likewise.
1519 * misc/fsync.c: Likewise.
1520 * misc/ftruncate.c: Likewise.
1521 * misc/futimes.c: Likewise.
1522 * misc/futimesat.c: Likewise.
1523 * misc/getdomain.c: Likewise.
1524 * misc/getdtsz.c: Likewise.
1525 * misc/gethostid.c: Likewise.
1526 * misc/gethostname.c: Likewise.
1527 * misc/getloadavg.c: Likewise.
1528 * misc/getpagesize.c: Likewise.
1529 * misc/getsysstats.c: Likewise.
1530 * misc/getxattr.c: Likewise.
1531 * misc/gtty.c: Likewise.
1532 * misc/ioctl.c: Likewise.
1533 * misc/lgetxattr.c: Likewise.
1534 * misc/listxattr.c: Likewise.
1535 * misc/llistxattr.c: Likewise.
1536 * misc/lremovexattr.c: Likewise.
1537 * misc/lsetxattr.c: Likewise.
1538 * misc/lutimes.c: Likewise.
1539 * misc/madvise.c: Likewise.
1540 * misc/mincore.c: Likewise.
1541 * misc/mlock.c: Likewise.
1542 * misc/mlockall.c: Likewise.
1543 * misc/mmap.c: Likewise.
1544 * misc/mprotect.c: Likewise.
1545 * misc/msync.c: Likewise.
1546 * misc/munlock.c: Likewise.
1547 * misc/munlockall.c: Likewise.
1548 * misc/munmap.c: Likewise.
1549 * misc/preadv.c: Likewise.
1550 * misc/preadv64.c: Likewise.
1551 * misc/ptrace.c: Likewise.
1552 * misc/pwritev.c: Likewise.
1553 * misc/pwritev64.c: Likewise.
1554 * misc/readv.c: Likewise.
1555 * misc/reboot.c: Likewise.
1556 * misc/remap_file_pages.c: Likewise.
1557 * misc/removexattr.c: Likewise.
1558 * misc/revoke.c: Likewise.
1559 * misc/select.c: Likewise.
1560 * misc/setdomain.c: Likewise.
1561 * misc/setegid.c: Likewise.
1562 * misc/seteuid.c: Likewise.
1563 * misc/sethostid.c: Likewise.
1564 * misc/sethostname.c: Likewise.
1565 * misc/setregid.c: Likewise.
1566 * misc/setreuid.c: Likewise.
1567 * misc/setxattr.c: Likewise.
1568 * misc/sstk.c: Likewise.
1569 * misc/stty.c: Likewise.
1570 * misc/swapoff.c: Likewise.
1571 * misc/swapon.c: Likewise.
1572 * misc/sync.c: Likewise.
1573 * misc/syncfs.c: Likewise.
1574 * misc/syscall.c: Likewise.
1575 * misc/truncate.c: Likewise.
1576 * misc/ualarm.c: Likewise.
1577 * misc/usleep.c: Likewise.
1578 * misc/ustat.c: Likewise.
1579 * misc/utimes.c: Likewise.
1580 * misc/vhangup.c: Likewise.
1581 * misc/writev.c: Likewise.
1582 * posix/_exit.c: Likewise.
1583 * posix/alarm.c: Likewise.
1584 * posix/execve.c: Likewise.
1585 * posix/fexecve.c: Likewise.
1586 * posix/fork.c: Likewise.
1587 * posix/fpathconf.c: Likewise.
1588 * posix/getaddrinfo.c: Likewise.
1589 * posix/getegid.c: Likewise.
1590 * posix/geteuid.c: Likewise.
1591 * posix/getgid.c: Likewise.
1592 * posix/getgroups.c: Likewise.
1593 * posix/getlogin.c: Likewise.
1594 * posix/getlogin_r.c: Likewise.
1595 * posix/getpgid.c: Likewise.
1596 * posix/getpid.c: Likewise.
1597 * posix/getppid.c: Likewise.
1598 * posix/getresgid.c: Likewise.
1599 * posix/getresuid.c: Likewise.
1600 * posix/getsid.c: Likewise.
1601 * posix/getuid.c: Likewise.
1602 * posix/glob64.c: Likewise.
1603 * posix/nanosleep.c: Likewise.
1604 * posix/pathconf.c: Likewise.
1605 * posix/pause.c: Likewise.
1606 * posix/posix_madvise.c: Likewise.
1607 * posix/pread.c: Likewise.
1608 * posix/pread64.c: Likewise.
1609 * posix/pwrite.c: Likewise.
1610 * posix/pwrite64.c: Likewise.
1611 * posix/sched_getaffinity.c: Likewise.
1612 * posix/sched_getp.c: Likewise.
1613 * posix/sched_gets.c: Likewise.
1614 * posix/sched_primax.c: Likewise.
1615 * posix/sched_primin.c: Likewise.
1616 * posix/sched_rr_gi.c: Likewise.
1617 * posix/sched_setaffinity.c: Likewise.
1618 * posix/sched_setp.c: Likewise.
1619 * posix/sched_sets.c: Likewise.
1620 * posix/sched_yield.c: Likewise.
1621 * posix/setgid.c: Likewise.
1622 * posix/setlogin.c: Likewise.
1623 * posix/setpgid.c: Likewise.
1624 * posix/setresgid.c: Likewise.
1625 * posix/setresuid.c: Likewise.
1626 * posix/setsid.c: Likewise.
1627 * posix/setuid.c: Likewise.
1628 * posix/sleep.c: Likewise.
1629 * posix/spawni.c: Likewise.
1630 * posix/sysconf.c: Likewise.
1631 * posix/times.c: Likewise.
1632 * posix/wait.c: Likewise.
1633 * posix/wait3.c: Likewise.
1634 * posix/wait4.c: Likewise.
1635 * posix/waitpid.c: Likewise.
1636 * resolv/gai_sigqueue.c: Likewise.
1637 * resource/getpriority.c: Likewise.
1638 * resource/getrlimit.c: Likewise.
1639 * resource/getrusage.c: Likewise.
1640 * resource/nice.c: Likewise.
1641 * resource/setpriority.c: Likewise.
1642 * resource/setrlimit.c: Likewise.
1643 * resource/ulimit.c: Likewise.
1644 * rt/aio_cancel.c: Likewise.
1645 * rt/aio_fsync.c: Likewise.
1646 * rt/aio_read.c: Likewise.
1647 * rt/aio_sigqueue.c: Likewise.
1648 * rt/aio_suspend.c: Likewise.
1649 * rt/aio_write.c: Likewise.
1650 * rt/clock_getres.c: Likewise.
1651 * rt/clock_gettime.c: Likewise.
1652 * rt/clock_nanosleep.c: Likewise.
1653 * rt/clock_settime.c: Likewise.
1654 * rt/lio_listio.c: Likewise.
1655 * rt/mq_close.c: Likewise.
1656 * rt/mq_getattr.c: Likewise.
1657 * rt/mq_notify.c: Likewise.
1658 * rt/mq_open.c: Likewise.
1659 * rt/mq_receive.c: Likewise.
1660 * rt/mq_send.c: Likewise.
1661 * rt/mq_setattr.c: Likewise.
1662 * rt/mq_timedreceive.c: Likewise.
1663 * rt/mq_timedsend.c: Likewise.
1664 * rt/mq_unlink.c: Likewise.
1665 * rt/shm_open.c: Likewise.
1666 * rt/shm_unlink.c: Likewise.
1667 * rt/timer_create.c: Likewise.
1668 * rt/timer_delete.c: Likewise.
1669 * rt/timer_getoverr.c: Likewise.
1670 * rt/timer_gettime.c: Likewise.
1671 * rt/timer_settime.c: Likewise.
1672 * setjmp/__longjmp.c: Likewise.
1673 * setjmp/setjmp.c: Likewise.
1674 * signal/kill.c: Likewise.
1675 * signal/killpg.c: Likewise.
1676 * signal/raise.c: Likewise.
1677 * signal/sigaction.c: Likewise.
1678 * signal/sigaltstack.c: Likewise.
1679 * signal/sigblock.c: Likewise.
1680 * signal/sigignore.c: Likewise.
1681 * signal/sigintr.c: Likewise.
1682 * signal/signal.c: Likewise.
1683 * signal/sigpause.c: Likewise.
1684 * signal/sigpending.c: Likewise.
1685 * signal/sigqueue.c: Likewise.
1686 * signal/sigreturn.c: Likewise.
1687 * signal/sigset.c: Likewise.
1688 * signal/sigsetmask.c: Likewise.
1689 * signal/sigstack.c: Likewise.
1690 * signal/sigsuspend.c: Likewise.
1691 * signal/sigtimedwait.c: Likewise.
1692 * signal/sigvec.c: Likewise.
1693 * signal/sigwait.c: Likewise.
1694 * signal/sigwaitinfo.c: Likewise.
1695 * signal/sysv_signal.c: Likewise.
1696 * socket/accept.c: Likewise.
1697 * socket/accept4.c: Likewise.
1698 * socket/bind.c: Likewise.
1699 * socket/connect.c: Likewise.
1700 * socket/getpeername.c: Likewise.
1701 * socket/getsockname.c: Likewise.
1702 * socket/getsockopt.c: Likewise.
1703 * socket/isfdtype.c: Likewise.
1704 * socket/listen.c: Likewise.
1705 * socket/recv.c: Likewise.
1706 * socket/recvfrom.c: Likewise.
1707 * socket/recvmsg.c: Likewise.
1708 * socket/send.c: Likewise.
1709 * socket/sendmsg.c: Likewise.
1710 * socket/sendto.c: Likewise.
1711 * socket/setsockopt.c: Likewise.
1712 * socket/shutdown.c: Likewise.
1713 * socket/sockatmark.c: Likewise.
1714 * socket/socket.c: Likewise.
1715 * socket/socketpair.c: Likewise.
1716 * stdio-common/ctermid.c: Likewise.
1717 * stdio-common/cuserid.c: Likewise.
1718 * stdio-common/remove.c: Likewise.
1719 * stdio-common/rename.c: Likewise.
1720 * stdio-common/renameat.c: Likewise.
1721 * stdio-common/tempname.c: Likewise.
1722 * stdlib/getcontext.c: Likewise.
1723 * stdlib/makecontext.c: Likewise.
1724 * stdlib/setcontext.c: Likewise.
1725 * stdlib/swapcontext.c: Likewise.
1726 * stdlib/system.c: Likewise.
1727 * streams/fattach.c: Likewise.
1728 * streams/fdetach.c: Likewise.
1729 * streams/getmsg.c: Likewise.
1730 * streams/getpmsg.c: Likewise.
1731 * streams/putmsg.c: Likewise.
1732 * streams/putpmsg.c: Likewise.
1733 * sysdeps/unix/bsd/getpt.c: Likewise.
1734 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1735 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1736 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1738 Likewise.
1739 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1740 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1741 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1742 * sysvipc/msgctl.c: Likewise.
1743 * sysvipc/msgget.c: Likewise.
1744 * sysvipc/msgrcv.c: Likewise.
1745 * sysvipc/msgsnd.c: Likewise.
1746 * sysvipc/semctl.c: Likewise.
1747 * sysvipc/semget.c: Likewise.
1748 * sysvipc/semop.c: Likewise.
1749 * sysvipc/semtimedop.c: Likewise.
1750 * sysvipc/shmat.c: Likewise.
1751 * sysvipc/shmctl.c: Likewise.
1752 * sysvipc/shmdt.c: Likewise.
1753 * sysvipc/shmget.c: Likewise.
1754 * termios/tcdrain.c: Likewise.
1755 * termios/tcflow.c: Likewise.
1756 * termios/tcflush.c: Likewise.
1757 * termios/tcgetattr.c: Likewise.
1758 * termios/tcgetpgrp.c: Likewise.
1759 * termios/tcsendbrk.c: Likewise.
1760 * termios/tcsetattr.c: Likewise.
1761 * termios/tcsetpgrp.c: Likewise.
1762 * time/adjtime.c: Likewise.
1763 * time/clock.c: Likewise.
1764 * time/getitimer.c: Likewise.
1765 * time/gettimeofday.c: Likewise.
1766 * time/setitimer.c: Likewise.
1767 * time/settimeofday.c: Likewise.
1768 * time/stime.c: Likewise.
1769 * time/time.c: Likewise.
1770
1771 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1772
1773 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1774 /usr/old/bin.
1775
1776 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1777 instead of spaces.
1778 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1779
1780 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1781
1782 [BZ #14796]
1783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1784 FE_TONEAREST before applying Dekker multiplication and Knuth
1785 addition. Clear inexact exceptions and check for exact zero
1786 results afterwards.
1787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1790 * math/libm-test.inc (fma_test): Add more tests.
1791 (fma_test_towardzero): Likewise.
1792 (fma_test_downward): Likewise.
1793 (fma_test_upward): Likewise.
1794 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1795 function.
1796 (libc_fesetround): New macro.
1797 (libc_fesetroundf): Likewise.
1798 (libc_fesetroundl): Likewise.
1799 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1800 function.
1801 (libc_fesetround_387): Likewise.
1802 (libc_fesetroundf): New macro.
1803 (libc_fesetround): Likewise.
1804 (libc_fesetroundl): Likewise.
1805 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1806 function.
1807 (libc_fesetroundf): New macro.
1808 (libc_fesetround): Likewise.
1809 (libc_fesetroundl): Likewise.
1810 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1811 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1812 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1813 libm_hidden_ver.
1814 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1815 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1816 libm_hidden_def.
1817 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1818 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1819 libm_hidden_ver.
1820 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1821 libm_hidden_def.
1822
1823 [BZ #3439]
1824 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1825 integer constant usable in #if and use that to give value to enum
1826 constant.
1827 (FE_DIVBYZERO): Likewise.
1828 (FE_UNDERFLOW): Likewise.
1829 (FE_OVERFLOW): Likewise.
1830 (FE_INVALID): Likewise.
1831 (FE_INVALID_SNAN): Likewise.
1832 (FE_INVALID_ISI): Likewise.
1833 (FE_INVALID_IDI): Likewise.
1834 (FE_INVALID_ZDZ): Likewise.
1835 (FE_INVALID_IMZ): Likewise.
1836 (FE_INVALID_COMPARE): Likewise.
1837 (FE_INVALID_SOFTWARE): Likewise.
1838 (FE_INVALID_SQRT): Likewise.
1839 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1840 (FE_TONEAREST): Likewise.
1841 (FE_TOWARDZERO): Likewise.
1842 (FE_UPWARD): Likewise.
1843 (FE_DOWNWARD): Likewise.
1844 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1845 (FE_DIVBYZERO): Likewise.
1846 (FE_OVERFLOW): Likewise.
1847 (FE_UNDERFLOW): Likewise.
1848 (FE_INEXACT): Likewise.
1849 (FE_TONEAREST): Likewise.
1850 (FE_DOWNWARD): Likewise.
1851 (FE_UPWARD): Likewise.
1852 (FE_TOWARDZERO): Likewise.
1853 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1854 (FE_UNDERFLOW): Likewise.
1855 (FE_OVERFLOW): Likewise.
1856 (FE_DIVBYZERO): Likewise.
1857 (FE_INVALID): Likewise.
1858 (FE_TONEAREST): Likewise.
1859 (FE_TOWARDZERO): Likewise.
1860 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1861 (FE_OVERFLOW): Likewise.
1862 (FE_UNDERFLOW): Likewise.
1863 (FE_DIVBYZERO): Likewise.
1864 (FE_INEXACT): Likewise.
1865 (FE_TONEAREST): Likewise.
1866 (FE_TOWARDZERO): Likewise.
1867 (FE_UPWARD): Likewise.
1868 (FE_DOWNWARD): Likewise.
1869 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1870 (FE_DIVBYZERO): Likewise.
1871 (FE_OVERFLOW): Likewise.
1872 (FE_UNDERFLOW): Likewise.
1873 (FE_INEXACT): Likewise.
1874 (FE_TONEAREST): Likewise.
1875 (FE_DOWNWARD): Likewise.
1876 (FE_UPWARD): Likewise.
1877 (FE_TOWARDZERO): Likewise.
1878
1879 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1880
1881 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1882
1883 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1884
1885 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1886 commands. Quote $PWD.
1887 (blacklist_exports): Don't use remove_newlines. Replace "declare
1888 -x" by "export".
1889 (remove_newlines): Remove.
1890
1891 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1894 * stdlib/stdlib.h (atof): Moved to ...
1895 * include/bits/stdlib-float.h: Here. New file.
1896 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1897 * stdlib/bits/stdlib-float.h: New file.
1898 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1899 -mno-sse -mno-mmx.
1900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1901 <xmmintrin.h>.
1902
1903 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1904
1905 * conform/conformtest.pl (@headers): Add fenv.h.
1906 * conform/data/fenv.h-data: New file.
1907 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1908 include of <math/fenv.h>.
1909
1910 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1911 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1912 && !UNIX98]. Enables tests for XOPEN2K8.
1913 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1914 POSIX2008]: Likewise.
1915
1916 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1917 (struct rusage): Do not expect type or its members.
1918
1919 [BZ #3439]
1920 * math/math.h (FP_NAN): Define macro to integer constant usable in
1921 #if and use that to give value to enum constant.
1922 (FP_INFINITE): Likewise.
1923 (FP_ZERO): Likewise.
1924 (FP_SUBNORMAL): Likewise.
1925 (FP_NORMAL): Likewise.
1926
1927 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1928
1929 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1930 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1931 arguments.
1932
1933 2012-11-02 Roland McGrath <roland@hack.frob.com>
1934
1935 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1936 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1937 autoconf-time if not.
1938 * configure.in: Remove AC_PREREQ.
1939
1940 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1941
1942 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1943 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1944 of the internal implementation.
1945
1946 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1947
1948 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1949 except include of <misc/sys/syslog.h>.
1950
1951 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1952
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1954 function returns with a NULL context exit with zero.
1955
1956 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1957
1958 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1959
1960 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1961
1962 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1963 (run_program_cmd): This.
1964 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1965 (tst_langinfo): New variable. Use it.
1966
1967 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1968
1969 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1970 floating point opcodes.
1971
1972 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1973
1974 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1975 variable.
1976
1977 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1978
1979 * sysdeps/mach/hurd/powerpc: Remove directory.
1980 * sysdeps/mach/powerpc: Likewise.
1981
1982 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1983
1984 * scripts/check-local-headers.sh: Ignore c++ headers.
1985
1986 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1987
1988 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1989 __libc_cleanup_region_start argument.
1990
1991 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #14784]
1994 [BZ #14785]
1995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1996 x * y using scaling, not as x * y + z.
1997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1999 * math/libm-test.inc (fma_test): Add more tests.
2000 (fma_test_towardzero): Likewise.
2001 (fma_test_downward): Likewise.
2002 (fma_test_upward): Likewise.
2003
2004 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2005
2006 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2007
2008 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2009
2010 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2011 New variable.
2012
2013 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2014
2015 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2016
2017 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2018
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2020 Fix sort order.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2022 Likewise.
2023
2024 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2025
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2027 Fix the order of the list for glibc 2.17.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2029 Likewise.
2030
2031 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2032
2033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2034
2035 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #14610]
2038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2039 for low part of x being zero before using __atanl (y).
2040 * math/libm-test.inc (atan2_test): Add another test.
2041
2042 * manual/install.texi (Configuring and compiling): Document
2043 general use of test-wrapper and test-wrapper-env.
2044 * INSTALL: Regenerated.
2045
2046 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2047 (__fma): Do not extract and scale down low bits on after-rounding
2048 systems when result rounded to normal precision would have normal
2049 exponent.
2050 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2051 (__fmal): Do not extract and scale down low bits on after-rounding
2052 systems when result rounded to normal precision would have normal
2053 exponent.
2054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2055 (__fmal): Do not extract and scale down low bits on after-rounding
2056 systems when result rounded to normal precision would have normal
2057 exponent.
2058 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2059 macro.
2060 (fma_test): Add more tests.
2061 (fma_test_towardzero): Likewise.
2062 (fma_test_downward): Likewise.
2063 (fma_test_upward): Likewise.
2064
2065 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 * sysdeps/i386/tininess.h: Renamed to ...
2068 * sysdeps/x86/tininess.h: This.
2069 * sysdeps/x86_64/tininess.h: Removed.
2070
2071 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2072
2073 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2074 input. Use $(build-program-cmd).
2075 ($(objpfx)tst-array1-static.out): Likewise.
2076 ($(objpfx)tst-array2.out): Likewise.
2077 ($(objpfx)tst-array3.out): Likewise.
2078 ($(objpfx)tst-array4.out): Likewise.
2079 ($(objpfx)tst-array5.out): Likewise.
2080 ($(objpfx)tst-array5-static.out): Likewise.
2081
2082 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2083
2084 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2085 if defined.
2086
2087 * nss/nsswitch.h (nss_interface_function): Provide new
2088 macro for use with NSS functions.
2089 * grp/initgroups.c: Use new macro.
2090 * nss/getXXbyYY.c: Likewise.
2091 * nss/getXXbyYY_r.c: Likewise.
2092 * nss/getXXent.c: Likewise.
2093 * nss/getXXent_r.c: Likewise.
2094 * sysdeps/posix/getaddrinfo.c: Likewise.
2095
2096 2012-10-30 Andreas Jaeger <aj@suse.de>
2097
2098 * po/ru.po: Update Russion translation from translation project.
2099
2100 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2101
2102 [BZ #14152]
2103 [BZ #14783]
2104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2105 result and shift together with sticky bit instead of replicating
2106 round-to-nearest rounding.
2107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2109 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2110 missing underflow exceptions.
2111 (fma_test_towardzero): Add more tests.
2112 (fma_test_downward): Likewise.
2113 (fma_test_upward): Likewise.
2114
2115 [BZ #14047]
2116 * sysdeps/generic/tininess.h: New file.
2117 * sysdeps/i386/tininess.h: Likewise.
2118 * sysdeps/sh/tininess.h: Likewise.
2119 * sysdeps/x86_64/tininess.h: Likewise.
2120 * stdlib/tst-strtod-underflow.c: Likewise.
2121 * stdlib/tst-tininess.c: Likewise.
2122 * stdlib/strtod_l.c: Include <tininess.h>.
2123 (round_and_return): Do not set errno for exact underflow cases.
2124 Force an underflow exception when setting errno for underflow.
2125 Determine underflow based on rounding to normal precision if
2126 TININESS_AFTER_ROUNDING.
2127 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2128 ERANGE for exact underflow cases.
2129 * stdlib/Makefile (tests): Add tst-tininess and
2130 tst-strtod-underflow.
2131 ($(objpfx)tst-tininess): Use $(link-libm).
2132 ($(objpfx)tst-strtod-underflow): Likewise.
2133
2134 2012-10-30 Andreas Jaeger <aj@suse.de>
2135
2136 [BZ#14767]
2137 * elf/Makefile (tests): Remove conditional for have-initfini-array
2138 since this is now always required and the variable does not exist
2139 anymore.
2140 (tests-static): Likewise.
2141 (modules-names): Likewise.
2142
2143 * po/eo.po: Add Esperanto translation from translation project.
2144
2145 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2146 merged with constructor/destructor.
2147 (init_array): Likewise.
2148 * elf/tst-array2dep.c (fini_array): Likewise.
2149 (init_array): Likewise.
2150
2151 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2152
2153 * manual/message.texi: Delete @cartouche tags.
2154
2155 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2156
2157 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2158 EOPNOTSUPP.
2159 * sysdeps/mach/hurd/fsync.c: Likewise.
2160
2161 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2162 [_POSIX_REALTIME_SIGNALS]: Change condition to
2163 [_POSIX_REALTIME_SIGNALS > 0].
2164
2165 2012-10-27 Andreas Jaeger <aj@suse.de>
2166
2167 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2168 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2170 [__WORDSIZE != 64]: Likewise.
2171
2172 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2173
2174 * iconvdata/tst-table.sh: Remove ${SHELL}.
2175 * iconvdata/tst-tables.sh: Likewise.
2176
2177 2012-10-25 David S. Miller <davem@davemloft.net>
2178
2179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2180 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2181 of strtoull.
2182
2183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2184 ifunc-impl-list.c
2185 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2186 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2187 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2188 file.
2189
2190 2012-10-25 Roland McGrath <roland@hack.frob.com>
2191
2192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2193 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2194 __getdirentries.
2195
2196 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2197 Jim Blandy <jimb@codesourcery.com>
2198
2199 * scripts/cross-test-ssh.sh: New file.
2200 * manual/install.texi (Configuring and compiling): Document use of
2201 cross-test-ssh.sh.
2202 * INSTALL: Regenerated.
2203
2204 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2205
2206 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2207 EOPNOTSUPP.
2208
2209 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2210
2211 * Makeconfig (run-program-prefix): Fix comment.
2212
2213 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2214 Jim Blandy <jimb@codesourcery.com>
2215
2216 * Makeconfig (test-wrapper): New variable,
2217 (test-wrapper-env): Likewise.
2218 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2219 (run-built-tests): Define to yes.
2220 (run-program-prefix): Use $(test-wrapper).
2221 (built-program-cmd): Likewise.
2222 * Rules (make-test-out): Use $(test-wrapper-env) and
2223 $(host-built-program-cmd).
2224 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2225 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2226 tst-pathopt.sh.
2227 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2228 $(test-wrapper-env) to tst-rtld-load-self.sh.
2229 ($(objpfx)order2.out): Use $(test-wrapper).
2230 ($(objpfx)tst-initorder.out): Likewise.
2231 ($(objpfx)tst-initorder2.out): Likewise.
2232 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2233 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2234 (test_wrapper_env): New variable. Use it to run ld.so.
2235 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2236 Use it to run ld.so.
2237 (test_wrapper_env): Likewise.
2238 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2239 $(test-wrapper) to run-iconv-test.sh.
2240 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2241 (ICONV): Use $test_wrapper.
2242 * posix/Makefile ($(objpfx)globtest.out): Pass
2243 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2244 globtest.sh, not $(run-program-prefix).
2245 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2246 (test_wrapper): Likewise.
2247 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2248 set together with run_via_rtld_prefix.
2249 (run_program_prefix): Define in terms of test_wrapper and
2250 run_via_rtld_prefix.
2251
2252 2012-10-24 Roland McGrath <roland@hack.frob.com>
2253
2254 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2255 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2256 Targets removed.
2257
2258 [BZ #14743]
2259 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2260 Declare __clock_getres, __clock_gettime, __clock_settime,
2261 __clock_nanosleep, and __clock_getcpuclockid.
2262 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2263 Remove librt_hidden_def (clock_gettime).
2264 * sysdeps/unix/clock_gettime.c: Likewise.
2265 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2267 * rt/clock_getres.c: Define __clock_getres as an alias.
2268 * sysdeps/posix/clock_getres.c: Likewise.
2269 * rt/clock_settime.c: Define __clock_settime as an alias.
2270 * sysdeps/unix/clock_settime.c: Likewise.
2271 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2272 * sysdeps/unix/clock_nanosleep.c: Likewise.
2273 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2274 * rt/clock-compat.c: New file.
2275 * rt/Makefile (librt-routines): Add clock-compat and move
2276 $(clock-routines) to ...
2277 (routines): ... here, new variable.
2278 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2279 Don't add get_clockfreq here.
2280 * rt/Versions (libc: GLIBC_2.17): New version set.
2281 Add clock_* symbols here.
2282 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2284 (GLIBC_2.17): Add clock_* symbols.
2285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2289 Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2291 Likewise.
2292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2296 * NEWS: Mention the move.
2297
2298 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2299 Use __open, __read, __close rather than their public counterparts.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2301 (__get_clockfreq_via_cpuinfo): Likewise.
2302 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2303 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2304
2305 * config.h.in (HAVE_IFUNC): New #undef.
2306 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2307 was successful.
2308 * configure: Regenerated.
2309
2310 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2311
2312 * configure.in: Move READELF check to start of file.
2313 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2314 libc_cv_asm_gnu_indirect_function in the process.
2315 * configure: Regenerated.
2316
2317 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2318
2319 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2320 send the output to /dev/null.
2321 (libc_cv_cc_with_libunwind): Likewise.
2322 (libc_cv_as_noexecstack): Likewise.
2323 * configure: Regenerate.
2324
2325 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2326
2327 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2328
2329 * posix/globtest.sh (TMPDIR): Do not set.
2330 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2331 (testout): Likewise.
2332
2333 2012-10-24 Andreas Jaeger <aj@suse.de>
2334
2335 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2336 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2337 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2338 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2339 posix_fadvise64, posix_fallocate64.
2340
2341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2342 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2343 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2344 Likewise.
2345 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2346 Likewise.
2347 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2348
2349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2350 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2351 <bits/fcntl-linux.h>.
2352 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2353
2354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2355 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2356 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2357 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2358 [__WORDSIZE != 64]: Likewise.
2359
2360 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2361
2362 * Makeconfig (run-built-tests): New variable.
2363 * Rules [$(cross-compiling) = yes]: Change condition to
2364 [$(run-built-tests) = no].
2365 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2366 to [$(run-built-tests) = yes].
2367 * elf/Makefile [$(cross-compiling) = no]: Likewise
2368 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2369 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2370 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2371 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2372 * io/Makefile [$(cross-compiling) = no]: Likewise.
2373 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2374 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2375 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2376 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2377 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2378 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2379 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2380 * string/Makefile [$(cross-compiling) = no]: Likewise.
2381
2382 * posix/Makefile ($(objpfx)globtest.out): Pass
2383 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2384 $(rtld-installed-name).
2385 * posix/globtest.sh (elf_objpfx): Remove variable.
2386 (rtld_installed_name): Likewise.
2387 (library_path): Likewise.
2388 (run_program_prefix): New variable. Use for running globtest
2389 binary.
2390
2391 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2392 Joseph Myers <joseph@codesourcery.com>
2393
2394 * Makeconfig (host-built-program-cmd): New variable.
2395 * elf/Makefile (tst-stackguard1-ARGS): Use
2396 $(host-built-program-cmd).
2397 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2398 (tst-spawn-ARGS): Likewise.
2399 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2400
2401 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2402 Jim Blandy <jimb@codesourcery.com>
2403
2404 * Makeconfig (run-via-rtld-prefix): New variable.
2405 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2406 (built-program-cmd): Likewise.
2407
2408 2012-10-22 Andreas Jaeger <aj@suse.de>
2409
2410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2411 __O_RSYNC if it exists, otherwise to O_SYNC.
2412
2413 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2414 Joseph Myers <joseph@codesourcery.com>
2415
2416 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2417 /dev/null.
2418 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2419 from /dev/null
2420 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2421 /dev/null.
2422
2423 2012-10-22 Andreas Jaeger <aj@suse.de>
2424
2425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2426 Define always.
2427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2428
2429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2430 bits/fcntl-linux.h.
2431
2432 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2433 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2434
2435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2436 to __O_LARGEFILE.
2437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2438 to __O_LARGEFILE.
2439
2440 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2441 Joseph Myers <joseph@codesourcery.com>
2442
2443 * config.make.in (NM): New variable.
2444
2445 2012-10-21 Andreas Jaeger <aj@suse.de>
2446
2447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2448 definitions and declarations that are provided by
2449 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2450
2451 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2452
2453 [BZ #14683]
2454 * elf/Makefile (tests-static): Add tst-leaks1-static.
2455 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2456 ($(objpfx)tst-leaks1-static): New rule.
2457 ($(objpfx)tst-leaks1-static-mem): Likewise.
2458 (tst-leaks1-static-ENV): New macro.
2459 * elf/dl-open.c (dl_open_worker): Check the main application
2460 only if SHARED is defined.
2461 * elf/tst-leaks1-static.c: New file.
2462
2463 2012-10-20 Andreas Jaeger <aj@suse.de>
2464
2465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2466 generic values for Linux.
2467 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2468 and declarations that are provided by <bits/fcntl-linux.h> and
2469 include <bits/fcntl-linux.h>.
2470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2472
2473 2012-10-20 Roland McGrath <roland@hack.frob.com>
2474
2475 * io/fcntl.h: Move include of <bits/types.h> to the top and
2476 include it unconditionally.
2477
2478 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * wcsmbs/Makefile (tests-ifunc): New variable.
2481 (tests): Add $(tests-ifunc).
2482 * wcsmbs/test-wcschr-ifunc.c: New file.
2483 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2484 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2485 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2486 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2487 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2488
2489 * string/Makefile (tests-ifunc): New variable.
2490 (tests): Add $(tests-ifunc).
2491 * string/test-memccpy.c (TEST_NAME): New macro.
2492 * string/test-memchr.c (TEST_NAME): Likewise.
2493 * string/test-memcmp.c (TEST_NAME): Likewise.
2494 * string/test-memcpy.c (TEST_NAME): Likewise.
2495 * string/test-memmem.c (TEST_NAME): Likewise.
2496 * string/test-memmove.c (TEST_NAME): Likewise.
2497 * string/test-memset.c (TEST_NAME): Likewise.
2498 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2499 * string/test-stpcpy.c (TEST_NAME): Likewise.
2500 * string/test-stpncpy.c (TEST_NAME): Likewise.
2501 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2502 * string/test-strcasestr.c (TEST_NAME): Likewise.
2503 * string/test-strcat.c (TEST_NAME): Likewise.
2504 * string/test-strchr.c (TEST_NAME): Likewise.
2505 * string/test-strcmp.c(TEST_NAME): Likewise.
2506 * string/test-strcpy.c (TEST_NAME): Likewise.
2507 * string/test-strcspn.c (TEST_NAME): Likewise.
2508 * string/test-strlen.c (TEST_NAME): Likewise.
2509 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2510 * string/test-strncmp.c (TEST_NAME): Likewise.
2511 * string/test-strncpy.c (TEST_NAME): Likewise.
2512 * string/test-strnlen.c (TEST_NAME): Likewise.
2513 * string/test-strpbrk.c (TEST_NAME): Likewise.
2514 * string/test-strrchr.c (TEST_NAME): Likewise.
2515 * string/test-strspn.c (TEST_NAME): Likewise.
2516 * string/test-strstr.c (TEST_NAME): Likewise.
2517 * string/test-bcopy-ifunc.c: New file.
2518 * string/test-bzero-ifunc.c: Likewise.
2519 * string/test-memccpy-ifunc.c: Likewise.
2520 * string/test-memchr-ifunc.c: Likewise.
2521 * string/test-memcmp-ifunc.c: Likewise.
2522 * string/test-memcpy-ifunc.c: Likewise.
2523 * string/test-memmem-ifunc.c: Likewise.
2524 * string/test-memmove-ifunc.c: Likewise.
2525 * string/test-mempcpy-ifunc.c: Likewise.
2526 * string/test-memset-ifunc.c: Likewise.
2527 * string/test-rawmemchr-ifunc.c: Likewise.
2528 * string/test-stpcpy-ifunc.c: Likewise.
2529 * string/test-stpncpy-ifunc.c: Likewise.
2530 * string/test-strcasecmp-ifunc.c: Likewise.
2531 * string/test-strcasestr-ifunc.c: Likewise.
2532 * string/test-strcat-ifunc.c: Likewise.
2533 * string/test-strchr-ifunc.c: Likewise.
2534 * string/test-strchrnul-ifunc.c: Likewise.
2535 * string/test-strcmp-ifunc.c: Likewise.
2536 * string/test-strcpy-ifunc.c: Likewise.
2537 * string/test-strcspn-ifunc.c: Likewise.
2538 * string/test-strlen-ifunc.c: Likewise.
2539 * string/test-strncasecmp-ifunc.c: Likewise.
2540 * string/test-strncat-ifunc.c: Likewise.
2541 * string/test-strncmp-ifunc.c: Likewise.
2542 * string/test-strncpy-ifunc.c: Likewise.
2543 * string/test-strnlen-ifunc.c: Likewise.
2544 * string/test-strpbrk-ifunc.c: Likewise.
2545 * string/test-strrchr-ifunc.c: Likewise.
2546 * string/test-strspn-ifunc.c: Likewise.
2547 * string/test-strstr-ifunc.c: Likewise.
2548
2549 * debug/Makefile (tests-ifunc): New variable.
2550 (tests): Add $(tests-ifunc).
2551 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2552 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2553 * debug/test-stpcpy_chk-ifunc.c: New file.
2554 * debug/test-strcpy_chk-ifunc.c: Likewise.
2555
2556 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2557
2558 [BZ #13601]
2559 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2560 header is not read in.
2561
2562 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2563
2564 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2565 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2566 directly. Pass built executable to script as
2567 $(built-program-cmd).
2568 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2569 $testprogram without using LD_LIBRARY_PATH and $ldso.
2570
2571 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2572 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2573 $(rtld-installed-name).
2574 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2575 (rtld_installed_name): Likewise.
2576 (library_path): Likewise.
2577 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2578 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2579 $(run-program-prefix) to tst-tables.sh.
2580 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2581 it to run tst-table-from and tst-table-to.
2582 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2583 Pass it to tst-table.sh.
2584 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2585 $(run-program-prefix) to tst-gettext.sh.
2586 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2587 tst-translit.sh.
2588 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2589 tst-gettext2.sh.
2590 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2591 to run tst-gettext.
2592 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2593 to run tst-gettext2.
2594 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2595 to run tst-translit.
2596 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2597 $(run-program-prefix) to tst-mtrace.sh.
2598 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2599 to run tst-mtrace.
2600 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2601 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2602 $(rtld-installed-name).
2603 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2604 (rtld_installed_name): Likewise.
2605 (run_program_prefix): New variable. Use it to run wordexp-test.
2606
2607 * Makeconfig (ARCH): Remove all definitions.
2608 (machine): Likewise.
2609 [ARCH]: Remove conditional code.
2610 [!objdir]: Give error.
2611 [!objdir] (objpfx): Remove.
2612 [!objdir] (common-objpfx): Likewise.
2613 [!objdir] (common-objdir): Likewise.
2614 * configure.in (config_makefile): Remove. Hardcode Makefile in
2615 AC_CONFIG_FILES call.
2616 * configure: Regenerated.
2617
2618 [BZ #13888]
2619 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2620 or TMPDIR.
2621 (testout): Likewise.
2622
2623 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2624 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2625 $(rtld-installed-name).
2626 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2627 (rtld_installed_name): Likwise.
2628 (runit): Remove function.
2629 (run_getconf): New variable, Use it for running getconf binary.
2630
2631 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 [BZ #14716]
2634 * string/test-memmem.c (check_result): New function.
2635 (do_one_test): Use it.
2636 (check1): New function.
2637 (test_main): Use it.
2638
2639 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2640
2641 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2642
2643 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2644
2645 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2646 (_G_LSEEK64): Likewise.
2647 (_G_MMAP64): Likewise.
2648 (_G_FSTAT64): Likewise.
2649 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2650 (_G_LSEEK64): Likewise.
2651 (_G_MMAP64): Likewise.
2652 (_G_FSTAT64): Likewise.
2653 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2654 unconditional. Call __mmap64 directly.
2655 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2656 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2657 __lseek64 directly.
2658 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2659 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2660 __mmap64 directly.
2661 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2662 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2663 __lseek64 directly.
2664 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2665 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2666 __lseek64 directly.
2667 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2668 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2669 __lseek64 directly.
2670 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2671 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2672 __fxstat64 directly.
2673 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2674 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2675 unconditional.
2676 (freopen64) [!_G_OPEN64]: Remove conditional code.
2677 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2678 unconditional.
2679 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2680 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2681 unconditional.
2682 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2683 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2684 unconditional.
2685 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2686 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2687 unconditional.
2688 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2689 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2690 unconditional.
2691 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2692 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2693 unconditional.
2694 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2695 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2696 unconditional.
2697 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2698
2699 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2700
2701 [BZ #12140]
2702 * manual/memory.texi (Malloc Tunable Parameters): Add note
2703 about free list pointers overwriting some perturb bytes.
2704 Wording suggested by Roland McGrath.
2705
2706 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2707
2708 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2709 (lgamma_test): Likewise.
2710 (tgamma_test): Likewise.
2711
2712 2012-10-16 Florian Weimer <fweimer@redhat.com>
2713
2714 [BZ #14700]
2715 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2716 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2717
2718 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2719
2720 * NEWS: Mention BZ #14716.
2721 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2722 when removing AVAILABLE1_USES_J macro.
2723
2724 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2727 (__bswap_64): __uint64_t for unsigned 64-bit int.
2728
2729 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2730
2731 * include/string.h (memmem): Declare libc hidden alias.
2732 * string/memmem.c (memmem): Define libc hidden alias.
2733 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2734 __read, __close instead of open, read, close.
2735
2736 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2737
2738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2739 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2740 global and hidden.
2741 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2742 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2743 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2744 Likewise.
2745 (__rawmemchr_sse2): Likewise.
2746 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2747 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2748 (__strchr_sse2): Likewise.
2749 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2750 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2751 (__strcasecmp_sse2): Likewise.
2752 (__strncasecmp_sse2): Likewise.
2753 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2754 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2755 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2756 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2757 (__strrchr_sse2): Likewise.
2758 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2759 ifunc-impl-list.c.
2760 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2761 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2762 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2764 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2765 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2766 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2767 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2768 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2769 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2770 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2771 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2772 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2773 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2774 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2775 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2776 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2777 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2778 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2779 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2780 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2781 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2782 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2783 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2784 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2786 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2787 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2788 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2789 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2790
2791 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2792 global and hidden.
2793 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2794 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2795 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2796 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2797 Likewise.
2798 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2799 Likewise.
2800 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2801 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2802 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2803 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2804 ifunc-impl-list.c.
2805 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2806 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2807 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2808 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2809 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2810 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2811 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2812 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2813 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2814 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2815 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2816 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2817 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2818 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2819 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2820 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2821 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2822 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2823 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2824 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2825 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2826 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2827 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2828 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2830 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2831 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2832 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2834 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2835 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2836 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2837 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2838 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2839 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2844 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2846
2847 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2848 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2849 * include/ifunc-impl-list.h: New file.
2850 * misc/ifunc-impl-list.c: Likewise.
2851 * misc/Makefile (routines): Add ifunc-impl-list.
2852 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2853 * string/test-string.h: Include <ifunc-impl-list.h>.
2854 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2855 impl_array): New variables.
2856 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2857 are defined.
2858 (test_init): Call __libc_ifunc_impl_list to initialize
2859 func_list if TEST_IFUNC and TEST_NAME are defined.
2860
2861 * string/Makefile (strop-tests): Add bcopy and bzero.
2862 * string/test-bcopy.c: New file.
2863 * string/test-bzero.c: Likewise.
2864 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2865 defined.
2866 * string/test-memset.c: Support bzero test if TEST_BZERO is
2867 defined.
2868 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2869 __libc_memmove.
2870 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2871 __libc_memset.
2872 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2873 of memset.
2874
2875 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2876
2877 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2878 * configure: Regenerated.
2879
2880 * Makeconfig (+link-static-before-libc): Don't include
2881 $(link-static-libc).
2882
2883 * libio/libio.h (_IO_pos_t): Remove.
2884
2885 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2886
2887 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2888 McGrath.
2889
2890 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2891
2892 * crypt/crypt-entry.c: Include fips-private.h.
2893 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2894 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2895 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2896 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2897
2898 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2899
2900 * crypt/crypt-private.h: Include stdbool.h.
2901 (_ufc_setup_salt_r): Return bool.
2902 * crypt/crypt-entry.c: Include errno.h.
2903 (__crypt_r): Return NULL with EINVAL for bad salt.
2904 * crypt/crypt_util.c (bad_for_salt): New.
2905 (_ufc_setup_salt_r): Check that salt is long enough and within
2906 the specified alphabet.
2907 * crypt/badsalttest.c: New file.
2908 * crypt/Makefile (tests): Add it.
2909 ($(objpfx)badsalttest): New.
2910
2911 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2912
2913 * NEWS: Add entry for BZ #14602.
2914
2915 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2916
2917 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2918 type-generic.
2919 * math/libm-test.inc: Update comment listing what functions and
2920 macros are tested.
2921 (isgreater_test): New function.
2922 (isgreaterequal_test): Likewise.
2923 (isless_test): Likewise.
2924 (islessequal_test): Likewise.
2925 (islessgreater_test): Likewise.
2926 (isunordered_test): Likewise.
2927 (main): Call the new functions.
2928
2929 2012-10-09 Roland McGrath <roland@hack.frob.com>
2930
2931 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2932 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2933 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2934 * sysdeps/i386/configure: Regenerated.
2935 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2936 * sysdeps/mach/configure: Regenerated.
2937 * sysdeps/mach/hurd/configure: Regenerated.
2938 * sysdeps/powerpc/configure: Regenerated.
2939 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2940 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2941 * sysdeps/s390/s390-32/configure: Regenerated.
2942 * sysdeps/s390/s390-64/configure: Regenerated.
2943 * sysdeps/sh/configure: Regenerated.
2944 * sysdeps/sparc/configure: Regenerated.
2945 * sysdeps/unix/sysv/linux/configure: Regenerated.
2946 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2947 * sysdeps/x86_64/configure: Regenerated.
2948
2949 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2950 defined. Don't check if MAP is NULL.
2951
2952 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2953
2954 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2955 (_G_stat64): Likewise.
2956 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2957 (_G_stat64): Likewise.
2958 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2959 instead of struct _G_stat64.
2960 * libio/fileops.c (mmap_remap_check): Likewise.
2961 (decide_maybe_mmap): Likewise.
2962 (_IO_new_file_seekoff): Likewise.
2963 (_IO_file_stat): Likewise.
2964 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2965 _G_off64_t.
2966 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2967 instead of struct _G_stat64.
2968 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2969
2970 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2971
2972 [BZ #14602]
2973 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2974 Replace with ...
2975 (CHECK_EOL): New macro.
2976 (two_way_short_needle): Check beginning of haystack for EOL. Use
2977 CHECK_EOL.
2978 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2979 Replace with CHECK_EOL.
2980 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2981 Replace with CHECK_EOL.
2982
2983 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2984
2985 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2986 type-generic.
2987 * math/libm-test.inc: Update comment listing what functions and
2988 macros are tested.
2989 (finite_test): New function.
2990 (isinf_test): Likewise.
2991 (isnan_test): Likewise.
2992 (fpclassify_test): Test subnormal input.
2993 (isfinite_test): Likewise.
2994 (isnormal_test): Likewise.
2995 (main): Call the new functions.
2996
2997 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2998
2999 [BZ #14660]
3000 * Makerules (%.dynsym): Force C locale when running
3001 $(OBJDUMP) --dynamic-syms.
3002
3003 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3004
3005 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3006 <stdint.h>.
3007
3008 2012-10-06 David S. Miller <davem@davemloft.net>
3009
3010 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3011 upper 32-bits of the length value in %o2 since we use branch-on-register
3012 tests which consider the entire 64-bit register.
3013
3014 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3015
3016 * string/test-strstr.c (check2): Add a test for page boundary.
3017
3018 2012-10-05 David S. Miller <davem@davemloft.net>
3019
3020 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3021 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3022 file.
3023 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3024 sysdep_routines.
3025 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3026 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3027 and bzero when HWCAP_SPARC_CRYPTO is present.
3028
3029 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 [BZ #14602]
3032 * string/test-strstr.c (check2): New function.
3033 (test_main): Call check2.
3034
3035 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3036 and bug-strchr1.
3037 * string/bug-strcasestr1.c (do_test): Moved to ...
3038 * string/test-strcasestr.c (check1): Here. New function.
3039 (do_one_test): Break out result checking code into ...
3040 (check_result): This. New function.
3041 (do_one_test): Call check_result.
3042 (test_main): Call check1.
3043 * string/bug-strchr1.c (do_test): Moved to ...
3044 * string/test-strchr.c (check1): Here. New function.
3045 (do_one_test): Break out result checking code into ...
3046 (check_result): This. New function.
3047 (do_one_test): Call check_result.
3048 (test_main): Call check1.
3049 * string/bug-strstr1.c (main): Moved to ...
3050 * string/test-strchr.c (check1): Here. New function.
3051 (do_one_test): Break out result checking code into ...
3052 (check_result): This. New function.
3053 (do_one_test): Call check_result.
3054 (test_main): Call check1.
3055 * string/bug-strcasestr1.c: Removed.
3056 * string/bug-strchr1.c: Likewise.
3057 * string/bug-strstr1.c: Likewise.
3058
3059 * elf/Makefile (dl-routines): Add hwcaps.
3060 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3061 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3062 (_dl_important_hwcaps): Moved to ...
3063 * elf/dl-hwcaps.c: Here. New file.
3064 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3065
3066 [BZ #14557]
3067 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3068 if IS_IN_rtld isn't defined.
3069
3070 * elf/dl-support.c (_dl_sysinfo_map): New.
3071 Include "get-dynamic-info.h" and "setup-vdso.h".
3072 (_dl_non_dynamic_init): Call setup_vdso.
3073 * elf/dynamic-link.h: Don't include <assert.h>.
3074 (elf_get_dynamic_info): Moved to ...
3075 * elf/get-dynamic-info.h: Here. New file.
3076 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3077 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3078 * elf/setup-vdso.h: Here. New file.
3079 * elf/rtld.c: Include "setup-vdso.h".
3080 (dl_main): Call setup_vdso.
3081
3082 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3083
3084 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3085 creal in comment listing functions tested. List finite, isinf,
3086 isnan, isless, islessequal, isgreater, isgreaterequal,
3087 islessgreater, isunordered, lgamma_r and pow10 as functions and
3088 macros not tested. Mention which functions not tested are aliases
3089 for other functions. Fix typo. Note that signs of NaNs are not
3090 tested.
3091
3092 * scripts/config.guess: Update from config.git.
3093 * scripts/config.sub: Likewise.
3094
3095 2012-10-04 Roland McGrath <roland@hack.frob.com>
3096
3097 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3098 * misc/madvise.c (madvise): Renamed to __madvise.
3099 Make madvise a weak alias.
3100 * include/sys/mman.h: Declare __madvise.
3101 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3102 * sysdeps/unix/syscalls.list
3103 (madvise): Make __madvise the strong name, and madvise a weak alias.
3104 * sysdeps/unix/sysv/linux/syscalls.list
3105 (madvise, mmap): Remove redundant entries.
3106 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3107 * malloc/malloc.c (mtrim): Likewise.
3108 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3109
3110 2012-10-03 Roland McGrath <roland@hack.frob.com>
3111
3112 * sysdeps/mach/hurd/dl-cache.c: File removed.
3113 * config.h.in (USE_LDCONFIG): New #undef.
3114 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3115 * configure: Regenerated.
3116 * elf/Makefile (dl-routines): Add dl-cache only under
3117 [$(use-ldconfig) = yes].
3118 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3119 cache on [USE_LDCONFIG].
3120 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3121 [USE_LDCONFIG].
3122 * elf/rtld.c (dl_main): Likewise.
3123
3124 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3125
3126 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3127 _SC_LEVEL4_CACHE_LINESIZE.
3128
3129 2012-10-03 Roland McGrath <roland@hack.frob.com>
3130
3131 * sysdeps/unix/bsd/confstr.h: File removed.
3132
3133 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3134
3135 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3136 sys/sdt-config.h.
3137
3138 2012-10-02 Roland McGrath <roland@hack.frob.com>
3139
3140 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3141 Make 'mapoff' field ElfW(Off) rather than off_t.
3142
3143 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3144
3145 * nscd/Makefile: Remove nscd-cflags and all its users.
3146 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3147 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3148
3149 [BZ #10631]
3150 * malloc.c (malloc_printerr): Clarify error message.
3151
3152 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3153
3154 [BZ #14648]
3155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3156 Set bit_FMA_Usable if FMA is supported.
3157 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3158 macro.
3159 (bit_FMA4_Usable): Updated.
3160 (index_FMA_Usable): New macro.
3161 (CPUID_FMA): Likewise
3162 (HAS_FMA): Defined with bit_FMA_Usable.
3163
3164 2012-10-01 Roland McGrath <roland@hack.frob.com>
3165
3166 * bits/types.h (__swblk_t): Type removed.
3167 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3168 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3170 (__SWBLK_T_TYPE): Likewise.
3171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3172 (__SWBLK_T_TYPE): Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3174 (__SWBLK_T_TYPE): Likewise.
3175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3176 (__SWBLK_T_TYPE): Likewise.
3177
3178 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3179 Honza Horak <hhorak@redhat.com>
3180
3181 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3182 (xdr_mapname): Use YPMAXMAP as maxsize.
3183 (xdr_peername): Use YPMAXPEER as maxsize.
3184 (xdr_keydat): Use YPAXRECORD as maxsize.
3185 (xdr_valdat): Use YPMAXRECORD as maxsize.
3186
3187 2012-10-01 Roland McGrath <roland@hack.frob.com>
3188
3189 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3190
3191 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3192 * csu/init-first.c: ... here.
3193 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3194 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3195 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3196 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3197 * sysdeps/i386/init-first.c: File removed.
3198 * sysdeps/sh/init-first.c: File removed.
3199
3200 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3201
3202 [BZ #14645]
3203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3204 if x * y might underflow to zero and z is zero.
3205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3207 * math/libm-test.inc (min_subnorm_value): New variable.
3208 (fma_test): Add more tests.
3209 (fma_test_towardzero): Likewise.
3210 (fma_test_downward): Likewise
3211 (fma_test_upward): Likewise.
3212 (initialize): Set min_subnorm_value.
3213
3214 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3215
3216 [BZ #14638]
3217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3218 0 + 0.
3219 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3220 mode for addition resulting in exact zero.
3221 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3223 exact 0 + 0.
3224 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3226 * math/libm-test.inc (fma_test): Add more tests.
3227 (fma_test_towardzero): New function.
3228 (fma_test_downward): Likewise.
3229 (fma_test_upward): Likewise.
3230 (main): Call the new functions.
3231
3232 2012-09-28 David S. Miller <davem@davemloft.net>
3233
3234 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3235
3236 2012-09-28 Roland McGrath <roland@hack.frob.com>
3237
3238 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3239 instead of SIGALRM.
3240
3241 * sysdeps/gnu/_G_config.h: Moved to ...
3242 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3243 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3244 * sysdeps/generic/_G_config.h: ... here.
3245
3246 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3247
3248 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3249
3250 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3251 Conditionalize target on [libnss_test1.so-version].
3252
3253 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3254
3255 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3256 (elfobjdir): Move out of conditionals.
3257
3258 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3259 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3260 (__nss_lookup_function): Conditionalize label remove_from_tree on
3261 [!DO_STATIC_NSS || SHARED], matching its only use.
3262
3263 2012-09-28 David S. Miller <davem@davemloft.net>
3264
3265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3266 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3267 file.
3268 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3269 sysdep_routines.
3270 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3272 when HWCAP_SPARC_CRYPTO is present.
3273
3274 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3275
3276 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3277
3278 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3279
3280 [BZ #6530]
3281 * stdio-common/vfprintf.c (process_string_arg): Revert
3282 2000-07-22 change.
3283
3284 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3285
3286 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3287 for testcase.
3288 * stdio-common/tst-sprintf.c: Include <locale.h>
3289 (main): Test sprintf's handling of incomplete multibyte
3290 characters.
3291
3292 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3293
3294 * elf/dl-runtime.c (VERSYMIDX): Removed.
3295 * elf/dl-version.c (VERSYMIDX): Likewise.
3296 * elf/do-rel.h (VERSYMIDX): Likewise.
3297 (VALIDX): Likewise.
3298 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3299 * elf/rtld.c (VALIDX): Likewise.
3300 (ADDRIDX): Likewise.
3301 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3302 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3303 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3304 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3305 (VALIDX): Likewise.
3306 (ADDRIDX): Likewise.
3307
3308 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3309
3310 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3311
3312 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3313
3314 [BZ #11438]
3315 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3316 to global scope.
3317 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3318 addresses are in the same scope as 192.0.2/24.
3319 * posix/gai.conf: Document new scope table defaults.
3320
3321 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 [BZ #5298]
3324 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3325 for ftell. Compute offsets from write pointers instead.
3326 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3327
3328 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3329
3330 [BZ #14543]
3331 * libio/Makefile (tests): New test case tst-fseek.
3332 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3333 combination works in wide mode.
3334 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3335 state when the external buffer state changes.
3336
3337 2012-09-27 David S. Miller <davem@davemloft.net>
3338
3339 [BZ #14376]
3340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3341 pass reloc->r_addend in as the 'high' argument to
3342 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3343
3344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3345
3346 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3347
3348 * rt/tst-aio2.c: Include <pthread.h>.
3349 * rt/tst-aio3.c: Likewise.
3350
3351 2012-09-27 Steve Ellcey <sellcey@mips.com>
3352
3353 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3354
3355 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3358 contents on [SHARED].
3359
3360 2012-09-26 Marek Polacek <polacek@redhat.com>
3361
3362 [BZ #14530]
3363 [BZ #13741]
3364 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3365 for C++ and GCC <4.3 as well as for non GCC compilers.
3366
3367 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3368
3369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3370
3371 2012-09-25 Roland McGrath <roland@hack.frob.com>
3372
3373 * Makefile.in (all, install): Declare with .PHONY.
3374 Reported by Michael Hope <michael.hope@linaro.org>.
3375
3376 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3377
3378 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3379 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3380 system header.
3381 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3382 Likewise.
3383 (sydep_routines): Add the new and the internal functions.
3384 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3387 (GLIBC_2.17): Add the new function.
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3389 (GLIBC_2.17): Likewise.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3391 (GLIBC_2.17): Likewise.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3393 (GLIBC_2.17): Likewise.
3394 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3395
3396 2012-09-25 Alan Modra <amodra@gmail.com>
3397
3398 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3399 Add release barrier before setting once_control to say
3400 initialisation is done. Add hints on lwarx. Use macro in
3401 place of isync.
3402 (clear_once_control): Add release barrier.
3403
3404 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #13629]
3407 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3408 specially.
3409 * math/s_clog10.c (__clog10): Likewise.
3410 * math/s_clog10f.c (__clog10f): Likewise.
3411 * math/s_clog10l.c (__clog10l): Likewise.
3412 * math/s_clogf.c (__clogf): Likewise.
3413 * math/s_clogl.c (__clogl): Likewise.
3414 * math/Makefile (libm-calls): Add x2y2m1.
3415 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3416 (__x2y2m1): Likewise.
3417 (__x2y2m1l): Likewise.
3418 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3419 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3422 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3423 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3424 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3425 * sysdeps/i386/fpu/libm-test-ulps: Update.
3426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427
3428 [BZ #14621]
3429 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3430 int as type of variable DEPTH.
3431 (glob): Use size_t instead of int as type of variables NEWCOUNT
3432 and OLD_PATHC.
3433
3434 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3435
3436 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3437 Add s_sincosf-sse2.
3438 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3439 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3440 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3441 macros for using routine as __sincosf_ia32.
3442 Use macro for function declaration and weak_alias.
3443 * sysdeps/i386/fpu/libm-test-ulps: Update.
3444
3445 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3447
3448 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3449 subnormal argument.
3450 * math/s_cexpf.c (__cexpf): Likewise.
3451 * math/s_csinf.c (__csinf): Likewise.
3452 * math/s_csinhf.c (__csinhf): Likewise.
3453 * math/s_ctanf.c (__ctanf): Likewise.
3454 * math/s_ctanhf.c (__ctanhf): Likewise.
3455 * math/s_ccosh.c (__ccoshf): Likewise.
3456 * math/s_cexp.c (__cexpl): Likewise.
3457 * math/s_csin.c (__csin): Likewise.
3458 * math/s_csinh.c (__csinh): Likewise.
3459 * math/s_ctan.c (__ctan): Likewise.
3460 * math/s_ctanh.c (ctanh): Likewise.
3461 * math/s_ccoshl.c (__ccoshl): Likewise.
3462 * math/s_cexpl.c (__cexpl): Likewise.
3463 * math/s_csinl.c (__csinl): Likewise.
3464 * math/s_csinhl.c (__csinhl): Likewise.
3465 * math/s_ctanl.c (__ctanl): Likewise.
3466 * math/s_ctanhl.c (__ctanhl): Likewise.
3467
3468 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3469
3470 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3471 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3472 (_IO_off_t): Define to __off_t, not _G_off_t.
3473 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3474 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3475 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3476 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3477 type of __dummy and __dummy2 fields.
3478 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3479 (_G_ssize_t): Likewise.
3480 (_G_off_t): Likewise.
3481 (_G_pid_t): Likewise.
3482 (_G_uid_t): Likewise.
3483 (_G_wchar_t): Likewise.
3484 (_G_wint_t): Likewise.
3485 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3486 (_G_ssize_t): Likewise.
3487 (_G_off_t): Likewise.
3488 (_G_pid_t): Likewise.
3489 (_G_uid_t): Likewise.
3490 (_G_wchar_t): Likewise.
3491 (_G_wint_t): Likewise.
3492 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3493 (_G_ssize_t): Likewise.
3494 (_G_off_t): Likewise.
3495 (_G_pid_t): Likewise.
3496 (_G_uid_t): Likewise.
3497 (_G_wchar_t): Likewise.
3498 (_G_wint_t): Likewise.
3499
3500 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3501
3502 * malloc/arena.c: Include malloc-sysdep.h.
3503 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3504 is sufficient to shrink the heap or an unmap is needed.
3505 * sysdeps/generic/malloc-sysdep.h: New file. Define
3506 new function check_may_shrink_heap.
3507 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3508 new function check_may_shrink_heap.
3509
3510 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3511
3512 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3513 comments.
3514
3515 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3516
3517 * catgets/test-gencat.sh: Add "set -e".
3518 * elf/tst-pathopt.sh: Likewise.
3519 * grp/tst_fgetgrent.sh: Likewise.
3520 * iconvdata/run-iconv-test.sh: Likewise.
3521 * intl/tst-gettext.sh: Likewise.
3522 * intl/tst-gettext2.sh: Likewise.
3523 * intl/tst-gettext4.sh: Likewise.
3524 * intl/tst-gettext6.sh: Likewise.
3525 * intl/tst-translit.sh: Likewise.
3526 * io/ftwtest-sh: Likewise.
3527 * libio/test-freopen.sh: Likewise.
3528 * malloc/tst-mtrace.sh: Likewise.
3529 * posix/globtest.sh: Likewise.
3530 * posix/tst-getconf.sh: Likewise.
3531 * posix/wordexp-tst.sh: Likewise.
3532 * stdio-common/tst-printf.sh: Likewise.
3533 * stdio-common/tst-unbputc.sh: Likewise.
3534 * stdlib/tst-fmtmsg.sh: Likewise.
3535 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3536 * catgets/Makefile: Do not specify -e option when running
3537 testsuite shell scripts.
3538 * elf/Makefile: Likewise.
3539 * grp/Makefile: Likewise.
3540 * iconvdata/Makefile: Likewise.
3541 * intl/Makefile: Likewise.
3542 * io/Makefile: Likewise.
3543 * libio/Makefile: Likewise.
3544 * malloc/Makefile: Likewise.
3545 * posix/Makefile: Likewise.
3546 * stdio-common/Makefile: Likewise.
3547 * stdlib/Makefile: Likewise.
3548 * sysdeps/x86_64/Makefile: Likewise.
3549
3550 * io/ftwtest-sh: Add copyright header.
3551 * posix/globtest.sh: Likewise.
3552 * posix/tst-getconf.sh: Likewise.
3553 * posix/wordexp-tst.sh: Likewise.
3554 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3555
3556 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3557
3558 [BZ #13679]
3559 * Makeconfig (+link): Defined as $(+link-static) if
3560 $(build-shared) isn't yes.
3561 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3562 isn't yes.
3563 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3564
3565 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3566
3567 [BZ #14562]
3568 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3569 new chunk size with MALLOC_ALIGN_MASK.
3570
3571 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3572
3573 [BZ #5044]
3574 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3575 <rounding-mode.h>.
3576 (__printf_fphex): Determine rounding using get_rounding_mode and
3577 round_away.
3578 * stdio-common/tst-printf-round.c (struct hex_test): New
3579 structure.
3580 (hex_tests): New variable.
3581 (test_hex_in_one_mode): New function.
3582 (do_test): Also run tests for hex float output.
3583
3584 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3585
3586 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3587 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3588 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3589 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3590 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3591 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3592 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3593 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3594
3595 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3596
3597 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3598 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3599 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3600 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3601
3602 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3603
3604 [BZ #14579]
3605 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3606 mode only.
3607 * elf/tst-rtld-load-self.sh: New test.
3608 * elf/Makefile: Run it.
3609
3610 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3611
3612 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3613 (tst-writev-ENV): Remove.
3614 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3615
3616 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3617
3618 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3619
3620 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3621
3622 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3623 unconditional.
3624 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3625 Likewise.
3626 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3627 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3628 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3629 Likewise.
3630
3631 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 [BZ #14587]
3634 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3635 * config.make.in (have-cpp-asm-debuginfo): Removed.
3636 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3637 * configure: Regenerated.
3638
3639 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3640
3641 [BZ #5044]
3642 * stdio-common/printf_fp.c: Include <stdbool.h> and
3643 <rounding-mode.h>.
3644 (___printf_fp): Determine rounding using get_rounding_mode and
3645 round_away.
3646 * stdio-common/tst-printf-round.c: New file.
3647 * stdio-common/Makefile (tests): Add tst-printf-round.
3648 (link-libm): New variable.
3649 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3650
3651 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 [BZ #14576]
3654 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3655 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3656 Likewise.
3657 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3658 Likewise.
3659
3660 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3661
3662 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3663 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3664 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3665 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3666
3667 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3668
3669 [BZ #14518]
3670 * include/rounding-mode.h: New file.
3671 * sysdeps/generic/get-rounding-mode.h: Likewise.
3672 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3673 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3674 (MAX_VALUE): New macro.
3675 (MIN_VALUE): Likewise.
3676 (overflow_value): New function.
3677 (underflow_value): Likewise.
3678 (round_and_return): Use overflow_value and underflow_value to
3679 determine return values in overflow and underflow cases. Use
3680 round_away to determine rounding depending on rounding mode.
3681 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3682 determine return values in overflow and underflow cases.
3683 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3684 (struct test_results): New structure.
3685 (struct test): Use struct test_results to store expected results
3686 for all rounding modes.
3687 (TEST): Include expected results for all rounding modes.
3688 (test_in_one_mode): New function.
3689 (do_test): Use test_in_one_mode to compute and check results.
3690 Check results for all rounding modes.
3691 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3692 $(link-libm).
3693
3694 2012-12-09 Allan McRae <allan@archlinux.org>
3695
3696 * sysdeps/i386/fpu/libm-test-ulps: Update
3697
3698 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3699
3700 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3701 (_G_int32_t): Likewise.
3702 (_G_uint16_t): Likewise.
3703 (_G_uint32_t): Likewise.
3704 (_G_HAVE_BOOL): Likewise.
3705 (_G_HAVE_ATEXIT): Likewise.
3706 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3707 (_G_HAVE_IO_FILE_OPEN): Likewise.
3708 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3709 (_G_int32_t): Likewise.
3710 (_G_uint16_t): Likewise.
3711 (_G_uint32_t): Likewise.
3712 (_G_HAVE_BOOL): Likewise.
3713 (_G_HAVE_ATEXIT): Likewise.
3714 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3715 (_G_HAVE_IO_FILE_OPEN): Likewise.
3716 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3717 (_G_int32_t): Likewise.
3718 (_G_uint16_t): Likewise.
3719 (_G_uint32_t): Likewise.
3720 (_G_HAVE_BOOL): Likewise.
3721 (_G_HAVE_ATEXIT): Likewise.
3722 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3723 (_G_HAVE_IO_FILE_OPEN): Likewise.
3724
3725 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * csu/libc-tls.c: Update copyright years.
3728
3729 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3730
3731 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3732 [!_G_USING_THUNKS]: Remove conditional code.
3733 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3734 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3735
3736 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3737 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3738 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3739 (_G_VTABLE_LABEL_PREFIX): Likewise.
3740 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3741 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3742 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3743 (_G_VTABLE_LABEL_PREFIX): Likewise.
3744 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3745 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3746 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3747 (_G_VTABLE_LABEL_PREFIX): Likewise.
3748 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3749
3750 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * libio/Makefile: Include ../Makeconfig before tests.
3753 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3754 only if $(build-shared) is yes.
3755
3756 * iconv/gconv_db.c: Update copyright years.
3757
3758 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3759
3760 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3761 unwind info if defined PIC. Fix special cases description.
3762 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3763
3764 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3765 DP_HI_MASK entry.
3766 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3767
3768 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3769
3770 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3771
3772 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3773 is NULL.
3774
3775 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3776 (LDLIBS-tst-chk4): This.
3777 (LDFLAGS-tst-chk5): Renamed to ...
3778 (LDLIBS-tst-chk5): This.
3779 (LDFLAGS-tst-chk6): Renamed to ...
3780 (LDLIBS-tst-chk6): This.
3781 (LDFLAGS-tst-lfschk4): Renamed to ...
3782 (LDLIBS-tst-lfschk4): This.
3783 (LDFLAGS-tst-lfschk5): Renamed to ...
3784 (LDLIBS-tst-lfschk5): This.
3785 (LDFLAGS-tst-lfschk6): Renamed to ...
3786 (LDLIBS-tst-lfschk6): This.
3787
3788 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3789 on $(common-objpfx)soversions.mk.
3790
3791 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3792
3793 [BZ #10014]
3794 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3795 example host name.
3796
3797 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 * malloc/arena.c (arena_get_retry): New function that gets
3800 another arena for the caller to try its request on.
3801 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3802 current arena cannot fulfill the request.
3803 (__libc_memalign): Likewise.
3804 (__libc_memalign): Likewise.
3805 (__libc_pvalloc): Likewise.
3806 (__libc_calloc): Likewise.
3807
3808 2012-09-05 John Tobey <john.tobey@gmail.com>
3809
3810 [BZ #13542]
3811 * manual/arith.texi (Operations on Complex): Fix description
3812 of carg branch cut.
3813
3814 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3815
3816 [BZ #10014]
3817 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3818 host name.
3819
3820 [BZ #10038]
3821 * manual/memory.texi (Memory): Make order of menu items match
3822 order of sections.
3823
3824 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3825
3826 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3827 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3828 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3829
3830 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3831
3832 * csu/libc-tls.c (static_dtv): Renamed to ...
3833 (_dl_static_dtv): This. Make it global.
3834 (_dl_initial_dtv): Removed.
3835 (__libc_setup_tls): Updated.
3836 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3837 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3838 DL_INITIAL_DTV.
3839
3840 2012-09-06 Petr Machata <pmachata@redhat.com>
3841
3842 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3843 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3844 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3845 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3846
3847 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3848
3849 [BZ #14545]
3850 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3851 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3852 freeing dtv[-1].
3853
3854 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 [BZ #14544]
3857 * Makeconfig (link-static-before-libc): Replace $(+prector)
3858 with $(+prectorT).
3859 (link-static-after-libc): Replace $(+postctor) with
3860 $(+postctorT).
3861 (link-bounded): Replace $(+prector)/$(+postctor) with
3862 $(+prectorT)/$(+postctorT).
3863 (+prectorT): New macro.
3864 (+postctorT): Likewise.
3865
3866 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3867
3868 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3869 (round_str): Handle values above the maximum for IBM long double
3870 as inexact.
3871 * stdlib/tst-strtod-round.c (tests): Regenerated.
3872
3873 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3874
3875 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3876 assembler flag.
3877 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3878 zarch_nohighgprs around the zarch optimized routines.
3879 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3880 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3881 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3882 for zarch.
3883
3884 2012-09-05 David S. Miller <davem@davemloft.net>
3885
3886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3887
3888 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3889 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3890 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3891 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3892 entries.
3893
3894 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3895
3896 * malloc/arena.c: Fold copyright years.
3897 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3898
3899 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3900
3901 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3902
3903 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3904
3905 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3906
3907 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3908
3909 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3910 change internal state upon failure.
3911
3912 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3913
3914 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3915 * malloc/memusage.c (mmap): Likewise.
3916 (mmap64, mremap): Likewise. Adjust name in comment.
3917
3918 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
3920 * libio/fileops.c: Fix typos in comments.
3921 * libio/oldfileops.c: Likewise.
3922 * libio/wfileops.c: Likewise.
3923
3924 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3925
3926 [BZ #1349]
3927 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3928 (tst-malloc-usable-ENV): Set environment for test case.
3929 * malloc/hooks.c (malloc_check_get_size): New function to get
3930 requested size.
3931 * malloc/malloc.c (musable): Use malloc_check_get_size.
3932 * malloc/tst-malloc-usable.c: New test case.
3933
3934 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3935
3936 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3937
3938 2012-09-05 Allan McRae <allan@archlinux.org>
3939
3940 [BZ #13966]
3941 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3942 determine header location.
3943 * configure: Regenerated.
3944
3945 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3946
3947 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3948 float format.
3949 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3950 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3951 format.
3952 (test): Regenerate.
3953
3954 2012-09-04 David S. Miller <davem@davemloft.net>
3955
3956 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3957 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3958 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3959
3960 2012-09-04 Florian Weimer <fweimer@redhat.com>
3961
3962 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3963 failures.
3964
3965 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3966
3967 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3968
3969 [BZ #9914]
3970 * libio/iogetdelim.c: Include <limits.h>.
3971 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3972 + len + 1 would overflow.
3973
3974 2012-09-03 Andreas Jaeger <aj@suse.de>
3975
3976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3977 * sysdeps/i386/fpu/libm-test-ulps: Update.
3978
3979 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3980
3981 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3982 Add s_sinf-sse2, s_conf-sse2.
3983
3984 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3985 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3986 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3987 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3988
3989 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3990 for using routine as __sinf_ia32.
3991 Use macro for function declaration and weak_alias.
3992 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3993 for using routine as __cosf_ia32.
3994 Use macro for function declaration and weak_alias.
3995
3996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3997 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3998
3999 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4000 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4002
4003 * math/libm-test.inc (cos_test): Add more test cases.
4004 (sin_test): Likewise.
4005 (sincos_test): Likewise.
4006
4007 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4008
4009 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4010 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4011 hidden.
4012 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4013
4014 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4015
4016 [BZ #14538]
4017 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4018 first element of the GOT.
4019 (elf_machine_load_address): Return the difference between
4020 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4021
4022 2012-09-01 Allan McRae <allan@archlinux.org>
4023
4024 [BZ #13412]
4025 * configure.in (AWK): Require gawk version 3.0 or later.
4026 * configure: Regenerated.
4027
4028 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4029
4030 * sysdeps/unix/sysv/linux/kernel-features.h
4031 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4033 [__NR_clock_getres]: Make code unconditional.
4034 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4035 (clock_getcpuclockid): Remove code left unreachable by removal of
4036 conditionals.
4037 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4038 code unconditional.
4039 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4040 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4041 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4042 Make code unconditional.
4043 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4044 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4045 * sysdeps/unix/sysv/linux/clock_settime.c
4046 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4047 conditional code.
4048 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4049 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4050
4051 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 [BZ #14476]
4054 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4055 scripts/test-installation.pl.
4056
4057 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4058 and $ld_so_version if it is set.
4059
4060 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4061
4062 [BZ #14516]
4063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4064 failure if reading from procfs failed.
4065 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4066
4067 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4068
4069 * sysdeps/unix/sysv/linux/kernel-features.h
4070 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4071 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4072 Remove conditional code.
4073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4074 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4075 Remove conditional code.
4076 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4077 * sysdeps/unix/sysv/linux/i386/fxstat.c
4078 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4080 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4081 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4083 * sysdeps/unix/sysv/linux/i386/lxstat.c
4084 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4086 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4087 Remove conditional code.
4088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4089 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4090 Remove conditional code.
4091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4093 <kernel-features.h>.
4094 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4095 Remove.
4096 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4097 Remove conditional code.
4098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4099 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4100 Remove conditional.
4101
4102 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4103
4104 [BZ #5400]
4105 * NEWS: Add fixed bug number.
4106
4107 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4108
4109 [BZ #14519]
4110 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4111 underflowing exponent in case of negative sign.
4112 * stdlib/tst-strtod-round-data: Add more tests.
4113 * stdlib/tst-strtod-round.c (tests): Regenerated.
4114
4115 [BZ #3479]
4116 * stdlib/strtod_l.c (NDIG): Remove.
4117 (HEXNDIG): Likewise.
4118 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4119 smallest representable value.
4120 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4121 lie within an exact representation of 1/2 ulp of the result.
4122 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4123 unconditionally.
4124 (TENS_P9_IDX): Define unconditionally.
4125 (TENS_P9_SIZE): Likewise.
4126 (TENS_P10_IDX): Likewise.
4127 (TENS_P10_SIZE): Likewise.
4128 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4129 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4130 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4131 entries for 10^2^13 and 10^2^14.
4132 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4133 (TENS_P13_IDX): Define.
4134 (TENS_P13_SIZE): Likewise.
4135 (TENS_P14_IDX): Likewise.
4136 (TENS_P14_SIZE): Likewise.
4137 (_fpioconst_pow10): Change array size to
4138 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4139 unconditional.
4140 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4141 1024]: Add entries for 10^2^13 and 10^2^14.
4142 [LAST_POW10 > _LAST_POW10]: Remove #error.
4143 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4144 (_fpioconst_pow10): Change array size to
4145 FPIOCONST_POW10_ARRAY_SIZE.
4146 * stdlib/gen-fpioconst.c: New file.
4147 * stdlib/gen-tst-strtod-round.c: Likewise.
4148 * stdlib/tst-strtod-round-data: Likewise.
4149 * stdlib/tst-strtod-round.c: Likewise.
4150 * stdlib/Makefile (tests): Add tst-strtod-round.
4151
4152 [BZ #14459]
4153 * stdlib/strtod_l.c: Include <stdint.h>.
4154 (NDEBUG): Do not define.
4155 (round_and_return): Change EXPONENT parameter to type intmax_t.
4156 Rearrange calculations to avoid internal overflow possibilities.
4157 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4158 Rearrange calculations to avoid internal overflow possibilities.
4159 Assert that number fits inside MPNSIZE limbs.
4160 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4161 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4162 calculations and add assertions to avoid internal overflow
4163 possibilities. Add casts to avoid signed/unsigned operations.
4164 * stdlib/tst-strtod-overflow.c: New file.
4165 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4166
4167 2012-08-25 Marek Polacek <polacek@redhat.com>
4168
4169 * time/time.h: Fix some typos in comments.
4170
4171 2012-08-23 Roland McGrath <roland@hack.frob.com>
4172
4173 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4174 * posix/tst-rfc3484-2.c: Likewise.
4175 * posix/tst-rfc3484-3.c: Likewise.
4176
4177 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4178
4179 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4180 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4181
4182 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4183
4184 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4185 #include of fxstatat64.c.
4186
4187 2012-08-22 Roland McGrath <roland@hack.frob.com>
4188
4189 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4190 * shadow/getspent_r.c: Likewise.
4191 * shadow/getspnam.c: Likewise.
4192 * shadow/getspnam_r.c: Likewise.
4193 * gshadow/getsgent.c: Likewise.
4194 * gshadow/getsgent_r.c: Likewise.
4195 * gshadow/getsgnam.c: Likewise.
4196 * gshadow/getsgnam_r.c: Likewise.
4197 * inet/getnetbyad.c: Likewise.
4198 * inet/getnetbyad_r.c: Likewise.
4199 * inet/getnetbynm.c: Likewise.
4200 * inet/getnetbynm_r.c: Likewise.
4201 * inet/getnetent.c: Likewise.
4202 * inet/getnetent_r.c: Likewise.
4203 * inet/getproto.c: Likewise.
4204 * inet/getproto_r.c: Likewise.
4205 * inet/getprtent.c: Likewise.
4206 * inet/getprtent_r.c: Likewise.
4207 * inet/getprtname.c: Likewise.
4208 * inet/getprtname_r.c: Likewise.
4209 * inet/getrpcbyname.c: Likewise.
4210 * inet/getrpcbyname_r.c: Likewise.
4211 * inet/getrpcbynumber.c: Likewise.
4212 * inet/getrpcbynumber_r.c: Likewise.
4213 * inet/getrpcent.c: Likewise.
4214 * inet/getrpcent_r.c: Likewise.
4215 * inet/getaliasent.c: Likewise.
4216 * inet/getaliasent_r.c: Likewise.
4217 * inet/getaliasname.c: Likewise.
4218 * inet/getaliasname_r.c: Likewise.
4219 * nscd/getgrgid_r.c: Likewise.
4220 * nscd/getgrnam_r.c: Likewise.
4221 * nscd/gethstbyad_r.c: Likewise.
4222 * nscd/gethstbynm3_r.c: Likewise.
4223 * nscd/getpwnam_r.c: Likewise.
4224 * nscd/getpwuid_r.c: Likewise.
4225 * nscd/getsrvbynm_r.c: Likewise.
4226 * nscd/getsrvbypt_r.c: Likewise.
4227 * nscd/gai.c: Likewise.
4228
4229 * configure.in (build_nscd): New substituted variable, set
4230 by --disable-build-nscd and defaults to $use_nscd.
4231 * configure: Regenerated.
4232 * config.make.in (build-nscd): New substituted variable.
4233 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4234 Change conditional to require [$(build-nscd) = yes] as well.
4235 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4236
4237 [BZ# 13696]
4238 * configure.in (use_nscd): New substituted variable, set by
4239 --disable-nscd. If enabled, define USE_NSCD.
4240 * configure: Regenerated.
4241 * config.h.in: Add USE_NSCD.
4242 * config.make.in (use-nscd): New substituted variable.
4243 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4244 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4245 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4246 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4247 (CFLAGS-getgrnam_r.c): Likewise.
4248 (CFLAGS-initgroups.c): Likewise.
4249 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4250 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4251 Variables removed.
4252 * inet/getnetgrent_r.c
4253 (nscd_setnetgrent): New function, broken out of ...
4254 (setnetgrent): ... here. Call it.
4255 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4256 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4257 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4258 * nscd/Makefile (routines, aux): Move definitions after include of
4259 Makeconfig. Conditionalize on [$(use-nscd) != no].
4260 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4261 Conditionalize on [USE_NSCD].
4262 (is_nscd, nscd_init_cb): Likewise.
4263 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4264 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4265 * nss/nss_db/db-init.c: Likewise.
4266 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4267 [USE_NSCD].
4268 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4269 (make_request): Use it.
4270 (cache_valid_p): New function.
4271 (__check_pf): Use it.
4272 * NEWS: Add item for --disable-nscd.
4273
4274 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4275
4276 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4277 to support sed >= 4.2.1-20-ga9bf076.
4278 * configure: Regenerated.
4279
4280 2012-08-22 Roland McGrath <roland@hack.frob.com>
4281
4282 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4283 Conditionalize whole body on [IREL].
4284
4285 2012-08-22 Jeff Law <law@redhat.com>
4286
4287 [BZ #14505]
4288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4289 if the family is PF_UNSPEC.
4290
4291 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4292
4293 * Makerules (lib-version): Rename from V.
4294 (install-lib-nosubdir): Change V to lib-version.
4295
4296 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4297
4298 [BZ #14252]
4299 * powerpc32/power6/wcschr.c: New file.
4300 * powerpc32/power6/wcscpy.c: New file.
4301 * powerpc32/power6/wcsrchr.c: New file.
4302 * powerpc64/power6/wcschr.c: New file.
4303 * powerpc64/power6/wcscpy.c: New file.
4304 * powerpc64/power6/wcsrchr.c: New file.
4305
4306 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4307
4308 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4309 (two_way_short_needle): Use it.
4310 * string/strstr.c (AVAILABLE1_USES_J): Define.
4311 * string/strcasestr.c: Likewise.
4312
4313 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4314 array references.
4315 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4316
4317 [BZ #11607]
4318 * NEWS: Add an entry.
4319 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4320 define their defaults.
4321 (two_way_short_needle): Detect end-of-string on-the-fly.
4322 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4323 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4324 * string/bug-strcasestr1.c: New test.
4325 * string/Makefile: Run it.
4326
4327 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4328
4329 [BZ #11607]
4330 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4331 the first character.
4332
4333 2012-08-21 Roland McGrath <roland@hack.frob.com>
4334
4335 * csu/elf-init.c (__libc_csu_irel): Function removed.
4336 * csu/libc-start.c (apply_irel): New function.
4337 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4338
4339 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4340
4341 * sysdeps/unix/sysv/linux/kernel-features.h
4342 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4343 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4344 <kernel-features.h>.
4345 [__NR_fadvise64_64]: Make code unconditional.
4346 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4347 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4348 !__NR_fadvise64_64)]: Likewise.
4349 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4350 !__NR_fadvise64_64))]: Likewise.
4351 [__NR_fadvise64]: Make code unconditional.
4352 [!__NR_fadvise64]: Remove conditional code.
4353 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4354 <kernel-features.h>.
4355 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4356 unconditional.
4357 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4358 conditional code.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4360 not include <kernel-features.h>.
4361 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4362 unconditional.
4363 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4364 conditional code.
4365 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4366 include <kernel-features.h>.
4367 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4368 unconditional.
4369 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4370 conditional code.
4371
4372 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4373
4374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4375 slight instruction rearrangements per scrollpipe analysis.
4376 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4377
4378 2012-08-20 Roland McGrath <roland@hack.frob.com>
4379
4380 * manual/syslog.texi (syslog; vsyslog, closelog):
4381 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4382 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4383
4384 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4385 DSOCAPS to match condition on defining it.
4386
4387 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4388
4389 * sysdeps/unix/sysv/linux/kernel-features.h
4390 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4392 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4393 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4395 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4396 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4398 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4399 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4400
4401 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4402 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4403
4404 * sysdeps/unix/sysv/linux/kernel-features.h
4405 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4406 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4407 unconditional.
4408 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4409 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4412 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4413 Make code unconditional.
4414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4415 (__mmap64) [!__NR_mmap2]: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4417 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4418 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4419 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4420 [__NR_mmap2]: Make code unconditional.
4421 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4422 (__mmap64) [!__NR_mmap2]: Likewise.
4423
4424 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4425
4426 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4427
4428 2012-08-18 Andreas Jaeger <aj@suse.de>
4429
4430 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4431
4432 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4433
4434 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4435 * include/unistd.h (__have_sock_cloexec): Likewise.
4436 (__have_pipe2): Likewise.
4437 (__have_dup3): Likewise.
4438
4439 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4440
4441 [BZ #9685]
4442 * include/unistd.h (__have_pipe2): Change define into an extern int.
4443 (__have_dup3): Likewise.
4444 * socket/have_sock_cloexec.c: Include fcntl.h.
4445 (__have_pipe2): New variable.
4446 (__have_dup3): Likewise.
4447
4448 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4449
4450 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4451
4452 2012-08-17 Marek Polacek <polacek@redhat.com>
4453
4454 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4455 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4456
4457 2012-08-17 Roland McGrath <roland@hack.frob.com>
4458
4459 * configure.in: Add AC_SUBST for sysheaders.
4460 * configure: Regenerated.
4461 * config.make.in (sysheaders): New substituted variable.
4462
4463 * sysdeps/unix/mkfifo.c: Moved ...
4464 * sysdeps/posix/mkfifo.c: ... here.
4465 * sysdeps/unix/mkfifoat.c: Moved ...
4466 * sysdeps/posix/mkfifoat.c: ... here.
4467
4468 * sysdeps/unix/utime.c: Moved ...
4469 * sysdeps/posix/utime.c: ... here.
4470
4471 * sysdeps/unix/time.c: Moved ...
4472 * sysdeps/posix/time.c: ... here.
4473 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4474 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4475
4476 * sysdeps/unix/nice.c: Moved ...
4477 * sysdeps/posix/nice.c: ... here.
4478
4479 * sysdeps/unix/alarm.c: Moved ...
4480 * sysdeps/posix/alarm.c: ... here.
4481
4482 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4483
4484 2012-08-17 Jeff Law <law@redhat.com>
4485
4486 * intl/Makefile (codeset_mo): New variable.
4487 ($(codeset_mo)): New target.
4488 (tst-codeset.out): Depend on that. Remove explicit rule.
4489 (tst-gettext3.out, tst-gettext5.out): Likewise.
4490 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4491 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4492 * intl/tst-codeset.sh: Remove.
4493 * intl/tst-gettext3.sh: Likewise.
4494 * intl/tst-gettext5.sh: Likewise.
4495
4496 2012-08-17 Roland McGrath <roland@hack.frob.com>
4497
4498 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4499 * sysdeps/unix/syscalls.list: ... here.
4500
4501 * sysdeps/posix/getaddrinfo.c
4502 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4503 (gaiconf_init, gaiconf_reload): Use them.
4504 [!_STATBUF_ST_NSEC]
4505 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4506 Define using time_t rather than struct timespec.
4507
4508 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4509 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4510 Macros removed.
4511 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4512 [!NO_THREADS].
4513 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4514 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4515 Likewise.
4516
4517 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4518 __libc_cleanup_push argument.
4519
4520 * bits/param.h: New file.
4521 * misc/sys/param.h: New file.
4522 * include/sys/param.h: New file.
4523 * misc/Makefile (headers): Add bits/param.h.
4524 * sysdeps/generic/sys/param.h: File removed.
4525 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4526 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4527 * sysdeps/mach/hurd/bits/param.h: New file.
4528 * sysdeps/mach/hurd/sys/param.h: File removed.
4529
4530 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4531 last change.
4532
4533 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4534 [_IO_MTSAFE_IO].
4535 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4536 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4537 New macros.
4538
4539 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4540 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4541 rather than -D_IO_MTSAFE_IO conditionally.
4542 * stdio-common/Makefile (CPPFLAGS): Likewise.
4543 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4544 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4545 Use $(libio-mtsafe).
4546 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4547 of -D_IO_MTSAFE_IO.
4548 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4549 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4550 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4551 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4552 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4553 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4554 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4555 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4556 (CFLAGS-fread_u_chk.c): Likewise.
4557 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4558 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4559 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4560 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4561 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4562 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4563 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4564 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4565 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4566
4567 * libio/Makefile: Test [$(libc-reentrant) = yes]
4568 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4569
4570 * Makeconfig
4571 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4572 * sysdeps/pthread/configure: File removed.
4573 * sysdeps/pthread/Makeconfig: New file.
4574 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4575 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4576
4577 2012-08-16 Gary Benson <gbenson@redhat.com>
4578
4579 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4580 unmapping the first object in a namespace.
4581
4582 2012-08-16 Roland McGrath <roland@hack.frob.com>
4583
4584 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4585 (__internal_setnetgrent): ... this. Add internal_function to
4586 definition. Add libc_hidden_def.
4587 (setnetgrent): Update caller.
4588 (internal_endnetgrent): Renamed to ...
4589 (__internal_endnetgrent): ... this. Add internal_function to
4590 definition. Add libc_hidden_def.
4591 (endnetgrent): Update caller.
4592 (internal_getnetgrent_r): Renamed to ...
4593 (__internal_getnetgrent_r): ... this. Add internal_function to
4594 definition. Add libc_hidden_def.
4595 (__getnetgrent_r): Update caller.
4596 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4597
4598 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4599
4600 * stdlib/longlong.h: Update from GCC.
4601
4602 2012-08-16 Roland McGrath <roland@hack.frob.com>
4603
4604 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4605 on _QL, which is set by umul_ppmm but never used.
4606 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4607 variables, which are set by GMP macros but never used.
4608 * stdio-common/_itowa.c (_itowa): Likewise.
4609 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4610 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4611
4612 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4613
4614 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4615 struct La_sh_regs is not constant.
4616 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4617 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4618 and struct La_sparc64_regs are not constant.
4619
4620 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4621
4622 * sysdeps/unix/sysv/linux/kernel-features.h
4623 (__ASSUME_POSIX_TIMERS): Remove.
4624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4625 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4626 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4627 Make code unconditional.
4628 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4629 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4630 Make code unconditional.
4631 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4632 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4633 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4634 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4635 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4636 Make code unconditional.
4637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4638 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4639 (__libc_missing_posix_timers): Remove.
4640
4641 2012-08-15 Roland McGrath <roland@hack.frob.com>
4642
4643 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4644 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4645
4646 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4647
4648 * elf/dl-sym.c: Include <stdlib.h>.
4649
4650 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4651 constants, which avoids warnings in 32-bit builds.
4652
4653 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4654 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4655
4656 * misc/lseek.c: File moved to ...
4657 * io/lseek.c: ... here.
4658
4659 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4660
4661 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4662 shifting LEN more than 31 bits at once.
4663
4664 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4665
4666 [BZ #14195]
4667 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4668 segmentation fault for a case of two empty input strings.
4669 * string/test-strncasecmp.c (check1): Renamed to...
4670 (bz12205): ...this.
4671 (bz14195): Add new testcase for two empty input strings and N > 0.
4672 (test_main): Call new testcase, adapt for renamed function.
4673
4674 2012-08-15 Andreas Jaeger <aj@suse.de>
4675
4676 [BZ #14090]
4677 * crypt/md5test2.c: New test, based on test supplied by Serge
4678 Belyshev <belyshev@depni.sinp.msu.ru>.
4679 * crypt/Makefile (xtests): Add md5test-giant..
4680 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4681
4682 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4683
4684 [BZ #14090]
4685 * crypt/md5.c (md5_process_block): Don't assume the buffer
4686 length is less than 2**32.
4687 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4688 length is less than 2**64.
4689
4690 2012-08-15 Roland McGrath <roland@hack.frob.com>
4691
4692 * string/str-two-way.h: Include <sys/param.h>.
4693 (MAX): Macro removed.
4694
4695 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4696 Move #define and #undef of memmove to just before and after
4697 including <string.h>.
4698
4699 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4700 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4701 and after including <string.h>. Move declarations of
4702 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4703 to before #include "string/memmove.c".
4704
4705 * include/dirent.h: Declare __getdirentries.
4706
4707 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4708 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4709
4710 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4711
4712 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4713 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4714 * sysdeps/i386/configure: Regenerated.
4715 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4716 STABS_CURRENT_FILE, and STABS_FUN.
4717 (END): Remove call to STABS_FUN_END.
4718 (STABS_CURRENT_FILE1): Delete.
4719 (STABS_CURRENT_FILE): Likewise.
4720 (STABS_FUN): Likewise.
4721 (STABS_FUN_END): Likewise.
4722 (STABS_FUN2): Likewise.
4723 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4724 * sysdeps/x86_64/configure: Regenerated.
4725
4726 2012-08-14 Roland McGrath <roland@hack.frob.com>
4727
4728 * elf/dl-open.c: Include <atomic.h>.
4729 * elf/dl-lookup.c: Likewise.
4730
4731 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4732
4733 * sysdeps/unix/sysv/linux/kernel-features.h
4734 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4735 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4736 unconditionally.
4737 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4738 unconditionally.
4739 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4740 condition on __ASSUME_CLONE_THREAD_FLAGS.
4741
4742 2012-08-14 Andreas Jaeger <aj@suse.de>
4743
4744 * sysdeps/i386/fpu/libm-test-ulps: Update.
4745
4746 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4747
4748 * include/atomic.h (atomic_exchange_and_add): Split into ...
4749 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4750 New atomic macros.
4751
4752 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4753
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4755
4756 2012-08-13 Jeff Law <law@redhat.com>
4757
4758 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4759 null byte in the output string.
4760
4761 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4762
4763 * sysdeps/unix/sysv/linux/kernel-features.h
4764 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4765 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4766 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4767 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4768 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4769 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4770 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4771
4772 2012-08-09 Jeff Law <law@redhat.com>
4773
4774 [BZ #13939]
4775 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4776 When avoid_arena is set, don't retry in the that arena. Pick the
4777 next one, whatever it might be.
4778 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4779 (arena_lock): Pass in new parameter to arena_get2.
4780 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4781 arena_get2.
4782 (__libc_malloc): Unify retrying after main arena failure with
4783 __libc_memalign version.
4784 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4785
4786 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4787
4788 [BZ #14166]
4789 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4790 to __redirect_strstr.
4791 (__strstr_sse42): Use typeof __redirect_strstr.
4792 (__strstr_ia32): Likewise.
4793 (__libc_strstr): New prototype.
4794 (strstr): Renamed to ...
4795 (__libc_strstr): This.
4796 (strstr): New strong alias of __libc_strstr.
4797 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4798 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4799 __redirect_time.
4800 Include <time.h>.
4801 (__libc_time): New prototype.
4802 (time_ifunc): Replace time with __libc_time.
4803 (time): New strong alias and hidden definition of __libc_time.
4804 (__GI_time): Remove strong alias.
4805 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4806 Include <stddef.h>.
4807 (memmove): Redefined to __redirect_memmove.
4808 (__memmove_sse2): Use typeof __redirect_memmove.
4809 (__memmove_ssse3): Likewise.
4810 (__memmove_ssse3_back): Likewise.
4811 (__libc_memmove): New prototype.
4812 (memmove): Renamed to ...
4813 (__libc_memmove): This.
4814 (memmove): New strong alias of __libc_memmove.
4815
4816 2012-08-08 Mark Salter <msalter@redhat.com>
4817
4818 * elf/elf.h
4819 (R_MN10300_TLS_GD): Define.
4820 (R_MN10300_TLS_LD): Likewise.
4821 (R_MN10300_TLS_LDO): Likewise.
4822 (R_MN10300_TLS_GOTIE): Likewise.
4823 (R_MN10300_TLS_IE): Likewise.
4824 (R_MN10300_TLS_LE): Likewise.
4825 (R_MN10300_TLS_DTPMOD): Likewise.
4826 (R_MN10300_TLS_DTPOFF): Likewise.
4827 (R_MN10300_TLS_TPOFF): Likewise.
4828 (R_MN10300_SYM_DIFF): Likewise.
4829 (R_MN10300_ALIGN): Likewise.
4830 (R_MN10300_NUM): Update.
4831
4832 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4833
4834 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4835 Remove.
4836
4837 2012-08-08 Roland McGrath <roland@hack.frob.com>
4838
4839 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4840
4841 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4842 sysdeps/unix -> sysdeps/posix move.
4843 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4844
4845 2012-08-07 Allan McRae <allan@archlinux.org>
4846
4847 [BZ #14303]
4848 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4849 (SUNOS_CPP): Likewise.
4850 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4851 not found.
4852 (open_input): Call CPP using execvp.
4853
4854 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4855
4856 * sysdeps/unix/sysv/linux/kernel-features.h
4857 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4858 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4859 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4860 (__ASSUME_WAITID_SYSCALL): Likewise.
4861 * sysdeps/unix/sysv/linux/dl-execstack.c
4862 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4863 code unconditional.
4864 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4865 conditional code.
4866 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4867 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4868 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4869 code.
4870 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4871 unconditional.
4872 [__ASSUME_WAITID_SYSCALL]: Likewise.
4873 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4874
4875 2012-08-07 Roland McGrath <roland@hack.frob.com>
4876
4877 * sysdeps/unix/closedir.c: Renamed to ...
4878 * sysdeps/posix/closedir.c: ... here.
4879 * sysdeps/unix/dirfd.c: Renamed to ...
4880 * sysdeps/posix/dirfd.c: ... here.
4881 * sysdeps/unix/dirstream.h: Renamed to ...
4882 * sysdeps/posix/dirstream.h: ... here.
4883 * sysdeps/unix/fdopendir.c: Renamed to ...
4884 * sysdeps/posix/fdopendir.c: ... here.
4885 * sysdeps/unix/opendir.c: Renamed to ...
4886 * sysdeps/posix/opendir.c: ... here.
4887 * sysdeps/unix/readdir.c: Renamed to ...
4888 * sysdeps/posix/readdir.c: ... here.
4889 * sysdeps/unix/readdir_r.c: Renamed to ...
4890 * sysdeps/posix/readdir_r.c: ... here.
4891 * sysdeps/unix/rewinddir.c: Renamed to ...
4892 * sysdeps/posix/rewinddir.c: ... here.
4893 * sysdeps/unix/seekdir.c: Renamed to ...
4894 * sysdeps/posix/seekdir.c: ... here.
4895 * sysdeps/unix/telldir.c: Renamed to ...
4896 * sysdeps/posix/telldir.c: ... here.
4897 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4898 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4899 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4900 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4901
4902 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4903 * bits/fcntl.h: ... here.
4904
4905 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4906 not 0.
4907 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4908 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4909 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4910 (struct flock): Move l_start, l_len to the beginning.
4911 Use __pid_t for l_pid.
4912 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4913 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4914 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4915 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4916 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4917 [__USE_LARGEFILE64] (struct flock64): New type.
4918 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4919
4920 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4921 * bits/dirent.h: ... here.
4922
4923 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4924 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4925
4926 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4927
4928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4929 Change from 2.6.0 to 2.6.16.
4930 * sysdeps/unix/sysv/linux/configure: Regenerated.
4931 * sysdeps/unix/sysv/linux/kernel-features.h
4932 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4933 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4934 version.
4935 (__ASSUME_UTIMES): Likewise.
4936 (__ASSUME_CLONE_STOPPED): Remove.
4937 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4938 architectures, not kernel version.
4939 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4940 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4941 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4942 (__ASSUME_WAITID_SYSCALL): Likewise.
4943 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4944 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4945 * README: State 2.6.16 as minimum Linux kernel version. Do not
4946 refer to older versions.
4947
4948 2012-08-06 Roland McGrath <roland@hack.frob.com>
4949
4950 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4951 Define alphasort64 as an alias.
4952 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4953 Define versionsort64 as an alias.
4954 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4955 Define scandir64 as an alias.
4956 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4957 Define scandirat64 as an alias.
4958 * dirent/alphasort64.c (alphasort64):
4959 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4960 * dirent/versionsort64.c: Likewise.
4961 * dirent/scandir64.c: Likewise.
4962 * dirent/scandirat64.c: Likewise.
4963 * sysdeps/wordsize-64/alphasort.c: File removed.
4964 * sysdeps/wordsize-64/alphasort64.c: File removed.
4965 * sysdeps/wordsize-64/scandir.c: File removed.
4966 * sysdeps/wordsize-64/scandir64.c: File removed.
4967 * sysdeps/wordsize-64/scandirat.c: File removed.
4968 * sysdeps/wordsize-64/scandirat64.c: File removed.
4969 * sysdeps/wordsize-64/versionsort.c: File removed.
4970 * sysdeps/wordsize-64/versionsort64.c: File removed.
4971 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4972 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4973 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4974 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4975 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4977 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4978 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4979
4980 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4982 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4984 [defined __arch64__ || defined __sparcv9]
4985 (__INO_T_MATCHES_INO64_T): New macro.
4986 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4987 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4988 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4989 * sysdeps/unix/sysv/linux/bits/dirent.h
4990 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4991 (_DIRENT_MATCHES_DIRENT64): New macro.
4992
4993 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4994 Define lockf64 as an alias.
4995 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4996 Define fseeko64 as an alias.
4997 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4998 Define ftello64 as an alias.
4999 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5000 Define _IO_fgetpos64 and fgetpos64 as aliases.
5001 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5002 Define _IO_fsetpos64 and fsetpos64 as aliases.
5003 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5004 Conditionalize body on this.
5005 * libio/fseeko64.c: Likewise.
5006 * libio/ftello64.c: Likewise.
5007 * libio/iofgetpos64.c: Likewise.
5008 * libio/iofsetpos64.c: Likewise.
5009 * sysdeps/wordsize-64/lockf.c: File removed.
5010 * sysdeps/wordsize-64/lockf64.c: File removed.
5011 * sysdeps/wordsize-64/fseeko.c: File removed.
5012 * sysdeps/wordsize-64/fseeko64.c: File removed.
5013 * sysdeps/wordsize-64/ftello.c: File removed.
5014 * sysdeps/wordsize-64/ftello64.c: File removed.
5015 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5016 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5017 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5018 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5019 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5020 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5021 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5022 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5023 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5024 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5025 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5026 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5027 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5028 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5029
5030 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5032 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5034 [defined __arch64__ || defined __sparcv9]
5035 (__OFF_T_MATCHES_OFF64_T): New macro.
5036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5037 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5039 (__OFF_T_MATCHES_OFF64_T): New macro.
5040
5041 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * stdlib/secure-getenv.c (__secure_getenv): Replace
5044 GLIBC_2_16 with GLIBC_2_17.
5045
5046 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5047
5048 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5049 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5050
5051 2012-08-03 David S. Miller <davem@davemloft.net>
5052
5053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5054
5055 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5056
5057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5058 Remove.
5059 (__ASSUME_CORRECT_SI_PID): Likewise.
5060 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5061 (__ASSUME_TMPFS_NAME): Likewise.
5062 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5063 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5065 (HAVE_AUX_SECURE): Make definition unconditional.
5066 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5067 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5068
5069 2012-08-03 Roland McGrath <roland@hack.frob.com>
5070
5071 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5072 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5073 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5074 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5075 __eloop_threshold instead of SYMLOOP_MAX.
5076
5077 * sysdeps/generic/eloop-threshold.h: New file.
5078 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5079 of MAXSYMLINKS.
5080 * elf/chroot_canon.c (chroot_canon): Likewise.
5081
5082 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5083
5084 [BZ #13717]
5085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5086 Change to 2.6.0 everywhere.
5087 * sysdeps/unix/sysv/linux/configure: Regenerated.
5088 * sysdeps/unix/sysv/linux/kernel-features.h
5089 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5090 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5091 kernel versions.
5092 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5093 (__ASSUME_FUTEX_REQUEUE): Remove.
5094 (__ASSUME_STATFS64): Define unconditionally.
5095 (__ASSUME_AT_SECURE): Likewise.
5096 (__ASSUME_CORRECT_SI_PID): Likewise.
5097 (__ASSUME_TGKILL): Define without depending on kernel version for
5098 i386.
5099 (__ASSUME_UTIMES): Likewise.
5100 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5101 kernel version.
5102 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5103 (__ASSUME_TMPFS_NAME): Likewise.
5104 * README: Update reference to Linux kernel versions.
5105
5106 2012-08-02 Marek Polacek <polacek@redhat.com>
5107
5108 [BZ# 14150]
5109 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5110 libc_cv_asm_type_prefix with %.
5111 * configure: Regenerated.
5112 * include/libc-symbols.h: Remove comment about
5113 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5114 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5115 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5116 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5117 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5118 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5119 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5120 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5121 * elf/tst-unique2mod1.c: Likewise.
5122 * elf/tst-unique1mod2.c: Likewise.
5123 * elf/tst-unique1mod1.c: Likewise.
5124 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5125 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5126 Replace ASM_TYPE_DIRECTIVE with .type.
5127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5128 * sysdeps/i386/sysdep.h: Likewise.
5129 * sysdeps/x86_64/sysdep.h: Likewise.
5130 * sysdeps/sh/sysdep.h: Likewise.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5132 Do not define ASM_TYPE_DIRECTIVE.
5133 * sysdeps/powerpc/sysdep.h: Likewise.
5134 * sysdeps/powerpc/powerpc32/sysdep.h:
5135 Replace ASM_TYPE_DIRECTIVE with .type.
5136 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5137 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5138 * sysdeps/i386/fpu/e_powf.S: Likewise.
5139 * sysdeps/i386/fpu/e_expl.S: Likewise.
5140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5142 * sysdeps/i386/fpu/e_pow.S: Likewise.
5143 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5144 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5145 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5146 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5147 * sysdeps/i386/fpu/e_log2.S: Likewise.
5148 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5149 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5150 * sysdeps/i386/fpu/e_powl.S: Likewise.
5151 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5152 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5153 * sysdeps/i386/fpu/e_logl.S: Likewise.
5154 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5155 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5156 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5157 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5158 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5159 * sysdeps/i386/fpu/e_log.S: Likewise.
5160 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5161 * sysdeps/i386/fpu/e_logf.S: Likewise.
5162 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5164 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5165 * sysdeps/i386/fpu/e_log10.S: Likewise.
5166 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5167 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5168 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5169 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5170 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5171 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5172 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5173 * sysdeps/i386/i686/strtok.S: Likewise.
5174 * sysdeps/i386/i386-mcount.S: Likewise.
5175 * sysdeps/i386/strtok.S: Likewise.
5176 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5177 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5178 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5179 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5180 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5182 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5183 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5185 * sysdeps/x86_64/_mcount.S: Likewise.
5186 * sysdeps/x86_64/strtok.S: Likewise.
5187 * sysdeps/sh/_mcount.S: Likewise.
5188
5189 2012-08-01 Roland McGrath <roland@hack.frob.com>
5190
5191 * libio/iofopen.c: Include <fcntl.h>.
5192 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5193 (_IO_fopen64, fopen64): Define as aliases.
5194 * libio/iofopen64.c: Include <fcntl.h>.
5195 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5196 Conditionalize body on this.
5197 * sysdeps/wordsize-64/iofopen.c: File removed.
5198 * sysdeps/wordsize-64/iofopen64.c: File removed.
5199
5200 2012-08-01 Marek Polacek <polacek@redhat.com>
5201
5202 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5203 Use dlfcn directly instead of a variable.
5204 (binfmt-subdir): Do not define.
5205 (dlfcn): Likewise.
5206
5207 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5208
5209 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5210 Remove all definitions.
5211 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5212 <kernel-features.h>.
5213 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5214 (miss_F_GETOWN_EX): Remove all definitions.
5215 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5216 macro definition.
5217 [!__ASSUME_FCNTL64]: Remove conditional code.
5218 [__ASSUME_FCNTL64]: Make code unconditional.
5219 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5220 <kernel-features.h>.
5221 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5222 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5223 (lockf64) [__NR_fcntl64]: Make code unconditional.
5224 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5225
5226 * sysdeps/unix/sysv/linux/kernel-features.h
5227 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5228 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5229 Make code unconditional.
5230 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5231 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5233 [__NR_vfork]: Make code unconditional.
5234 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5235 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5237 [__NR_vfork]: Make code unconditional.
5238 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5239 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5240
5241 2012-08-01 Roland McGrath <roland@hack.frob.com>
5242
5243 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5244 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5245
5246 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5247 Define mkstemp64 as an alias.
5248 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5249 Define mkstemps64 as an alias.
5250 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5251 Define mkostemp64 as an alias.
5252 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5253 Define mkostemps64 as an alias.
5254 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5255 Conditionalize body on this.
5256 * misc/mkostemp64.c: Likewise.
5257 * misc/mkostemps64.c: Likewise.
5258 * misc/mkstemps64.c: Likewise.
5259 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5260 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5261 * sysdeps/wordsize-64/mkostemp.c: File removed.
5262 * sysdeps/wordsize-64/mkstemp.c: File removed.
5263 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5267
5268 [BZ #14138]
5269 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5270 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5271 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5272 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5273
5274 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5275 compat_symbol macros from <shlib-compat.h> rather than the underlying
5276 default_symbol_version and symbol_version macros, so that DEFAULT
5277 lines in shlib-versions are respected.
5278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5279
5280 2012-08-01 Florian Weimer <fweimer@redhat.com>
5281
5282 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5283 Declare with warn_unused_result.
5284 (setgid, setregid, setegid, setresgid): Likewise.
5285 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5286 Likewise.
5287 * WUR-REPORT: Remove set*id functions.
5288
5289 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5290
5291 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5292
5293 2012-07-31 Roland McGrath <roland@hack.frob.com>
5294
5295 * include/sys/socket.h (__libc_accept, __libc_accept4):
5296 Add attribute_hidden.
5297 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5298
5299 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5300 use of PTR_MANGLE.
5301 * inet/getnetgrent_r.c (setup): Likewise.
5302
5303 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5304
5305 2012-07-31 David S. Miller <davem@davemloft.net>
5306
5307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5308
5309 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5310
5311 [BZ #13629]
5312 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5313 value between 1.0 and 2.0 and smaller part has absolute value less
5314 than 1.0.
5315 * math/s_clog10.c (__clog10): Likewise.
5316 * math/s_clog10f.c (__clog10f): Likewise.
5317 * math/s_clog10l.c (__clog10l): Likewise.
5318 * math/s_clogf.c (__clogf): Likewise.
5319 * math/s_clogl.c (__clogl): Likewise.
5320 * math/libm-test.inc (clog_test): Add more tests.
5321 (clog10_test): Likewise.
5322 * sysdeps/i386/fpu/libm-test-ulps: Update.
5323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5324
5325 2012-07-31 Florian Weimer <fweimer@redhat.com>
5326
5327 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5328 Exit with zero in case no suitable GID is found, and write a
5329 message to standard error.
5330
5331 2012-07-30 Roland McGrath <roland@hack.frob.com>
5332
5333 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5334 rather than to 1.
5335 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5336 (MAXPATHLEN): Removed.
5337 (NOGROUP, NODEV): New macros.
5338 (setbit, clrbit, isset, isclr): New macros.
5339 (howmany, roundup, powerof2): New macros.
5340 (DEV_BSIZE): New macro.
5341
5342 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5343 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5344
5345 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5346 definition on [!__NO_LONG_DOUBLE_MATH].
5347
5348 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5349 PTR_MANGLE and PTR_DEMANGLE.
5350
5351 * socket/accept4.c (accept4): Rename to __libc_accept4.
5352 Define accept4 as a weak alias.
5353
5354 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5355 on [_DIRENT_HAVE_D_TYPE].
5356 * io/ftw.c (ftw_dir): Likewise.
5357
5358 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5359
5360 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5361
5362 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5363 Use the BSD numbers rather than the arbitrary ones we had.
5364 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5365 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5366 (SIGXCPU, SIGXFSZ): New macros.
5367 (_NSIG): Now 32.
5368
5369 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5370 initializer on [_LIBC_REENTRANT].
5371
5372 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5373 definitions inside [_POSIX_MAPPED_FILES].
5374
5375 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5376
5377 * dirent/opendir.c: Include <fcntl.h>.
5378
5379 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5380 (__libc_getspecific): Likewise.
5381 (__libc_key_create): Likewise.
5382
5383 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5384 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5385 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5386 (tmpfile64): Define as alias.
5387 * sysdeps/wordsize-64/tmpfile.c: File removed.
5388 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5389 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5390 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5391
5392 * stdio-common/vfscanf.c: Include <stdbool.h>.
5393 * nss/makedb.c: Likewise.
5394 * stdio-common/_i18n_number.h: Likewise.
5395 * argp/argp-help.c: Likewise.
5396 * posix/wordexp.c: Likewise.
5397 * sysdeps/posix/spawni.c: Likewise.
5398 * nss/nss_files/files-initgroups.c: Likewise.
5399 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5400 * nss/nss_files/files-initgroups.c: Likewise.
5401 * nss/nss_db/db-netgrp.c: Likewise.
5402 * nss/nss_db/db-initgroups.c: Likewise.
5403 * io/fchmodat.c: Include <sys/stat.h>.
5404
5405 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5406 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5407
5408 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5409 [HAVE_MMAP].
5410
5411 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5412 Add multiple inclusion protection.
5413
5414 2012-07-27 David S. Miller <davem@davemloft.net>
5415
5416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5417
5418 2012-07-27 Gary Benson <gbenson@redhat.com>
5419
5420 [BZ #14298]
5421 * elf/rtld.c: Include <stap-probe.h>.
5422 (dl_main): Added static probes "init_start" and "init_complete".
5423 * elf/dl-load.c: Include <stap-probe.h>.
5424 (lose): Take new parameter "nsid".
5425 Added static probe "map_failed".
5426 (_dl_map_object_from_fd): Pass namespace id to lose.
5427 Added static probe "map_start".
5428 (open_verify): Pass namespace id to lose.
5429 * elf/dl-open.c: Include <stap-probe.h>.
5430 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5431 and "reloc_complete".
5432 * elf/dl-close.c: Include <stap-probe.h>.
5433 (_dl_close_worker): Added static probes "unmap_start" and
5434 "unmap_complete".
5435 * elf/rtld-debugger-interface.txt: New file documenting the above.
5436
5437 2012-07-26 Roland McGrath <roland@hack.frob.com>
5438
5439 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5440 rather than a string variable.
5441 * sunrpc/rpc_main.c (h_output): Likewise.
5442 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5443
5444 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5445
5446 * inet/check_native.c: New file.
5447
5448 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5449
5450 [BZ #13629]
5451 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5452 if larger part has absolute value 1.0.
5453 * math/s_clog10.c (__clog10): Likewise.
5454 * math/s_clog10f.c (__clog10f): Likewise.
5455 * math/s_clog10l.c (__clog10l): Likewise.
5456 * math/s_clogf.c (__clogf): Likewise.
5457 * math/s_clogl.c (__clogl): Likewise.
5458 * math/libm-test.inc (clog_test): Add more tests.
5459 (clog10_test): Likewise.
5460 * sysdeps/i386/fpu/libm-test-ulps: Update.
5461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5462
5463 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5464 (pltexit): Likewise.
5465 (La_regs): Likewise.
5466 (La_retval): Likewise.
5467 (int_retval): Likewise.
5468 Update #error for removed macros to refer only to definitions in
5469 tst-audit.h.
5470 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5471 macro.
5472 (pltexit): Likewise.
5473 (La_regs): Likewise.
5474 (La_retval): Likewise.
5475 (int_retval): Likewise.
5476 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5477 macro.
5478 (pltexit): Likewise.
5479 (La_regs): Likewise.
5480 (La_retval): Likewise.
5481 (int_retval): Likewise.
5482 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5483 macro.
5484 (pltexit): Likewise.
5485 (La_regs): Likewise.
5486 (La_retval): Likewise.
5487 (int_retval): Likewise.
5488 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5489 macro.
5490 (pltexit): Likewise.
5491 (La_regs): Likewise.
5492 (La_retval): Likewise.
5493 (int_retval): Likewise.
5494 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5495 macro.
5496 (pltexit): Likewise.
5497 (La_regs): Likewise.
5498 (La_retval): Likewise.
5499 (int_retval): Likewise.
5500 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5501 macro.
5502 (pltexit): Likewise.
5503 (La_regs): Likewise.
5504 (La_retval): Likewise.
5505 (int_retval): Likewise.
5506 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5507 macro definitions in tst-audit.h.
5508 * sysdeps/i386/tst-audit.h: New file.
5509 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5510 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5511 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5512 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5513 * sysdeps/sh/tst-audit.h: Likewise.
5514 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5515 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5516 * sysdeps/x86_64/tst-audit.h: Likewise.
5517
5518 2012-07-26 Andreas Jaeger <aj@suse.de>
5519
5520 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5521 ptrace.
5522
5523 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5524 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5525 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5526 PTRACE_O_MASK.
5527 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5528 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5529 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5530
5531 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5532 value.
5533
5534 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5535 _sigsys.
5536 (si_call_addr, si_syscall, si_arch): Define new macro.
5537 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5538 _sigsys.
5539 (si_call_addr, si_syscall, si_arch): Define new marcro.
5540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5541 _sigsys.
5542 (si_call_addr, si_syscall, si_arch): Define new macro.
5543 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5544 _sigsys.
5545 (si_call_addr, si_syscall, si_arch): Define new macro.
5546
5547 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5548
5549 [BZ #13717]
5550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5551 Change to 2.4.21 where previously 2.4.1.
5552 * sysdeps/unix/sysv/linux/configure: Regenerated.
5553 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5554 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5555 Linux kernel version.
5556 (__ASSUME_STD_AUXV): Remove.
5557 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5558 kernel version.
5559 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5560 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5561 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5562 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5563 (__ASSUME_NETLINK_SUPPORT): Likewise.
5564 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5565 (__no_netlink_support): Remove conditional definition.
5566 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5567 Remove.
5568 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5569 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5570 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5571 (if_nameindex_ioctl): Remove.
5572 (if_nameindex_netlink): Do not handle __no_netlink_support.
5573 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5574 code.
5575 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5576 Remove conditional code.
5577 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5578 code.
5579 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5580 unconditional.
5581 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5582 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5583 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5584 Remove.
5585 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5586 [!__ASSUME_STD_AUXV]: Remove conditional code.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5588 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5589 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5591 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5592 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5593 code.
5594 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5596 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5597 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5598 conditional code.
5599 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5601 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5602 code.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5604 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5605 conditional code.
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5607 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5608 code unconditional.
5609 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5610 conditional code.
5611 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5612 unconditional.
5613 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5614 conditional code.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5616 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5617 unconditional.
5618 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5619 conditional code.
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5621 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5622 code unconditional.
5623 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5624 conditional code.
5625 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5626 unconditional.
5627 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5628 conditional code.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5630 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5631 code unconditional.
5632 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5633 conditional code.
5634 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5635 unconditional.
5636 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5637 conditional code.
5638
5639 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5640
5641 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5642 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5643 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5644 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5645 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5646 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5647 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5648 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5649 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5650 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5651 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5652 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5653 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5654 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5656 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5657 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5659 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5661 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5662 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5663 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5664
5665 2012-07-25 Florian Weimer <fweimer@redhat.com>
5666
5667 * Versions.def: Add GLIBC_2.17.
5668 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5669 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5670 Introduce __libc_secure_getenv.
5671 * stdlib/Versions (2.17): Add secure_getenv
5672 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5673 * stdlib/secure-getenv.c: Rename __secure_getenv to
5674 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5675 symbol __secure_getenv for GLIBC_2.0.
5676 * stdlib/tst-secure-getenv.c: New.
5677 * stdlib/Makefile (tests): Add testcase.
5678 * manual/startup.texi (Environment Access): Document
5679 secure_getenv.
5680 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5681 __libc_secure_getenv.
5682 * inet/ruserpass.c (ruserpass): Likewise.
5683 * malloc/mtrace.c (mtrace): Likewise.
5684 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5685 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5686 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5687 * sysdeps/posix/tempname.c: Likewise. Evaluate
5688 HAVE_SECURE_GETENV.
5689 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5690 __secure_getenv to __libc_secure_getenv.
5691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5693 Likewise.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5703
5704 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5705
5706 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5707 (struct La_i86_retval): Likewise.
5708 (struct La_x86_64_regs): Likewise.
5709 (struct La_x86_64_retval): Likewise.
5710 (struct La_x32_regs): Likewise.
5711 (struct La_x32_retval): Likewise.
5712 (struct La_ppc32_regs): Likewise.
5713 (struct La_ppc32_retval): Likewise.
5714 (struct La_ppc64_regs): Likewise.
5715 (struct La_ppc64_retval): Likewise.
5716 (struct La_sh_regs): Likewise.
5717 (struct La_sh_retval): Likewise.
5718 (struct La_s390_32_regs): Likewise.
5719 (struct La_s390_32_retval): Likewise.
5720 (struct La_s390_64_regs): Likewise.
5721 (struct La_s390_64_retval): Likewise.
5722 (struct La_sparc32_regs): Likewise.
5723 (struct La_sparc32_retval): Likewise.
5724 (struct La_sparc64_regs): Likewise.
5725 (struct La_sparc64_retval): Likewise.
5726 (struct audit_ifaces): Remove architecture-specific pltenter and
5727 pltexit members.
5728 * sysdeps/i386/ldsodefs.h: New file.
5729 * sysdeps/powerpc/ldsodefs.h: Likewise.
5730 * sysdeps/s390/ldsodefs.h: Likewise.
5731 * sysdeps/sh/ldsodefs.h: Likewise.
5732 * sysdeps/sparc/ldsodefs.h: Likewise.
5733 * sysdeps/x86_64/ldsodefs.h: Likewise.
5734
5735 2012-07-25 Marek Polacek <polacek@redhat.com>
5736
5737 [BZ #6808]
5738 * math/libm-test.inc (yn_test): Add another test.
5739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5740 to ERANGE when the result is +-Inf.
5741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5742 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5743 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5744 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5745
5746 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5747
5748 * conform/data/time.h-data (NULL): Use macro-constant. Require
5749 equal to 0.
5750 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5751 clock_t.
5752 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5753
5754 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5755
5756 * configure.in <sysdeps resolving>: Correct printing
5757 Implies_before.
5758 * configure: Regenerate.
5759
5760 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5761
5762 * math/w_ilogb.c: Include <limits.h>.
5763 * math/w_ilogbl.c: Likewise.
5764
5765 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5766
5767 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5768 va_copy. Document allowing for unavailable va_copy only as
5769 pre-C99 compatibility.
5770 * manual/string.texi (Copying and Concatenation): Use va_copy
5771 instead of __va_copy in concat example.
5772
5773 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5774
5775 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5776 (__sendto): Use create_address_port. Initialize APORT and deallocate
5777 it if not null.
5778
5779 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5780 with O_NOLINK passed to __file_name_lookup.
5781
5782 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5783 with O_NOLINK passed to __file_name_lookup.
5784
5785 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5786 negative N or less than NGIDS.
5787
5788 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5789 type to string_t. Set ERANGE as errno and return it if NAME is not big
5790 enough. Use memcpy instead of strncpy.
5791
5792 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5793
5794 * elf/Makefile (check-data): Remove.
5795 (localplt.data): New vpath directive.
5796 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5797 instead of $(check-data).
5798 * scripts/data/localplt-generic.data: Move to ...
5799 * sysdeps/generic/localplt.data: ... here.
5800 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5801 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5802 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5804 ... here.
5805 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5807 ... here.
5808 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5810 ... here.
5811 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5813 ... here.
5814 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5816 ... here.
5817 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5819 ... here.
5820
5821 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5822
5823 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5824 PPC32 and PPC64 files.
5825 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5826 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5827
5828 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5829
5830 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5831 __makecontext_ret to ...
5832 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5833 ... here and call exit if uc_link is NULL. New file.
5834 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5835 __makecontext_ret.S.
5836 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5837 __makecontext_ret to ...
5838 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5839 ... here and call exit if uc_link is NULL. New file.
5840 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5841 __makecontext_ret.S.
5842
5843 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5844
5845 * elf/elf.h (R_390_IRELATIVE): New definition.
5846 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5847 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5848 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5849 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5850 (elf_machine_lazy_rel): Likewise.
5851 * sysdeps/s390/dl-irel.h: New file.
5852 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5853 * sysdeps/s390/s390-64/memset.S: New asm code.
5854 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5855 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5856 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5857 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5858 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5859 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5860 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5861 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5862 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5863 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5864 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5865 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5866 * sysdeps/s390/s390-32/memset.S: New asm code.
5867 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5868
5869 2012-07-17 Marek Polacek <polacek@redhat.com>
5870
5871 [BZ #14349]
5872 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5873 * sysdeps/s390/s390-64/configure.in: Likewise.
5874 * sysdeps/sparc/configure.in: Likewise.
5875 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5876 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5877 * sysdeps/i386/configure.in: Likewise.
5878 * sysdeps/x86_64/configure.in: Likewise.
5879 * sysdeps/sh/configure.in: Likewise.
5880 * sysdeps/s390/s390-32/configure: Regenerated.
5881 * sysdeps/s390/s390-64/configure: Likewise.
5882 * sysdeps/x86_64/configure: Likewise.
5883 * sysdeps/sh/configure: Likewise.
5884 * sysdeps/powerpc/powerpc64/configure: Likewise.
5885 * sysdeps/powerpc/powerpc32/configure: Likewise.
5886 * sysdeps/sparc/configure: Likwise.
5887 * sysdeps/i386/configure: Likewise.
5888
5889 * elf/dl-open.c: Comment fixes.
5890
5891 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5892
5893 * Makefile [CXX] (check-data): Remove.
5894 [CXX] (c++-types.data): New vpath directive.
5895 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5896 vpath. Do not allow for C++ type data being missing.
5897 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5898 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5899 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5900 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5901 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5902 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5903 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5905 ... here.
5906 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5908 ... here.
5909 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5911 ... here.
5912 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5914 ... here.
5915 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5917 ... here.
5918 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5920 ... here.
5921 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5923 ... here.
5924 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5926
5927 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5928 definitions to architecture-specific files.
5929 (TLS_IE): Likewise.
5930 (TLS_LD): Likewise.
5931 (TLS_GD): Likewise.
5932 * sysdeps/i386/tls-macros.h: New file.
5933 * sysdeps/powerpc/tls-macros.h: Likewise.
5934 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5935 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5936 * sysdeps/sh/tls-macros.h: Likewise.
5937 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5938 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5939 * sysdeps/x86_64/tls-macros.h: Likewise.
5940
5941 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5942
5943 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5944 zero value for regular exit case.
5945
5946 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5947 (__start_context): Preserve zero value for regular exit case.
5948
5949 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5950 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5951
5952 * manual/setjmp.texi (setcontext): Clarify normal process
5953 termination when uc_link is the null pointer.
5954 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5955 exit call.
5956
5957 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5958
5959 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5960 preprocessor. Test for each exception mask separately.
5961
5962 2012-07-16 Andreas Jaeger <aj@suse.de>
5963
5964 * po/ru.po: Update from translation team.
5965
5966 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5967
5968 * conform/data/string.h-data (NULL): Use macro-constant. Require
5969 equal to 0.
5970 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5971 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5972 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5973 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5975
5976 2012-07-13 Andreas Jaeger <aj@suse.de>
5977
5978 * po/fr.po: Update from translation team.
5979
5980 2012-07-12 Marek Polacek <polacek@redhat.com>
5981
5982 [BZ #14173]
5983 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5984 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5985 loop condition.
5986
5987 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5988
5989 [BZ #13717]
5990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5991 Change to 2.4.1 where previously 2.4.0.
5992 * sysdeps/unix/sysv/linux/configure: Regenerated.
5993 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5994 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5995 version.
5996 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5997 (__ASSUME_AT_CLKTCK): Remove.
5998 (__ASSUME_AT_PAGESIZE): Likewise.
5999 (__ASSUME_AT_XID): Likewise.
6000 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6001 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6002 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6003 unconditionally.
6004 (HAVE_AUX_PAGESIZE): Likewise.
6005 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6006 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6007 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6008
6009 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6010
6011 [BZ #14307]
6012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6013 the temporary buffer used to invoke __gethostbyname2_r,
6014 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6015 host_data / struct gaih_addrtuple.
6016 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6017 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6018 header file nss/nsswitch.h.
6019 * nss/nsswitch.h (global scope): Add definition of implementation
6020 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6021 resolv/nss_dns/dns-host.c).
6022
6023 2012-07-11 Andreas Jaeger <aj@suse.de>
6024
6025 * po/fr.po: Update from translation team.
6026
6027 * po/sv.po: Update from translation team
6028 * po/fr.po: Another update from translation team.
6029
6030 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6031
6032 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6033 for subnormals or multiply small sinh result by itself.
6034 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6036
6037 2012-07-11 David S. Miller <davem@davemloft.net>
6038
6039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6040
6041 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6042
6043 [BZ #14347]
6044 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6045 (INTERNAL_MARK): Shift it here.
6046
6047 2012-07-10 Marek Polacek <polacek@redhat.com>
6048
6049 [BZ #14151]
6050 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6051 libc_cv_asm_global_directive with .globl.
6052 * configure: Regenerated.
6053 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6054 with .globl.
6055 * sysdeps/i386/configure: Regenerated.
6056 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6057 with .globl.
6058 * sysdeps/x86_64/configure: Regenerated.
6059 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6060 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6061 * elf/tst-unique2mod2.c: Likewise.
6062 * elf/tst-unique2mod1.c: Likewise.
6063 * elf/tst-unique1mod2.c: Likewise.
6064 * elf/tst-unique1mod1.c: Likewise.
6065 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6066 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6067 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6068 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6069 * sysdeps/mach/sysdep.h: Likewise.
6070 * sysdeps/i386/sysdep.h: Likewise.
6071 * sysdeps/i386/i386-mcount.S: Likewise.
6072 * sysdeps/x86_64/_mcount.S: Likewise.
6073 * sysdeps/x86_64/sysdep.h: Likewise.
6074 * sysdeps/sh/_mcount.S: Likewise.
6075 * sysdeps/sh/sysdep.h: Likewise.
6076 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6077 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6078 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6079 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6080 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6081 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6082 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6083 * locale/localeinfo.h: Likewise.
6084 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6085 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6086
6087 2012-07-09 Roland McGrath <roland@hack.frob.com>
6088
6089 [BZ #14336]
6090 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6091 system".
6092 * manual/message.texi (The Uniforum approach): Likewise.
6093 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6094 (glibc iconv Implementation): Likewise.
6095
6096 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6097
6098 [BZ #14337]
6099 * math/s_clog.c (__clog): Avoid scaling a value down where that
6100 could result in underflow.
6101 * math/s_clog10.c (__clog10): Likewise.
6102 * math/s_clog10f.c (__clog10f): Likewise.
6103 * math/s_clog10l.c (__clog10l): Likewise.
6104 * math/s_clogf.c (__clogf): Likewise.
6105 * math/s_clogl.c (__clogl): Likewise.
6106 * math/libm-test.inc (clog_test): Add more tests.
6107 (clog10_test): Likewise.
6108 * sysdeps/i386/fpu/libm-test-ulps: Update.
6109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6110
6111 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6112
6113 [BZ #14283]
6114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6115 by 7 not 8 to examine high bit of fractional part.
6116
6117 [BZ #14042]
6118 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6119 for call to __mcount_internal.
6120 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6121 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6122 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6123
6124 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6125
6126 [BZ #14154]
6127 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6128 approximation for values within 0x1p-13f of an odd multiple of
6129 pi/4.
6130 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6131 exception. Add more tests.
6132 * sysdeps/i386/fpu/libm-test-ulps: Update.
6133
6134 [BZ #6778]
6135 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6136 inputs and return -1 for them. Do not check for +Inf in case not
6137 reachable for +Inf.
6138 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6139 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6141 and return -1 for them. Do not check for +Inf in case not
6142 reachable for +Inf.
6143 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6144 define.
6145 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6146 and return -1 for them. Do not check for +Inf in case not
6147 reachable for +Inf.
6148 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6149 spurious underflow.
6150 * sysdeps/i386/fpu/libm-test-ulps: Update.
6151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6152
6153 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6154
6155 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6156
6157 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6158
6159 [BZ #14157]
6160 [BZ #14331]
6161 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6162 could result in spurious underflow. Scale down values above
6163 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6164 * math/s_csqrtf.c (__csqrtf): Likewise.
6165 * math/s_csqrtl.c (__csqrtl): Likewise.
6166 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6167 spurious underflow.
6168 * sysdeps/i386/fpu/libm-test-ulps: Update.
6169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170
6171 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6172
6173 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6174 xopen-msg.sed.
6175 * catgets/xopen-msg.awk: New file.
6176 * catgets/xopen-msg.sed: Removed.
6177
6178 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6179 po2text.sed.
6180 * intl/po2test.awk: New file.
6181 * intl/po2test.sed: Removed.
6182
6183 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6184
6185 [BZ #14328]
6186 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6187 or multiply small sinh result by itself.
6188 * math/s_ctanf.c (__ctanf): Likewise.
6189 * math/s_ctanh.c (__ctanh): Likewise.
6190 * math/s_ctanhf.c (__ctanhf): Likewise.
6191 * math/s_ctanhl.c (__ctanhl): Likewise.
6192 * math/s_ctanl.c (__ctanl): Likewise.
6193 * math/libm-test.inc (ctan_test_tonearest): New function.
6194 (ctan_test_towardzero): Likewise.
6195 (ctan_test_downward): Likewise.
6196 (ctan_test_upward): Likewise.
6197 (ctanh_test_tonearest): Likewise.
6198 (ctanh_test_towardzero): Likewise.
6199 (ctanh_test_downward): Likewise.
6200 (ctanh_test_upward): Likewise.
6201 (main): Call these new functions.
6202 * sysdeps/i386/fpu/libm-test-ulps: Update.
6203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6204
6205 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6206
6207 * .gitignore: Delete /ports entry.
6208
6209 2012-07-03 Andreas Jaeger <aj@suse.de>
6210
6211 * po/bg.po: Update from translation team.
6212 * po/cs.po: Likewise.
6213 * po/de.po: Likewise.
6214 * po/hr.po: Likewise.
6215 * po/nl.pl: Likewise.
6216 * po/pl.po: Likewise.
6217 * po/vi.po: Likewise.
6218
6219 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6220
6221 * Makeconfig [!+link] (+link-before-libc): New variable.
6222 [!+link] (+link-after-libc): Likewise.
6223 [!+link] (+link-tests): Likewise.
6224 [!+link] (+link): Define in terms of $(+link-before-libc) and
6225 $(+link-after-libc).
6226 [!+link-static] (+link-static-before-libc): New variable.
6227 [!+link-static] (+link-static-after-libc): Likewise.
6228 [!+link-static] (+link-static-tests): Likewise.
6229 [!+link-static] (+link-static): Define in terms of
6230 $(+link-static-before-libc) and $(+link-static-after-libc).
6231 [build-shared] (link-libc-before-gnulib): New variable.
6232 [build-shared] (link-libc-tests): Likewise.
6233 [build-shared] (link-libc): Define in terms of
6234 $(link-libc-before-gnulib).
6235 [!build-shared] (link-libc-tests): New variable.
6236 (link-libc-static-tests): New variable.
6237 [!gnulib] (gnulib-arch): New variable.
6238 [!gnulib] (gnulib-tests): Likewise.
6239 [!gnulib] (static-gnulib-arch): Likewise.
6240 [!gnulib] (static-gnulib-tests): Likewise.
6241 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6242 Define with "=" instead of ":=".
6243 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6244 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6245 * Rules (binaries-all-notests): New variable.
6246 (binaries-all-tests): Likewise.
6247 (binaries-static-notests): Likewise.
6248 (binaries-static-tests): Likewise.
6249 (binaries-all): Define using $(binaries-all-notests) and
6250 $(binaries-all-tests).
6251 (binaries-static): Define using $(binaries-static-notests) and
6252 $(binaries-static-tests).
6253 (binaries-shared-tests): New variable.
6254 (binaries-shared-notests): Likewise.
6255 (binaries-shared): Remove variable.
6256 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6257 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6258 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6259 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6260 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6261 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6262 * elf/Makefile (sln-modules): New variable.
6263 (extra-objs): Add $(sln-modules:=.o).
6264 (ldconfig-modules): Add static-stubs.
6265 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6266 * elf/static-stubs.c: New file.
6267
6268 [BZ #14283]
6269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6270 by 7 not 8 to examine high bit of fractional part. Use volatile
6271 variables when splitting into final array of floats if
6272 __FLT_EVAL_METHOD__ != 0.
6273 * math/libm-test.inc (cos_test): Add another test.
6274 (sin_test): Likewise.
6275 * sysdeps/i386/fpu/libm-test-ulps: Update.
6276
6277 [BZ #14273]
6278 * math/libm-test.inc (cosh_test): Add more tests.
6279
6280 * version.h (RELEASE): Set to "development".
6281 (VERSION): Set to "2.16.90".
6282
6283 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6284
6285 * NEWS: Update copyright. Remove last-updated date.
6286 Mention math library bug fixes and timezone data changes.
6287 * README: Mention GNU/Hurd, x32, and HPPA support status.
6288
6289 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6290
6291 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6292
6293 2012-06-27 Andreas Jaeger <aj@suse.de>
6294
6295 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6296
6297 2012-06-25 Andreas Jaeger <aj@suse.de>
6298
6299 * sysdeps/s390/fpu/libm-test-ulps: Update.
6300
6301 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6302 Thomas Schwinge <thomas@codesourcery.com>
6303
6304 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6305 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6307 fanotify_mark.
6308
6309 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6310
6311 * sysdeps/mach/start.c: Remove file.
6312 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6313 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6314 * sysdeps/sh/init-first.c: Likewise.
6315
6316 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6317 registers for frame unwinding purposes, add CFI directives.
6318 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6319 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6320 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6321 Likewise.
6322
6323 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6324 __fortify_fail returning.
6325 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6326
6327 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6328 sysdeps/sh/____longjmp_chk.S.
6329 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6330 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6331 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6332 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6333
6334 * sysdeps/sh/abort-instr.h: New file.
6335 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6336 process in case exit returns.
6337
6338 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6339 initialize the GOT register before use.
6340
6341 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6342 calculation of ARGC > 4.
6343
6344 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6345 meaningful names to some local labels.
6346
6347 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6348 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6349
6350 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6351 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6352 (__arch_compare_and_exchange_val_16_acq): Likewise.
6353 (__arch_compare_and_exchange_val_32_acq): Likewise.
6354 (atomic_exchange_and_add): Fix gUSA sequence.
6355 (atomic_add): Likewise.
6356 (atomic_add_negative): Likewise.
6357 (atomic_add_zero): Likewise.
6358 (atomic_bit_test_set): Likewise.
6359
6360 2012-06-22 Andreas Schwab <schwab@redhat.com>
6361
6362 [BZ #13579]
6363 * include/link.h (struct link_map): Add l_free_initfini.
6364 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6365 l_initfini.
6366 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6367 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6368 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6369 set.
6370
6371 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6372
6373 * configure.in: Use AC_LANG_SOURCE.
6374 * configure: Regenerate.
6375
6376 2012-06-22 Roland McGrath <roland@hack.frob.com>
6377
6378 * configure.in (libc_cv_localstatedir): New substituted variable.
6379 * configure: Regenerated.
6380 * config.make.in (localstatedir): New variable, substituted from
6381 libc_cv_localstatedir.
6382 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6383 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6384 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6385 * sysdeps/gnu/configure: Regenerated.
6386
6387 2012-06-21 Jeff Law <law@redhat.com>
6388
6389 [BZ #14277]
6390 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6391 free. Simplify list management for _LIBC case.
6392
6393 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6394
6395 [BZ #14273]
6396 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6397 Clear sign bit of 64-bit integer value before comparing against
6398 overflow value.
6399
6400 * sysdeps/mach/configure: Regenerated.
6401
6402 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6403
6404 [BZ #14278]
6405 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6406
6407 2012-06-21 Jeff Law <law@redhat.com>
6408
6409 [BZ #13882]
6410 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6411 uint16_t for elements in the "seen" array to avoid char overflows.
6412 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6413 * elf/dl-open.c (dl_open_worker): Likewise.
6414
6415 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6416
6417 * scripts/list-sources.sh: Scan PORTS for translations.
6418 * po/libc.pot: Regenerated.
6419
6420 2012-06-21 Andreas Jaeger <aj@suse.de>
6421
6422 [BZ #12194]
6423 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6424 warning.
6425 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6426 * bits/byteswap-16.h (__bswap_16): Likewise.
6427 * bits/byteswap.h (__bswap_constant_16): Likewise.
6428
6429 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6430
6431 [BZ #14117]
6432 * sysdeps/i386/fpu_control.h: Removed.
6433 * sysdeps/x86_64/fpu_control.h: Moved to ...
6434 * sysdeps/x86/fpu_control.h: Here.
6435
6436 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6437 (_FPU_SETCW): Likewise.
6438
6439 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6440
6441 [BZ #14117]
6442 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6443 * sysdeps/x86/fpu/bits/mathinline.h: This.
6444 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6445
6446 [BZ #14050]
6447 [BZ #14117]
6448 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6449 functions if __x86_64__ is defined.
6450
6451 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6452
6453 * string/endian.h: Add !__ASSEMBLER__ condition for including
6454 conversion interfaces.
6455
6456 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6457
6458 [BZ #14241]
6459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6460 of ABS(x) in calculating zero to negative powers other than odd
6461 integers.
6462 * math/libm-test.inc (pow_test): Add more tests.
6463
6464 2012-06-15 Andreas Jaeger <aj@suse.de>
6465
6466 * manual/contrib.texi (Contributors): Update entry of Liubov
6467 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6468 Machado Filho.
6469
6470 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6471
6472 * string/string.h: Add __wur to GNU version of strerror_r.
6473
6474 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 [BZ #14229]
6477 * string/Makefile (tests): Add tst-strtok_r.
6478 * string/tst-strtok_r.c: New file.
6479 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6480 RAX_LP/RDX_LP on SAVE_PTR.
6481
6482 2012-06-14 Roland McGrath <roland@hack.frob.com>
6483
6484 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6485
6486 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6487
6488 * libm_test.inc (csqrt_test): Allow more spurious underflow
6489 exceptions.
6490 (j0_test): Likewise.
6491 (j1_test): Likewise.
6492 (y0_test): Likewise.
6493 (y1_test): Likewise.
6494
6495 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6496
6497 * po/Makefile (libc.pot): Use UTF-8 charset.
6498
6499 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6500
6501 [BZ #14210]
6502 Suppress sign-conversion warning from FD_SET.
6503 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6504 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6505 not unsigned long int.
6506 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6507
6508 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6509
6510 [BZ #14050]
6511 [BZ #14117]
6512 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6513 __extern_always_inline instead of __extern_inline.
6514 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6515 (__signbit): Likewise.
6516 (__signbitl): Support C++ namespace.
6517 (lrintf): New inline function.
6518 (lrint): Likewise.
6519 (llrintf): Likewise.
6520 (llrint): Likewise.
6521 (fmaxf): Likewise.
6522 (fmax): Likewise.
6523 (fminf): Likewise.
6524 (fmin): Likewise.
6525 (rint): Likewise.
6526 (rintf): Likewise.
6527 (ceil): Likewise.
6528 (ceilf): Likewise.
6529 (floor): Likewise.
6530 (floorf): Likewise.
6531 (nearbyint): Likewise.
6532 (nearbyintf): Likewise.
6533
6534 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6535
6536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6537 non-default versions.
6538
6539 2012-06-11 Roland McGrath <roland@hack.frob.com>
6540
6541 [BZ #14218]
6542 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6543
6544 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6545
6546 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6547 (FE_UPWARD, FE_DOWNWARD): Don't define.
6548 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6550
6551 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6552 reading it.
6553 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6554 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6555
6556 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6557
6558 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6560 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6562
6563 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 [BZ #14117]
6566 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6567 * sysdeps/i386/fpu/Implies: New file.
6568 * sysdeps/x86_64/fpu/Implies: Likewise.
6569 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6570 * sysdeps/x86/fpu/bits/fenv.h: This.
6571
6572 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6573 __SSE_MATH__.
6574
6575 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6576
6577 [BZ #14134]
6578 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6579 character 0xffff that matches the last element of the
6580 conversion table.
6581
6582 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6583
6584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6585 fmodl commit.
6586
6587 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588
6589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6590 values higher than 25.6283.
6591
6592 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593
6594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6595 subnormal exponent extraction and add some __builtin_expect.
6596 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6597 Fix for subnormal mantissa calculation.
6598
6599 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6600
6601 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6602 cpu2 is -1 and errno is not ENOSYS.
6603
6604 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6605
6606 [BZ #14117]
6607 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6608 * sysdeps/x86/bits/string.h: This.
6609 * sysdeps/x86_64/bits/string.h: Removed.
6610
6611 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6612 if not compiling for x86-64, but compiling for >= i486.
6613
6614 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6615 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6616
6617 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6618 New macro from Linux kernel 3.4.0.
6619 (FP_XSTATE_MAGIC2): Likewise.
6620 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6621 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6622 (struct _fpx_sw_bytes): New struct.
6623 (struct _xsave_hdr): Likewise.
6624 (struct _ymmh_state): Likewise.
6625 (struct _xstate): Likewise.
6626
6627 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6628 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6630 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6631 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6632 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6633
6634 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6636 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6637 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6638 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6639 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6640
6641 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6642
6643 [BZ #13743]
6644 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6645 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6646 (sysdep_headers): Include sys/platform/ppc.h.
6647 * sysdeps/powerpc/test-gettimebase.c: Test for
6648 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6649 * manual/Makefile (appendices): Include platform.texi.
6650 * manual/contrib.texi (Contributors): Update @node pointers.
6651 * manual/maint.texi (Maintenance): Likewise.
6652 (Platform): New node.
6653 * manual/platform.texi: New file. Document the new features.
6654
6655 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6656 Jakub Jelinek <jakub@redhat.com>
6657
6658 [BZ #14188]
6659 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6660 where __builtin_expect is unavailable.
6661
6662 2012-06-03 David S. Miller <davem@davemloft.net>
6663
6664 * stdlib/longlong.h: Updated from GCC.
6665
6666 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6667
6668 [BZ #14042]
6669 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6670 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6671 __mcount_internal.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6673 (GLIBC_2.16): Likewise.
6674
6675 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6676
6677 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6678
6679 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6680
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6682 (default-abi): New variable.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6684 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6685 variable.
6686 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6687 Likewise.
6688 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6691 Likewise.
6692
6693 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6694 definition. Document in comment.
6695
6696 2012-06-01 David S. Miller <davem@davemloft.net>
6697
6698 * stdlib/longlong.h: Updated from GCC.
6699
6700 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6701
6702 [BZ #14117]
6703 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6704 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6705 sys/debugreg.h sys/io.h here.
6706 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6707 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6708 sys/io.h.
6709 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6710 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6711 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6712 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6713 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6714 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6715
6716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6717 Define only if __x86_64__ is defined.
6718
6719 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6720
6721 [BZ #14048]
6722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6723 Use int64_t for variable i.
6724 * math/libm-test.inc (fmod_test): Add more tests.
6725
6726 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6727 z computation is not scheduled after fetestexcept.
6728 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6729 Use math_force_eval instead of asm to ensure calculation scheduled
6730 before exception test.
6731 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6732 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6733
6734 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6735
6736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6737 computation is not scheduled after fetestexcept.
6738
6739 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6740
6741 [BZ #14117]
6742 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6743 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6744
6745 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6746
6747 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6748 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6749
6750 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6751
6752 [BZ #14117]
6753 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6754 <bits/wordsize.h>.
6755 (__WCHAR_MIN): Support __WORDSIZE == 64.
6756 (__WCHAR_MAX): Likewise.
6757
6758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6760
6761 [BZ #14183]
6762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6763 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6764
6765 [BZ #14117]
6766 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6768
6769 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6770 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6771
6772 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6773 Defined to 1 if __x86_64__ isn't defined.
6774 (_STAT_VER_LINUX_OLD): New.
6775 (st_atime): Remove duplicate.
6776 (st_mtime): Likewise.
6777 (st_ctime): Likewise.
6778
6779 2012-05-31 David S. Miller <davem@davemloft.net>
6780
6781 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6782 entries.
6783
6784 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6787 gen-libm-test.pl.
6788
6789 [BZ #14132]
6790 * elf/dl-reloc.c: Include <_itoa.h>.
6791 (_dl_reloc_bad_type): Remove use of INTUSE.
6792 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6793 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6794 * stdio-common/psiginfo.c (psiginfo): Likewise.
6795 * stdio-common/psignal.c (psignal): Likewise.
6796 * string/strsignal.c (strsignal): Likewise.
6797 * include/signal.h (_sys_siglist): Declare hidden proto.
6798 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6799 INTVARDEF with libc_hidden_data_def.
6800 * stdio-common/itoa-udigits.c: Likewise.
6801 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6802 (_itoa_lower_digits_internal): Remove declaration.
6803 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6804 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6805 (_sys_sigabbrev_internal): Remove aliases.
6806 (_sys_siglist): Define hidden alias.
6807
6808 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6809
6810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6811 bits/sysctl.h.
6812
6813 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6814
6815 [BZ #14117]
6816 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6817 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6818
6819 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6820 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6821 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6822 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6824 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6825
6826 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6828 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6829
6830 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6831 with __addr.
6832 (insw): Likewise.
6833 (insl): Likewise.
6834 (outsb): Likewise.
6835 (outsw): Likewise.
6836 (outsl): Likewise.
6837
6838 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6839 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6840 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6841
6842 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6843 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6844 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6845 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6846 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6847 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6848
6849 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6850 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6851
6852 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6853 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6854
6855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6857 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6858
6859 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6860 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6861 to ...
6862 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6863
6864 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6865 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6866 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6867
6868 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6869 for x86-64.
6870 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6871
6872 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6873
6874 * math/math.h (M_El): Use two more decimal places.
6875 (M_LOG2El): Likewise.
6876 (M_LOG10El): Likewise.
6877 (M_LN2l): Likewise.
6878 (M_LN10l): Likewise.
6879 (M_PIl): Likewise.
6880 (M_PI_2l): Likewise.
6881 (M_PI_4l): Likewise.
6882 (M_1_PIl): Likewise.
6883 (M_2_PIl): Likewise.
6884 (M_2_SQRTPIl): Likewise.
6885 (M_SQRT2l): Likewise.
6886 (M_SQRT1_2l): Likewise.
6887
6888 2012-05-31 David S. Miller <davem@davemloft.net>
6889
6890 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6891 values between float registers.
6892 * sysdeps/sparc/sparc64/memset.S: Likewise.
6893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6894
6895 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6896
6897 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6898 -D_FORTIFY_SOURCE=1.
6899 (CPPFLAGS-tst-longjmp_chk.c): Define.
6900 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6901 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6902 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6903 CFLAGS-tst-wchar-h.c.
6904
6905 2012-05-31 Marek Polacek <polacek@redhat.com>
6906
6907 [BZ #14132]
6908 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6909 __endmntent_internal): Remove declaration.
6910 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6911 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6912 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6913
6914 2012-05-30 David S. Miller <davem@davemloft.net>
6915
6916 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6917 (___Q_simulate_exceptions): Use real FP ops rather than writing
6918 into the %fsr.
6919 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6920 Likewise.
6921
6922 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6923
6924 [BZ #14117]
6925 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6926 * sysdeps/x86/bits/xtitypes.h: This.
6927
6928 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6929 * sysdeps/x86/bits/wordsize.h: This.
6930
6931 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6932 * sysdeps/x86/bits/huge_vall.h: This.
6933
6934 * sysdeps/i386/bits/select.h: Removed.
6935 * sysdeps/x86_64/bits/select.h: Renamed to ...
6936 * sysdeps/x86/bits/select.h: This.
6937
6938 * sysdeps/i386/bits/setjmp.h: Removed.
6939 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6940 * sysdeps/x86/bits/setjmp.h: This.
6941
6942 * sysdeps/i386/bits/mathdef.h: Removed.
6943 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6944 * sysdeps/x86/bits/mathdef.h: This.
6945
6946 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6947
6948 [BZ #14132]
6949 * include/sys/socket.h (__connect_internal)
6950 (__libc_sa_len_internal): Remove declaration.
6951 (__connect, __libc_sa_len): Declare hidden_proto.
6952 (SA_LEN): Remove use of INTUSE.
6953 * socket/connect.c: Add libc_hidden_def.
6954 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6955 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6956 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6957 alias.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6959 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6960 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6961 of adding _internal alias.
6962
6963 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6964
6965 [BZ #14117]
6966 * sysdeps/i386/bits/link.h: Removed.
6967 * sysdeps/i386/bits/linkmap.h: Likewise.
6968 * sysdeps/x86_64/bits/link.h: Renamed to ...
6969 * sysdeps/x86/bits/link.h: This.
6970 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6971 * sysdeps/x86/bits/linkmap.h: This.
6972
6973 * sysdeps/i386/bits/endian.h: Removed.
6974 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6975 * sysdeps/x86/bits/endian.h: This.
6976
6977 * sysdeps/i386/bits/byteswap.h: Removed.
6978 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6979 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6980 * sysdeps/x86/bits/byteswap.h: This.
6981 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6982 * sysdeps/x86/bits/byteswap-16.h: This.
6983 * sysdeps/i386/Implies: Add x86.
6984 * sysdeps/x86_64/Implies: Likewise.
6985
6986 2012-05-30 David S. Miller <davem@davemloft.net>
6987
6988 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6989 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6990 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6991 (FP_TRAPPING_EXCEPTIONS): Define.
6992 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6993 (FP_TRAPPING_EXCEPTIONS): Define.
6994 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6995 subnormals only when inexact has been signalled or underflow
6996 exceptions are enabled.
6997 (_FP_PACK_CANONICAL): Likewise.
6998
6999 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7000
7001 [BZ #14183]
7002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7003 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7004
7005 2012-05-30 Richard Henderson <rth@twiddle.net>
7006
7007 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7008 with #ifndef NOT_IN_libc.
7009
7010 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7011 marked to avoid plt entry.
7012
7013 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7014
7015 [BZ #14112]
7016 * Makeconfig (default-abi): New macro.
7017 (abi-includes): Likewise.
7018 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7019 $(abi-$(default-abi)-lib-soname) for soname if defined.
7020 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7021 abi-variants.
7022 * Makefile (installed-stubs): Likewise.
7023 * include/stubs-biarch.h: Removed.
7024 * scripts/lib-names.awk: Only handle one library at a time.
7025 * scripts/soversions.awk: Remove WORDSIZE support.
7026 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7027 entries.
7028 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7029 Removed.
7030 (syscall-list-default-condition): Likewise.
7031 (syscall-list-default-condition): Likewise.
7032 (syscall-list-includes): Likewise.
7033 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7034 syscall-list-* with abi-*. Handle undefined abi-variants.
7035 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7036 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7037 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7038 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7039 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7040 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7041 Removed.
7042 (syscall-list-32-options): Likewise.
7043 (syscall-list-32-condition): Likewise.
7044 (syscall-list-64-options): Likewise.
7045 (syscall-list-64-condition): Likewise.
7046 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7047 macro.
7048 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7049 Renamed to ...
7050 (abi-*): This.
7051 (abi-64-ld-soname): New macro.
7052 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7053 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7054 Renamed to ...
7055 (abi-*): This.
7056 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7057 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7058
7059 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7060
7061 * sysdeps/unix/sysv/linux/kernel-features.h
7062 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7063 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7064 include <kernel-features.h>.
7065 [!__NR_ftruncate64]: Remove conditional code.
7066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7067 [__NR_ftruncate64]: Make code unconditional.
7068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7069 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7070 include <kernel-features.h>.
7071 [!__NR_ftruncate64]: Remove conditional code.
7072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7073 [__NR_ftruncate64]: Make code unconditional.
7074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7076 include <kernel-features.h>.
7077 [!__NR_ftruncate64]: Remove conditional code.
7078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7079 [__NR_ftruncate64]: Make code unconditional.
7080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7082 include <kernel-features.h>.
7083 [!__NR_ftruncate64]: Remove conditional code.
7084 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7085 [__NR_ftruncate64]: Make code unconditional.
7086 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7087
7088 * configure.in (libc_cv_fpie): Weaken to a compile test using
7089 LIBC_TRY_CC_OPTION.
7090 * configure: Regenerated.
7091
7092 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7093
7094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7098 Refreshed.
7099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7105 Refreshed.
7106
7107 2012-05-27 David S. Miller <davem@davemloft.net>
7108
7109 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7110 (___Q_zero): New.
7111 (__Q_simulate_exceptions): Return void. Change to simulate
7112 exceptions by writing into the %fsr.
7113 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7114 (__Qp_handle_exceptions): Likewise.
7115 (numbers): Delete.
7116 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7117 __Qp_handle_exceptions.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7119 __Qp_handle_exceptions.
7120 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7121 as unused and give dummy FP_RND_NEAREST initializer.
7122 (FP_INHIBIT_RESULTS): Define.
7123 (___Q_simulate_exceptions): Update declaration.
7124 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7125 formatting.
7126 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7127 as unused and give dummy FP_RND_NEAREST initializer.
7128 (__Qp_handle_exceptions): Update declaration.
7129 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7130 formatting.
7131
7132 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7133
7134 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7135 the temporary FPU control word.
7136 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7137 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7139 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7141 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7142 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7143 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7144 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7145 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7147
7148 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7149
7150 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7151 fields.
7152
7153 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7154
7155 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7156 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7157 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7158 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7159 Likewise.
7160 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7161 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7162 Likewise.
7163
7164 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7165
7166 * po/h.po: Update from translation team.
7167
7168 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7169
7170 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7171
7172 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7173 handling of denormals.
7174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7175 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7176 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7181 Likewise.
7182
7183 2012-05-26 Marek Polacek <polacek@redhat.com>
7184
7185 [BZ #14152]
7186 * math/libm-test.inc (fma_test): Don't always expect underflow
7187 exception.
7188
7189 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7191 [BZ #12416]
7192 * elf/tst-execstack.c: Include stackinfo.h.
7193 (do_test): Adjust test case to ensure that pthread_getattr_np
7194 behaviour remains the same after marking stack executable.
7195
7196 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7197
7198 * sysdeps/unix/sysv/linux/kernel-features.h
7199 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7200 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7201 kernel-features.h.
7202 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7203 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7204 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7205 kernel-features.h.
7206 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7207 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7208
7209 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7210
7211 * configure.in: Define the default includes to being none.
7212 * configure: Regenerated.
7213
7214 2012-05-25 Roland McGrath <roland@hack.frob.com>
7215
7216 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7217 * sysdeps/x86_64/setjmp.S: Likewise.
7218 * sysdeps/i386/bsd-setjmp.S: Likewise.
7219 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7220 * sysdeps/i386/setjmp.S: Likewise.
7221 * sysdeps/i386/__longjmp.S: Likewise.
7222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7223 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7224
7225 * include/stap-probe.h: New file.
7226 * configure.in: Handle --enable-systemtap.
7227 * configure: Regenerated.
7228 * config.h.in (USE_STAP_PROBE): New #undef.
7229 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7230 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7231 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7232
7233 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7234
7235 [BZ #13717]
7236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7237 to 2.4.0 where earlier.
7238 * sysdeps/unix/sysv/linux/configure: Regenerated.
7239 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7240 <kernel-features.h>.
7241 [__ASSUME_32BITUIDS]: Make code unconditional.
7242 [!__ASSUME_32BITUIDS]: Remove conditional code.
7243 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7244 <kernel-features.h>.
7245 [__ASSUME_32BITUIDS]: Make code unconditional.
7246 [!__ASSUME_32BITUIDS]: Remove conditional code.
7247 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7248 [__ASSUME_32BITUIDS]: Make code unconditional.
7249 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7250 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7251 <kernel-features.h>.
7252 [__ASSUME_32BITUIDS]: Make code unconditional.
7253 [!__ASSUME_32BITUIDS]: Remove conditional code.
7254 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7255 <kernel-features.h>.
7256 [__ASSUME_32BITUIDS]: Make code unconditional.
7257 [!__ASSUME_32BITUIDS]: Remove conditional code.
7258 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7259 <kernel-features.h>.
7260 [__ASSUME_32BITUIDS]: Make code unconditional.
7261 [!__ASSUME_32BITUIDS]: Remove conditional code.
7262 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7263 <kernel-features.h>.
7264 [__ASSUME_32BITUIDS]: Make code unconditional.
7265 [!__ASSUME_32BITUIDS]: Remove conditional code.
7266 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7267 <kernel-features.h>.
7268 [__ASSUME_32BITUIDS]: Make code unconditional.
7269 [!__ASSUME_32BITUIDS]: Remove conditional code.
7270 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7271 <kernel-features.h>.
7272 [__ASSUME_32BITUIDS]: Make code unconditional.
7273 [!__ASSUME_32BITUIDS]: Remove conditional code.
7274 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7275 <kernel-features.h>.
7276 [__ASSUME_32BITUIDS]: Make code unconditional.
7277 [!__ASSUME_32BITUIDS]: Remove conditional code.
7278 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7279 <kernel-features.h>.
7280 [__ASSUME_32BITUIDS]: Make code unconditional.
7281 [!__ASSUME_32BITUIDS]: Remove conditional code.
7282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7283 <kernel-features.h>.
7284 [__ASSUME_32BITUIDS]: Make code unconditional.
7285 [!__ASSUME_32BITUIDS]: Remove conditional code.
7286 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7287 <kernel-features.h>.
7288 [__ASSUME_32BITUIDS]: Make code unconditional.
7289 [!__ASSUME_32BITUIDS]: Remove conditional code.
7290 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7291 <kernel-features.h>.
7292 [__NR_setresgid] (__setresgid): Do not declare.
7293 [__ASSUME_32BITUIDS]: Make code unconditional.
7294 [!__ASSUME_32BITUIDS]: Remove conditional code.
7295 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7296 <kernel-features.h>.
7297 [__NR_setresuid] (__setresuid): Do not declare.
7298 [__ASSUME_32BITUIDS]: Make code unconditional.
7299 [!__ASSUME_32BITUIDS]: Remove conditional code.
7300 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7301 <kernel-features.h>.
7302 [__ASSUME_32BITUIDS]: Make code unconditional.
7303 [!__ASSUME_32BITUIDS]: Remove conditional code.
7304 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7305 <kernel-features.h>.
7306 [__ASSUME_32BITUIDS]: Make code unconditional.
7307 [!__ASSUME_32BITUIDS]: Remove conditional code.
7308 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7309 <kernel-features.h>.
7310 [__ASSUME_32BITUIDS]: Make code unconditional.
7311 [!__ASSUME_32BITUIDS]: Remove conditional code.
7312 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7313 <kernel-features.h>.
7314 [__ASSUME_32BITUIDS]: Make code unconditional.
7315 [!__ASSUME_32BITUIDS]: Remove conditional code.
7316 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7317 <kernel-features.h>.
7318 [__ASSUME_32BITUIDS]: Make code unconditional.
7319 [!__ASSUME_32BITUIDS]: Remove conditional code.
7320 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7321 <kernel-features.h>.
7322 [__ASSUME_32BITUIDS]: Make code unconditional.
7323 [!__ASSUME_32BITUIDS]: Remove conditional code.
7324 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7325 <kernel-features.h>.
7326 [__ASSUME_32BITUIDS]: Make code unconditional.
7327 [!__ASSUME_32BITUIDS]: Remove conditional code.
7328 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7329 <kernel-features.h>.
7330 [__ASSUME_32BITUIDS]: Make code unconditional.
7331 [!__ASSUME_32BITUIDS]: Remove conditional code.
7332 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7333 <kernel-features.h>.
7334 [__ASSUME_32BITUIDS]: Make code unconditional.
7335 [!__ASSUME_32BITUIDS]: Remove conditional code.
7336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7337 <kernel-features.h>.
7338 [__ASSUME_32BITUIDS]: Make code unconditional.
7339 [!__ASSUME_32BITUIDS]: Remove conditional code.
7340 * sysdeps/unix/sysv/linux/kernel-features.h
7341 (__ASSUME_SETRESUID_SYSCALL): Remove.
7342 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7343 (__ASSUME_32BITUIDS): Likewise.
7344 (__ASSUME_LDT_WORKS): Likewise.
7345 (__ASSUME_O_DIRECTORY): Likewise.
7346 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7347 architecture but not kernel version.
7348 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7349 (__ASSUME_MMAP2_SYSCALL): Likewise.
7350 (__ASSUME_STAT64_SYSCALL): Likewise.
7351 (__ASSUME_IPC64): Likewise.
7352 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7353 <kernel-features.h>.
7354 [__ASSUME_32BITUIDS]: Make code unconditional.
7355 [!__ASSUME_32BITUIDS]: Remove conditional code.
7356 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7357 <kernel-features.h>.
7358 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7359 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7360 132096]: Remove conditional code.
7361 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7362 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7363 <kernel-features.h>.
7364 [__ASSUME_32BITUIDS]: Make code unconditional.
7365 [!__ASSUME_32BITUIDS]: Remove conditional code.
7366 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7367 <kernel-features.h>.
7368 [__ASSUME_32BITUIDS]: Make code unconditional.
7369 [!__ASSUME_32BITUIDS]: Remove conditional code.
7370 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7371 <kernel-features.h>.
7372 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7373 unconditional.
7374 (__setresgid): Do not declare.
7375 [__ASSUME_32BITUIDS]: Make code unconditional.
7376 [!__ASSUME_32BITUIDS]: Remove conditional code.
7377 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7378 <kernel-features.h>.
7379 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7380 unconditional.
7381 (__setresuid): Do not declare.
7382 [__ASSUME_32BITUIDS]: Make code unconditional.
7383 [!__ASSUME_32BITUIDS]: Remove conditional code.
7384 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7385 <kernel-features.h>.
7386 [__ASSUME_32BITUIDS]: Make code unconditional.
7387 [!__ASSUME_32BITUIDS]: Remove conditional code.
7388 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7389 <kernel-features.h>.
7390 [__ASSUME_32BITUIDS]: Make code unconditional.
7391 [!__ASSUME_32BITUIDS]: Remove conditional code.
7392
7393 2012-05-25 Richard Henderson <rth@twiddle.net>
7394
7395 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7396 dl_hwcap to ifunc resolver.
7397 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7398 elf_ifunc_invoke.
7399 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7400 dl_hwcap to ifunc resolver.
7401 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7402
7403 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7404
7405 [BZ #14153]
7406 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7407 for |x| <= 2**-26, not 2**-57.
7408 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7409 exception.
7410
7411 2012-05-24 Jeff Law <law@redhat.com>
7412
7413 * stdio-common/Makefile (tests): Add bug25.
7414 * stdio-common/bug25.c: New test.
7415
7416 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7417
7418 [BZ #13576]
7419 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7420 multiple of MALLOC_ALIGNMENT in size.
7421 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7422
7423 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7424
7425 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7426 Require >= 256.
7427 (FILENAME_MAX): Use macro-int-constant.
7428 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7429 (_IOFBF): Use macro-int-constant.
7430 (_IOLBF): Likewise.
7431 (_IONBF): Likewise.
7432 (SEEK_CUR): Likewise.
7433 (SEEK_END): Likewise.
7434 (SEEK_SET): Likewise.
7435 (TMP_MAX): Likewise.
7436 (EOF): Use macro-int-constant. Require < 0.
7437 (NULL): Use macro-constant. Require == 0.
7438 (stdin): Require type to be FILE *.
7439 (stdout): Likewise.
7440 (stderr): Likewise.
7441 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7442 macro-int-constant.
7443 (EXIT_SUCCESS): Likewise.
7444 (NULL): Use macro-constant. Require == 0.
7445 (RAND_MAX): Use macro-int-constant.
7446 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7447 [C99-based standards] (strtof): Require function.
7448 [C99-based standards] (strtold): Likewise.
7449 [C99-based standards] (strtoll): Likewise.
7450 [C99-based standards] (strtoull): Likewise.
7451 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7452 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7453 [ISO || ISO99 || ISO11] (math.h): Likewise.
7454 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7455 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7457
7458 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7459
7460 [BZ #14132]
7461 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7462 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7463 * intl/dgettext.c (DCGETTEXT): Likewise.
7464 * intl/gettext.c (DCGETTEXT): Likewise.
7465 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7466 * posix/regex_internal.h (gettext): Likewise.
7467 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7468 Remove declaration.
7469 * include/argz.h (__argz_count_internal)
7470 (__argz_stringify_internal): Remove declaration.
7471 (__argz_count, __argz_stringify): Declare hidden proto.
7472 * intl/dcgettext.c: Remove use of INTDEF.
7473 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7474 * string/argz-stringify.c: Likewise.
7475 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7476 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7477 Declare hidden proto.
7478 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7479 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7480 Declare hidden proto.
7481 * include/stdio.h (__asprintf_internal): Don't declare.
7482 (__asprintf): Don't define as macro. Declare hidden proto.
7483 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7484 (__fsetlocking): Declare hidden proto.
7485 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7486 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7487 hidden proto.
7488 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7489 (_IO_setlinebuf): Remove use of INTUSE.
7490 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7491 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7492 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7493 Remove declaration.
7494 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7495 (_IO_do_flush): Remove use of INTUSE.
7496 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7497 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7498 (_IO_adjust_column, _IO_least_wmarker)
7499 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7500 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7501 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7502 (_IO_default_doallocate, _IO_wdefault_doallocate)
7503 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7504 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7505 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7506 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7507 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7508 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7509 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7510 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7511 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7512 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7513 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7514 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7515 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7516 proto.
7517 (_IO_flush_all_internal, _IO_adjust_column_internal)
7518 (_IO_default_uflow_internal, _IO_default_finish_internal)
7519 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7520 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7521 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7522 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7523 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7524 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7525 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7526 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7527 (_IO_file_close_internal, _IO_file_close_it_internal)
7528 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7529 (_IO_file_init_internal, _IO_file_attach_internal)
7530 (_IO_file_fopen_internal, _IO_file_read_internal)
7531 (_IO_file_sync_internal, _IO_file_seek_internal)
7532 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7533 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7534 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7535 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7536 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7537 (_IO_list_all_internal, _IO_link_in_internal)
7538 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7539 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7540 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7541 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7542 (_IO_do_write_internal, _IO_padn_internal)
7543 (_IO_getline_info_internal, _IO_getline_internal)
7544 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7545 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7546 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7547 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7548 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7549 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7550 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7551 with libc_hidden_ver, remove use of INTUSE.
7552 * libio/genops.c: Likewise.
7553 * libio/freopen.c: Likewise.
7554 * libio/freopen64.c: Likewise.
7555 * libio/iofclose.c: Likewise.
7556 * libio/iofdopen.c: Likewise.
7557 * libio/iofflush.c: Likewise.
7558 * libio/iofflush_u.c: Likewise.
7559 * libio/iofgets.c: Likewise.
7560 * libio/iofgets_u.c: Likewise.
7561 * libio/iofopen.c: Likewise.
7562 * libio/iofopncook.c: Likewise.
7563 * libio/iofread.c: Likewise.
7564 * libio/iofread_u.c: Likewise.
7565 * libio/ioftell.c: Likewise.
7566 * libio/iofwrite.c: Likewise.
7567 * libio/iogetline.c: Likewise.
7568 * libio/iogets.c: Likewise.
7569 * libio/iogetwline.c: Likewise.
7570 * libio/iopadn.c: Likewise.
7571 * libio/iopopen.c: Likewise.
7572 * libio/ioseekoff.c: Likewise.
7573 * libio/ioseekpos.c: Likewise.
7574 * libio/iosetbuffer.c: Likewise.
7575 * libio/iosetvbuf.c: Likewise.
7576 * libio/ioungetc.c: Likewise.
7577 * libio/ioungetwc.c: Likewise.
7578 * libio/iovdprintf.c: Likewise.
7579 * libio/iovsprintf.c: Likewise.
7580 * libio/iovsscanf.c: Likewise.
7581 * libio/memstream.c: Likewise.
7582 * libio/obprintf.c: Likewise.
7583 * libio/oldfileops.c: Likewise.
7584 * libio/oldiofclose.c: Likewise.
7585 * libio/oldiofdopen.c: Likewise.
7586 * libio/oldiofopen.c: Likewise.
7587 * libio/oldiopopen.c: Likewise.
7588 * libio/oldstdfiles.c: Likewise.
7589 * libio/putc.c: Likewise.
7590 * libio/setbuf.c: Likewise.
7591 * libio/setlinebuf.c: Likewise.
7592 * libio/stdfiles.c: Likewise.
7593 * libio/strops.c: Likewise.
7594 * libio/vasprintf.c: Likewise.
7595 * libio/vscanf.c: Likewise.
7596 * libio/vsnprintf.c: Likewise.
7597 * libio/vswprintf.c: Likewise.
7598 * libio/wfiledoalloc.c: Likewise.
7599 * libio/wfileops.c: Likewise.
7600 * libio/wgenops.c: Likewise.
7601 * libio/wmemstream.c: Likewise.
7602 * libio/wstrops.c: Likewise.
7603 * libio/__fpurge.c: Likewise.
7604 * libio/__fsetlocking.c: Likewise.
7605 * assert/assert.c: Likewise.
7606 * debug/fgets_chk.c: Likewise.
7607 * debug/fgets_u_chk.c: Likewise.
7608 * debug/fread_chk.c: Likewise.
7609 * debug/fread_u_chk.c: Likewise.
7610 * debug/gets_chk.c: Likewise.
7611 * debug/obprintf_chk.c: Likewise.
7612 * debug/vasprintf_chk.c: Likewise.
7613 * debug/vdprintf_chk.c: Likewise.
7614 * debug/vsnprintf_chk.c: Likewise.
7615 * debug/vsprintf_chk.c: Likewise.
7616 * malloc/mtrace.c: Likewise.
7617 * misc/error.c: Likewise.
7618 * misc/syslog.c: Likewise.
7619 * stdio-common/asprintf.c: Likewise.
7620 * stdio-common/fxprintf.c: Likewise.
7621 * stdio-common/getw.c: Likewise.
7622 * stdio-common/isoc99_fscanf.c: Likewise.
7623 * stdio-common/isoc99_scanf.c: Likewise.
7624 * stdio-common/isoc99_vfscanf.c: Likewise.
7625 * stdio-common/isoc99_vscanf.c: Likewise.
7626 * stdio-common/isoc99_vsscanf.c: Likewise.
7627 * stdio-common/printf-prs.c: Likewise.
7628 * stdio-common/printf_fp.c: Likewise.
7629 * stdio-common/printf_fphex.c: Likewise.
7630 * stdio-common/printf_size.c: Likewise.
7631 * stdio-common/putw.c: Likewise.
7632 * stdio-common/scanf.c: Likewise.
7633 * stdio-common/sprintf.c: Likewise.
7634 * stdio-common/tmpfile.c: Likewise.
7635 * stdio-common/vfprintf.c: Likewise.
7636 * stdio-common/vfscanf.c: Likewise.
7637 * stdlib/strfmon_l.c: Likewise.
7638 * sunrpc/openchild.c: Likewise.
7639 * sunrpc/xdr_stdio.c: Likewise.
7640 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7641 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7642
7643 2012-05-24 Roland McGrath <roland@hack.frob.com>
7644
7645 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7646
7647 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7648 in the third column, to generate for the shared library an IFUNC
7649 that uses _dl_vdso_vsym.
7650 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7651 * Makeconfig (object-suffixes-noshared): New variable.
7652
7653 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7654 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7655 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7656 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7657
7658 [BZ #14132]
7659 * include/sys/time.h (__gettimeofday): Remove macro.
7660 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7661 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7662 Remove INTDEF.
7663 (__gettimeofday): Add libc_hidden_def.
7664 (gettimeofday): Add libc_hidden_weak.
7665 * sysdeps/mach/gettimeofday.c: Likewise.
7666 * sysdeps/posix/gettimeofday.c: Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7668 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7670 (__gettimeofday_internal): Remove strong_alias.
7671 (__gettimeofday): Add libc_hidden_def.
7672 (gettimeofday): Add libc_hidden_weak.
7673 * sysdeps/unix/syscalls.list (gettimeofday):
7674 Remove __gettimeofday_internal alias.
7675
7676 2012-05-24 Daniel Jacobowitz <drow@false.org>
7677 H.J. Lu <hongjiu.lu@intel.com>
7678
7679 [BZ #12495]
7680 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7681 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7682 (largebin_index_32_big): New.
7683 (largebin_index): Use it for 16-byte alignment.
7684 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7685 correction with front_misalign.
7686
7687 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7691 Likewise.
7692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7693 Likewise.
7694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7695 Likewise.
7696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7697 Likewise.
7698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7699 Likewise.
7700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7701 Likewise.
7702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7703 Likewise.
7704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7705 Likewise.
7706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7707 Likewise.
7708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7709 Likewise.
7710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7711 Likewise.
7712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7713 Likewise.
7714
7715 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7716 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7717
7718 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7719
7720 [BZ #10846]
7721 [BZ #14036]
7722 * math/libm-test.inc (exp_test): Add test from bug 14036.
7723 (pow_test): Add test from bug 10846.
7724
7725 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7726 and other flags.
7727 (special_function): Do not include flags in test name.
7728 (parse_args): Likewise.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7731 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7732 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
7735 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7736 exceptions.
7737 * math/libm-test.inc ("Philosophy"): Update comment about
7738 exception testing.
7739 (UNDERFLOW_EXCEPTION): New macro.
7740 (UNDERFLOW_EXCEPTION_OK): Likewise.
7741 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7742 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7743 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7744 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7745 (INVALID_EXCEPTION_OK): Update value.
7746 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7747 (OVERFLOW_EXCEPTION_OK): Likewise.
7748 (IGNORE_ZERO_INF_SIGN): Likewise.
7749 (test_exceptions): Handle underflow exceptions.
7750 (acos_test): Update for underflow exception expectations.
7751 (cexp_test): Likewise.
7752 (clog_test): Likewise.
7753 (clog10_test): Likewise.
7754 (csqrt_test): Likewise.
7755 (ctan_test): Likewise.
7756 (ctanh_test): Likewise.
7757 (exp_test): Likewise.
7758 (exp10_test): Likewise.
7759 (exp2_test): Likewise.
7760 (expm1_test): Likewise.
7761 (fma_test): Likewise.
7762 (j0_test): Likewise.
7763 (jn_test): Likewise.
7764 (nexttoward_test): Likewise.
7765 (pow_test): Likewise.
7766 (scalbn_test): Likewise.
7767 (scalbln_test): Likewise.
7768 (tan_test): Likewise.
7769 (y1_test): Likewise.
7770 * sysdeps/i386/fpu/libm-test-ulps: Update.
7771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7772
7773 2012-05-23 David S. Miller <davem@davemloft.net>
7774
7775 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7776 (__libc_sigaction): Remove unused local variables.
7777
7778 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7781
7782 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7783
7784 mktime: avoid signed integer overflow
7785 * time/mktime.c (__mktime_internal): Do not mishandle the case
7786 where diff == INT_MIN.
7787
7788 mktime: simplify computation of average
7789 * time/mktime.c (ranged_convert): Use new time_t_avg function
7790 instead of rolling our own (probably-slower) code.
7791
7792 mktime: do not assume signed right shift propagates sign bit
7793 * time/mktime.c (isdst_differ): New static function.
7794 (__mktime_internal): No need to normalize tm_isdst now.
7795 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7796 tm_isdst values.
7797
7798 mktime: merge another wrapv change from gnulib
7799 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7800 from some compilers.
7801
7802 mktime: remove incorrect attempt at unusual arithmetics
7803 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7804 The code didn't really work on such machines anyway.
7805 (TYPE_MINIMUM): Assume two's complement.
7806 (twos_complement_arithmetic): Verify that long_int and time_t
7807 are two's complement (or unsigned, in the latter case).
7808
7809 mktime: check signed shifts on long_int and time_t, too
7810 * time/mktime.c (SHR): Check that shifts work as desired
7811 on the types long_int and time_t too, as SHR is used on
7812 such types.
7813
7814 mktime: do not assume 'long' is wide enough
7815 * time/mktime.c (verify): Move decl up.
7816 (long_int): New type.
7817 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7818 to remove assumption in the code that 'long' is wide enough to
7819 store year values. This assumption is not true on x32 and on
7820 some non-glibc platforms.
7821
7822 mktime: merge wrapv change from gnulib
7823 * time/mktime.c (WRAPV): New macro.
7824 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7825 (guess_time_tm, __mktime_internal): Do not assume that signed
7826 integer overflow wraps around; modern compilers generate code
7827 where this assumption is no longer valid.
7828
7829 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7830
7831 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7832 Replace "jmp L(pseudo_end)" with "ret".
7833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7834 Likewise.
7835
7836 2012-05-23 Andreas Jaeger <aj@suse.de>
7837
7838 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7839 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7840
7841 2012-05-23 Andreas Jaeger <aj@suse.de>
7842 Maximilian Attems <max@stro.at>
7843
7844 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7845 New macros.
7846
7847 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7850 code so that pseudo_end is just ret and the stack pointer is
7851 correct also for static library in error case.
7852
7853 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7854
7855 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7856 move to syscalls.list.
7857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7861
7862 * manual/install.texi (Running make install): Do not mention Linux
7863 kernel version for which pt_chown is not needed.
7864 (Linux): Do not mention problems with nscd with 2.0 kernels.
7865 * INSTALL: Regenerated.
7866
7867 2012-05-23 Andreas Jaeger <aj@suse.de>
7868
7869 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7870 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7871 macro.
7872 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7874 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7876 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7878 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7879 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7881 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7882 * sysdeps/unix/sysv/linux/bits/in.h
7883 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7884
7885 2012-05-22 Roland McGrath <roland@hack.frob.com>
7886
7887 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7888 (PREPARE_VERSION): Just use assert instead, it will be elided
7889 under [NDEBUG] anyway.
7890
7891 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7892
7893 * sysdeps/unix/sysv/linux/Makefile: Include
7894 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7895 (sysdep_routines): Remove sysctl.
7896 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7897 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7898 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7899 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7900 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7901
7902 2012-05-22 Andreas Jaeger <aj@suse.de>
7903
7904 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7905 that pseudo_end is just ret and the stack pointer is correct also
7906 for static library in error case.
7907
7908 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7909
7910 [BZ #14122]
7911 * nss/nsswitch.c (defconfig_entries): New variable.
7912 (__nss_database_lookup): Don't leak defconfig entries.
7913 (nss_parse_service_list): Don't leak on error paths.
7914 (free_database_entries): New function.
7915 (free_defconfig): New function.
7916 (free_mem): Move common code to free_database_entries.
7917
7918 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7919
7920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7921 Add arch_prctl.
7922 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7923
7924 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7925 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7927 New macro.
7928 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7929 (INTERNAL_SYSCALL_TYPES): Likewise.
7930 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7931 (LOAD_REGS_TYPES_[1-6]): Likewise.
7932 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7933 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7934
7935 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7936
7937 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7938 copysignl for GLIBC_2_0.
7939 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7940 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7942 logbl for GLIBC_2_0.
7943 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7944 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7945
7946 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7949 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7950
7951 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7952 Use "neg %eax".
7953
7954 * time/mktime.c: Update copyright years.
7955
7956 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7957
7958 mktime: merge comment-quoting-style change from gnulib
7959 * time/mktime.c: Quote 'like this' in comments.
7960 The GNU coding standards suggest that we no longer quote `like this',
7961 as "`" and "'" are typically rendered asymmetrically nowadays.
7962 The typical gnulib style is to quote 'like this' when quoting
7963 code, and "like this" when quoting English.
7964
7965 * time/mktime.c (compile-command): Add "-I.".
7966
7967 mktime: merge mktime-internal.h change from gnulib
7968 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7969
7970 mktime: merge time_r change from gnulib
7971 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7972
7973 mktime: merge DEBUG change from gnulib
7974 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7975 case system <time.h> has a #define.
7976
7977 mktime: merge <sys/types.h> change from gnulib
7978 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7979 since <time.t> is now guaranteed to define time_t.
7980
7981 mktime: merge HAVE_CONFIG_H change from gnulib
7982 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7983
7984 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7987 Use "neg %eax".
7988
7989 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7990 __rlim_t cast.
7991 (struct rusage): Use anonymous union to pad each field to
7992 __syscall_slong_t.
7993
7994 2012-05-21 David S. Miller <davem@davemloft.net>
7995
7996 * Makefules (o-iterator): Remove .s cases.
7997 (compile-command.s): Delete.
7998 (COMPILE.s): Delete.
7999 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8000
8001 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8002
8003 * configure.in (libc_cv_predef_stack_protector): Only consider
8004 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8005 * configure: Regenerated.
8006
8007 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8008
8009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8010 New macro. Use R*LP on int and pointer.
8011 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8012 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8014 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8015
8016 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8017 [__WORDSIZE_TIME64_COMPAT32] instead of
8018 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8019 (struct utmp): Likewise.
8020 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8021 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8022 Renamed to ...
8023 (__WORDSIZE_TIME64_COMPAT32): This.
8024 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8025 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8026 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8027 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8028 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8029 (__WORDSIZE_TIME64_COMPAT32): New macro.
8030
8031 2012-05-21 Andreas Jaeger <aj@suse.de>
8032
8033 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8034 only if [SHARED]. Add prototype for __wcschr_ia32.
8035
8036 2012-05-21 Roland McGrath <roland@hack.frob.com>
8037
8038 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8039 of %rbp unmolested in the jmp_buf while mangling the low bits.
8040 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8041 unmolested high bits of %rbp while demangling the low bits.
8042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8043
8044 2012-05-21 Andreas Jaeger <aj@suse.de>
8045
8046 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8047 * sunrpc/svc_simple.c: Use it for registerrpc.
8048 * sunrpc/xcrypt.c: Use it for passwd2des.
8049
8050 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8051
8052 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8053
8054 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8055 Don't define if [__SYSCALL_WORDSIZE != 32].
8056 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8057 New macro.
8058
8059 2012-05-21 Bruno Haible <bruno@clisp.org>
8060 Andreas Jaeger <aj@suse.de>
8061
8062 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8063 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8064 inptr and inend for must_buffer_ch.
8065 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8066 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8067 * stdio-common/Makefile (tests): Remove bug15.
8068 (bug15-ENV): Remove macro.
8069 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8070 anymore.
8071
8072 2012-05-19 Andreas Jaeger <aj@suse.de>
8073 Roland McGrath <roland@hack.frob.com>
8074
8075 * manual/contrib.texi: Completely rewritten. It contains now an
8076 alphabetical list of contributors and their contributions.
8077
8078 2012-05-21 Richard Henderson <rth@twiddle.net>
8079
8080 * misc/getauxval.c (__getauxval): Use unsigned long int.
8081 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8082 (getauxval): Use unsigned long int.
8083
8084 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8085
8086 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8087
8088 2012-05-21 Roland McGrath <roland@hack.frob.com>
8089
8090 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8091 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8092 __alignof__ (long double).
8093
8094 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8095
8096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8097
8098 2012-05-20 Richard Henderson <rth@twiddle.net>
8099
8100 * misc/getauxval.c: New file.
8101 * misc/sys/auxv.h: New file.
8102 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8103 (routines): Add getauxval.
8104 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8105 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8106 * elf/dl-sysdep.c (_dl_auxv): Remove.
8107 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8108 * elf/dl-support.c (_dl_auxv): New variable.
8109 (_dl_aux_init): Initialize it.
8110 * manual/startup.texi (Auxiliary Vector): New node.
8111 * sysdeps/generic/bits/hwcap.h: New file.
8112 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8113 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8114 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8115 * sysdeps/sparc/sysdep.h: ... here. Include it.
8116 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8119 Update.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8123 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8128
8129 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8130
8131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8132
8133 2012-05-19 David S. Miller <davem@davemloft.net>
8134
8135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8136
8137 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8138
8139 [BZ #14123]
8140 * math/s_ccosh.c: Include <float.h>
8141 (__ccosh): Avoid internal overflow calculating sinh and cosh
8142 values before multiplying by sin and cos values.
8143 * math/s_ccoshf.c: Likewise.
8144 * math/s_ccoshl.c: Likewise.
8145 * math/s_csin.c: Likewise.
8146 * math/s_csinf.c: Likewise.
8147 * math/s_csinl.c: Likewise.
8148 * math/s_csinh.c: Likewise.
8149 * math/s_csinhf.c: Likewise.
8150 * math/s_csinhl.c: Likewise.
8151 * math/libm-test.inc (ccos_test): Add more tests.
8152 (ccosh_test): Likewise.
8153 (csin_test): Likewise.
8154 (csinh_test): Likewise.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157
8158 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8161 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8162
8163 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8164
8165 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8166
8167 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8168 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8169 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8170 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8171 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8172 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8173 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8174 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8175 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8176 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8177 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8178 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8179 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8180 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8181 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8182 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8183 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8184 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8185 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8186 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8187 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8188 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8189 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8190 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8191 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8192 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8193 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8194 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8195 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8196 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8197 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8198
8199 2012-05-18 Andreas Jaeger <aj@suse.de>
8200
8201 * csu/.gitignore: Delete.
8202
8203 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8204
8205 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8206 (timex): Use __syscall_slong_t.
8207
8208 2012-05-18 Andreas Jaeger <aj@suse.de>
8209 Carlos O'Donell <carlos_odonell@mentor.com>
8210
8211 * manual/install.texi (Configuring and compiling): Update
8212 description about files modified in the source directory.
8213 * INSTALL: Regenerated.
8214
8215 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8216
8217 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8218 value. Use "or" to set return value to -1.
8219 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8220 negate return value.
8221
8222 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8223
8224 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8225 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8226 failure if the compiler has Graphite support disabled.
8227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8228 Likewise.
8229 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8230 CFLAGS-memmove.c): Likewise.
8231 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8232 Likewise.
8233
8234 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8235
8236 * sysdeps/x86_64/x32/_itoa.h: New file.
8237
8238 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8239 getdents system call only if kernel and user dirents have the
8240 same d_ino and d_off.
8241
8242 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8243 LLONG_MAX != LONG_MAX.
8244 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8245 (_fitoa_word): Likewise.
8246
8247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8248 years.
8249 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8251 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8252
8253 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8254 include <bits/wordsize.h>. Check __x86_64__ instead of
8255 __WORDSIZE.
8256 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8257 if __x86_64__ is defined. Use anonymous union on fpstate.
8258
8259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8260 anonymous union.
8261
8262 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8263
8264 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8265 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8266 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8267 Refer to _rtld_local_ro instead of _rtld_global_ro.
8268 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8269 Likewise.
8270 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8271 Likewise.
8272 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8273 Likewise.
8274 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8275 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8276 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8277
8278 * sysdeps/powerpc/powerpc32/dl-machine.c
8279 (__elf_machine_runtime_setup) [PROF]: Don't reference
8280 _dl_prof_resolve.
8281
8282 2012-05-18 Andreas Jaeger <aj@suse.de>
8283
8284 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8285 function only available for GCCs before 3.4 since GCC 3.4
8286 introduced a builtin.
8287 (lrint): Likewise.
8288 (llrintf): Likewise.
8289 (llrint): Likewise.
8290 (fmaxf): Likewise.
8291 (fmax): Likewise.
8292 (fminf): Likewise.
8293 (fmin): Likewise.
8294 (rint): Likewise.
8295 (rintf): Likewise.
8296 (nearbyint): Likewise.
8297 (nearbyintf): Likewise.
8298 (ceil): Likewise.
8299 (ceilf): Likewise.
8300 (floor): Likewise.
8301 (floorf): Likewise.
8302
8303 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8304
8305 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8306 on both fields and cast pointer to __syscall_ulong_t.
8307
8308 * bits/types.h (__fsword_t): New type.
8309 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8310 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8312 (__FSWORD_T_TYPE): Likewise.
8313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8314 (__FSWORD_T_TYPE): Likewise.
8315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8316 (__FSWORD_T_TYPE): Likewise.
8317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8318 (__FSWORD_T_TYPE): Likewise.
8319 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8320 __SWORD_TYPE with __fsword_t.
8321 (statfs64): Likewise.
8322
8323 2012-05-17 David S. Miller <davem@davemloft.net>
8324
8325 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8326
8327 2012-05-17 Andreas Jaeger <aj@suse.de>
8328
8329 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8330 warning.
8331
8332 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8333
8334 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8335
8336 2012-05-17 Andreas Jaeger <aj@suse.de>
8337
8338 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8339 when it is used.
8340
8341 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8342
8343 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8344
8345 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8348 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8349
8350 2012-05-17 Andreas Jaeger <aj@suse.de>
8351 Carlos O'Donell <carlos_odonell@mentor.com>
8352
8353 [BZ #14059]
8354 * sysdeps/x86_64/multiarch/init-arch.h
8355 (bit_YMM_Usable): Rename to...
8356 (bit_AVX_Usable): ... this.
8357 (bit_FMA4_Usable): New macro.
8358 (bit_XMM_state): New macro.
8359 (bit_YMM_state): New macro.
8360 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8361 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8362 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8363 (CPUID_OSXSAVE): New macro.
8364 (CPUID_AVX): New macro.
8365 (CPUID_FMA4): New macro.
8366 (index_YMM_Usable): Rename to...
8367 (index_AVX_Usable): ... this.
8368 (HAS_AVX): Use HAS_ARCH_FEATURE.
8369 (HAS_FMA4): Likewise.
8370 (HAS_YMM_USABLE): Remove.
8371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8372 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8373 are present.
8374 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8375 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8376 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8377 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8378 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8379
8380 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8381
8382 * math/libm-test.c: Support platforms without multiple rounding modes.
8383 * math/bug-nextafter.c: Support platforms without FP exceptions.
8384 * math/bug-nexttoward.c: Likewise.
8385 * math/test-fenv.c: Likewise.
8386 * math/test-misc.c: Likewise.
8387 * stdlib/bug-getcontext.c: Likewise.
8388
8389 2012-05-17 Andreas Jaeger <aj@suse.de>
8390
8391 * manual/examples/search.c (critter_cmp): Change signature to
8392 avoid warnings.
8393 * manual/string.texi (Collation Functions): Likewise.
8394
8395 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * bits/types.h: Fold copyright years.
8398 * bits/typesizes.h: Likewise.
8399 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8403 * time/time.h: Likewise.
8404
8405 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8406
8407 [BZ #208]
8408 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8409 in instead of returning them. Return void.
8410 (__libc_mallinfo): Accumulate over all arenas.
8411 (__malloc_stats): Adjust for change in int_mallinfo interface.
8412
8413 2012-05-16 Roland McGrath <roland@hack.frob.com>
8414
8415 [BZ #10375]
8416 * configure.in (NM): Add AC_CHECK_TOOL for it.
8417 (libc_extra_cflags): New substituted variable.
8418 Check for -fstack-protector being used implicitly.
8419 * configure: Regenerated.
8420 * config.make.in (config-extra-cflags): New variable,
8421 gets @libc_extra_cflags@.
8422 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8423
8424 [BZ #10375]
8425 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8426 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8427 * configure: Regenerated.
8428 * config.make.in (CPPUNDEFS): New substituted variable.
8429 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8430 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8431 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8432
8433 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8436 (mq_attr): Use __syscall_slong_t.
8437
8438 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8441 Check __x86_64__ instead of __WORDSIZE.
8442 (_STAT_VER_LINUX): Likewise.
8443 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8444 __syscall_ulong_t and __syscall_slong_t.
8445 (stat64): Likewise.
8446
8447 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8448
8449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8450
8451 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8452
8453 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8454
8455 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8458 __syscall_ulong_t.
8459
8460 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8461 include <bits/wordsize.h>. Check __x86_64__ instead of
8462 __WORDSIZE.
8463 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8464 defined.
8465 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8466
8467 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8468 include <bits/wordsize.h>. Check __x86_64__ instead of
8469 __WORDSIZE.
8470 (user_regs_struct): Use "__extension__ unsigned long long"
8471 instead of "unsigned long" if __x86_64__ is defined.
8472 (user): Likewise. Pad after pointer field if __ILP32__ is
8473 defined.
8474
8475 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8476
8477 * configure.in (makeinfo): Require version 4.5 or later. Allow
8478 versions 5 to 9.
8479 * configure: Regenerated.
8480 * manual/install.texi (texinfo): Increase version requirement to
8481 4.5 or later.
8482 * INSTALL: Regenerated.
8483
8484 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8485
8486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8487
8488 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8489
8490 * sysdeps/x86_64/x32/ffs.c: New file.
8491
8492 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8493 __syscall_ulong_t.
8494 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8495 defined. Use __syscall_ulong_t.
8496 (shminfo): Use __syscall_ulong_t.
8497 (shm_info): Likewise.
8498
8499 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8500 __syscall_ulong_t.
8501
8502 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8503 <bits/wordsize.h>.
8504 (msgqnum_t): Use __syscall_ulong_t.
8505 (msglen_t): Likewise.
8506 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8507 __syscall_ulong_t.
8508
8509 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8510 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8511
8512 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8513
8514 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8515 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8516
8517 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8518 __syscall_slong_t.
8519
8520 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8521 include <bits/wordsize.h>. Check __x86_64__ instead of
8522 __WORDSIZE.
8523
8524 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8525 "unsigned long long int" if __x86_64__ is defined.
8526 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8527
8528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8529 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8530 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8531
8532 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8533 <stdint.h>.
8534 (GET_PC): Cast to uintptr_t first.
8535 (GET_FRAME): Likewise.
8536 (GET_STACK): Likewise.
8537
8538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8540 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8541 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8542 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8543 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8544 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8545 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8546 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8547 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8548 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8549 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8552 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8553 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8554 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8555 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8556 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8557 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8558 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8559 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8560 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8561 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8567
8568 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8569
8570 * Makerules (+depfiles): Also collect depfiles from .oS in
8571 $(extra-objs).
8572 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8573 .oS, $(libnldbl-routines)).
8574
8575 * Makerules (native-compile-mkdep-flags): Define.
8576 * sunrpc/Makefile (extra-objs): Add $(addprefix
8577 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8578 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8579 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8580 calling $(make-target-directory).
8581
8582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8583
8584 * bits/types.h (__snseconds_t): Removed.
8585 * time/time.h (struct timespec): Replace __snseconds_t with
8586 __syscall_slong_t.
8587 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8588 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8589 Likewise.
8590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8591 (__SNSECONDS_T_TYPE): Likewise.
8592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8593 (__SNSECONDS_T_TYPE): Likewise.
8594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8595 (__SNSECONDS_T_TYPE): Likewise.
8596
8597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 * sysdeps/mach/hurd/bits/typesizes.h
8600 (__SYSCALL_SLONG_TYPE): New macro.
8601 (__SYSCALL_ULONG_TYPE): Likewise.
8602
8603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * bits/types.h (__syscall_slong_t): New type.
8606 (__syscall_ulong_t): Likewise.
8607
8608 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8609 (__SYSCALL_ULONG_TYPE): Likewise.
8610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8611 (__SYSCALL_SLONG_TYPE): Likewise.
8612 (__SYSCALL_ULONG_TYPE): Likewise.
8613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8614 (__SYSCALL_SLONG_TYPE): Likewise.
8615 (__SYSCALL_ULONG_TYPE): Likewise.
8616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8617 (__SYSCALL_SLONG_TYPE): Likewise.
8618 (__SYSCALL_ULONG_TYPE): Likewise.
8619
8620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8621
8622 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8623 Add sigaltstack-offsets.sym.
8624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8625 <sigaltstack-offsets.h>.
8626 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8627 longjmp_msg pointer.
8628 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8629 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8630 signal stack.
8631 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8632
8633 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8634
8635 * elf/stackguard-macros.h: Remove file.
8636 * sysdeps/generic/stackguard-macros.h: New file.
8637 * sysdeps/i386/stackguard-macros.h: Likewise.
8638 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8639 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8640 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8641 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8642 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8643 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8644 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8645 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8646 <elf/stackguard-macros.h>.
8647
8648 [BZ #14109]
8649 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8650 __aligned__ in attribute.
8651 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8652 (gregset_t): Likewise.
8653
8654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8655
8656 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8657 * sysdeps/x86_64/64/Implies-after: Here. New file.
8658 * sysdeps/x86_64/x32/Implies-after: New file.
8659
8660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8661
8662 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8663 and access return value for _dl_profile_fixup. Use R10_LP to
8664 load frame size.
8665
8666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8667
8668 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8669
8670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8671
8672 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8673 * sysdeps/x86_64/x32/sysdep.h: New file.
8674
8675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8676
8677 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8678 * sysdeps/x86_64/setjmp.S: Likewise.
8679
8680 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8681
8682 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8683 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8684 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8685 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8686 remove unused global constant.
8687
8688 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8689
8690 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8691 include of <not-cancel.h>.
8692
8693 2012-05-15 Roland McGrath <roland@hack.frob.com>
8694
8695 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8696
8697 2012-05-15 Jeff Law <law@redhat.com>
8698 Andreas Jaeger <aj@suse.de>
8699
8700 [BZ #13594]
8701 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8702 out from...
8703 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8704 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8705 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8706 code changing __hst_map_handle.map.
8707
8708 2012-05-15 Roland McGrath <roland@hack.frob.com>
8709
8710 * configure.in (sysnames): Look for Implies-before and Implies-after
8711 files.
8712 * configure: Regenerated.
8713
8714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8715
8716 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8717 8-byte data alignment with LP_SIZE alignment.
8718
8719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8720
8721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8722 into R10_LP.
8723
8724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8725
8726 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8727
8728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8731 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8732 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8733 Likewise.
8734 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8735
8736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8737
8738 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8739 (stackinfo_sub_sp): Likewise.
8740
8741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8742
8743 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8744 RAX_LP.
8745
8746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8747
8748 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8749 into R*_LP.
8750
8751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8752
8753 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8754 sizes into R*_LP.
8755
8756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8757
8758 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8759
8760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8761
8762 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8763 into R11_LP and load __x86_64_shared_cache_size_half into
8764 R8_LP.
8765
8766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8767
8768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8769 R8_LP.
8770
8771 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772
8773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8774 logb for POWER7.
8775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8776 logbf for POWER7.
8777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8778 logbl for POWER7.
8779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8780 powerpc32/power7/fpu/s_logb.c via #include.
8781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8782 powerpc32/power7/fpu/s_logbf.c via #include.
8783 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8784 powerpc32/power7/fpu/s_logbl.c via #include.
8785
8786 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8787
8788 * README.libm: Remove file.
8789
8790 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8791
8792 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8793 count for x32. Use R*_LP and omit operand-size suffix.
8794
8795 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8796
8797 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8798 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8799 * sysdeps/x86_64/x32/shlib-versions: New file.
8800
8801 2012-05-14 Roland McGrath <roland@hack.frob.com>
8802
8803 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8804 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8805 Use _dl_fatal_printf instead.
8806
8807 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8808
8809 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8810 set if not set by the user. Do not allow for being unset.
8811 * sysdeps/unix/sysv/linux/configure: Regenerated.
8812
8813 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8814
8815 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8816 the `q' suffix from lea and replace .quad with ASM_ADDR.
8817
8818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8819
8820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8821 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8822 instead of $17.
8823 (PTR_DEMANGLE): Likewise.
8824
8825 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8826
8827 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8828 (LP_OP): Likewise.
8829 (ASM_ADDR): Likewise.
8830 (RAX_LP): Likewise.
8831 (RBP_LP): Likewise.
8832 (RBX_LP): Likewise.
8833 (RCX_LP): Likewise.
8834 (RDI_LP): Likewise.
8835 (RSI_LP): Likewise.
8836 (RSP_LP): Likewise.
8837 (R8_LP): Likewise.
8838 (R9_LP): Likewise.
8839 (R10_LP): Likewise.
8840 (R10_LP): Likewise.
8841 (R11_LP): Likewise.
8842 (R12_LP): Likewise.
8843 (R13_LP): Likewise.
8844 (R14_LP): Likewise.
8845 (R15_LP): Likewise.
8846
8847 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 * sysdeps/x86_64/x32/dl-machine.h: New file.
8850
8851 2012-05-14 Andreas Jaeger <aj@suse.de>
8852
8853 * manual/Makefile (subdir): Remove export of subdir.
8854 (all): Remove target.
8855 (.PHONY): Remove all from list.
8856 (mkinstalldirs): Remove.
8857 (.PHONY): Remove installdirs from list.
8858 ($(inst_infodir)/libc.info): Use make-target-directory.
8859 (installdirs): Remove.
8860 (subdir_%): Remove.
8861 (glibc-targets): Remove.
8862 (lib): Remove.
8863 (stubs): Remove.
8864 ($(objpfx)stubs ../po/manual.pot): Remove.
8865 ($(objpfx)stamp%): Remove.
8866 (make-target-directory): Remove.
8867 (subdir_install): Remove.
8868 (routines): Remove.
8869 (aux): Remove.
8870 (sources): Remove.
8871 (objects): Remove.
8872 (headers): Remove.
8873
8874 [BZ #13750]
8875 * manual/.gitignore: Remove, it's not needed anymore.
8876 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8877 all files in it.
8878 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8879 directory.
8880 (texis): Renamed to $(objpfx)texis.
8881 (texis-path): New, contains path to generated files.
8882 (chapters.%): Use texis-path for complete path, add extra argument
8883 libc-texinfo.sh.
8884 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8885 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8886 (summary,texi, stamp-summary): Use complete path of
8887 files. Generate files in build dir.
8888 (dir-add.texi): Build in build dir.
8889 (libm-err.texi,stamp-libm-err): Likewise.
8890 (version.texi, stamp-version): Likewise.
8891 (.%c.texi): Likewise.
8892 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8893 (mostlyclean): Remove target.
8894 (realclean): Remove target.
8895 (generated): Add new variable with contents from mostlyclean and
8896 realclean, remove entries duplicated in common-mostlyclean, add
8897 stamp-libm-err and stamp-version.
8898 (generated-dirs): Add libc directory.
8899 ($(inst_infodir)/libc.info): Install files from build dir.
8900
8901 * manual/install.texi (Configuring and compiling): Adjust since
8902 the info files are not part of the tar ball anymore.
8903
8904 2012-05-14 Andreas Jaeger <aj@suse.de>
8905
8906 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8907 variable.
8908
8909 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8910
8911 [BZ #13717]
8912 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8913 to 2.2.0 where earlier.
8914 * sysdeps/unix/sysv/linux/configure: Regenerated.
8915 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8916 Remove conditional code.
8917 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8918 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8919 Remove conditional code.
8920 [!__NR_lchown]: Likewise.
8921 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8922 [__NR_lchown]: Likewise.
8923 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8924 comment referencing __ASSUME_LCHOWN_SYSCALL.
8925 * sysdeps/unix/sysv/linux/i386/sigaction.c
8926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8928 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8929 Remove conditional code.
8930 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8931 (__protocol_available): Remove #if 0 code.
8932 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8933 conditional code.
8934 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8935 * sysdeps/unix/sysv/linux/kernel-features.h
8936 (__ASSUME_GETCWD_SYSCALL): Don't define.
8937 (__ASSUME_REALTIME_SIGNALS): Likewise.
8938 (__ASSUME_PREAD_SYSCALL): Likewise.
8939 (__ASSUME_PWRITE_SYSCALL): Likewise.
8940 (__ASSUME_POLL_SYSCALL): Likewise.
8941 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8942 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8943 non-SPARC.
8944 (__ASSUME_SIOCGIFNAME): Don't define.
8945 (__ASSUME_MSG_NOSIGNAL): Likewise.
8946 (__ASSUME_SENDFILE): Define unconditionally.
8947 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8948 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8949 conditional code.
8950 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8951 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8952 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8953 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8954 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8955 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8956 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8958 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8961 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8970 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8973 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8976 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8977 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8979 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8980 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8981 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8982 Remove conditional code.
8983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8984 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8985 Remove conditional code.
8986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8987 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8988 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8989 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8990 Remove conditional code.
8991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8992 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8993 Remove conditional code.
8994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8995 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8996 Remove conditional code.
8997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8998 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8999 Remove conditional code.
9000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9001 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9002 Remove conditional code.
9003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9004 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9007 * sysdeps/unix/sysv/linux/sigaction.c
9008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9010 * sysdeps/unix/sysv/linux/sigpending.c
9011 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9012 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9013 * sysdeps/unix/sysv/linux/sigprocmask.c
9014 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9015 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9016 * sysdeps/unix/sysv/linux/sigsuspend.c
9017 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9018 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9019 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9020 (__libc_missing_rt_sigs): Remove.
9021 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9022 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9023 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9024 Remove conditional code.
9025 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9026 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9027 return 1.
9028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9029 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9031 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9032
9033 2012-05-14 Andreas Jaeger <aj@suse.de>
9034
9035 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9036 it's not used in glibc.
9037 (__coshm1): Likewise.
9038 (__acosh1p): Likewise.
9039 (__sgn): Likewise.
9040
9041 * manual/string.texi (Copying and Concatenation): Add missing
9042 variable in concat example.
9043 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9044
9045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9046
9047 [BZ #14103]
9048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9049 __builtin_clzl with __builtin_clzll.
9050
9051 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 [BZ #14104]
9054 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9055 libc_freeres_ptr.
9056
9057 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9058
9059 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9060 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9061 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9062 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9063
9064 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9065
9066 * NEWS: Update ia64 info.
9067
9068 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9071 used as bcopy.
9072
9073 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9074
9075 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9076 * sysdeps/unix/syscalls.list (dup3): Likewise.
9077 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9078 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9079
9080 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9081
9082 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9083 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9084
9085 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9088 thread pointer.
9089 (TLS_IE): Use mov/add instead of movq/addq to load thread
9090 pointer.
9091 (TLS_GD_PREFIX): New.
9092 (TLS_GD): Use it.
9093
9094 2012-05-11 David S. Miller <davem@davemloft.net>
9095
9096 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9097 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9098 (_FPU_SETCW): Likewise.
9099
9100 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9101
9102 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9103 is 32-byte aligned.
9104
9105 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9106
9107 [BZ #11837]
9108 * iconvdata/gb18030.c: Update tables.
9109 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9110 characters specially.
9111 (BODY for TO_LOOP): Add encoding of missing ranges.
9112
9113 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9114
9115 [BZ #13673]
9116 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9117 * sysdeps/mach/hurd/dup3.c: Likewise.
9118 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9119 * sysdeps/powerpc/memmove.c:: Likewise.
9120
9121 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9122
9123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9124 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9125
9126 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9127
9128 * elf/elf.h (R_X86_64_RELATIVE64): New.
9129 (R_X86_64_NUM): Updated.
9130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9131 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9132 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9133 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9134 tst-quad1pie tst-quad2pie
9135 (modules-names): Add tst-quadmod1 tst-quadmod2.
9136 ($(objpfx)tst-quad1): New dependency.
9137 ($(objpfx)tst-quad2): Likewise.
9138 ($(objpfx)tst-quad1pie): Likewise.
9139 ($(objpfx)tst-quad2pie): Likewise.
9140 * sysdeps/x86_64/tst-quad1.c: New file.
9141 * sysdeps/x86_64/tst-quad1pie.c: New file.
9142 * sysdeps/x86_64/tst-quad2.c: Likewise.
9143 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9144 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9145 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9146 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9147 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9148
9149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9150
9151 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9152 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9153 * streams/stropts.h (t_scalar_t): Define type.
9154
9155 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9156 (_PATH_PRESERVE): Set to "/var/lib".
9157 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9158
9159 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9160 instead of int.
9161
9162 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9163 if __dir_mkfile succeeded.
9164
9165 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9166 checking for _hurd_dtablesize. Unlock it right after having
9167 finished _hurd_dtable allocation.
9168
9169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9170
9171 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9172 * sysdeps/mach/hurd/configure: Regenerated.
9173 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9174 special-casing to...
9175 * sysdeps/gnu/configure.in: ... this new file.
9176 * sysdeps/unix/sysv/linux/configure: Regenerated.
9177 * sysdeps/gnu/configure: New generated file.
9178
9179 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9180 for Linux: use nsec instead of usec, as well as:
9181 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9182 members of type struct timespec.
9183 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9184 New macros.
9185 (struct stat64): Likewise.
9186 (_STATBUF_ST_NSEC): New macro.
9187 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9188
9189 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9190 __strtoul_internal rather than strtoul.
9191
9192 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9193
9194 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9195 and reject them.
9196
9197 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9198
9199 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9200 which preserves existing values.
9201 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9202
9203 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9204
9205 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9206 TIMEOUT values. Return EINVAL for NFDS values either negative or
9207 greater than FD_SETSIZE.
9208
9209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9210
9211 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9212 allocated, call __vm_protect to finish enabling the existing space, and
9213 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9214 allocate the remainder.
9215
9216 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9217
9218 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9219 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9220
9221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9222
9223 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9224 sysdeps/mach/hurd/readlink.c.
9225
9226 * posix/tst-sysconf.c (posix_options): Only use
9227 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9228 _POSIX_SYNCHRONIZED_IO when they are defined
9229 * sysdeps/mach/hurd/bits/posix_opt.h:
9230 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9231 (_XOPEN_REALTIME): Undefine macro.
9232 (_XOPEN_REALTIME_THREADS): Undefine macro.
9233 (_XOPEN_SHM): Undefine macro.
9234 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9235 macro to -1.
9236 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9237 macro to -1.
9238 (_POSIX_ASYNC_IO): Undefine macro.
9239 (_POSIX_PRIORITIZED_IO): Undefine macro.
9240 (_POSIX_SPIN_LOCKS): Define macro to -1.
9241
9242 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9243 SA_NODEFER, SA_RESETHAND.
9244 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9245 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9246 F_DUPFD_CLOEXEC.
9247
9248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9249
9250 * elf/Makefile (pldd-modules): Define unconditionally.
9251
9252 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9253
9254 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9255
9256 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9257
9258 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9259 Return ENOENT when name is empty.
9260 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9261
9262 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9263
9264 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9265
9266 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9267
9268 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9269
9270 Fix mlock in all cases except non-readable pages.
9271 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9272 instead of VM_PROT_ALL as parameter to __vm_wire function.
9273
9274 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9275 (__mkdir): When path is `/', just fail with EEXIST.
9276 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9277
9278 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9279
9280 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9281 <sys/uio.h> (for writev).
9282 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9283 and <sys/param.h> (for MIN).
9284
9285 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9286
9287 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9288 REQUESTED_TIME. Properly set the remaining time and return EINTR
9289 if interrupted.
9290
9291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9292
9293 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9294 Depend on against $(link-rpcuserlibs).
9295
9296 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9297
9298 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9299 (__libc_stack_end): Do not use attribute_relro.
9300 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9301 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9302 to libthread-provided value.
9303 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9304 attribute_relro.
9305
9306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9307
9308 [BZ #3748]
9309 * bits/libc-lock.h (__libc_once_get): New macro.
9310 * sysdeps/mach/bits/libc-lock.h: Likewise.
9311 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9312 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9313 instead of using implementation details.
9314
9315 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9316 * libio/freopen.c: Likewise.
9317 * libio/freopen64.c: Likewise.
9318 * misc/syslog.c: Likewise.
9319 * nscd/connections.c: Likewise.
9320 * nscd/netgroupcache.c: Likewise.
9321 * sysdeps/posix/getcwd.c: Likewise.
9322
9323 2012-05-10 Roland McGrath <roland@hack.frob.com>
9324
9325 * math/w_ilogbf.c: Add #include <limits.h>.
9326
9327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9328
9329 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9330 path instead of returning without unlocking.
9331
9332 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9333 immediate-write ioctls.
9334 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9335
9336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9337
9338 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9339 __builtin_frame_address instead of making assumptions about the
9340 location of the return address relative to DATA. Force early load of
9341 the return address.
9342 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9343 __builtin_frame_address.
9344
9345 dup3 for GNU Hurd.
9346 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9347 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9348 implement dup3 and do some further code clean-ups.
9349 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9350 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9351
9352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9353
9354 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9355
9356 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9357 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9358 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9359 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9360 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9361 d->port.lock.
9362
9363 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9364 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9365 when handler == SIG_ERR, not when handler != SIG_ERR.
9366
9367 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9368
9369 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9370 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9371 definitions.
9372
9373 accept4 for GNU Hurd.
9374 * include/sys/socket.h (__libc_accept4): New prototype.
9375 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9376 to implement __libc_accept4.
9377 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9378 __libc_accept4.
9379 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9380
9381 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9382 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9383 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9384 signal-defines.sym.
9385
9386 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9387
9388 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9389
9390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9391
9392 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9393 assertion on O_CLOEXEC flag.
9394 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9395 * hurd/intern-fd.c: Likewise.
9396 * hurd/port2fd.c: Likewise.
9397
9398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9399
9400 [BZ #3906]
9401 * bits/in.h (IPV6_PKTINFO): Define new macro.
9402 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9403
9404 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9405
9406 [BZ #13954]
9407 [BZ #13955]
9408 [BZ #13956]
9409 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9411 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9412 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9414 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9415 * math/libm-test.inc (logb_test) : Additional logb tests.
9416
9417 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9418 Andreas Jaeger <aj@suse.de>
9419
9420 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9421 * configure: Regenerated.
9422 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9423 * config.make.in (link-obsolete-rpc): New substituted variable.
9424 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9425 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9426 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9427 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9428 so that libc.a contains the symbols.
9429 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9430 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9431 * sunrpc/auth_none.c: Likewise.
9432 * sunrpc/auth_unix.c: Likewise.
9433 * sunrpc/authdes_prot.c: Likewise.
9434 * sunrpc/authuxprot.c: Likewise.
9435 * sunrpc/clnt_gen.c: Likewise.
9436 * sunrpc/clnt_perr.c: Likewise.
9437 * sunrpc/clnt_raw.c: Likewise.
9438 * sunrpc/clnt_simp.c: Likewise.
9439 * sunrpc/clnt_tcp.c: Likewise.
9440 * sunrpc/clnt_udp.c: Likewise.
9441 * sunrpc/clnt_unix.c: Likewise.
9442 * sunrpc/des_crypt.c: Likewise.
9443 * sunrpc/des_soft.c: Likewise.
9444 * sunrpc/get_myaddr.c: Likewise.
9445 * sunrpc/key_call.c: Likewise.
9446 * sunrpc/key_prot.c: Likewise.
9447 * sunrpc/netname.c: Likewise.
9448 * sunrpc/pm_getmaps.c: Likewise.
9449 * sunrpc/pm_getport.c: Likewise.
9450 * sunrpc/pmap_clnt.c: Likewise.
9451 * sunrpc/pmap_prot.c: Likewise.
9452 * sunrpc/pmap_prot2.c: Likewise.
9453 * sunrpc/pmap_rmt.c: Likewise.
9454 * sunrpc/publickey.c: Likewise.
9455 * sunrpc/rpc_cmsg.c: Likewise.
9456 * sunrpc/rpc_common.c: Likewise.
9457 * sunrpc/rpc_dtable.c: Likewise.
9458 * sunrpc/rpc_prot.c: Likewise.
9459 * sunrpc/rpc_thread.c: Likewise.
9460 * sunrpc/rtime.c: Likewise.
9461 * sunrpc/svc.c: Likewise.
9462 * sunrpc/svc_auth.c: Likewise.
9463 * sunrpc/svc_raw.c: Likewise.
9464 * sunrpc/svc_run.c: Likewise.
9465 * sunrpc/svc_tcp.c: Likewise.
9466 * sunrpc/svc_udp.c: Likewise.
9467 * sunrpc/svc_unix.c: Likewise.
9468 * sunrpc/svcauth_des.c: Likewise.
9469 * sunrpc/xcrypt.c: Likewise.
9470 * sunrpc/xdr.c: Likewise.
9471 * sunrpc/xdr_array.c: Likewise.
9472 * sunrpc/xdr_float.c: Likewise.
9473 * sunrpc/xdr_intXX_t.c: Likewise.
9474 * sunrpc/xdr_mem.c: Likewise.
9475 * sunrpc/xdr_rec.c: Likewise.
9476 * sunrpc/xdr_ref.c: Likewise.
9477 * sunrpc/xdr_sizeof.c: Likewise.
9478 * sunrpc/xdr_stdio.c: Likewise.
9479
9480 2012-05-10 Roland McGrath <roland@hack.frob.com>
9481
9482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9483 change. Update copyright years.
9484
9485 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9486
9487 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9488
9489 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9490 Joseph Myers <joseph@codesourcery.com>
9491 Paul Pluzhnikov <ppluzhnikov@google.com>
9492
9493 [BZ #14012]
9494 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9495 requiring rpcgen.
9496 [cross-compiling] (extra-libs): Likewise.
9497 [cross-compiling] (extra-libs-others): Likewise.
9498 [cross-compiling] (librpcsvc-routines): Likewise.
9499 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9500 [cross-compiling] (omit-deps): Likewise.
9501 (sunrpc-CPPFLAGS): New variable.
9502 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9503 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9504 (cross-rpcgen-objs): New variable.
9505 (extra-objs): Append $(cross-rpcgen-objs).
9506 ($(cross-rpcgen-objs)): New rule.
9507 ($(objpfx)cross-rpcgen): Likewise.
9508 (rpcgen-cmd): Define to use $(built-program-file). Expand
9509 comment.
9510 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9511 ($(objpfx)x%.stmp): Likewise.
9512 * sunrpc/proto.h [IS_IN_build] (_): Define.
9513 [IS_IN_build] (_libc_intl_domainname): Likewise.
9514
9515 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9518 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9519 and R_X86_64_TPOFF64.
9520
9521 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9522
9523 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9524 sysdeps/unix/sysv/syscalls.list.
9525 (stime): Likewise.
9526 (utime): Likewise.
9527 * sysdeps/unix/sysv/syscalls.list: Remove file.
9528
9529 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9530
9531 [BZ #3440]
9532 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9533 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9534 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9535 (__LC_IDENTIFICATION): Make these macros useful in #if
9536 expressions, as required by C99.
9537
9538 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9539
9540 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9541 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9542 after this.
9543
9544 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * stdlib/longlong.h: Updated from GCC.
9547
9548 2012-05-09 Andreas Jaeger <aj@suse.de>
9549
9550 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9551 default is first entry.
9552 (run_mode): Set type.
9553 (main): Remove informal message about syslog.
9554 (options): Fix typo.
9555
9556 [BZ #14053]
9557 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9558 to asm.
9559 (lrint): Likewise.
9560 (llrintf): Likewise.
9561 (llrint): Likewise.
9562 (rint): Likewise.
9563 (rintf): Likewise.
9564 (nearbyint): Likewise.
9565 (nearbyintf): Likewise.
9566
9567 2012-05-09 Andreas Jaeger <aj@suse.de>
9568 Pedro Alves <palves@redhat.com>
9569
9570 * nscd/nscd.c (run_mode): Use enum.
9571 (main): Cleanup coding style issue.
9572
9573 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9574 Andreas Jaeger <aj@suse.de>
9575
9576 * nscd/nscd.c (go_background): Replaced with...
9577 (run_mode): ... this.
9578 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9579 (options): Add -F --foreground.
9580 (main): Implement it.
9581 (parse_opt): Parse it.
9582
9583 2012-05-09 Andreas Jaeger <aj@suse.de>
9584
9585 [BZ #14083]
9586 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9587 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9588 -Wconversion warning.
9589 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9590 Likewise.
9591
9592 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9593
9594 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9595 == 0.
9596 (LC_ALL): Use macro-int-constant.
9597 (LC_COLLATE): Likewise.
9598 (LC_CTYPE): Likewise.
9599 (LC_MESSAGES): Likewise.
9600 (LC_MONETARY): Likewise.
9601 (LC_NUMERIC): Likewise.
9602 (LC_TIME): Likewise.
9603 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9604 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9606 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9607 Specify type.
9608 [C99-based standards] (float_t): Expect type.
9609 [C99-based standards] (double_t): Expect type.
9610 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9611 type.
9612 [C99-based standards] (HUGE_VALL): Likewise.
9613 [C99-based standards] (INFINITY): Likewise.
9614 [C99-based standards] (NAN): Likewise.
9615 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9616 [C99-based standards] (FP_NAN): Likewise.
9617 [C99-based standards] (FP_NORMAL): Likewise.
9618 [C99-based standards] (FP_SUBNORMAL): Likewise.
9619 [C99-based standards] (FP_ZERO): Likewise.
9620 [C99-based standards] (FP_FAST_FMA): Use
9621 optional-macro-int-constant. Specify type. Require == 1.
9622 [C99-based standards] (FP_FAST_FMAF): Likewise.
9623 [C99-based standards] (FP_FAST_FMAL): Likewise.
9624 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9625 [C99-based standards] (FP_ILOGBNAN): Likewise.
9626 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9627 Specify type.
9628 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9629 [C99-based standards] (math_errhandling): Specify type.
9630 [ISO99 || ISO11] (signgam): Do not allow.
9631 [non-C99-based standards] (copysignf): Do not allow.
9632 [non-C99-based standards] (exp2f): Likewise.
9633 [non-C99-based standards] (log2f): Likewise.
9634 [non-C99-based standards] (modff): Allow.
9635 [non-C99-based standards] (erff): Do not allow.
9636 [non-C99-based standards] (erfcf): Likewise.
9637 [non-C99-based standards] (gammaf): Likewise.
9638 [non-C99-based standards] (hypotf): Likewise.
9639 [non-C99-based standards] (j0f): Likewise.
9640 [non-C99-based standards] (j1f): Likewise.
9641 [non-C99-based standards] (jnf): Likewise.
9642 [non-C99-based standards] (lgammaf): Likewise.
9643 [non-C99-based standards] (tgammaf): Likewise.
9644 [non-C99-based standards] (y0f): Likewise.
9645 [non-C99-based standards] (y1f): Likewise.
9646 [non-C99-based standards] (ynf): Likewise.
9647 [non-C99-based standards] (isnanf): Likewise.
9648 [non-C99-based standards] (acoshf): Likewise.
9649 [non-C99-based standards] (asinhf): Likewise.
9650 [non-C99-based standards] (atanhf): Likewise.
9651 [non-C99-based standards] (cbrtf): Likewise.
9652 [non-C99-based standards] (expm1f): Likewise.
9653 [non-C99-based standards] (ilogbf): Likewise.
9654 [non-C99-based standards] (log1pf): Likewise.
9655 [non-C99-based standards] (logbf): Likewise.
9656 [non-C99-based standards] (nextafterf): Likewise.
9657 [non-C99-based standards] (remainderf): Likewise.
9658 [non-C99-based standards] (rintf): Likewise.
9659 [non-C99-based standards] (scalbf): Likewise.
9660 [non-C99-based standards] (copysignl): Likewise.
9661 [non-C99-based standards] (exp2l): Likewise.
9662 [non-C99-based standards] (log2l): Likewise.
9663 [non-C99-based standards] (modfl): Allow.
9664 [non-C99-based standards] (erfl): Do not allow.
9665 [non-C99-based standards] (erfcl): Likewise.
9666 [non-C99-based standards] (gammal): Likewise.
9667 [non-C99-based standards] (hypotl): Likewise.
9668 [non-C99-based standards] (j0l): Likewise.
9669 [non-C99-based standards] (j1l): Likewise.
9670 [non-C99-based standards] (jnl): Likewise.
9671 [non-C99-based standards] (lgammal): Likewise.
9672 [non-C99-based standards] (tgammal): Likewise.
9673 [non-C99-based standards] (y0l): Likewise.
9674 [non-C99-based standards] (y1l): Likewise.
9675 [non-C99-based standards] (ynl): Likewise.
9676 [non-C99-based standards] (isnanl): Likewise.
9677 [non-C99-based standards] (acoshl): Likewise.
9678 [non-C99-based standards] (asinhl): Likewise.
9679 [non-C99-based standards] (atanhl): Likewise.
9680 [non-C99-based standards] (cbrtl): Likewise.
9681 [non-C99-based standards] (expm1l): Likewise.
9682 [non-C99-based standards] (ilogbl): Likewise.
9683 [non-C99-based standards] (log1pl): Likewise.
9684 [non-C99-based standards] (logbl): Likewise.
9685 [non-C99-based standards] (nextafterl): Likewise.
9686 [non-C99-based standards] (remainderl): Likewise.
9687 [non-C99-based standards] (rintl): Likewise.
9688 [non-C99-based standards] (scalbl): Likewise.
9689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9690 [non-C99-based standards] (FP_*): Do not allow.
9691 [C99-based standards] (FP_*): Change to
9692 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9693 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9694 allow.
9695 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9696 (SIG_ERR): Likewise.
9697 [X/Open-based standards] (SIG_HOLD): Likewise.
9698 (SIG_IGN): Likewise.
9699 (SIGABRT): Use macro-int-constant. Specify type. Require
9700 positive value.
9701 (SIGFPE): Likewise.
9702 (SIGILL): Likewise.
9703 (SIGINT): Likewise.
9704 (SIGSEGV): Likewise.
9705 (SIGTER): Likewise.
9706 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9707 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9708 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9709 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9710 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9711 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9724 [X/Open-based standards] (SIGTRAP): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9729 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9730 allow.
9731
9732 2012-05-08 Ian Wienand <ianw@vmware.com>
9733
9734 [BZ #14080]
9735 * time/tzset.c (__tzset_parse_tz): Update default rules for
9736 daylight time changes in the Energy Policy Act of 2005.
9737
9738 2012-05-09 Andreas Jaeger <aj@suse.de>
9739
9740 [BZ #13983]
9741 * elf/ldconfig.c (parse_conf): Change string to make clear that
9742 ldconfig only issued a warning if ld.so.conf does not exist.
9743
9744 2012-05-08 David S. Miller <davem@davemloft.net>
9745
9746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9747 movxtod instead of popping the value on the stack.
9748
9749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9750
9751 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9752
9753 * config.h.in: Add HAVE_ARM_PCS_VFP.
9754
9755 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9756
9757 [BZ #13979]
9758 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9759 checking but the checks are disabled for any reason.
9760
9761 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9764 and ELF64_R_TYPE with ELFW(R_TYPE).
9765
9766 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9767
9768 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9769 (ulimit): Likewise.
9770
9771 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9772 (settimeofday): Likewise.
9773
9774 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9775
9776 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9777 a struct th_u2 inside the union, and move tu_block/tu_code into
9778 a new th_u3 union of tu_block/tu_code inside of that. Move
9779 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9780 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9781 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9782 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9783 (th_stuff): Change to th_u1.tu_stuff.
9784 (th_data): Define.
9785 (th_msg): Change to th_u1.th_u2.tu_data.
9786
9787 2012-05-07 David S. Miller <davem@davemloft.net>
9788
9789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9790
9791 [BZ #14074]
9792 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9793 (SETUP_PIC_REG): Use it.
9794 (SETUP_PIC_REG_LEAF): Use it.
9795
9796 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9797
9798 [BZ #13885]
9799 [BZ #13923]
9800 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9801 USE_AS_EXPM1L.
9802 (EXPL_FINITE): Likewise.
9803 (FLDLOG): Likewise.
9804 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9805 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9806 e_expl.S.
9807 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9808 USE_AS_EXPM1L.
9809 (EXPL_FINITE): Likewise.
9810 (FLDLOG): Likewise.
9811 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9812 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9813 e_expl.S.
9814 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9815 test of -max_value argument for long double.
9816 * sysdeps/i386/fpu/libm-test-ulps: Update.
9817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9818
9819 2012-05-06 David S. Miller <davem@davemloft.net>
9820
9821 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9822 quad soft-float symbols whose references which are compiler
9823 generated.
9824 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9825
9826 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9827
9828 [BZ #13884]
9829 [BZ #13914]
9830 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9831 USE_AS_EXP10L.
9832 (EXPL_FINITE): Likewise.
9833 (FLDLOG): Likewise.
9834 (c0): Likewise.
9835 (c1): Likewise.
9836 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9837 Adjust comments for base varying.
9838 (__expl_finite): Change alias to EXPL_FINITE.
9839 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9840 e_expl.S.
9841 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9842 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9844 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9845 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9846 USE_AS_EXP10L.
9847 (EXPL_FINITE): Likewise.
9848 (FLDLOG): Likewise.
9849 (c0): Likewise.
9850 (c1): Likewise.
9851 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9852 Adjust comments for base varying.
9853 (__expl_finite): Change alias to EXPL_FINITE.
9854 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9855 tests for bugs.
9856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9857
9858 [BZ #14064]
9859 * math/libm-test.inc (check_float_internal): Correct ulp
9860 calculation for subnormal expected results.
9861
9862 2012-05-06 Andreas Jaeger <aj@suse.de>
9863
9864 * Makeconfig (+math-flags): New, set to -frounding-math.
9865 (+cflags): Add +math-flags so that all of glibc gets compiled with
9866 it.
9867
9868 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9869
9870 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9871
9872 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9873 Disable one test.
9874
9875 [BZ #13787]
9876 [BZ #13922]
9877 [BZ #14036]
9878 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9879 (__ieee754_expl): Allow for and saturate large arguments.
9880 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9881 (u_threshold): Likewise.
9882 (__exp): Call __ieee754_exp before checking for overflow and
9883 underflow.
9884 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9885 (u_threshold): Likewise.
9886 (__expf): Call __ieee754_expf before checking for overflow and
9887 underflow.
9888 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9889 (u_threshold): Likewise.
9890 (__expl): Call __ieee754_expl before checking for overflow and
9891 underflow.
9892 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9893 (__ieee754_expl): Allow for and saturate large arguments.
9894 * math/libm-test.inc (exp_test): Add another test. Do not allow
9895 missing overflow exception on overflow.
9896 (expm1_test): Do not allow missing overflow exception on overflow.
9897
9898 * sysdeps/i386/fpu/e_expl.c: Move to ...
9899 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9900 rather than using inline asm.
9901 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9902 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9903 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9904
9905 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9906 (nice): Likewise.
9907 (poll): Likewise.
9908 (signal): Likewise.
9909 (time): Likewise.
9910 (times): Likewise.
9911
9912 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9913
9914 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9915 sysdeps/unix/common/syscalls.list.
9916 (fchmod): Likewise.
9917 (fchown): Likewise.
9918 (ftruncate): Likewise.
9919 (getrusage): Likewise.
9920 (gettimeofday): Likewise.
9921 (setpgid): Likewise.
9922 (setregid): Likewise.
9923 (setreuid): Likewise.
9924 (sigaction): Likewise.
9925 (truncate): Likewise.
9926 (vhangup): Likewise.
9927 * sysdeps/unix/common/syscalls.list: Remove file.
9928 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9929 * sysdeps/unix/sysv/linux/Implies: Likewise.
9930
9931 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9932
9933 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9935 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9936 Moved to ...
9937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9938 Here.
9939 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9940 to ...
9941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9942 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9943 to ...
9944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9945 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9946 to ...
9947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9948 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9949 to ...
9950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9951 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9952 to ...
9953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9954 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9955 to ...
9956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9957 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9958 to ...
9959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9960 Here.
9961 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9962 to ...
9963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9964 Here.
9965 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9966 to ...
9967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9968 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9969 Moved to ...
9970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9971 Here.
9972 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9973 to ...
9974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9975
9976 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9977
9978 * sysdeps/unix/common/bits/dirent.h: Remove file.
9979 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9980
9981 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9982 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9983 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9984 * sysdeps/unix/bsd/isatty.c: Likewise.
9985 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9986 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9987 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9988
9989 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9990
9991 [BZ #13563]
9992 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9993 long double comparison inaccuracies.
9994 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9996
9997 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9998
9999 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10000 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10001
10002 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10003
10004 [BZ #14049]
10005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10006 nonzero digits before rounding a hex value.
10007 * stdlib/tst-strtod.c (tests): Add another test.
10008
10009 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10010
10011 * sysdeps/s390/fpu/libm-test-ulps: Update.
10012
10013 2012-05-03 Andreas Jaeger <aj@suse.de>
10014
10015 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10016 does not get optimized out.
10017 (malloc_opt_barrier): New.
10018
10019 2012-05-03 Andreas Jaeger <aj@suse.de>
10020 Roland McGrath <roland@hack.frob.com>
10021
10022 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10023 intermediate file deletion.
10024 (generated): Add .symlist files.
10025
10026 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10027
10028 [BZ #13775]
10029 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10030 Redirect under this condition.
10031 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10032 [__USE_GNU] (__dprintf_chk): Not under this condition.
10033 [__USE_GNU] (__vdprintf_chk): Likewise.
10034 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10035 under this condition.
10036 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10037 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10038 [__USE_XOPEN2K8] (vdprintf): Likewise.
10039 [__USE_GNU] (__dprintf_chk): Not under this condition.
10040 [__USE_GNU] (__vdprintf_chk): Likewise.
10041 [__USE_GNU] (dprintf): Likewise.
10042 [__USE_GNU] (vdprintf): Likewise.
10043
10044 2012-05-03 Roland McGrath <roland@hack.frob.com>
10045
10046 * elf/Makefile (common-generated): Set this instead of generated for
10047 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10048 $(all-built-dso)-derived lists.
10049
10050 2012-05-03 Andreas Jaeger <aj@suse.de>
10051
10052 * sysdeps/i386/fpu/libm-test-ulps: Update.
10053
10054 * FAQ: Removed.
10055 * FAQ.in: Likewise.
10056 * scripts/gen-FAQ.pl: Likewise.
10057 * manual/install.texi (Installation): Point to online location of
10058 FAQ.
10059 * Makefile (files-for-dist): Remove FAQ.
10060 (FAQ): Remove.
10061
10062 2012-05-02 Allan McRae <allan@archlinux.org>
10063
10064 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10065 (LDFLAGS-reldepmod5.so): Likewise.
10066 (LDFLAGS-reldep6mod1.so): Likewise.
10067 (LDFLAGS-reldep6mod4.so): Likewise.
10068 (LDFLAGS-reldep8mod3.so): Likewise.
10069 (LDFLAGS-unload4mod1.so): Likewise.
10070 (LDFLAGS-unload4mod2.so): Likewise.
10071 (LDFLAGS-tst-initorder): Likewise.
10072 (LDFLAGS-tst-initordera2.so): Likewise.
10073 (LDFLAGS-tst-initordera3.so): Likewise.
10074 (LDFLAGS-tst-initordera4.so): Likewise.
10075 (LDFLAGS-tst-initorderb2.so): Likewise.
10076 (LDFLAGS-noload): Likewise.
10077 (LDFLAGS-next): Likewise.
10078 (LDFLAGS-order2mod1.so): Likewise.
10079 (LDFLAGS-order2mod2.so): Likewise.
10080 (LDFLAGS-tst-initorder2): Likewise.
10081 (LDFLAGS-tst-initorder2a.so): Likewise.
10082 (LDFLAGS-tst-initorder2b.so): Likewise.
10083 (LDFLAGS-tst-initorder2c.so): Likewise.
10084 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10085
10086 2012-05-02 David S. Miller <davem@davemloft.net>
10087
10088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10089
10090 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10091
10092 [BZ #14055]
10093 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10094
10095 2012-05-02 Andreas Jaeger <aj@suse.de>
10096
10097 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10098 since we manipulate rounding mode.
10099 (CPPFLAGS-test-idouble.c): Likewise.
10100 (CPPFLAGS-test-ifloat.c): Likewise.
10101 (CFLAGS-test-ldouble.c): Likewise.
10102 (CFLAGS-test-double.c): Likewise.
10103 (CFLAGS-test-float.c): Likewise.
10104 (CFLAGS-test-misc.c): Likewise.
10105 (CFLAGS-test-test-fenv.c): Likewise.
10106
10107 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108
10109 [BZ #2550]
10110 [BZ #2570]
10111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10112 comparisons to determine direction to adjust input.
10113
10114 2012-05-01 Roland McGrath <roland@hack.frob.com>
10115
10116 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10117 output to the target.
10118
10119 * scripts/localplt.awk: New file.
10120 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10121 (check-localplt-CFLAGS): Variable removed.
10122 ($(all-built-dso:=.jmprel)): New static pattern rule.
10123 (generated): Add those targets.
10124 (localplt-built-dso): New variable.
10125 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10126
10127 * elf/check-localplt.c: File removed.
10128
10129 * scripts/check-execstack.awk: New file.
10130 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10131 (check-execstack-CFLAGS): Variable removed.
10132 ($(objpfx)check-execstack.h): Target removed.
10133 ($(objpfx)execstack-default): New target.
10134 (generated): Add that instead of check-execstack.h.
10135 ($(all-built-dso:=.phdr)): New static pattern rule.
10136 (generated): Add those targets.
10137 * elf/check-execstack.c: File removed.
10138
10139 * scripts/check-textrel.awk: New file.
10140 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10141 (check-textrel-CFLAGS): Variable removed.
10142 (all-built-dso): Use := to define.o
10143 ($(all-built-dso:=.dyn)): New static pattern rule.
10144 (generated): Add those targets.
10145 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10146 * config.make.in (READELF): New substituted variable.
10147 * elf/check-textrel.c: File removed.
10148
10149 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10150
10151 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10152 allow.
10153 * conform/data/ctype.h-data [C99-based standards] (isblank):
10154 Expect function.
10155 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10156 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10158 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10159 Specify type. Require positive value.
10160 (EILSEQ): Likewise.
10161 (ERANGE): Likewise.
10162 [ISO || POSIX] (EILSEQ): Do not expect.
10163 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10164 Specify type. Require positive value.
10165 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10166 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10167 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10168 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10171 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10172 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10173 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10174 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10176 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10181 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10182 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10183 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10185 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10187 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10188 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10189 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10194 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10195 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10201 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10202 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10203 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10207 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10208 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10209 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10210 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10214 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10216 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10217 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10239 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10240 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10241 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10242 Require >= 2.
10243 (FLT_ROUNDS): Expect as macro, not constant.
10244 (FLT_MANT_DIG): Use macro-int-constant.
10245 (DBL_MANT_DIG): Likewise.
10246 (LDBL_MANT_DIG): Likewise.
10247 (FLT_DIG): Likewise.
10248 (DBL_DIG): Likewise.
10249 (LDBL_DIG): Likewise.
10250 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10251 (DBL_MIN_EXP): Likewise.
10252 (LDBL_MIN_EXP): Likewise.
10253 (FLT_MAX_EXP): Use macro-int-constant.
10254 (DBL_MAX_EXP): Likewise.
10255 (LDBL_MAX_EXP): Likewise.
10256 (FLT_MAX_10_EXP): Likewise.
10257 (DBL_MAX_10_EXP): Likewise.
10258 (LDBL_MAX_10_EXP): Likewise.
10259 (FLT_MAX): Use macro-constant.
10260 (DBL_MAX): Likewise.
10261 (LDBL_MAX): Likewise.
10262 (FLT_EPSILON): Use macro-constant. Give upper bound.
10263 (DBL_EPSILON): Likewise.
10264 (LDBL_EPSILON): Likewise.
10265 (FLT_MIN): Likewise.
10266 (DBL_MIN): Likewise.
10267 (LDBL_MIN): Likewise.
10268 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10269 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10270 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10271 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10272 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10273 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10274 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10275 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10276 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10277 [ISO11] (FLT_TRUE_MIN): Likewise.
10278 [ISO11] (LDBL_TRUE_MIN): Likewise.
10279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10280 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10281 (SCHAR_MIN): Use macro-int-constant. Specify type.
10282 (SCHAR_MAX): Likewise.
10283 (UCHAR_MAX): Likewise.
10284 (CHAR_MIN): Likewise.
10285 (CHAR_MAX): Likewise.
10286 (MB_LEN_MAX): Use macro-int-constant.
10287 (SHRT_MIN): Use macro-int-constant. Specify type.
10288 (SHRT_MAX): Likewise.
10289 (USHRT_MAX): Likewise.
10290 (INT_MAX): Likewise.
10291 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10292 bound negative.
10293 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10294 bound with "U".
10295 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10296 bound with "L".
10297 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10298 bound negative. Suffix upper bound with "L".
10299 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10300 bound with "UL".
10301 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10302 Specify type.
10303 [C99-based standards] (LLONG_MAX): Likewise.
10304 [C99-based standards] (ULLONG_MAX): Likewise.
10305 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10306 == 0.
10307 [ISO11] (max_align_t): Require type.
10308 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10309
10310 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10311 from $CFLAGS, without defining away __attribute__ calls.
10312 (checknamespace): Use $CFLAGS_namespace.
10313
10314 * conform/conformtest.pl (@keywords): Only include C99 keywords
10315 for standards based on C99 or C11.
10316
10317 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10318 Disable tests.
10319 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10320 UNIX98]: Likewise.
10321
10322 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10323 usability of symbols in #if.
10324
10325 * conform/conformtest.pl: If macro or constant types start
10326 "promoted:", expect the symbol to be of the following type
10327 promoted by the integer promotions.
10328
10329 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10330 in one place. Also handle "macro-constant".
10331
10332 * conform/conformtest.pl: Only accept expected macro values with
10333 "==". Parse all "macro" lines in one place.
10334 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10335
10336 * conform/conformtest.pl: Handle braced types on "constant" lines
10337 instead of handling "typed-constant".
10338 * conform/data/signal.h-data: Use "constant" instead of
10339 "typed-constant".
10340
10341 * conform/conformtest.pl: Handle "optional-" at start of lines in
10342 one place rather than duplicating several cases. Handle each
10343 format of "macro" line with initial "optional-".
10344
10345 * conform/conformtest.pl: Only accept expected constant or
10346 optional-constant values with "==". Parse all "constant" lines in
10347 one place. Parse all "optional-constant" lines in one place.
10348 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10349 * conform/data/fmtmsg.h-data: Likewise.
10350 * conform/data/netinet/in.h-data: Likewise.
10351 * conform/data/tar.h-data: Likewise.
10352 * conform/data/limits.h-data: Use "==" form on "constant" and
10353 "optional-constant" lines.
10354
10355 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10356 Use -std=c99 for XOPEN2K.
10357 (@knownproblems): Remove.
10358 (newtoken): Don't check %isknown.
10359
10360 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10361 Do not expect macro.
10362 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10374 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10375 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10392 [XPG3] (acosh): Likewise.
10393 [XPG3] (asinh): Likewise.
10394 [XPG3] (atanh): Likewise.
10395 [XPG3] (cbrt): Likewise.
10396 [XPG3] (expm1): Likewise.
10397 [XPG3] (ilogb): Likewise.
10398 [XPG3] (log1p): Likewise.
10399 [XPG3] (logb): Likewise.
10400 [XPG3] (nextafter): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10403 [XPG3] (remainder): Likewise.
10404 [XPG3] (rint): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10412 [UNIX98 || XOPEN2K] (scalb): Expect.
10413 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10414 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10513 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10514 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10515 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10516 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10517 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10518 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10519 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10520 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10521 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10522 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10523 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10524 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10525 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10526 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10527 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10528 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10529 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10530 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10531 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10532 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10533 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10534 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10550
10551 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10552 _XOPEN_SOURCE_EXTENDED for XPG4.
10553
10554 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10555
10556 * Makeconfig (localtime): Remove variable.
10557 (inst_localtime-file): Likewise.
10558
10559 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10560
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10562 Update.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10564 Update.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10566 Update.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10568 Update.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10570 Update.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10572 Update.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10574 Update.
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10576 Update.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10578 Update.
10579
10580 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10581
10582 [BZ #2550]
10583 [BZ #2570]
10584 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10585 comparisons to determine direction to adjust input.
10586 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10587 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10588 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10589 Likewise.
10590 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10591 Likewise.
10592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10593 Likewise.
10594 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10596 Likewise.
10597 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10598 Likewise.
10599 * math/libm-test.inc (nexttoward_test): Add more tests.
10600
10601 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10602
10603 [BZ #14040]
10604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10605 in version GLIBC_2.1, not GLIBC_2.0.
10606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10607 Likewise.
10608
10609 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10610
10611 [BZ #13942]
10612 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10613 (1 - x) * (1 + x).
10614 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10615 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10616 * math/libm-test.inc (acos_test): Add more tests.
10617 (asin_test): Likewise.
10618 * sysdeps/i386/fpu/libm-test-ulps: Update.
10619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620
10621 [BZ #14034]
10622 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10623 of square root.
10624 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10625 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10626 * math/libm-test.inc (acos_test_tonearest): New function.
10627 (acos_test_towardzero): Likewise.
10628 (acos_test_downward): Likewise.
10629 (acos_test_upward): Likewise.
10630 (asin_test_tonearest): Likewise.
10631 (asin_test_towardzero): Likewise.
10632 (asin_test_downward): Likewise.
10633 (asin_test_upward): Likewise.
10634 (main): Call the new functions.
10635 * sysdeps/i386/fpu/libm-test-ulps: Update.
10636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10637
10638 [BZ #13884]
10639 [BZ #13924]
10640 * math/e_exp10.c: Include <float.h>.
10641 (__ieee754_exp10): Handle underflow here rather than multiplying
10642 large negative argument by M_LN10.
10643 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10644 of __ieee754_expf.
10645 * math/e_exp10l.c: Include <float.h>.
10646 (__ieee754_exp10l): Handle underflow here rather than multiplying
10647 large negative argument by M_LN10l.
10648 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10649 spurious overflow exception on underflow.
10650
10651 2012-04-29 Marek Polacek <polacek@redhat.com>
10652
10653 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10654 (__fortify_function): New macro.
10655 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10656 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10657 __extern_always_inline.
10658 * libio/bits/stdio2.h: Likewise.
10659 * libio/bits/stdio.h: Likewise.
10660 * string/string.h: Likewise.
10661 * string/bits/string3.h: Likewise.
10662 * include/stdio.h: Likewise.
10663 * stdlib/bits/stdlib.h: Likewise.
10664 * stdlib/stdlib.h: Likewise.
10665 * rt/bits/mqueue2.h: Likewise.
10666 * rt/mqueue.h: Likewise.
10667 * posix/bits/unistd.h: Likewise.
10668 * posix/unistd.h: Likewise.
10669 * io/bits/poll2.h: Likewise.
10670 * io/bits/fcntl2.h: Likewise.
10671 * io/fcntl.h: Likewise.
10672 * io/sys/poll.h: Likewise.
10673 * misc/bits/syslog.h: Likewise.
10674 * misc/bits/syslog-ldbl.h: Likewise.
10675 * misc/sys/syslog.h: Likewise.
10676 * socket/bits/socket2.h: Likewise.
10677 * socket/sys/socket.h: Likewise.
10678 * debug/tst-chk1.c: Likewise.
10679 * wcsmbs/bits/wchar2.h: Likewise.
10680 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10681 * wcsmbs/wchar.h: Likewise.
10682
10683 2012-04-29 Andreas Jaeger <aj@suse.de>
10684
10685 * Makerules (tests): Remove enable-check-abi protection.
10686 (check-abi-warn): Remove.
10687 (check-abi-%): Remove check-abi-warn usage.
10688
10689 * configure.in: Remove check-abi configure option.
10690 * configure: Regenerated.
10691 * config.make.in (enable-check-abi): Remove.
10692
10693 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10694
10695 [BZ #14033]
10696 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10697 double functions to double *_finite functions.
10698
10699 [BZ #13941]
10700 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10701 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10702 LDBL_MIN_EXP.
10703 * stdio-common/Makefile (tests): Add tst-sprintf3.
10704 * stdio-common/tst-sprintf3.c: New file.
10705
10706 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10707 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10708
10709 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10710
10711 * conform/conformtest.pl: Remove duplicate typed-constant
10712 handling.
10713
10714 2012-04-28 David S. Miller <davem@davemloft.net>
10715
10716 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10717 (check-abi-%): Remove AWK script prerequisite and explicit
10718 abilist directory.
10719 (check-abi): Rewrite to just diff the symlist with the abilist.
10720 (config-tls, config-abi-config): Delete, no longer used.
10721 (update-abi-%): Remove AWK script and explicit abilist directory.
10722 (update-abi): Rewrite to simply compare and conditionally copy the
10723 symlist and the sysdep abilist file. Remove update-abi-config
10724 checks.
10725 * abilist/ld.abilist: Remove.
10726 * abilist/libBrokenLocale.abilist: Remove.
10727 * abilist/libanl.abilist: Remove.
10728 * abilist/libcrypt.abilist: Remove.
10729 * abilist/libdl.abilist: Remove.
10730 * abilist/librt.abilist: Remove.
10731 * abilist/libthread_db.abilist: Remove.
10732 * abilist/libutil.abilist: Remove.
10733 * scripts/extract-abilist.awk: Remove.
10734 * scripts/merge-abilist.awk: Remove.
10735 * sysdeps/generic/libcidn.abilist: New file.
10736 * sysdeps/generic/libnss_compat.abilist: New file.
10737 * sysdeps/generic/libnss_db.abilist: New file.
10738 * sysdeps/generic/libnss_dns.abilist: New file.
10739 * sysdeps/generic/libnss_files.abilist: New file.
10740 * sysdeps/generic/libnss_hesiod.abilist: New file.
10741 * sysdeps/generic/libnss_nis.abilist: New file.
10742 * sysdeps/generic/libnss_nisplus.abilist: New file.
10743 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10744 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10745 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10746 file.
10747 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10748 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10749 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10750 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10751 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10752 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10753 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10754 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10755 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10756 file.
10757 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10758 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10759 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10760 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10761 file.
10762 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10763 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10764 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10765 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10767 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10768 file.
10769 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10770 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10771 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10772 file.
10773 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10775 New file.
10776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10777 New file.
10778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10779 New file.
10780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10781 New file.
10782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10783 New file.
10784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10785 New file.
10786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10787 New file.
10788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10789 New file.
10790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10791 New file.
10792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10793 New file.
10794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10795 New file.
10796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10797 New file.
10798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10799 New file.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10801 file.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10803 New file.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10805 New file.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10807 file.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10809 New file.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10811 New file.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10813 file.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10815 New file.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10817 New file.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10819 New file.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10821 New file.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10823 New file.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10825 New file.
10826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10828 file.
10829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10830 New file.
10831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10832 file.
10833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10834 file.
10835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10836 file.
10837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10838 file.
10839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10840 file.
10841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10842 New file.
10843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10844 file.
10845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10846 file.
10847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10848 New file.
10849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10850 file.
10851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10853 file.
10854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10855 New file.
10856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10857 file.
10858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10859 file.
10860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10861 file.
10862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10863 file.
10864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10865 file.
10866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10867 New file.
10868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10869 file.
10870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10871 file.
10872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10873 New file.
10874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10875 file.
10876 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10877 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10878 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10879 file.
10880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10881 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10882 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10883 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10884 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10885 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10886 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10887 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10888 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10889 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10892 file.
10893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10894 New file.
10895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10896 file.
10897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10898 file.
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10900 file.
10901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10902 file.
10903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10904 file.
10905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10906 New file.
10907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10908 New file.
10909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10910 file.
10911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10912 New file.
10913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10914 file.
10915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10917 file.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10919 New file.
10920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10921 file.
10922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10923 file.
10924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10925 file.
10926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10927 file.
10928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10929 file.
10930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10931 New file.
10932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10933 New file.
10934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10935 file.
10936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10937 New file.
10938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10939 file.
10940
10941 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10942
10943 * conform/conformtest.pl: Fix typo in handling typed-constant from
10944 allow-header.
10945
10946 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10947
10948 * README: Cut down references to pre-2.6 Linux kernels and
10949 Linuxthreads. Update lists of configurations in libc and ports
10950 and sort alphabetically. Say "or newer" with Linux kernel version
10951 requirements.
10952
10953 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10954
10955 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10956
10957 [BZ #887]
10958 * math/libm-test.inc (logb_test_downward): New test to expose
10959 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10960 rounding mode.
10961
10962 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10963
10964 [BZ #14027]
10965 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10966 to be done.
10967 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10968 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10969
10970 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10971
10972 * sysdeps/unix/i386/brk.S: Remove file.
10973 * sysdeps/unix/i386/dl-brk.S: Likewise.
10974 * sysdeps/unix/i386/pipe.S: Likewise.
10975 * sysdeps/unix/i386/sigreturn.S: Likewise.
10976 * sysdeps/unix/i386/syscall.S: Likewise.
10977 * sysdeps/unix/i386/vfork.S: Likewise.
10978 * sysdeps/unix/i386/wait.S: Likewise.
10979
10980 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10981 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10982
10983 * configure.in (arm*-none*): Do not allow without
10984 --enable-hacker-mode.
10985 (netbsd*): Remove case setting base_os.
10986 (386bsd*): Likewise.
10987 (freebsd*): Likewise.
10988 (bsdi*): Likewise.
10989 (osf*): Likewise.
10990 (sunos*): Likewise.
10991 (ultrix*): Likewise.
10992 (newsos*): Likewise.
10993 (dynix*): Likewise.
10994 (*bsd*): Likewise.
10995 (sysv*): Likewise.
10996 (isc*): Likewise.
10997 (esix*): Likewise.
10998 (sco*): Likewise.
10999 (minix*): Likewise.
11000 (irix4*): Likewise.
11001 (irix6*): Likewise.
11002 (solaris[2-9]*): Likewise.
11003 (none): Likewise.
11004 * configure: Regenerated.
11005
11006 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11007
11008 [BZ #11521]
11009 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11010 overflow or cancellation in calculating denominator.
11011 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11013 down expression to avoid unexpected rounding in newer GCCs.
11014 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11015
11016 2012-04-26 David S. Miller <davem@davemloft.net>
11017
11018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11019 long-double compat symbols.
11020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11033
11034 2012-04-25 David S. Miller <davem@davemloft.net>
11035
11036 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11037 HWCAP_* values only after the memory barriers have been defined.
11038 (atomic_full_barrier): Define.
11039 (atomic_read_barrier): Define.
11040 (atomic_write_barrier): Define.
11041
11042 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11043
11044 * shlib-versions: Add libgcc_s version information.
11045 * sysdeps/generic/libgcc_s.h: Remove.
11046 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11047 libgcc_s.h.
11048 * sysdeps/gnu/unwind-resume.c: Likewise.
11049 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11050
11051 2012-04-25 David S. Miller <davem@davemloft.net>
11052
11053 * sysdeps/unix/sparc/brk.S: Delete.
11054 * sysdeps/unix/sparc/dl-brk.S: Delete.
11055 * sysdeps/unix/sparc/pipe.S: Delete.
11056 * sysdeps/unix/sparc/sysdep.S: Delete.
11057 * sysdeps/unix/sparc/sysdep.h: Delete.
11058 * sysdeps/unix/sparc/vfork.S: Delete.
11059 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11060 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11062 ret_ERRVAL, r0, r1, MOVE): Define.
11063 (JUMPTARGET): Remove.
11064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11065 sysdeps/unix/sparc/sysdep.h
11066 (ENTRY, END): Remove.
11067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11068
11069 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11070
11071 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11072 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11073 -DIS_IN_build.
11074
11075 * timezone/README: Update upstream location and email address for
11076 tzcode and tzdata.
11077 * timezone/zdump.c: Update from tzcode 2012b.
11078 * timezone/zic.c: Likewise.
11079
11080 * configure.in (libc_cv_as_needed): Remove test.
11081 * configure: Regenerated.
11082 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11083 conditional definition.
11084 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11085 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11086 * config.make.in (have-as-needed): Remove variable.
11087
11088 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11089 Paul Pluzhnikov <ppluzhnikov@google.com>
11090
11091 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11092 strings correctly.
11093
11094 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11095
11096 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11097 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11098 * sysdeps/sh/strlen.S: Likewise.
11099
11100 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11101
11102 * sysdeps/unix/fork.S: Remove file.
11103 * sysdeps/unix/i386/fork.S: Likewise.
11104 * sysdeps/unix/sparc/fork.S: Likewise.
11105
11106 * sysdeps/unix/system.c: Remove file.
11107 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11108
11109 * sysdeps/unix/getegid.S: Remove file.
11110 * sysdeps/unix/geteuid.S: Likewise.
11111
11112 2012-04-24 Roland McGrath <roland@hack.frob.com>
11113
11114 * scripts/check-localplt.awk: New file.
11115 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11116 of diff.
11117 * scripts/data/localplt-generic.data: Add a comment.
11118
11119 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11120 NODE when __dir_mkfile failed.
11121 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11122 Reported by Ludovic Courtès <ludo@gnu.org>.
11123
11124 2012-04-24 Andreas Jaeger <aj@suse.de>
11125
11126 * Makerules (common-clean): Also remove gen-as-const-headers
11127 files.
11128
11129 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11130
11131 * Makerules (native-compile): Do not change working directory for
11132 build. Use $(OUTPUT_OPTION) in command.
11133 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11134
11135 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11136
11137 [BZ #13886]
11138 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11139 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11140 * math/libm-test.inc (floor_test): Add more tests.
11141 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11142
11143 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11144
11145 * sysdeps/unix/getdents.c: Remove file.
11146 * sysdeps/unix/sysv/getdents.c: Likewise.
11147 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11148
11149 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11150 sysdeps/unix/mman/syscalls.list.
11151 (mmap): Likewise.
11152 (mprotect): Likewise.
11153 (msync): Likewise.
11154 (munmap): Likewise.
11155 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11156 * sysdeps/unix/mman/syscalls.list: Remove.
11157 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11158
11159 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11160 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11161 * configure: Regenerated.
11162 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11163 $(libgcc_s_suffix).
11164 * config.make.in (libgcc_s_suffix): Remove variable.
11165
11166 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11167
11168 * sysdeps/unix/sysv/gethostname.c: Move to ...
11169 * sysdeps/posix/gethostname.c: ... here.
11170
11171 * sysdeps/unix/execve.S: Remove file.
11172
11173 * sysdeps/unix/_exit.S: Remove file.
11174
11175 2012-04-23 Andreas Jaeger <aj@suse.de>
11176
11177 [BZ #13739]
11178 * manual/Makefile: Remove make dist support, there's no
11179 need for a stand-alone documentation tar ball.
11180 (TEXI2DVI): Define always, it's not in Makeconfig.
11181 (dist): Removed.
11182 (tar-it): Removed.
11183 (edition): Removed.
11184 (glibc-doc-$(edition).tar): Removed
11185 (%.Z): Removed.
11186 (%.gz): Removed.
11187 (%.uu): Removed.
11188 (ETAGS): Remove, it's in Makeconfig.
11189 (move-if-change): Remove, it's in Makeconfig.
11190
11191 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11192
11193 [BZ #13970]
11194 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11195 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11196 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11197 (strtod_l, strtof_l, strtold_l): Remove __wur.
11198 It is not necessarily an error to ignore strtol's return value.
11199 One can reliably look at the stored endptr to decide whether
11200 the number had valid syntax.
11201
11202 2012-04-21 Andreas Jaeger <aj@suse.de>
11203
11204 [BZ #13739]
11205 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11206
11207 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11208
11209 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11210 * sysdeps/unix/sysv/Versions: Remove file.
11211
11212 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11213
11214 [BZ #13927]
11215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11216
11217 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11218
11219 [BZ #7064]
11220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11221 version from __vm86.
11222
11223 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11224
11225 * sysdeps/unix/common/lxstat.c: Remove file.
11226 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11227
11228 * sysdeps/unix/sysv/Makefile: Remove file.
11229
11230 * sysdeps/unix/sysv/direct.h: Remove file.
11231
11232 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11233 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11234 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11235 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11236 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11237 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11238 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11239
11240 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11241
11242 * sysdeps/unix/xmknod.c: Remove file.
11243 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11244
11245 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11246
11247 * sysdeps/unix/sysv/i386/time.S: Remove file.
11248
11249 * sysdeps/unix/fxstat.c: Remove file.
11250 * sysdeps/unix/xstat.c: Likewise.
11251 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11252
11253 * sysdeps/unix/sysv/sigaction.c: Remove file.
11254
11255 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11256 (sysdep_headers): Remove variable.
11257 [termio.h not in sysdep_headers] (generated): Likewise.
11258 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11259 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11260 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11261 * sysdeps/unix/sysv/tcflow.c: Likewise.
11262 * sysdeps/unix/sysv/tcflush.c: Likewise.
11263 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11264 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11265 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11266 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11267 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11268
11269 * sysdeps/unix/siglist.c: Remove file.
11270
11271 * sysdeps/unix/getppid.S: Remove file.
11272
11273 * sysdeps/unix/mkdir.c: Remove file.
11274 * sysdeps/unix/rmdir.c: Likewise.
11275
11276 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11277
11278 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11279 ERR_MAX value.
11280 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11281 errlist-compat value.
11282
11283 2012-04-18 David S. Miller <davem@davemloft.net>
11284
11285 * sysdeps/generic/memcopy.h (reg_char): Delete.
11286 * debug/strcat_chk.c: Use char, not reg_char.
11287 * debug/strcpy_chk.c: Likewise.
11288 * debug/strncat_chk.c: Likewise.
11289 * debug/strncpy_chk.c: Likewise.
11290 * string/memchr.c: Likewise.
11291 * string/memrchr.c: Likewise.
11292 * string/rawmemchr.c: Likewise.
11293 * string/strcat.c: Likewise.
11294 * string/strchr.c: Likewise.
11295 * string/strchrnul.c: Likewise.
11296 * string/strcmp.c: Likewise.
11297 * string/strcpy.c: Likewise.
11298 * string/strncat.c: Likewise.
11299 * string/strncmp.c: Likewise.
11300 * string/strncpy.c: Likewise.
11301
11302 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11303
11304 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11305 __builtin_memcopy is called when src and dest ranges are known to not
11306 overlap.
11307
11308 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11309
11310 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11311 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11312 fwd_align_merge macro call.
11313 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11314 bwd_align_merge macro call.
11315 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11316
11317 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11318
11319 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11320 bwd_align_merge macros.
11321 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11322 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11323 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11324
11325 2012-04-18 David S. Miller <davem@davemloft.net>
11326
11327 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11328
11329 2012-04-18 Andreas Jaeger <aj@suse.de>
11330
11331 [BZ# 6794]
11332 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11333 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11335
11336 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11337 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11338 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11339
11340 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11341 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11342 Adjust for changed ldbl-128 files.
11343
11344 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11345 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11346 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11347
11348 2012-04-17 David S. Miller <davem@davemloft.net>
11349
11350 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11351
11352 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11353
11354 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11355 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11356 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11357 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11359 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11360
11361 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11362
11363 [BZ #6794]
11364 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11365 * math/libm-test.inc: Add ilogb errno and exception tests.
11366 * math/w_ilogb.c: New file: ilogb wrapper.
11367 * math/w_ilogbf.c: New file: ilogbf wrapper.
11368 * math/w_ilogbl.c: New file: ilogbl wrapper.
11369 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11370 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11371 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11372 exception being thrown with 0.0 as argument.
11373 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11374 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11375 exception being thrown with 0.0 as argument.
11376 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11377 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11378 exception being thrown with 0.0 as argument.
11379 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11380 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11381 exception being thrown with 0.0 as argument.
11382 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11383 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11384 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11385 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11387 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11388 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11389 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11390 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11391
11392 2012-04-17 Petr Baudis <pasky@ucw.cz>
11393
11394 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11395 with altivec.
11396
11397 2012-04-16 Marek Polacek <polacek@redhat.com>
11398
11399 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11400
11401 2012-04-16 Marek Polacek <polacek@redhat.com>
11402
11403 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11404 operands of fdivp instruction.
11405
11406 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11407
11408 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11409 * elf/tst-auditmod3b.c: Likewise.
11410 * elf/tst-auditmod4b.c: Likewise.
11411 * elf/tst-auditmod5b.c: Likewise.
11412 * elf/tst-auditmod6b.c: Likewise.
11413 * elf/tst-auditmod6c.c: Likewise.
11414 * elf/tst-auditmod7b.c: Likewise.
11415 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11416 * sysdeps/x86_64/preconfigure.in: Likewise.
11417 * sysdeps/x86_64/preconfigure: Regenerated.
11418
11419 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11420
11421 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11422 __ILP32__.
11423
11424 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11425
11426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11427 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11428
11429 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11430
11431 [BZ #13973]
11432 * locale/iso-639.def: Fix gl language name. Spotted by
11433 Yaron Shahrabani.
11434
11435 2012-04-12 Roland McGrath <roland@hack.frob.com>
11436
11437 [BZ #2074]
11438 * libio/libio.h (__io_write_fn): Update comment.
11439
11440 2012-04-12 Petr Baudis <pasky@ucw.cz>
11441
11442 [BZ #2074]
11443 * stdio.texi (Hook Functions): The user provided writer function
11444 is not allowed to return -1.
11445
11446 2012-04-11 David S. Miller <davem@davemloft.net>
11447
11448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11449
11450 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11451
11452 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11453 Add a leading slash to rtkaio.
11454
11455 2012-04-11 Jim Meyering <meyering@redhat.com>
11456
11457 [BZ #11959]
11458 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11459 It is not necessarily an error to ignore fwrite's return
11460 value. One can reliably use ferror to test for errors after
11461 the fact.
11462
11463 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11464
11465 * bits/types.h (__snseconds_t): New type.
11466 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11467
11468 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11470 (__SNSECONDS_T_TYPE): Likewise.
11471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11472 (__SNSECONDS_T_TYPE): Likewise.
11473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11474 (__SNSECONDS_T_TYPE): Likewise.
11475
11476 2012-04-10 Andreas Jaeger <aj@suse.de>
11477
11478 [BZ #2636]
11479 * manual/time.texi (Processor Time): Return type of times is
11480 elapsed real time since an arbitrary point in the past.
11481 (CPU Time): Move CLK_TCK from here...
11482 (Processor Time): ...to here. Correct description.
11483 * manual/conf.texi (Constants for Sysconf): Correct description of
11484 _SC_CLK_TCK.
11485
11486 2012-04-10 David S. Miller <davem@davemloft.net>
11487
11488 [BZ #13967]
11489 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11490 where the is a gap between DT_REL(A) and DT_JMPREL.
11491
11492 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11495 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11496 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11497
11498 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11499
11500 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11501 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11502 (dl_main): Handle --inhibit-cache.
11503 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11504 _dl_inhibit_cache.
11505 * elf/dl-load.c (_dl_map_object): Use it.
11506 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11507
11508 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11509
11510 [BZ #13872]
11511 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11512 (__ieee754_powl): Saturate large exponents rather than testing for
11513 overflow of y*log2(x).
11514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11515 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11516 exceptions.
11517
11518 [BZ #11521]
11519 * math/s_ctan.c: Include <float.h>.
11520 (__ctan): Avoid internal overflow or cancellation in calculating
11521 denominator.
11522 * math/s_ctanf.c: Likewise.
11523 * math/s_ctanl.c: Likewise.
11524 * math/s_ctanh.c: Likewise.
11525 * math/s_ctanhf.c: Likewise.
11526 * math/s_ctanhl.c: Likewise.
11527 * math/libm-test.inc (ctan_test): Add more tests.
11528 (ctanh_test): Likewise.
11529 * sysdeps/i386/fpu/libm-test-ulps: Update.
11530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11531
11532 2012-04-09 Andreas Jaeger <aj@suse.de>
11533
11534 [BZ #6894]
11535 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11536 is an optional BSD extension.
11537
11538 [BZ #10254]
11539 * manual/stdio.texi (Opening Streams): Document additional fopen
11540 parameters.
11541
11542 2012-04-09 Roland McGrath <roland@hack.frob.com>
11543
11544 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11545 %eax without telling the compiler.
11546
11547 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11548
11549 [BZ # 13963]
11550 * manual/install.texi: Use sourceware.org.
11551
11552 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11553
11554 [BZ #13873]
11555 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11556 (__ieee754_pow): Generate overflow and underflow using huge*huge
11557 and tiny*tiny rather than just returning constant infinity or zero
11558 for large exponents.
11559 * math/libm-test.inc (pow_test): Require overflow exceptions for
11560 applicable cases of large exponents.
11561
11562 [BZ #706]
11563 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11564 (__ieee754_pow): Use iterative multiplication algorithm only for
11565 integer exponents with absolute value below 1024. Check for odd
11566 integer exponents when using algorithm for real exponents.
11567 * math/libm-test.inc (pow_test): Add more tests.
11568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11569
11570 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11571
11572 [BZ #13705]
11573 * math/libm-test.inc (exp_test): Do not allow overflow exception
11574 on underflow test.
11575
11576 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11577
11578 [BZ #13705]
11579 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11580 instead of __kernel_standard_f.
11581
11582 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11583
11584 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11585 * sysdeps/x86_64/memset_chk.S: Likewise.
11586
11587 2012-04-08 Andreas Jaeger <aj@suse.de>
11588
11589 [BZ #10153]
11590 * manual/startup.texi (Environment Access): Describe return value
11591 for putenv and setenv.
11592
11593 [BZ #6895]
11594 * manual/filesys.texi (Directory Entries): Add description for
11595 DT_LNK.
11596
11597 [BZ #6890]
11598 * manual/filesys.texi (Directory Entries): Clarify that it's file
11599 system not operating system in the description of DT_UNKNOWN.
11600
11601 [BZ #6578]
11602 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11603
11604 2012-04-08 Stephen Compall <s11@member.fsf.org>
11605
11606 [BZ #6649]
11607 * manual/llio.texi (Opening and Closing Files): Add cross
11608 reference to explain mode argument.
11609
11610 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11611
11612 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11613 * sysdeps/x86_64/memset_chk.S: Likewise.
11614
11615 2012-04-07 David S. Miller <davem@davemloft.net>
11616
11617 * elf/elf.h (R_SPARC_WDISP10): Define.
11618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11619 R_SPARC_SIZE32.
11620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11621 R_SPARC_SIZE64 and R_SPARC_H34.
11622
11623 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11624
11625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11626 conditions and remove no longer applicable assertion.
11627
11628 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11629
11630 * bits/byteswap.h: Include <features.h>.
11631 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11632 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11633
11634 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * bits/byteswap.h (__bswap_16): Removed.
11637 Include <bits/byteswap-16.h> to get __bswap_16.
11638 * sysdeps/i386/bits/byteswap.h: Likewise.
11639 * sysdeps/s390/bits/byteswap.h: Likewise.
11640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11641 * bits/byteswap-16.h: New file.
11642 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11643 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11644 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11645 * string/Makefile (headers): Add bits/byteswap-16.h.
11646
11647 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11648
11649 [BZ #13895]
11650 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11651 extra indirection.
11652 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11653 * nss/tst-nss-static.c: New.
11654
11655 2012-04-06 Robert Millan <rmh@gnu.org>
11656
11657 [BZ #6486]
11658 * manual/llio.texi (File Position Primitive): lseek
11659 refers to WHENCE when it really means OFFSET.
11660
11661 2012-04-06 Andreas Jaeger <aj@suse.de>
11662
11663 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11664 strncmp declarations.
11665
11666 * abilist/libc.abilist: Add __poll and __ppoll.
11667
11668 2012-04-05 David S. Miller <davem@davemloft.net>
11669
11670 * scripts/check-local-headers.sh: Accept a host triplet in the
11671 path matched by the exclude regexp.
11672
11673 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11674 definition.
11675 * sysdeps/powerpc/powerpc32/dl-machine.h
11676 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11677 * sysdeps/s390/s390-32/dl-machine.h
11678 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11679 * sysdeps/sparc/sparc32/dl-machine.h
11680 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11681 * sysdeps/sparc/sparc64/dl-machine.h
11682 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11683
11684 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11685 lazy binding.
11686 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11687 undefined symbol errors.
11688
11689 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11690 DT_NEEDED entries.
11691
11692 2012-04-05 Michael Matz <matz@suse.de>
11693
11694 [BZ #13592]
11695 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11696
11697 2012-04-05 Andreas Jaeger <aj@suse.de>
11698
11699 [BZ #13908]
11700 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11701 comment.
11702
11703 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11704
11705 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11706 which ROUND is no valid rounding mode.
11707
11708 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11709
11710 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11711 read again.
11712 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11713
11714 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11715
11716 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11717 an exception using FPU order intentionally.
11718
11719 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11720
11721 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11722 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11723 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11724 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11725
11726 2012-04-05 Simon Josefsson <simon@josefsson.org>
11727
11728 [BZ #12340]
11729 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11730 EINVAL when BUFLEN is too smal.
11731
11732 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11733
11734 [BZ #13553]
11735 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11736 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11737
11738 2012-04-03 Andreas Jaeger <aj@suse.de>
11739
11740 [BZ #13938]
11741 * manual/setjmp.texi (System V contexts): Fix sentence.
11742
11743 [BZ #13926]
11744 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11745 New macro for this case.
11746 [!__GNUC__] (__bswap_64): New inline function for this case.
11747 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11748 * bits/byteswap.h: Likewise.
11749 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11750 ull, guard with __GLIBC_HAVE_LONG_LONG.
11751
11752 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11753 __GLIBC_HAVE_LONG_LONG.
11754
11755 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11756 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11757
11758 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11759
11760 [BZ #13691]
11761 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11762 inptr and inend, rather than using last_ch.
11763
11764 2012-04-02 David S. Miller <davem@davemloft.net>
11765
11766 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11767 * stdio-common/printf-parse.h (read_int): Change return type to
11768 'int', return -1 on INT_MAX overflow.
11769 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11770 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11771 overflows INT_MAX. Check for overflow of in-format-string precision
11772 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11773 SIZE_MAX not INT_MAX for integer overflow test.
11774 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11775 skip the construct in the format string but do not record anything.
11776 * stdio-common/bug22.c: Adjust to test both width/prevision
11777 INT_MAX overflow as well as total length INT_MAX overflow. Check
11778 explicitly for proper errno values.
11779
11780 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11781
11782 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11783 CHAR_MAX.
11784 * string/test-strcmp.c [! WIDE]: Likewise.
11785 * time/tst-mktime2.c: Likewise for INT_MAX.
11786 * string/test-string.h: #include <sys/param.h> for MIN.
11787
11788 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11789 * sysdeps/i386/init-first.c (init): Likewise.
11790 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11791 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11792 * sysdeps/sh/init-first.c (init): Likewise.
11793
11794 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11795
11796 * po/ru.po: Update from translation team.
11797 * po/vi.po: Likewise.
11798
11799 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11800
11801 * resolv/nss_dns/dns-host.c: Merge copyright years.
11802
11803 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11804
11805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11806 Optimize memcpy with prefetch if
11807 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11808 src, dst pointers have unequal 16 byte alignments.
11809
11810 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11811
11812 [BZ #13928]
11813 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11814 from a CNAME entry and return the minimum ttl for the query.
11815 (gaih_getanswer_slice): Likewise.
11816
11817 2012-03-30 Jeff Law <law@redhat.com>
11818
11819 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11820 due to long keys.
11821 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11822 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11823
11824 * resolv/nss_dns/dns-host.c: Update copyright year.
11825
11826 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11827
11828 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11829 requests to save a system call. Fix check that all bytes are sent.
11830
11831 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11832 comments for sendmmsg.
11833
11834 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11835
11836 [BZ #13691]
11837 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11838 with only 1 character between 0x0041 and 0x01b0.
11839 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11840 * wcsmbs/tst-mbsnrtowcs.c: New file.
11841
11842 2012-03-29 David S. Miller <davem@davemloft.net>
11843
11844 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11845 small copies by hand.
11846
11847 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11848
11849 [BZ #13761]
11850 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11851 _nss_compat_initgroups_dyn): Fall back to malloc/free
11852 for large group memberships.
11853
11854 2012-03-28 David S. Miller <davem@davemloft.net>
11855
11856 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11857 that branches into memcpy.
11858 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11859 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11861 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11863 bits.
11864 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11865 implementation too.
11866 * sysdeps/sparc/mempcpy.S: New file.
11867
11868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11869 the IFUNC routine in the libc case.
11870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11871
11872 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11873 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11874 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11875 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11876 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11877 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11878 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11879 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11880
11881 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11882 loop to 256 bytes instead of 64 bytes and fix test signedness.
11883
11884 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11885 * sysdeps/sparc/sparc32/Makefile: rather than here...
11886 * sysdeps/sparc/sparc64/Makefile: and here.
11887
11888 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11889
11890 * malloc/mallocbug.c: Avoid warnings about unused variables.
11891
11892 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11893
11894 [BZ #13760]
11895 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11896 in the right place. Discard and retry query if response is
11897 larger than input buffer size.
11898
11899 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11900
11901 [BZ #369]
11902 [BZ #2678]
11903 [BZ #3866]
11904 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11905 x for large integer exponent.
11906 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11907 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11908 sign of result as needed afterwards.
11909 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11910 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11911 result for underflowing pow the same as for overflow.
11912 (__kernel_standard_l): Handle powl overflow and underflow here
11913 rather than calling __kernel_standard.
11914 * math/libm-test.inc (pow_test): Add more tests.
11915
11916 [BZ #3868]
11917 [BZ #13879]
11918 [BZ #13910]
11919 [BZ #13911]
11920 [BZ #13912]
11921 [BZ #13913]
11922 [BZ #13915]
11923 [BZ #13916]
11924 [BZ #13917]
11925 [BZ #13918]
11926 [BZ #13919]
11927 [BZ #13920]
11928 [BZ #13921]
11929 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11930 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11931 (__kernel_standard_l): New function.
11932 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11933 __kernel_standard.
11934 * math/w_acosl.c (__acosl): Likewise.
11935 * math/w_asinl.c (__asinl): Likewise.
11936 * math/w_atan2l.c (__atan2l): Likewise.
11937 * math/w_atanhl.c (__atanhl): Likewise.
11938 * math/w_coshl.c (__coshl): Likewise.
11939 * math/w_exp10l.c (__exp10l): Likewise.
11940 * math/w_exp2l.c (__exp2l): Likewise.
11941 * math/w_fmodl.c (__fmodl): Likewise.
11942 * math/w_hypotl.c (__hypotl): Likewise.
11943 * math/w_j0l.c (__j0l, __y0l): Likewise.
11944 * math/w_j1l.c (__j1l, __y1l): Likewise.
11945 * math/w_jnl.c (__jnl, __ynl): Likewise.
11946 * math/w_lgammal.c (__lgammal): Likewise.
11947 * math/w_log10l.c (__log10l): Likewise.
11948 * math/w_log2l.c (__log2l): Likewise.
11949 * math/w_logl.c (__logl): Likewise.
11950 * math/w_powl.c (__powl): Likewise.
11951 * math/w_remainderl.c (__remainderl): Likewise.
11952 * math/w_scalbl.c (sysv_scalbl): Likewise.
11953 * math/w_sinhl.c (__sinhl): Likewise.
11954 * math/w_sqrtl.c (__sqrtl): Likewise.
11955 * math/w_tgammal.c (__tgammal): Likewise.
11956 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11957 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11958 * math/libm-test.inc (acos_test): Add more tests.
11959 (acosh_test): Likewise.
11960 (asin_test): Likewise.
11961 (atanh_test): Likewise.
11962 (exp_test): Likewise.
11963 (exp10_test): Likewise.
11964 (exp2_test): Likewise.
11965 (expm1_test): Likewise.
11966 (lgamma_test): Likewise.
11967 (log_test): Likewise.
11968 (log10_test): Likewise.
11969 (log1p_test): Likewise.
11970 (log2_test): Likewise.
11971 (pow_test): Do not allow some spurious overflow exceptions.
11972 (sqrt_test): Add more tests.
11973 (tgamma_test): Likewise.
11974 (y0_test): Likewise.
11975 (y1_test): Likewise.
11976 (yn_test): Likewise.
11977
11978 2012-03-27 Anton Blanchard <anton@samba.org>
11979
11980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11981 MAP_HUGETLB.
11982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11985
11986 2012-03-27 David S. Miller <davem@davemloft.net>
11987
11988 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11989
11990 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11991 have-as-vis3 check.
11992
11993 2012-03-27 Andreas Jaeger <aj@suse.de>
11994
11995 * sysdeps/x86_64/elf/configure.in: Moved to ...
11996 * sysdeps/x86_64/configure.in: ... here.
11997 * sysdeps/x86_64/elf/start.S: Moved to ...
11998 * sysdeps/x86_64/start.S: ... here.
11999 * sysdeps/x86_64/elf/configure: Delete.
12000
12001 * sysdeps/x86_64/configure.in: Merge contents from
12002 sysdeps/i386/configure.in (without i686 check).
12003
12004 * sysdeps/i386/elf/Versions: Merge into ...
12005 * sysdeps/i386/Versions: ... this.
12006 * sysdeps/i386/elf/Versions: Delete file.
12007 * sysdeps/i386/elf/start.S: Moved to ...
12008 * sysdeps/i386/start.S: ...here.
12009 * sysdeps/i386/elf/configure.in: Merge into...
12010 * sysdeps/i386/configure.in: ...here.
12011 * sysdeps/i386/elf/configure.in: Delete file.
12012 * sysdeps/i386/elf/configure: Delete file.
12013
12014 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12015 * debug/backtracesyms.c: ... here.
12016 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12017 * debug/backtracesymsfd.c: ... here.
12018 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12019 * sysdeps/generic/ifunc-sel.h: ... here.
12020
12021 * sysdeps/unix/i386/start.c: Delete file.
12022 * sysdeps/unix/sparc/start.c: Delete file.
12023 * sysdeps/unix/start.c: Delete file.
12024
12025 * sysdeps/sh/elf/configure.in: Moved to ...
12026 * sysdeps/sh/configure.in: ... here.
12027 * sysdeps/sh/elf/start.S: Moved to ...
12028 * sysdeps/sh/start.S: ... here.
12029 * sysdeps/sh/elf/configure: Delete file.
12030
12031 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12032 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12033 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12034 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12035 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12036 * sysdeps/powerpc/powerpc64/start.S: here.
12037 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12038 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12039 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12040 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12041 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12042
12043 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12044 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12045 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12046 * sysdeps/powerpc/powerpc32/start.S: ... here.
12047 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12048 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12049 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12050
12051 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12052 * sysdeps/powerpc/ifunc-sel.h: ... here.
12053 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12054 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12055
12056 * sysdeps/sparc/elf/configure.in: Moved to ...
12057 * sysdeps/sparc/configure.in: ... here.
12058 * sysdeps/sparc/elf/configure: Delete file.
12059 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12060 * sysdeps/sparc/sparc32/start.S: ... here.
12061 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12062 * sysdeps/sparc/sparc64/start.S: ... here.
12063 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12064 * sysdeps/sparc/sparc32/Makefile: ... this.
12065 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12066 * sysdeps/sparc/sparc64/Makefile: ... this.
12067
12068 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12069 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12070 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12071 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12072 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12073 * sysdeps/s390/s390-32/setjmp.S: ... here.
12074 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12075 * sysdeps/s390/s390-32/configure.in: ... here.
12076 * sysdeps/s390/s390-32/elf/configure: Delete file.
12077 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12078 * sysdeps/s390/s390-32/start.S: ... here.
12079
12080 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12081 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12082 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12083 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12084 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12085 * sysdeps/s390/s390-64/setjmp.S: ... here.
12086 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12087 * sysdeps/s390/s390-64/configure.in: ... here
12088 * sysdeps/s390/s390-64/elf/configure: Delete file.
12089 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12090 * sysdeps/s390/s390-64/start.S: ... here.
12091 * sysdeps/s390/s390-64/elf/configure: Delete.
12092
12093 * configure.in: Remove support for elf directories in sysdeps.
12094
12095 * configure: Regenerated.
12096 * sysdeps/i386/configure: Regenerated.
12097 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12098 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12099 * sysdeps/s390/s390-32/configure: Regenerated.
12100 * sysdeps/s390/s390-64/configure: Regenerated.
12101 * sysdeps/sh/configure: Regenerated.
12102 * sysdeps/sparc/configure: Regenerated.
12103 * sysdeps/x86_64/configure: Regenerated.
12104
12105 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12106
12107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12108
12109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12110 denormal result into account.
12111
12112 2012-03-25 Roland McGrath <roland@hack.frob.com>
12113
12114 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12115 Reported by Allan McRae <allan@archlinux.org>.
12116
12117 2012-03-23 Jeff Law <law@redhat.com>
12118
12119 * nss/getnssent.c (__nss_getent): Fix typo.
12120
12121 2012-03-23 David S. Miller <davem@davemloft.net>
12122
12123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12124
12125 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12126
12127 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12128 to pad to uint64_t for each field.
12129 (dl_tls_index): Replace unsigned long with uint64_t.
12130
12131 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12132 Paul Pluzhnikov <ppluzhnikov@google.com>
12133
12134 [BZ #6528]
12135 * grp/Makefile (otherlibs): Don't set it.
12136 * inet/Makefile (otherlibs): Likewise.
12137 * login/Makefile (otherlibs): Likewise.
12138 * nscd/Makefile (otherlibs): Likewise.
12139 * posix/Makefile (otherlibs): Likewise.
12140 * pwd/Makefile (otherlibs): Likewise.
12141 * rt/Makefile (otherlibs): Likewise.
12142 * sunrpc/Makefile (otherlibs): Likewise.
12143 * nss/Makefile (otherlibs): Likewise.
12144 Add libnss_files to routines and static-only-routines.
12145 ($(objpfx)getent): Remove rule.
12146 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12147 static-only-routines.
12148
12149 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12150
12151 [BZ #13892]
12152 * math/s_cexp.c: Include <float.h>.
12153 (__cexp): Handle exp result overflowing not necessarily
12154 overflowing both real and imaginary parts of result.
12155 * math/s_cexpf.c: Likewise.
12156 * math/s_cexpl.c: Likewise.
12157 * math/libm-test.inc (cexp_test): Add more tests.
12158 * sysdeps/i386/fpu/libm-test-ulps: Update.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
12161 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12162
12163 * include/link.h (ELFW): New macro.
12164 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12165 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12166
12167 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12168
12169 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12170 with uint64_t.
12171
12172 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12173
12174 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12175 declaration.
12176 (struct La_x32_retval): Likewise.
12177
12178 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12179
12180 * sysdeps/x86_64/preconfigure.in: New file.
12181 * sysdeps/x86_64/preconfigure: New generated file.
12182
12183 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12184
12185 [BZ #13824]
12186 * math/e_exp2l.c: Include <float.h>.
12187 (__ieee754_exp2l): Handle overflow and underflow cases
12188 separately. Only pass fractional part of argument to
12189 __ieee754_expl.
12190 * math/libm-test.inc (exp2_test): Add more tests.
12191
12192 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12193 negating x to take absolute value.
12194 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12195 Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12198 Likewise.
12199 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12200 computing low part if x was negated.
12201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12202
12203 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12204
12205 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12206 la_x32_gnu_pltexit.
12207 (pltexit): Cast int_retval to ptrdiff_t.
12208 * elf/tst-auditmod3b.c: Likewise.
12209 * elf/tst-auditmod4b.c: Likewise.
12210 * elf/tst-auditmod5b.c: Likewise.
12211 * elf/tst-auditmod6b.c: Likewise.
12212 * elf/tst-auditmod6c.c: Likewise.
12213 * elf/tst-auditmod7b.c: Likewise.
12214
12215 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12216 and x32_gnu_pltexit.
12217
12218 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12219 __ELF_NATIVE_CLASS.
12220 (La_x32_regs): New macro.
12221 (La_x32_retval): Likewise.
12222 (la_x32_gnu_pltenter): New function prototype.
12223 (la_x32_gnu_pltexit): Likewise.
12224
12225 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12226
12227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12228 exponent.
12229
12230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12231
12232 * configure.in (libc_cv_cc_nofma): Check for option to disable
12233 generation of FMA instructions.
12234 * configure: Regenerate.
12235 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12236 * sysdeps/ieee754/dbl-64/Makefile: New file.
12237 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12238 Remove brandred-fma4.
12239 (CFLAGS-brandred-fma4.c): Remove.
12240 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12242 define.
12243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12244 define.
12245
12246 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12247
12248 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12249 LLONG_MAX != LONG_MAX.
12250 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12251 (_fitoa_word): Likewise.
12252 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12253 LLONG_MAX != LONG_MAX.
12254 * stdio-common/_itowa.h: Include <_itoa.h>.
12255 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12256 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12257 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12258 only if not defined.
12259 (_ITOA_WORD_TYPE): Likewise.
12260 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12261 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12262
12263 2012-03-21 David S. Miller <davem@davemloft.net>
12264
12265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12266
12267 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12268
12269 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12270 of x86_64 when setting libc_cv_slibdir, libdir and
12271 libc_cv_localedir.
12272 * sysdeps/unix/sysv/linux/configure: Regenerated.
12273
12274 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12275
12276 * manual/lang.texi (Old Varargs): Remove section.
12277 (How Variadic): Update menu.
12278 (va_start): Do not mention varargs.h.
12279
12280 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12281 Joseph Myers <joseph@codesourcery.com>
12282
12283 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12284 link test.
12285 * configure: Regenerated.
12286
12287 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12288
12289 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12290 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12291 conformtest.pl
12292
12293 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12294
12295 * NOTES: Remove.
12296 * Makefile (files-for-dist): Remove NOTES.
12297 (NOTES): Remove rule.
12298 * README: Don't refer to NOTES.
12299 * manual/creature.texi: Don't include macros.texi.
12300 * manual/intro.texi (creature.texi): Remove comment referring to
12301 NOTES.
12302
12303 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12304 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12305 * configure: Regenerated.
12306 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12307 LIBC_TRY_CC_OPTION.
12308 (libc_cv_as_i686): Likewise.
12309 (libc_cv_cc_avx): Likewise.
12310 (libc_cv_cc_sse2avx): Likewise.
12311 (libc_cv_cc_fma4): Likewise.
12312 (libc_cv_cc_novzeroupper): Likewise.
12313 * sysdeps/i386/configure: Regenerated.
12314
12315 [BZ #13883]
12316 * sysdeps/i386/fpu/s_cexp.S: Remove.
12317 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12318 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12319 * math/libm-test.inc (cexp_test): Add more tests.
12320 * sysdeps/i386/fpu/libm-test-ulps: Update.
12321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12322
12323 2012-03-21 Allan McRae <allan@archlinux.org>
12324
12325 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12326
12327 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12328
12329 [BZ #13871]
12330 * math/w_exp2.c: Do not include <float.h>.
12331 (o_threshold, u_threshold): Remove.
12332 (__exp2): Calculate result before checking finiteness and calling
12333 __kernel_standard.
12334 * math/w_exp2f.c: Likewise.
12335 * math/w_exp2l.c: Likewise.
12336 * math/libm-test.inc (exp2_test): Require overflow exception for
12337 1e6 input.
12338
12339 [BZ #3866]
12340 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12341 range of signed 64-bit integers before using fistpll. Remove
12342 checks for whether integers fit in mantissa bits.
12343 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12344 the range of signed 32-bit integers before using fistpl. Remove
12345 checks for whether integers fit in mantissa bits.
12346 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12347 (__ieee754_powl): Test for y outside the range of signed 64-bit
12348 integers before using fistpll. Reduce 64-bit values to 63-bit
12349 ones as needed.
12350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12351 divide-by-zero is raised for zero to large negative powers.
12352 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12353 (__ieee754_powl): Test for y outside the range of signed 64-bit
12354 integers before using fistpll. Reduce 64-bit values to 63-bit
12355 ones as needed.
12356 * math/libm-test.inc (pow_test): Add more tests.
12357
12358 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12359
12360 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12361 <stdio-common/_itoa.h>.
12362 * debug/segfault.c: Likewise.
12363 * elf/dl-cache.c: Likewise.
12364 * elf/dl-minimal.c: Likewise.
12365 * elf/dl-misc.c: Likewise.
12366 * elf/dl-sysdep.c: Likewise.
12367 * elf/dl-version.c: Likewise.
12368 * elf/rtld.c: Likewise.
12369 * hurd/hurdsock.c: Likewise.
12370 * hurd/lookup-retry.c: Likewise.
12371 * malloc/malloc.c: Likewise.
12372 * malloc/mtrace.c: Likewise.
12373 * nscd/nscd_getgr_r.c: Likewise.
12374 * nscd/nscd_getpw_r.c: Likewise.
12375 * nscd/nscd_getserv_r.c: Likewise.
12376 * posix/getopt_init.c: Likewise.
12377 * posix/wordexp.c: Likewise.
12378 * stdio-common/_itoa.c: Likewise.
12379 * stdio-common/printf_fphex.c: Likewise.
12380 * stdio-common/vfprintf.c: Likewise.
12381 * string/_strerror.c: Likewise.
12382 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12383 * sysdeps/i386/i686/hp-timing.h: Likewise.
12384 * sysdeps/mach/_strerror.c: Likewise.
12385 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12386 * sysdeps/mach/hurd/sethostid.c: Likewise.
12387 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12388 * sysdeps/mach/xpg-strerror.c: Likewise.
12389 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12390 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12391 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12392 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12393 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12394 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12395 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12396 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12397 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12398 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12399 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12400 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12403 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12404 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12407 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12408 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12409 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12410
12411 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12412
12413 * stdio-common/_itoa.h: Moved to ...
12414 * sysdeps/generic/_itoa.h: Here.
12415
12416 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12417
12418 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12419 instead of "_itoa.h" and "_itowa.h".
12420 * stdio-common/vfprintf.: Likewise.
12421
12422 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12423
12424 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12425 <bits/wordsize.h>.
12426 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12427 (__signbit): Likwise.
12428 (llrintf): Likwise.
12429 (llrint): Likwise.
12430
12431 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12434 __WORDSIZE != 64.
12435
12436 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12437
12438 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12439 OVERFLOW_EXCEPTION_OK.
12440 * math/libm-test.inc ("Philosophy"): Update comment about
12441 exception testing.
12442 (OVERFLOW_EXCEPTION): Define.
12443 (OVERFLOW_EXCEPTION_OK): Likewise.
12444 (INVALID_EXCEPTION_OK): Renumber.
12445 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12446 (IGNORE_ZERO_INF_SIGN): Likewise.
12447 (test_exceptions): Handle FE_OVERFLOW.
12448 (exp10_test): Expect overflow exceptions.
12449 (exp2_test): Likewise.
12450 (expm1_test): Likewise.
12451 (nextafter_test): Likewise.
12452 (pow_test): Likewise.
12453 (scalbn_test): Likewise.
12454 (scalbln_test): Likewise.
12455
12456 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12457
12458 * sysdeps/x86_64/bits/atomic.h
12459 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12460 64bit integer.
12461 (atomic_exchange_acq): Likewise.
12462 (__arch_exchange_and_add_body): Likewise.
12463 (__arch_add_body): Likewise.
12464 (atomic_add_negative): Likewise.
12465 (atomic_add_zero): Likewise.
12466
12467 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12468
12469 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12470 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12471
12472 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12473
12474 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12475 Check __x86_64__ instead of __WORDSIZE.
12476
12477 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12480
12481 2012-03-19 David S. Miller <davem@davemloft.net>
12482
12483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12484
12485 * sysdeps/sparc/fpu/fenv_private.h: New file.
12486 * sysdeps/sparc/fpu/math_private.h: Use it.
12487 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12488 Remove.
12489 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12490 (libc_feholdexcept_setroundl): Remove.
12491 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12492 Remove.
12493 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12494 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12495
12496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12497
12498 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12499 int64_t instead of long int.
12500 (INSERT_WORDS64): Likwise.
12501
12502 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12503
12504 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12505 _Unwind_GetCFA return to _Unwind_Ptr first.
12506
12507 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12508
12509 [BZ #13629]
12510 * math/s_clog.c: Include <float.h>.
12511 (__clog): Scale large or subnormal inputs.
12512 * math/s_clogf.c: Likewise.
12513 * math/s_clogl.c: Likewise.
12514 * math/s_clog10.c: Include <float.h>.
12515 (M_LOG10_2): Define.
12516 (__clog10): Scale large or subnormal inputs.
12517 * math/s_clog10f.c: Likewise.
12518 * math/s_clog10l.c: Likewise.
12519 * math/libm-test.inc (clog_test): Add more tests.
12520 (clog10_test): Likewise.
12521 * sysdeps/i386/fpu/libm-test-ulps: Update.
12522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12523
12524 [BZ #11451]
12525 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12526 x and y.
12527 * math/libm-test.inc (atan2_test): Add another test.
12528
12529 * Makerules (common-objdir-compile): Remove.
12530 * sysdeps/unix/Makefile (config-generated): Do not add
12531 $(unix-generated) to variable.
12532 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12533 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12534 Remove rule.
12535 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12536 Likewise.
12537 [generic bits/local_lim.h] (before-compile): Do not append to
12538 variable.
12539 [generic bits/local_lim.h] (common-generated): Likewise.
12540 [generic sys/param.h] (before-compile): Do not append to variable.
12541 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12542 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12543 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12544 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12545 include.
12546 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12547 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12548 [generic sys/param.h] ($(addprefix
12549 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12550 [generic sys/param.h] (common-generated): Do not append to
12551 variable.
12552 [generic sys/param.h] (sysdep_headers): Likewise.
12553 [generic bits/errno.h] (before-compile): Do not append to
12554 variable.
12555 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12556 rule.
12557 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12558 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12559 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12560 [generic bits/errno.h] (common-generated): Do not append to
12561 variable.
12562 [generic bits/ioctls.h] (before-compile): Do not append to
12563 variable.
12564 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12565 rule.
12566 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12567 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12568 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12569 rule.
12570 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12571 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12572 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12573 [generic bits/ioctls.h] (common-generated): Do not append to
12574 variable.
12575 [generic sys/syscall.h] (syscall.h): Remove variable.
12576 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12577 rule.
12578 [generic sys/syscall.h] (before-compile): Do not append to
12579 variable.
12580 [generic sys/syscall.h] (common-generated): Likewise.
12581 * sysdeps/unix/errnos-tmpl.c: Remove file.
12582 * sysdeps/unix/errnos.awk: Likewise.
12583 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12584 * sysdeps/unix/ioctls.awk: Likewise.
12585 * sysdeps/unix/mk-local_lim.c: Likewise.
12586 * sysdeps/unix/snarf-ioctls: Likewise.
12587
12588 2012-03-19 Richard Henderson <rth@twiddle.net>
12589
12590 * sysdeps/i386/fpu/fenv_private.h: New file.
12591 * sysdeps/i386/fpu/math_private.h: Use it.
12592 (math_opt_barrier, math_force_eval): Remove.
12593 (libc_feholdexcept_setround_53bit): Remove.
12594 (libc_feupdateenv_53bit): Remove.
12595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12596 (math_opt_barrier, math_force_eval): Remove.
12597 (libc_feholdexcept): Remove.
12598 (libc_feholdexcept_setround): Remove.
12599 (libc_fetestexcept, libc_fesetenv): Remove.
12600 (libc_feupdateenv_test): Remove.
12601 (libc_feupdateenv, libc_feholdsetround): Remove.
12602 (libc_feresetround): Remove.
12603
12604 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12605 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12606
12607 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12608 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12609 (libc_feupdateenv_testl): New.
12610 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12611 (libc_feupdateenv_testf): New.
12612 (libc_feupdateenv): Use libc_feupdateenv_test.
12613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12614 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12615
12616 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12617 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12618 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12619 (libc_feresetround_noex): New.
12620 (libc_feresetround_noexf): New.
12621 (libc_feresetround_noexl): New.
12622 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12623 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12624 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12625 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12626 SET_RESTORE_ROUND.
12627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12629 (__cos): Likewise.
12630 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12631 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12632 SET_RESTORE_ROUND_NOEX.
12633 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12634 SET_RESTORE_ROUND_NOEXF.
12635 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12636 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12637 (libc_feholdsetroundf): New.
12638 (libc_feresetround, libc_feresetroundf): New.
12639
12640 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12641 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12642 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12643
12644 * sysdeps/generic/math_private.h: Include <fenv.h>.
12645 (default_libc_feholdexcept): New.
12646 (default_libc_feholdexcept_setround): New.
12647 (default_libc_fesetenv, default_libc_feupdateenv): New.
12648 (libc_feholdexcept): Only define if undefined.
12649 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12650 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12651 (libc_feholdexcept_setroundl): Likewise.
12652 (libc_feholdexcept_setround_53bit): Likewise.
12653 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12654 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12655 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12656 (libc_feupdateenv_53bit): Likewise.
12657 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12658 (libc_feholdexcept): Convert from macro to inline function.
12659 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12660 (libc_fesetenv, libc_feupdateenv): Likewise.
12661
12662 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12663 not previously defined.
12664 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12665 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12666 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12667 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12668 * sysdeps/ieee754/flt-32/math_private.h: New file.
12669 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12670 math_private.h below SET_FLOAT_WORD.
12671 (__isnan, __isinf_ns, __finite): Remove.
12672 (__isnanf, __isinf_nsf, __finitef): Remove.
12673
12674 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12677
12678 2012-03-17 David S. Miller <davem@davemloft.net>
12679
12680 [BZ #6471]
12681 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12682 for 2.16.
12683
12684 2012-03-16 David S. Miller <davem@davemloft.net>
12685
12686 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12687 warnings.
12688
12689 [BZ #6471]
12690 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12691 properly.
12692 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12693 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12694 sysdep_routines when subdir is sysvipc.
12695 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12696 __getshmlba helper.
12697
12698 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12699
12700 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12703 [__LP64__].
12704
12705 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12708 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12709 (__lround): Renamed to ...
12710 (__llround): This. Replace long int with long long int.
12711 Define lround functions as aliases of llround functions.
12712 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12713
12714 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12715
12716 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12717 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12718 adresses to uintptr_t. Replace "long int" and "unsigned long
12719 int" with "greg_t" on va_arg.
12720
12721 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12724 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12725
12726 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12727 Move e_machine check before EI_CLASS check. Handle x32
12728 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12729 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12730 SKIP_EM_IA_64 and include
12731 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12732
12733 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12734 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12735 (add_system_dir): New macro.
12736
12737 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12738 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12739
12740 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12741
12742 [BZ #2551]
12743 [BZ #2552]
12744 [BZ #2553]
12745 [BZ #2554]
12746 [BZ #2562]
12747 [BZ #2563]
12748 [BZ #2565]
12749 [BZ #2566]
12750 [BZ #2576]
12751 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12752 (y0): Likewise.
12753 * math/w_j0f.c (j0f): Likewise.
12754 (y0f): Likewise.
12755 * math/w_j0l.c (__j0l): Likewise.
12756 (__y0l): Likewise.
12757 * math/w_j1.c (j1): Likewise.
12758 (y1): Likewise.
12759 * math/w_j1f.c (j1f): Likewise.
12760 (y1f): Likewise.
12761 * math/w_j1l.c (__j1l): Likewise.
12762 (__y1l): Likewise.
12763 * math/w_jn.c (jn): Likewise.
12764 (yn): Likewise.
12765 * math/w_jnf.c (jnf): Likewise.
12766 (ynf): Likewise.
12767 * math/w_jnl.c (__jnl): Likewise.
12768 (__ynl): Likewise.
12769 * math/libm-test.inc (j0_test): Add more tests.
12770 (j1_test): Likewise.
12771 (jn_test): Likewise. Add trailing semicolon to existing test.
12772 (y0_test): Likewise.
12773 (y1_test): Likewise.
12774 * sysdeps/i386/fpu/libm-test-ulps: Update.
12775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776
12777 [BZ #13851]
12778 [BZ #13854]
12779 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12780 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12781 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12782 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12783 (__tanl): Set errno for infinite argument.
12784 * sysdeps/i386/fpu/mptan.c: Remove.
12785 * sysdeps/i386/fpu/s_tan.S: Likewise.
12786 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12787 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12788 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12789 * math/libm-test.inc (tan_test): Add more tests and enable more
12790 tests for double and long double.
12791 * sysdeps/i386/fpu/libm-test-ulps: Update.
12792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12793
12794 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12795
12796 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12797 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12798
12799 2012-03-16 Roland McGrath <roland@hack.frob.com>
12800
12801 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12802 * configure.in: Use it for both main tree and add-ons.
12803 * configure: Regenerated.
12804
12805 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12806
12807 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12808
12809 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12810
12811 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12812 in comment.
12813
12814 [BZ #13851]
12815 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12816 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12820 infinite argument.
12821 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12823 != 0 for prec == 2.
12824 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12825 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12826 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12827 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12828 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12829 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12830 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12831 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12832 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12833 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12834 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12835 * math/libm-test.inc (cos_test): Add more tests and enable more
12836 tests for long double.
12837 (sin_test): Likewise.
12838 (sincos_test): Likewise.
12839 * sysdeps/i386/fpu/libm-test-ulps: Update.
12840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12841
12842 2012-03-16 David S. Miller <davem@davemloft.net>
12843
12844 * sysdeps/sparc/fpu/math_private.h: New file.
12845
12846 2012-03-15 David S. Miller <davem@davemloft.net>
12847
12848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12849 file.
12850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12852 file.
12853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12859 sysdep routines.
12860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12861
12862 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12863 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12864
12865 * sysdeps/sparc/sparc-ifunc.h: New file.
12866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12867 sparc-ifunc.h
12868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12870 Likewise.
12871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12872 Likewise.
12873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12877 Likewise.
12878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12883 Likewise.
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12885 Likewise.
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12892 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12910
12911 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12912
12913 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12914 scaling.
12915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12916
12917 2012-03-15 Andreas Jaeger <aj@suse.de>
12918
12919 [BZ #13852]
12920 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12921 ieee754/flt-32 implementation for sin, cos and sincos.
12922 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12923 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12924 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12925 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12926 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12927 ieee754/flt-32 implementation for tan.
12928
12929 * math/libm-test.inc (cos_test): Enable some large input tests for
12930 float as well
12931 (sin_test): Likewise.
12932 (sincos_test): Likewise.
12933 (tan_test): Add tests for large input.
12934
12935 * sysdeps/i386/fpu/libm-test-ulps: Update.
12936
12937 2012-03-15 Andreas Jaeger <aj@suse.de>
12938
12939 [BZ #13658]
12940 * math/libm-test.inc (cos_test): Add more test cases.
12941 (sin_test): Likewise.
12942 (sincos_test): Likewise.
12943
12944 2012-03-15 Andreas Jaeger <aj@suse.de>
12945
12946 [BZ #13837]
12947 * math/libm-test.inc (cos_test): Add a test case for large input
12948 value.
12949 (sin_test): Likewise.
12950 (sincos_test): Likewise.
12951
12952 2012-03-15 Andreas Jaeger <aj@suse.de>,
12953 Joseph Myers <joseph@codesourcery.com>
12954
12955 [BZ #13658]
12956 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12957 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12958 * sysdeps/i386/fpu/branred.c: Likewise.
12959 * sysdeps/i386/fpu/dosincos.c: Likewise.
12960 * sysdeps/i386/fpu/mpa.c: Likewise.
12961 * sysdeps/i386/fpu/s_cos.S: Likewise.
12962 * sysdeps/i386/fpu/s_sin.S: Likewise.
12963 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12964 * sysdeps/i386/fpu/sincos32.c: Likewise.
12965
12966 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12967 Define.
12968 (libc_feupdateenv_53bit): Define.
12969 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12970 Define.
12971 (libc_feupdateenv_53bit): Define.
12972
12973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12974 53 bit (without extend i386 double precision).
12975
12976 * math/libm-test.inc (sincos_test): Add tests for large input.
12977 (sin): Likewise.
12978 (cos): Likewise.
12979
12980 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12981
12982 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12983
12984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12985
12986 2012-03-15 David S. Miller <davem@davemloft.net>
12987
12988 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12989 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12990 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12991 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13004 file.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13007 file.
13008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13010 file.
13011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13013 file.
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13016 fmin/fmax sysdep routines.
13017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13018
13019 2012-03-14 David S. Miller <davem@davemloft.net>
13020
13021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13042 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13043 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13045 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13047 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13050 routines.
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13052 file.
13053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13055 file.
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13058 file.
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13061 file.
13062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13064 file.
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13067 file.
13068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13069 file.
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13071 file.
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13073 file.
13074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13075 New file.
13076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13077 file.
13078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13079 file.
13080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13082 file.
13083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13085 file.
13086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13088 file.
13089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13091 VIS3 routines.
13092
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13094 New file.
13095
13096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13097
13098 * sysdeps/sparc/configure.in: New file.
13099 * sysdeps/sparc/configure: Generate.
13100 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13101 * configure: Regenerate.
13102 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13103 * config.make.in (have-as-vis3): New.
13104 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13105 available use -Av9d instead of -Av9a.
13106 * sysdeps/sparc/sparc64/Makefile: Likewise.
13107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13109 New file.
13110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13111 file.
13112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13113 New file.
13114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13115 file.
13116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13117 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13118 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13119 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13121
13122 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13123 fzeros/fnegs to load 0x80000000 into a float register instead of
13124 using the stack.
13125 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13126
13127 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13128
13129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13130 bits/syscall.h.
13131 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13132 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13133 ($(inst_includedir)/bits/syscall.h): Remove rule.
13134 ($(objpfx)bits/syscall.d): Include instead of
13135 $(objpfx)syscall-list.d.
13136 (generated): Change syscall-list.h and syscall-list.d to
13137 bits/syscall.h and bits/syscall.d.
13138
13139 2012-03-14 Roland McGrath <roland@hack.frob.com>
13140
13141 [BZ #13846]
13142 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13143
13144 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13145
13146 [BZ #13841]
13147 * math/s_csqrt.c: Include <float.h>.
13148 (__csqrt): Scale large or subnormal inputs.
13149 * math/s_csqrtf.c: Likewise.
13150 * math/s_csqrtl.c: Likewise.
13151 * math/libm-test.inc (csqrt_test): Add more tests.
13152 * sysdeps/i386/fpu/libm-test-ulps: Update.
13153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13154
13155 [BZ #13840]
13156 * math/libm-test.inc (hypot_test): Add more tests.
13157
13158 2012-03-13 David S. Miller <davem@davemloft.net>
13159
13160 [BZ #13840]
13161 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13162 double-precision for the calculation instead of scaling.
13163
13164 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13165
13166 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13167 manipulate bits before adding and subtracting TWO52[sx].
13168 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13169 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13170 Likewise.
13171 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13172
13173 2012-03-13 David S. Miller <davem@davemloft.net>
13174
13175 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13176 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13178 rtld-global-offsets.h
13179 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13180
13181 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13182 large parameters.
13183
13184 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13185
13186 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13187 'err' in the ifdef scope in which it is actually used.
13188
13189 * nss/nss_db/db-init.c: Include string.h
13190
13191 2012-03-12 David S. Miller <davem@davemloft.net>
13192
13193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13194 masking out of the most significant byte of random value used.
13195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13196 Fix coding style in previous change.
13197
13198 * sysdeps/unix/sysv/linux/kernel-features.h
13199 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13200 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13201 expression.
13202 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13203 later.
13204
13205 2012-03-11 David S. Miller <davem@davemloft.net>
13206
13207 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13208 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13209 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13210 for 'resultvar' otherwise things get truncated on 64-bit.
13211
13212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13213 Fix masking out of the most significant byte of random value used.
13214
13215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13216
13217 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13218
13219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13220
13221 2012-03-09 David S. Miller <davem@davemloft.net>
13222
13223 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13224 variables with appropriate CPP guards.
13225 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13226 frame pointer, not the stack pointer. Correct layout comments. Fix test
13227 on resulting framesize and the management of the outregs buffer for pltexit.
13228 Preserve floating point return values across _dl_call_pltexit call.
13229 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13230 framesize and the management of the outregs buffer for pltexit.
13231 Preserve floating point return values across _dl_call_pltexit
13232 call.
13233 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13234 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13235 (print_exit): Fix format string for return register value.
13236
13237 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13238
13239 * sunrpc/Makefile (others): Add rpcgen.
13240 ($(objpfx)rpcgen): Remove special build rule and dependency on
13241 libc.
13242 * sunrpc/rpcgen.c: New file.
13243
13244 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13245
13246 [BZ #13673]
13247 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13248 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13249 * sysdeps/i386/crti.S: Likewise.
13250 * sysdeps/i386/crtn.S: Likewise.
13251 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13252 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13253 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13254 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13255 * sysdeps/sh/crti.S: Likewise.
13256 * sysdeps/sh/crtn.S: Likewise.
13257 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13258
13259 [BZ #13673]
13260 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13261 with URL.
13262 * locale/programs/locfile-kw.gperf: Likewise.
13263 * locale/programs/charmap-kw.h: Regenerated.
13264 * locale/programs/locfile-kw.h: Likewise.
13265
13266 [BZ #13673]
13267 * intl/plural.y: Replace FSF snail mail address with URL.
13268 * intl/plural.c: Regenerated.
13269
13270 2012-03-09 Richard Henderson <rth@twiddle.net>
13271
13272 * include/math_private.h: Remove file.
13273 * math/math_private.h: Move file ...
13274 * sysdeps/generic/math_private.h: ... here.
13275
13276 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13277 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13278 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13279
13280 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13281 and <math_private.h>.
13282 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13283 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13284 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13285 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13286 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13370 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13371 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13372 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13373 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13375 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13376 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13377 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13378 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13379 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13381 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13382 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13383 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13384 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13386 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13387 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13388 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13389 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13390 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13392 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13393 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13394 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13395 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13396 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13398 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13400 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13401 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13402 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13403 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13404 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13405 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13406 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13407 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13408 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13409 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13410 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13411 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13412 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13413 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13414 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13415 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13416 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13418 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13419 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13420 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13422 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13423 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13425 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13426 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13427 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13429 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13430 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13431 * sysdeps/ieee754/k_standard.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13564 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13580 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13592 * sysdeps/ieee754/s_lib_version.c: Likewise.
13593 * sysdeps/ieee754/s_matherr.c: Likewise.
13594 * sysdeps/ieee754/s_signgam.c: Likewise.
13595 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13596 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13597 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13598 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13599 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13600 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13601 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13602 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13603 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13604 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13605 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13606 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13607 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13608 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13609 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13612 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13613 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13616
13617 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13618
13619 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13620 * sunrpc/rpc_main.c: Likewise.
13621 * sunrpc/rpc_svcout.c: Likewise.
13622
13623 2012-03-09 David S. Miller <davem@davemloft.net>
13624
13625 * include/math_private.h: New file.
13626
13627 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13628
13629 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13630 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13631 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13632 from <bits/socket_type.h>.
13633 (enum __socket_type): Don't define here.
13634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13636 bits/socket_type.h.
13637
13638 [BZ #13566]
13639 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13640 checking __USE_GNU.
13641
13642 * Makerules ($(inst_includedir)/%.h): New rule.
13643 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13644 (install-others): Remove variable setting.
13645 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13646
13647 2012-03-08 Richard Henderson <rth@twiddle.net>
13648
13649 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13650 from macro to inline function; merge with the
13651 !__LIBC_INTERNAL_MATH_INLINES version.
13652 (__ieee754_sqrtf): Likewise.
13653
13654 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13655 to inline function.
13656 (__rintf, __floor, __floorf): Likewise.
13657
13658 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13659 macro to inline function.
13660 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13661
13662 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13663 not <math/math_private.h>.
13664
13665 2012-03-08 David S. Miller <davem@davemloft.net>
13666
13667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13668 copyright year.
13669 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13670
13671 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13672
13673 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13674 normalization.
13675 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13676 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13677
13678 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13679
13680 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13681 be defined individually, they must be defined as a block. Define
13682 S for printing a string instead of hidint the different by using a
13683 macro for adding the 'l'.
13684 * stdio-common/tst-fphex-wide.c: Adjust.
13685
13686 2012-03-07 Marek Polacek <polacek@redhat.com>
13687
13688 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13689
13690 2012-03-08 Marek Polacek <polacek@redhat.com>
13691
13692 [BZ #13806]
13693 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13694 * stdio-common/tst-fphex.c: Define a few macros to make the
13695 test reusable. Use them.
13696 * stdio-common/tst-fphex-wide.c: New file.
13697
13698 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13699
13700 [BZ #6911]
13701 * manual/macros.texi (gnusystems): New macro.
13702 (nongnusystems): Likewise.
13703 (gnulinuxhurdsystems): Likewise.
13704 (gnuhurdsystems): Likewise..
13705 (gnulinuxsystems): Likewise.
13706 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13707 variants of the GNU system, not "GNU system".
13708 * manual/conf.texi: Likewise.
13709 * manual/errno.texi: Likewise. Update example of errno macro
13710 expansion.
13711 * manual/filesys.texi: Likewise.
13712 (getumask): Document as specific to GNU/Hurd.
13713 * manual/install.texi: Likewise. Reword some references to
13714 GNU/Linux.
13715 * manual/intro.texi: Likewise.
13716 * manual/io.texi: Likewise.
13717 (File Name Portability): Detail which constraints are inapplicable
13718 to all GNU systems and which are only inapplicable to GNU/Hurd.
13719 * manual/job.texi: Likewise.
13720 * manual/llio.texi: Likewise.
13721 (O_NOCTTY): Document as present on GNU/Linux.
13722 * manual/maint.texi: Likewise.
13723 * manual/memory.texi: Likewise.
13724 * manual/pattern.texi: Likewise.
13725 * manual/pipe.texi: Likewise.
13726 * manual/process.texi: Likewise.
13727 * manual/resource.texi: Likewise.
13728 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13729 child on GNU/Hurd.
13730 * manual/setjmp.texi: Likewise.
13731 * manual/signal.texi: Likewise.
13732 * manual/startup.texi: Likewise.
13733 * manual/stdio.texi: Likewise.
13734 * manual/terminal.texi: Likewise.
13735 (ONLCR): Document as POSIX.
13736 (OXTABS): Document availability on GNU/Linux as XTABS.
13737 (ONOEOT): Document availability separately from other bits.
13738 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13739 * manual/time.texi: Likewise.
13740 * manual/users.texi: Likewise.
13741 * INSTALL: Regenerated.
13742 * sysdeps/gnu/errlist.c: Regenerated.
13743
13744 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13745 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13746 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13747 puts.
13748 * configure: Regenerated.
13749
13750 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13751
13752 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13753 default includes instead of AC_HEADER_CHECK.
13754 * sysdeps/i386/configure: Regenerated.
13755
13756 [BZ #10716]
13757 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13758 * math/s_cacoshf.c (__cacoshf): Likewise.
13759 * math/s_cacoshl.c (__cacoshl): Likewise.
13760 * math/s_casinh.c (__casinh): Set signs of result from argument.
13761 * math/s_casinhf.c (__casinhf): Likewise.
13762 * math/s_casinhl.c (__casinhl): Likewise.
13763 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13764 (casinh_test): Add more tests.
13765 * sysdeps/i386/fpu/libm-test-ulps: Update.
13766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13767
13768 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13769
13770 * po/zh_TW.po: Update from translation team.
13771
13772 * login/Makefile (distribute): Remove variable.
13773 * catgets/Makefile: Likewise.
13774 * mach/Makefile: Likewise.
13775 * malloc/Makefile: Likewise.
13776 * misc/Makefile: Likewise.
13777 * iconv/Makefile: Likewise.
13778 * nscd/Makefile: Likewise.
13779 * hurd/Makefile: Likewise.
13780 * manual/Makefile: Likewise.
13781 * locale/Makefile: Likewise.
13782 * intl/Makefile: Likewise.
13783 * conform/Makefile: Likewise.
13784 * nss/Makefile: Likewise.
13785 * time/Makefile: Likewise.
13786 * soft-fp/Makefile: Likewise.
13787 * dirent/Makefile: Likewise.
13788 * gmon/Makefile: Likewise.
13789 * po/Makefile: Likewise.
13790 * rt/Makefile: Likewise.
13791 * socket/Makefile: Likewise.
13792 * math/Makefile: Likewise.
13793 * signal/Makefile: Likewise.
13794 * debug/Makefile: Likewise.
13795 * elf/Makefile: Likewise.
13796 * timezone/Makefile: Likewise.
13797 * stdlib/Makefile: Likewise.
13798 * iconvdata/Makefile: Likewise.
13799 * sunrpc/Makefile: Likewise.
13800 * io/Makefile: Likewise.
13801 * argp/Makefile: Likewise.
13802 * inet/Makefile: Likewise.
13803 * hesiod/Makefile: Likewise.
13804 * grp/Makefile: Likewise.
13805 * csu/Makefile: Likewise.
13806 * wctype/Makefile: Likewise.
13807 * crypt/Makefile: Likewise.
13808 * libio/Makefile: Likewise.
13809 * string/Makefile: Likewise.
13810 * nis/Makefile: Likewise.
13811 * resolv/Makefile: Likewise.
13812 * stdio-common/Makefile: Likewise.
13813 * wcsmbs/Makefile: Likewise.
13814 * dlfcn/Makefile: Likewise.
13815 * posix/Makefile: Likewise.
13816
13817 [BZ #6959]
13818 * timezone/Makefile: Don't install timezone files, just the programs
13819 and scripts.
13820
13821 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13822
13823 * nss/databases.def: Add missing gshadow entry.
13824
13825 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13826
13827 2012-03-06 Marek Polacek <polacek@redhat.com>
13828
13829 [BZ #13726]
13830 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13831 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13832 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13833 * stdio-common/tst-long-dbl-fphex.c: New file.
13834
13835 2012-03-06 David S. Miller <davem@davemloft.net>
13836
13837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13838 (set_obp_int): New function.
13839 (get_obp_int): New function.
13840 (__get_clockfreq_via_dev_openprom): Likewise.
13841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13842 Avoid unused variable warnings on 'val' and use builtin_expect.
13843 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13844 __builtin_expect.
13845 (INLINE_CLONE_SYSCALL): Likewise.
13846
13847 2012-03-05 David S. Miller <davem@davemloft.net>
13848
13849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13850
13851 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13852
13853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13854
13855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13856 only for |x| >= 40.
13857 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13858
13859 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13860
13861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13862 Replace gettimeofday with __vdso_gettimeofday.
13863
13864 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13865 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13866 __vdso_clock_gettime and __vdso_getcpu.
13867
13868 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13869 time with __vdso_time.
13870
13871 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13872
13873 * manual/lang.texi (size_t): Note types to which size_t may be
13874 equivalent with the GNU C Library, but do not describe when
13875 differences between them are significant.
13876
13877 2012-03-05 Andreas Jaeger <aj@suse.de>
13878
13879 * sysdeps/i386/fpu/libm-test-ulps: Update.
13880
13881 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13882
13883 [BZ #3976]
13884 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13885 (__ieee754_pow): Save and restore rounding mode and use
13886 round-to-nearest for main computations.
13887 * math/libm-test.inc (pow_test_tonearest): New function.
13888 (pow_test_towardzero): Likewise.
13889 (pow_test_downward): Likewise.
13890 (pow_test_upward): Likewise.
13891 (main): Call the new functions.
13892 * sysdeps/i386/fpu/libm-test-ulps: Update.
13893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13894
13895 [BZ #3976]
13896 * math/libm-test.inc (cosh_test_tonearest): New function.
13897 (cosh_test_towardzero): Likewise.
13898 (cosh_test_downward): Likewise.
13899 (cosh_test_upward): Likewise.
13900 (sinh_test_tonearest): Likewise.
13901 (sinh_test_towardzero): Likewise.
13902 (sinh_test_downward): Likewise.
13903 (sinh_test_upward): Likewise.
13904 (main): Call the new functions.
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13907
13908 2012-03-05 Tom de Vries <tom@codesourcery.com>
13909
13910 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13911 default stack guard is set in last bytes.
13912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13913
13914 2012-03-05 Kees Cook <keescook@chromium.org>
13915
13916 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13917
13918 [BZ #13656]
13919 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13920 possibly allocate from heap instead of stack.
13921 * stdio-common/bug-vfprintf-nargs.c: New file.
13922 * stdio-common/Makefile (tests): Add nargs overflow test.
13923
13924 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13925
13926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13927
13928 2012-03-03 Marek Polacek <polacek@redhat.com>
13929
13930 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13931 * math/math_private.h: Likewise.
13932 * stdlib/tst-strtod.c: Likewise.
13933 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13934 * sysdeps/x86_64/bits/atomic.h: Likewise.
13935
13936 2012-03-02 David S. Miller <davem@davemloft.net>
13937
13938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13942 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13943 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13944 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13945 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13946
13947 2012-03-02 Roland McGrath <roland@hack.frob.com>
13948
13949 [BZ #13792]
13950 * manual/examples/README: New file, says the example source files
13951 can be used under GPL>=2.
13952 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13953 line containing just "*/".
13954 * manual/examples/add.c: Add copyright header (GPL>=2).
13955 * manual/examples/argp-ex1.c: Likewise.
13956 * manual/examples/argp-ex2.c: Likewise.
13957 * manual/examples/argp-ex3.c: Likewise.
13958 * manual/examples/argp-ex4.c: Likewise.
13959 * manual/examples/atexit.c: Likewise.
13960 * manual/examples/db.c: Likewise.
13961 * manual/examples/dir.c: Likewise.
13962 * manual/examples/dir2.c: Likewise.
13963 * manual/examples/execinfo.c: Likewise.
13964 * manual/examples/filecli.c: Likewise.
13965 * manual/examples/filesrv.c: Likewise.
13966 * manual/examples/fmtmsgexpl.c: Likewise.
13967 * manual/examples/genpass.c: Likewise.
13968 * manual/examples/inetcli.c: Likewise.
13969 * manual/examples/inetsrv.c: Likewise.
13970 * manual/examples/isockad.c: Likewise.
13971 * manual/examples/longopt.c: Likewise.
13972 * manual/examples/memopen.c: Likewise.
13973 * manual/examples/memstrm.c: Likewise.
13974 * manual/examples/mkfsock.c: Likewise.
13975 * manual/examples/mkisock.c: Likewise.
13976 * manual/examples/mygetpass.c: Likewise.
13977 * manual/examples/pipe.c: Likewise.
13978 * manual/examples/popen.c: Likewise.
13979 * manual/examples/rprintf.c: Likewise.
13980 * manual/examples/search.c: Likewise.
13981 * manual/examples/select.c: Likewise.
13982 * manual/examples/setjmp.c: Likewise.
13983 * manual/examples/sigh1.c: Likewise.
13984 * manual/examples/sigusr.c: Likewise.
13985 * manual/examples/stpcpy.c: Likewise.
13986 * manual/examples/strdupa.c: Likewise.
13987 * manual/examples/strftim.c: Likewise.
13988 * manual/examples/strncat.c: Likewise.
13989 * manual/examples/subopt.c: Likewise.
13990 * manual/examples/swapcontext.c: Likewise.
13991 * manual/examples/termios.c: Likewise.
13992 * manual/examples/testopt.c: Likewise.
13993 * manual/examples/testpass.c: Likewise.
13994 * manual/examples/timeval_subtract.c: Likewise.
13995
13996 [BZ #13792]
13997 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13998 function to ...
13999 * manual/timeval_subtract.c.texi: ... here, new file.
14000
14001 2012-03-02 David S. Miller <davem@davemloft.net>
14002
14003 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14004
14005 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14006
14007 [BZ #3976]
14008 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14009 (__sin): Save and restore rounding mode and use round-to-nearest
14010 for all computations.
14011 (__cos): Save and restore rounding mode and use round-to-nearest
14012 for all computations.
14013 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14014 <fenv.h>.
14015 (tan): Save and restore rounding mode and use round-to-nearest for
14016 all computations.
14017 * math/libm-test.inc (cos_test_tonearest): New function.
14018 (cos_test_towardzero): Likewise.
14019 (cos_test_downward): Likewise.
14020 (cos_test_upward): Likewise.
14021 (sin_test_tonearest): Likewise.
14022 (sin_test_towardzero): Likewise.
14023 (sin_test_downward): Likewise.
14024 (sin_test_upward): Likewise.
14025 (tan_test_tonearest): Likewise.
14026 (tan_test_towardzero): Likewise.
14027 (tan_test_downward): Likewise.
14028 (tan_test_upward): Likewise.
14029 (main): Call the new functions.
14030 * sysdeps/i386/fpu/libm-test-ulps: Update.
14031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14032
14033 [BZ #10135]
14034 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14035 small n, then large n, before computing and testing k+n.
14036 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14038 Likewise.
14039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14040 Likewise.
14041 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14042 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14045 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14049 * math/libm-test.inc (scalbn_test): Add more tests.
14050 (scalbln_test): Likewise.
14051
14052 * manual/filesys.texi (mode_t): Describe constraints on size and
14053 signedness, not exact equivalence to a particular type.
14054 (ino_t): Likewise.
14055 (ino64_t): Likewise.
14056 (dev_t): Likewise.
14057 (nlink_t): Likewise.
14058 (blkcnt_t): Likewise.
14059 (blkcnt64_t): Likewise.
14060 * manual/llio.texi (off_t): Likewise.
14061
14062 [BZ #3976]
14063 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14064 (__ieee754_exp): Save and restore rounding mode and use
14065 round-to-nearest for all computations.
14066 * math/libm-test.inc (exp_test_tonearest): New function.
14067 (exp_test_towardzero): Likewise.
14068 (exp_test_downward): Likewise.
14069 (exp_test_upward): Likewise.
14070 (main): Call the new functions.
14071 * sysdeps/i386/fpu/libm-test-ulps: Update.
14072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14073
14074 2012-03-01 Chris Demetriou <cgd@google.com>
14075
14076 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14077 have predictable order.
14078
14079 2012-03-01 David S. Miller <davem@davemloft.net>
14080
14081 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14082
14083 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14084 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14085 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14086 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14087
14088 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14089 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14090 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14092 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14093 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14094 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14095 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14096 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14097
14098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14099
14100 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14101 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14102 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14103
14104 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14105 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14107 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14108 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14109 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14111 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14112 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14113 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14114 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14117 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14120 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14121 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14122 * sysdeps/sparc/elf/configure: Regenerated.
14123
14124 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14125
14126 * configure.in (AS, LD): Require binutils 2.20 or later.
14127 * configure: Regenerated.
14128 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14129 as required minimum version.
14130 * INSTALL: Regenerated.
14131
14132 [BZ #2541]
14133 [BZ #4108]
14134 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14135 before squaring exponent.
14136 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14137 bottom long double and 27 bits of top long double before squaring
14138 exponent.
14139 * math/libm-test.inc (erfc_test): Add more tests.
14140 * sysdeps/i386/fpu/libm-test-ulps: Update.
14141 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14143
14144 2012-03-01 Kai Tietz <ktietz@redhat.com>
14145
14146 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14147 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14148 containing bit-fields.
14149 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14150 * soft-fp/single.h (_FP_UNION_S): Likewise.
14151 * soft-fp/double.h (_FP_UNION_D): Likewise.
14152
14153 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14154
14155 [BZ #13786]
14156 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14157 not include ../strcmp.S.
14158 [USE_AS_STRNCASECMP_L]: Likewise.
14159 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14160 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14161 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14162 (__strncasecmp_l_ia32): Define as alias to
14163 __strncasecmp_l_nonascii.
14164
14165 [BZ #5794]
14166 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14167 * sysdeps/i386/fpu/libm-test-ulps: Update.
14168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14169
14170 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14172
14173 2012-02-29 Jeff Law <law@redhat.com>
14174
14175 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14176 out of bounds read.
14177
14178 2012-02-29 Marek Polacek <polacek@redhat.com>
14179
14180 [BZ #13706]
14181 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14182 * elf/Makefile: Add rules to run tst-unused-dep.out.
14183
14184 2012-02-28 David S. Miller <davem@davemloft.net>
14185
14186 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14187 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14188 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14189 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14190 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14191 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14192
14193 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14194
14195 * math/libm-test.inc (llround_test): Move one test from
14196 lround_test. Use TEST_f_L in moved test.
14197 (lround_test): Move misplaced test to llround_test. Add testcase
14198 from bug 2561.
14199
14200 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14201
14202 * sysdeps/x86_64/fpu/e_expf.S: New file.
14203 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14204
14205 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14206
14207 [BZ #13637]
14208 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14209 of remain_len that may cause incomplete multi-byte character and
14210 false match.
14211 * posix/bug-regex33.c: New file.
14212 * posix/Makefile (tests): Add bug-regex33.
14213
14214 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14215
14216 * manual/macros.texi: New file.
14217 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14218 * manual/libc.texinfo: Include macros.texi.
14219 * manual/creatute.texi: Likewise.
14220 * manual/install.texi: Likewise.
14221 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14222 @glibcadj{} in references to the GNU C Library.
14223 * manual/charset.texi: Likewise.
14224 * manual/conf.texi: Likewise.
14225 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14226 when not using those macros.
14227 * manual/creature.texi: Likewise.
14228 * manual/crypt.texi: Likewise.
14229 * manual/errno.texi: Likewise.
14230 * manual/filesys.texi: Likewise.
14231 * manual/header.texi: Likewise.
14232 * manual/install.texi: Likewise.
14233 * manual/intro.texi: Likewise.
14234 * manual/io.texi: Likewise.
14235 * manual/job.texi: Likewise.
14236 * manual/lang.texi: Likewise.
14237 * manual/libc.texiinfo: Likewise.
14238 * manual/llio.texi: Likewise.
14239 * manual/locale.texi: Likewise.
14240 * manual/maint.texi: Likewise.
14241 * manual/math.texi: Likewise.
14242 * manual/memory.texi: Likewise.
14243 * manual/message.texi: Likewise.
14244 * manual/nss.texi: Likewise.
14245 * manual/pattern.texi: Likewise.
14246 * manual/process.texi: Likewise.
14247 * manual/resource.texi: Likewise.
14248 * manual/search.texi: Likewise.
14249 * manual/setjmp.texi: Likewise.
14250 * manual/signal.texi: Likewise.
14251 * manual/socket.texi: Likewise.
14252 * manual/startup.texi: Likewise.
14253 * manual/stdio.texi: Likewise.
14254 * manual/string.texi: Likewise.
14255 * manual/sysinfo.texi: Likewise.
14256 * manual/syslog.texi: Likewise.
14257 * manual/terminal.texi: Likewise.
14258 * manual/time.texi: Likewise.
14259 * manual/users.texi: Likewise.
14260 * INSTALL: Regenerated.
14261 * NOTES: Regenerated.
14262 * sysdeps/gnu/errlist.c: Regenerated.
14263
14264 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14265
14266 * include/dirent.h: Include <dirstream.h> before
14267 <dirent/dirent.h>.
14268
14269 2012-02-28 David S. Miller <davem@davemloft.net>
14270
14271 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14272 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14273 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14274 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14275
14276 2012-02-27 David S. Miller <davem@davemloft.net>
14277
14278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14280 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14281 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14282
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14284 frame pointer instead of stack pointer relative arg slot.
14285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14286 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14287 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14288
14289 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14290
14291 [BZ #3992]
14292 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14293
14294 2012-02-27 David S. Miller <davem@davemloft.net>
14295
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14300 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14301 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14302 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14303 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14304
14305 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14306
14307 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14308 later. Allow versions 5-9.
14309 * configure: Regenerated.
14310 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14311 required minimum version and 4.6 as recommended version. Do not
14312 mention bugs in GCC 2.7 and 2.8.
14313 * INSTALL: Regenerated.
14314
14315 2012-02-27 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14323 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14324 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14325
14326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14327 manipulate bits before adding and subtracting TWO112[sx].
14328 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14329
14330 2012-02-27 Roland McGrath <roland@hack.frob.com>
14331
14332 [BZ #13775]
14333 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14334 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14335 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14336 being in POSIX, because they are in 1003.1-2008.
14337
14338 * rt/tst-aio.c: Include <fcntl.h>.
14339 * rt/tst-aio7.c: Likewise.
14340 * rt/tst-aio64.c: Likewise.
14341
14342 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14343
14344 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14345
14346 * manual/install.texi (--with-headers): Describe headers as
14347 interface headers, not private headers.
14348 (Specific advice for GNU/Linux systems): Describe use of headers
14349 from "make headers_install", not private headers from older
14350 kernels.
14351 * INSTALL: Regenerated.
14352 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14353 Change to 2.6.19.
14354 * sysdeps/unix/sysv/linux/configure: Regenerated.
14355
14356 * manual/llio.texi (fclean): Remove documentation.
14357
14358 * manual/Makefile (libc-texi-generated): New variable. Include
14359 version.texi.
14360 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14361 $(libc-texi-generated), not duplicated list of files.
14362 (version.texi, stamp-version): New rules.
14363 (realclean): Remove $(libc-texi-generated), not individual files
14364 from that list. Do not remove dir-add.texinfo.
14365 * manual/libc.texinfo: Comment out uses of edition numbers and
14366 references to printed manual. Remove last-updated dates.
14367 (EDITION): Comment out.
14368 (ISBN): Likewise.
14369 (VERSION, UPDATED): Remove.
14370 (version.texi): Include.
14371
14372 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14373
14374 * sysdeps/posix/spawni.c: Include <signal.h>.
14375 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14376 * sysdeps/pthread/aio_fsync.c: Likewise.
14377
14378 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14379
14380 * conform/Makefile (tests): Run only when not cross-compiling and
14381 when fast-check is not defined.
14382
14383 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14384 * conform/data/limits.h-data: Fixes for POSIX2008.
14385 * conform/run-conformtest.sh: Run all tests.
14386 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14387 headers.
14388 * include/bits/dlfcn.h: Likewise.
14389 * include/langinfo.h: Likewise.
14390 * include/monetary.h: Likewise.
14391 * include/sys/poll.h: Likewise.
14392
14393 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14394 for __USE_GNU.
14395 * posix/spawn.h: Define __need_sigset_t.
14396 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14397 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14398 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14399 to get sigevent_t only.
14400 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14401 only for __USE_GNU.
14402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14403 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14404 process_vm_writev only for __USE_GNU.
14405 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14406
14407 * conform/Makefile: For now ignore errors from run-conformtest.
14408 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14409 POSIX to avoid namespace pollution. Don't prepend headers.
14410 * conform/data/aio.h-data: Fixes for POSIX testing.
14411 * conform/data/fcntl.h-data: Likewise.
14412 * conform/data/glob.h-data: Likewise.
14413 * conform/data/grp.h-data: Likewise.
14414 * conform/data/pthread.h-data: Likewise.
14415 * conform/data/pwd.h-data: Likewise.
14416 * conform/data/signal.h-data: Likewise.
14417 * conform/data/spawn.h-data: Likewise.
14418 * conform/data/stdio.h-data: Likewise.
14419 * conform/data/stdlib.h-data: Likewise.
14420 * conform/data/stropts.h-data: Likewise.
14421 * conform/data/sys/mman.h-data: Likewise.
14422 * conform/data/sys/stat.h-data: Likewise.
14423 * conform/data/sys/types.h-data: Likewise.
14424 * conform/data/sys/wait.h-data: Likewise.
14425 * conform/data/time.h-data: Likewise.
14426 * conform/data/unistd.h-data: Likewise.
14427 * conform/data/utime.h-data: Likewise.
14428
14429 * io/sys/stat.h: fchmod was always in POSIX.
14430 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14431 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14432 * rt/aio.h: Define __need_timespec before including <time.h>.
14433 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14434 struct. Add forward declaration of pthread_attr_t and use it in
14435 sigevent.
14436 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14438 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14439 always remove CLK_TCK definition.
14440
14441 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14442
14443 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14444
14445 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14446
14447 * conform/run-conformtest.sh: New file.
14448 * conform/Makefile: Run run-conformtest for tests.
14449 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14450 support.
14451
14452 * conform/data/uchar.h-data: New file.
14453 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14454 * conform/data/arpa/inet.h-data: Likewise.
14455 * conform/data/assert.h-data: Likewise.
14456 * conform/data/complex.h-data: Likewise.
14457 * conform/data/cpio.h-data: Likewise.
14458 * conform/data/ctype.h-data: Likewise.
14459 * conform/data/dirent.h-data: Likewise.
14460 * conform/data/dlfcn.h-data: Likewise.
14461 * conform/data/errno.h-data: Likewise.
14462 * conform/data/fcntl.h-data: Likewise.
14463 * conform/data/float.h-data: Likewise.
14464 * conform/data/fmtmsg.h-data: Likewise.
14465 * conform/data/fnmatch.h-data: Likewise.
14466 * conform/data/ftw.h-data: Likewise.
14467 * conform/data/glob.h-data: Likewise.
14468 * conform/data/grp.h-data: Likewise.
14469 * conform/data/iconv.h-data: Likewise.
14470 * conform/data/inttypes.h-data: Likewise.
14471 * conform/data/langinfo.h-data: Likewise.
14472 * conform/data/libgen.h-data: Likewise.
14473 * conform/data/limits.h-data: Likewise.
14474 * conform/data/locale.h-data: Likewise.
14475 * conform/data/math.h-data: Likewise.
14476 * conform/data/monetary.h-data: Likewise.
14477 * conform/data/mqueue.h-data: Likewise.
14478 * conform/data/ndbm.h-data: Likewise.
14479 * conform/data/net/if.h-data: Likewise.
14480 * conform/data/netdb.h-data: Likewise.
14481 * conform/data/netinet/in.h-data: Likewise.
14482 * conform/data/nl_types.h-data: Likewise.
14483 * conform/data/poll.h-data: Likewise.
14484 * conform/data/pthread.h-data: Likewise.
14485 * conform/data/pwd.h-data: Likewise.
14486 * conform/data/regex.h-data: Likewise.
14487 * conform/data/sched.h-data: Likewise.
14488 * conform/data/search.h-data: Likewise.
14489 * conform/data/semaphore.h-data: Likewise.
14490 * conform/data/setjmp.h-data: Likewise.
14491 * conform/data/signal.h-data: Likewise.
14492 * conform/data/spawn.h-data: Likewise.
14493 * conform/data/stdarg.h-data: Likewise.
14494 * conform/data/stdio.h-data: Likewise.
14495 * conform/data/stdlib.h-data: Likewise.
14496 * conform/data/string.h-data: Likewise.
14497 * conform/data/strings.h-data: Likewise.
14498 * conform/data/stropts.h-data: Likewise.
14499 * conform/data/sys/ipc.h-data: Likewise.
14500 * conform/data/sys/mman.h-data: Likewise.
14501 * conform/data/sys/msg.h-data: Likewise.
14502 * conform/data/sys/resource.h-data: Likewise.
14503 * conform/data/sys/select.h-data: Likewise.
14504 * conform/data/sys/sem.h-data: Likewise.
14505 * conform/data/sys/shm.h-data: Likewise.
14506 * conform/data/sys/socket.h-data: Likewise.
14507 * conform/data/sys/stat.h-data: Likewise.
14508 * conform/data/sys/statvfs.h-data: Likewise.
14509 * conform/data/sys/time.h-data: Likewise.
14510 * conform/data/sys/timeb.h-data: Likewise.
14511 * conform/data/sys/times.h-data: Likewise.
14512 * conform/data/sys/types.h-data: Likewise.
14513 * conform/data/sys/uio.h-data: Likewise.
14514 * conform/data/sys/un.h-data: Likewise.
14515 * conform/data/sys/utsname.h-data: Likewise.
14516 * conform/data/sys/wait.h-data: Likewise.
14517 * conform/data/syslog.h-data: Likewise.
14518 * conform/data/tar.h-data: Likewise.
14519 * conform/data/termios.h-data: Likewise.
14520 * conform/data/utime.h-data: Likewise.
14521 * conform/data/utmpx.h-data: Likewise.
14522 * conform/data/varargs.h-data: Likewise.
14523 * conform/data/wchar.h-data: Likewise.
14524 * conform/data/wctype.h-data: Likewise.
14525 * conform/data/wordexp.h-data: Likewise.
14526
14527 * include/stropts.h: New file.
14528 * include/uchar.h: New file.
14529 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14530 * include/assert.h: Likewise.
14531 * include/ctype.h: Likewise.
14532 * include/dirent.h: Likewise.
14533 * include/dlfcn.h: Likewise.
14534 * include/fcntl.h: Likewise.
14535 * include/fnmatch.h: Likewise.
14536 * include/glob.h: Likewise.
14537 * include/grp.h: Likewise.
14538 * include/libio.h: Likewise.
14539 * include/locale.h: Likewise.
14540 * include/math.h: Likewise.
14541 * include/net/if.h: Likewise.
14542 * include/netdb.h: Likewise.
14543 * include/netinet/in.h: Likewise.
14544 * include/pthread.h: Likewise.
14545 * include/pwd.h: Likewise.
14546 * include/regex.h: Likewise.
14547 * include/sched.h: Likewise.
14548 * include/search.h: Likewise.
14549 * include/setjmp.h: Likewise.
14550 * include/signal.h: Likewise.
14551 * include/stdio.h: Likewise.
14552 * include/stdlib.h: Likewise.
14553 * include/string.h: Likewise.
14554 * include/sys/cdefs.h: Likewise.
14555 * include/sys/mman.h: Likewise.
14556 * include/sys/msg.h: Likewise.
14557 * include/sys/resource.h: Likewise.
14558 * include/sys/select.h: Likewise.
14559 * include/sys/socket.h: Likewise.
14560 * include/sys/stat.h: Likewise.
14561 * include/sys/statvfs.h: Likewise.
14562 * include/sys/time.h: Likewise.
14563 * include/sys/times.h: Likewise.
14564 * include/sys/uio.h: Likewise.
14565 * include/sys/utsname.h: Likewise.
14566 * include/sys/wait.h: Likewise.
14567 * include/termios.h: Likewise.
14568 * include/time.h: Likewise.
14569 * include/ulimit.h: Likewise.
14570 * include/unistd.h: Likewise.
14571 * include/utime.h: Likewise.
14572 * include/wchar.h: Likewise.
14573 * include/wctype.h: Likewise.
14574 * include/wordexp.h: Likewise.
14575
14576 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14577
14578 * time/time.h: TIME_UTC must be a macro.
14579 Make timespec_get available for ISO C11 only as well.
14580
14581 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14582
14583 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14584 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14585
14586 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14587
14588 * configure.in: Use -o not -a in test for unsupported multi-arch.
14589
14590 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14591
14592 * manual/texinfo.tex: Update to version 2012-01-19.16.
14593
14594 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14595
14596 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14597
14598 2012-02-24 Roland McGrath <roland@hack.frob.com>
14599
14600 [BZ #13738]
14601 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14602 * manual/fdl-1.3.texi: New file.
14603 * manual/fdl-1.1.texi: File removed.
14604
14605 [BZ #13738]
14606 * manual/libc.texinfo (FDL_VERSION): New @set.
14607 Use it for mention of FDL in cover text.
14608 (Documentation License): Use it in @include file name.
14609
14610 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14611 Roland McGrath <roland@hack.frob.com>
14612
14613 [BZ #5461]
14614 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14615 not LONG_LONG_MAX and LONG_LONG_MIN.
14616 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14617 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14618 name.
14619 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14620
14621 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14622
14623 [BZ #2547]
14624 [BZ #11365]
14625 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14626 manipulate bits before adding and subtracting TWO23[sx].
14627 * math/libm-test.inc (nearbyint_test): Add more tests.
14628
14629 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14630
14631 [BZ #2548]
14632 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14633 bits before adding and subtracting TWO23[sx].
14634 * math/libm-test.inc (rint_test): Add more tests.
14635 (rint_test_tonearest): Likewise.
14636 (rint_test_towardzero): Likewise.
14637 (rint_test_downward): Likewise.
14638 (rint_test_upward: Likewise.
14639
14640 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14641
14642 [BZ #10110]
14643 * include/stdc-predef.h: New file. Extracted from features.h.
14644 * include/features.h: Include stdc-predef.h.
14645 * Makefile (headers): Add stdc-predef.h.
14646 * CONFORMANCE (Compiler limitations): Update.
14647
14648 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14649
14650 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14651
14652 2012-02-21 David S. Miller <davem@davemloft.net>
14653
14654 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14655 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14656
14657 2012-02-20 David S. Miller <davem@davemloft.net>
14658
14659 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14660 using a normal save/restore sequence, rather than allocating a
14661 dummy stack frame just to store a frame pointer and restore.
14662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14663
14664 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14665
14666 * manual/install.texi: Fix stray word in line-wrapped comment.
14667
14668 2012-02-20 David S. Miller <davem@davemloft.net>
14669
14670 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14671 both binutils and gcc support GOTDATA.
14672
14673 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14674 "rd %pc" in the PIC register setup sequences.
14675
14676 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14677 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14678 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14679 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14680 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14683 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14684 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14685 (SYSCALL_ERROR_HANDLER): Likewise.
14686 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14687 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14689 (SYSCALL_ERROR_HANDLER): Likewise.
14690
14691 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14692 (HAVE_GCC_GOTDATA): New.
14693 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14694 relocation support in both binutils and gcc.
14695 * sysdeps/sparc/elf/configure: Regenerate.
14696
14697 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14698 * sysdeps/sparc/sparc32/elf/configure: Delete.
14699 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14700 * sysdeps/sparc/sparc64/elf/configure: Delete.
14701 * sysdeps/sparc/elf/configure.in: New file.
14702 * sysdeps/sparc/elf/configure: Generate.
14703
14704 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14705 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14706 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14707 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14708 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14709
14710 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14711
14712 * manual/install.texi: Do not mention specific glibc version
14713 numbers.
14714 * manual/libc.texinfo (VERSION, UPDATED): Update.
14715 (@copying): Use @copyright{} and range of years.
14716
14717 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14718
14719 [BZ #13695]
14720 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14721 [crti.S not in sysdirs] (generated): Do not append.
14722 [crti.S not in sysdirs] (omit-deps): Likewise.
14723 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14724 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14725 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14726 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14727 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14728 Likewise.
14729 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14730 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14731 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14732 * csu/defs.awk: Remove file.
14733 * sysdeps/generic/initfini.c: Likewise.
14734 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14735 variable.
14736 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14737 Likewise.
14738
14739 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14740
14741 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14742 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14743 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14744 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14746 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14747 <bits/epoll.h>.
14748 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14749 (__EPOLL_PACKED): Define to empty if not defined by
14750 <bits/epoll.h>.
14751 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14753 bits/epoll.h.
14754
14755 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14756
14757 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14758 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14759 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14760 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14761 <bits/timerfd.h>.
14762 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14764 bits/timerfd.h.
14765
14766 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14767
14768 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14769 in C locale.
14770 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14771 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14772 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14774
14775 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14776
14777 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14778 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14779
14780 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14781
14782 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14783 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14784 defined.
14785 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14786 Likewise.
14787 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14788 entry for 2.16.
14789
14790 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14791
14792 * math/w_acos.c: Use non-signaling floating-point comparisons.
14793 * math/w_acosf.c: Likewise.
14794 * math/w_acosh.c: Likewise.
14795 * math/w_acoshf.c: Likewise.
14796 * math/w_acoshl.c: Likewise.
14797 * math/w_acosl.c: Likewise.
14798 * math/w_asin.c: Likewise.
14799 * math/w_asinf.c: Likewise.
14800 * math/w_asinl.c: Likewise.
14801 * math/w_atanh.c: Likewise.
14802 * math/w_atanhf.c: Likewise.
14803 * math/w_atanhl.c: Likewise.
14804 * math/w_exp2.c: Likewise.
14805 * math/w_exp2f.c: Likewise.
14806 * math/w_exp2l.c: Likewise.
14807 * math/w_j0.c: Likewise.
14808 * math/w_j0f.c: Likewise.
14809 * math/w_j0l.c: Likewise.
14810 * math/w_j1.c: Likewise.
14811 * math/w_j1f.c: Likewise.
14812 * math/w_j1l.c: Likewise.
14813 * math/w_jn.c: Likewise.
14814 * math/w_jnf.c: Likewise.
14815 * math/w_log.c: Likewise.
14816 * math/w_log10.c: Likewise.
14817 * math/w_log10f.c: Likewise.
14818 * math/w_log10l.c: Likewise.
14819 * math/w_log2.c: Likewise.
14820 * math/w_log2f.c: Likewise.
14821 * math/w_log2l.c: Likewise.
14822 * math/w_logf.c: Likewise.
14823 * math/w_logl.c: Likewise.
14824 * math/w_sqrt.c: Likewise.
14825 * math/w_sqrtf.c: Likewise.
14826 * math/w_sqrtl.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14829 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14830 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14831 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14832
14833 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14834
14835 [BZ #9739]
14836 * manual/string.texi (strnlen): Use correct parameter name in
14837 equivalent expression.
14838
14839 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14840
14841 [BZ #11174]
14842 * manual/users.texi (seteuid): Consistently use neweuid for
14843 argument name.
14844
14845 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14846
14847 [BZ #13704]
14848 * manual/nss.texi (Services in the NSS configuration): Correct
14849 list of services in example configuration file.
14850
14851 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14852
14853 [BZ #11322]
14854 * manual/arith.texi: Remove statements about negative zero
14855 behaving identically to zero.
14856
14857 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14858
14859 [BZ #5993]
14860 * manual/install.texi: Do not document upgrading from libc5.
14861
14862 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14863
14864 [BZ #4596]
14865 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14866
14867 2012-02-18 David S. Miller <davem@davemloft.net>
14868
14869 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14870 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14871 %o7 across the call.
14872 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14873 instead.
14874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14875 SETUP_PIC_REG_LEAF.
14876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14877 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14878 * sysdeps/sparc/crtn.S: Likewise.
14879
14880 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14881
14882 * aout/Makefile: Remove.
14883
14884 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14885
14886 [BZ #13058]
14887 * manual/examples/argp-ex1.c (main): Format definition in GNU
14888 style.
14889 * manual/examples/argp-ex2.c (main): Likewise.
14890 * manual/examples/argp-ex3.c (main): Likewise.
14891 * manual/examples/argp-ex4.c (main): Likewise.
14892 * manual/examples/longopt.c (main): Use new-style prototype
14893 definition.
14894 * manual/examples/strncat.c (main): Specify return type and use
14895 (void) for arguments.
14896 * manual/examples/subopt.c (main): Use char **argv argument.
14897
14898 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14899
14900 [BZ #5077]
14901 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14902 rounding modes.
14903
14904 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14905
14906 [BZ #6907]
14907 * manual/string.texi (strchr): Change when strchrnul is
14908 recommended.
14909
14910 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14911
14912 [BZ #174]
14913 * manual/locale.texi (setlocale): Document LOCPATH.
14914
14915 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14916
14917 [BZ #10210]
14918 * manual/process.texi (execle): Move @dots{} before last argument.
14919
14920 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14921
14922 [BZ #12047]
14923 * manual/charset.texi (Generic Charset Conversion): Fix typo
14924 (LC_TYPE -> LC_CTYPE).
14925
14926 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14927
14928 [BZ #5805]
14929 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14930 (scalbnf): Likewise.
14931 (scalbnl): Likewise.
14932 (scalbln): Likewise.
14933 (scalblnf): Likewise.
14934 (scalblnl): Likewise.
14935 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14936 (vwarnx): Likewise.
14937 (verr): Likewise.
14938 (verrx): Likewise.
14939 * manual/filesys.texi (telldir): Use braces around return type.
14940 * manual/llio.texi (mmap): Add space after comma.
14941 (mmap64): Likewise.
14942 * manual/math.texi (jn): Use @var{} on parameter names.
14943 (jnf): Likewise.
14944 (jnl): Likewise.
14945 (yn): Likewise.
14946 (ynf): Likewise.
14947 (ynl): Likewise.
14948 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14949 line.
14950 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14951 "...".
14952 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14953 (sched_get_priority_max): Likewise.
14954 * manual/signal.texi (sigvec): Add space after comma.
14955 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14956 names.
14957 (if_indextoname): Likewise.
14958 (if_freenameindex): Likewise.
14959 (sendto): Use ',' instead of '.' in prototype.
14960 * manual/startup.texi (syscall): Use @dots{} instead of literal
14961 "...".
14962 * manual/stdio.texi (__fpending): Separate initial words of
14963 paragraph from @deftypefun line.
14964 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14965 "...".
14966 (vsyslog): Use @var{} on parameter names.
14967 * manual/terminal.texi (stty): Use @var{} on parameter names.
14968 * manual/users.texi (getutmp): Use @var{} on parameter names.
14969 (getutmpx): Likewise.
14970
14971 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14972
14973 [BZ #6884]
14974 * manual/stdio.texi (fopen): Fix typos in description of
14975 ",ccs=STRING".
14976
14977 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14978
14979 [BZ #4026]
14980 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14981 get clock_id definition.
14982
14983 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14984
14985 [BZ #4822]
14986 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14987 (madvise): Cast every argument to void on its own.
14988
14989 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14990
14991 [BZ #9902]
14992 * manual/startup.texi (Exit Status): Fix typo.
14993
14994 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14995
14996 [BZ #10140]
14997 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14998 * manual/examples/argp-ex2.c: Likewise.
14999 * manual/examples/argp-ex3.c: Likewise.
15000
15001 2012-02-16 Richard Henderson <rth@redhat.com>
15002
15003 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15004 * sysdeps/s390/s390-32/initfini.c: Remove.
15005 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15006 * sysdeps/s390/s390-64/initfini.c: Remove.
15007
15008 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15009
15010 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15011 compiler output for sysdeps/generic/initfini.c.
15012 * sysdeps/sh/elf/initfini.c: Remove file.
15013
15014 2012-02-16 David S. Miller <davem@davemloft.net>
15015
15016 [BZ #11494]
15017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15018
15019 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15020 * sysdeps/sparc/crti.S: New file.
15021 * sysdeps/sparc/crtn.S: New file.
15022 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15023 * sysdeps/sparc/sparc64/Makefile: Likewise.
15024
15025 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15026
15027 [BZ #3335]
15028 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15029
15030 2012-02-15 Roland McGrath <roland@hack.frob.com>
15031
15032 [BZ #4822]
15033 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15034
15035 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15036 (write, read, close): Likewise.
15037 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15038
15039 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15040
15041 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15042 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15043 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15044 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15045 <bits/signalfd.h>.
15046 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15048 bits/signalfd.h.
15049
15050 2012-02-14 Marek Polacek <polacek@redhat.com>
15051
15052 * sysdeps/x86_64/crti.S: New file.
15053 * sysdeps/x86_64/crtn.S: New file.
15054 * sysdeps/x86_64/elf/initfini.c: Remove file.
15055
15056 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15057
15058 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15059 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15060 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15061 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15062 <bits/inotify.h>.
15063 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15065 bits/inotify.h.
15066
15067 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15068
15069 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15070 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15071 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15072 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15073 <bits/eventfd.h>.
15074 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15076 bits/eventfd.h.
15077
15078 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15079
15080 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15081 __feraiseexcept instead of feraiseexcept.
15082
15083 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15084 nanosleep invocations.
15085 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15086 strings, and add error checking for a nanosleep invocations.
15087
15088 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15089
15090 Replace FSF snail mail address with URLs, as per GNU coding standards.
15091 Most of the snail mail addresses were wrong anyway, and omitting
15092 them makes the source code easier to maintain. Almost all of the
15093 changes are to license notices and to locale LC_IDENTIFICATION
15094 addresses, except for this one:
15095 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15096 not its snail mail address.
15097
15098 2012-02-09 Richard Henderson <rth@twiddle.net>
15099
15100 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15101 of kernel-features.h.
15102
15103 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15104
15105 2012-02-08 Marek Polacek <polacek@redhat.com>
15106
15107 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15108 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15109 * sysdeps/gnu/_G_config.h: Likewise.
15110 * sysdeps/generic/_G_config.h: Likewise.
15111
15112 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15115 tests.
15116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15117
15118 * sysdeps/powerpc/powerpc32/crti.S: New file.
15119 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15120 * sysdeps/powerpc/powerpc64/crti.S: New file.
15121 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15122
15123 * Makeconfig (have-initfini): Don't set.
15124 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15125 * configure.in (nopic_initfini): Don't substitute.
15126 * config.h.in (HAVE_INITFINI): Don't #undef.
15127 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15128 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15129
15130 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15131
15132 Support crti.S and crtn.S provided directly by architectures.
15133 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15134 [crti.S in sysdirs] (omit-deps): Likewise.
15135 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15136 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15137 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15138 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15139 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15140 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15141 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15142 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15143 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15144 compiler output for sysdeps/generic/initfini.c.
15145 * sysdeps/i386/elf/Makefile: Remove file.
15146 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15147
15148 2012-02-07 Marek Polacek <polacek@redhat.com>
15149
15150 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15151 * sysdeps/gnu/_G_config.h: Likewise.
15152 * sysdeps/mach/hurd/_G_config.h: Likewise.
15153
15154 2012-02-07 Marek Polacek <polacek@redhat.com>
15155
15156 * math/Makefile (tests): Add tst-CMPLX2.
15157 * math/tst-CMPLX2.c: New file.
15158
15159 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15160
15161 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15162
15163 * math/libm-test.inc (jn_test): Add missing L suffix.
15164
15165 2012-02-06 Marek Polacek <polacek@redhat.com>
15166
15167 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15168 * sysdeps/i386/fpu/e_powf.S: Likewise.
15169 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15170 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15172 * sysdeps/i386/fpu/e_pow.S: Likewise.
15173 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15175 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15176 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15177 * sysdeps/i386/fpu/e_log2.S: Likewise.
15178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15180 * sysdeps/i386/fpu/e_powl.S: Likewise.
15181 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15182 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15183 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15184 * sysdeps/i386/fpu/e_logl.S: Likewise.
15185 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15186 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15187 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15188 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15191 * sysdeps/i386/fpu/e_log.S: Likewise.
15192 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15194 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15195 * sysdeps/i386/fpu/e_logf.S: Likewise.
15196 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15197 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15198 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15199 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15200 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15201 * sysdeps/i386/fpu/e_log10.S: Likewise.
15202 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15204 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15205 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15207 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15208 * sysdeps/i386/asm-syntax.h: Likewise.
15209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15210 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15212 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15213 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15214 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15215 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15216 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15217 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15218 * sysdeps/powerpc/sysdep.h: Likewise.
15219 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15220 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15221
15222 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15223
15224 [BZ #411]
15225 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15226
15227 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15228
15229 * sysdeps/i386/sysdep.h: Include <features.h>.
15230 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15231 version.
15232
15233 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15234
15235 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15236 Define.
15237 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15238 LOAD_PIC_REG_STR.
15239
15240 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15241
15242 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15243 (SETUP_PIC_REG): Use GET_PC_THUNK.
15244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15245 macro.
15246
15247 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15248
15249 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15250 for non-PIC compilation.
15251 (SETUP_PIC_REG): Add .p2align directive.
15252 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15253 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15255 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15256 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15257 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15258 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15260 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15261 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15262 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15263 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15264 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15266 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15267 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15268 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15269 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15270 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15271 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15273 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15274 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15275 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15276 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15278 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15280 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15281 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15282 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15284 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15285 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15286 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15287 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15288 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15289 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15290 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15291 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15292 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15293
15294 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15295
15296 * math/tst-CMPLX.c: Include <stdio.h>.
15297
15298 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15299
15300 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15301 float.
15302 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15303 * sysdeps/sparc/bits/mathdef.h: Likewise.
15304
15305 2012-01-31 Marek Polacek <polacek@redhat.com>
15306
15307 * libio/libio.h: Don't define _PARAMS.
15308 * locale/programs/config.h: Don't define PARAMS.
15309 * stdlib/strtol_l.c: Likewise.
15310 (__strtol_l): Remove PARAMS from the prototype.
15311
15312 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15313
15314 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15315 names. Just use the correct names. Remove unnecessary wrapper
15316 functions.
15317 * malloc/arena.c: Likewise.
15318 * malloc/hooks.c: Likewise.
15319
15320 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15321 ARENA_TEST says not to. Simplify test for creation of a new arena.
15322 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15323
15324 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15325
15326 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15327 into tail calls.
15328 (update_get_addr): New function.
15329 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15330 GET_ADDR_MODULE parameter.
15331
15332 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15333
15334 * crypt/cert.c: Remove __STDC__ conditionals.
15335 * crypt/crypt-entry.c: Likewise.
15336 * crypt/crypt_util.c: Likewise.
15337 * libio/filedoalloc.c: Likewise.
15338 * libio/fileops.c: Likewise.
15339 * libio/genops.c: Likewise.
15340 * libio/iofclose.c: Likewise.
15341 * libio/iofdopen.c: Likewise.
15342 * libio/iofopen.c: Likewise.
15343 * libio/iofopen64.c: Likewise.
15344 * libio/iogetdelim.c: Likewise.
15345 * libio/iopopen.c: Likewise.
15346 * libio/obprintf.c: Likewise.
15347 * libio/oldfileops.c: Likewise.
15348 * libio/oldiofclose.c: Likewise.
15349 * libio/oldiofdopen.c: Likewise.
15350 * libio/oldiofopen.c: Likewise.
15351 * libio/oldiopopen.c: Likewise.
15352 * libio/wfiledoalloc.c: Likewise.
15353 * libio/wgenops.c: Likewise.
15354 * locale/programs/xmalloc.c: Likewise.
15355 * misc/syslog.c: Likewise.
15356 * stdio-common/xbug.c: Likewise.
15357 * string/memchr.c: Likewise.
15358 * string/memcmp.c: Likewise.
15359 * string/memrchr.c: Likewise.
15360 * string/rawmemchr.c: Likewise.
15361 * sysdeps/posix/getcwd.c: Likewise.
15362 * time/strftime_l.c: Likewise.
15363
15364 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15365
15366 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15367 * config.make.in (config-cflags-sse2avx): Define.
15368 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15369 Fix typo.
15370
15371 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15372
15373 * scripts/config.guess: Update from upstream config git repository.
15374 * scripts/config.sub: Likewise.
15375
15376 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15377
15378 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15379 (EM_NUM): Update.
15380 (R_TILEPRO_*, R_TILEGX_*): New macros.
15381
15382 * scripts/firstversions.awk: Fix bug in version range handling.
15383
15384 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15385
15386 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15387
15388 * include/sys/epoll.h: New file.
15389 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15390 libc_hidden_def.
15391
15392 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15393
15394 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15395 Avoid unnecessary __WORDSIZE == 64 test.
15396 (fmaxf): Use VEX format if possible.
15397 (fmax): Likewise.
15398 (fminf): Likewise.
15399 (fmin): Likewise.
15400
15401 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15402 * math/math_private.h: Remove libc_fegetround* and
15403 libc_fesetround*.
15404 * sysdeps/i386/configure.in: Check for -msse2avx.
15405 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15406 also if SSE2AVX is defined.
15407 Remove libc_fegetround* and libc_fesetround*.
15408 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15409 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15410 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15411 of HAS_YMM_USABLE.
15412 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15413 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15414 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15415 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15416 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15417
15418 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15419
15420 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15421
15422 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15423 size is not set.
15424 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15425
15426 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15427
15428 [BZ #13618]
15429 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15430 relocation.
15431 * Makeconfig (libm): Define.
15432 * elf/Makefile: Add rules to build and run tst-relsort1.
15433 * elf/tst-relsort1.c: New file.
15434 * elf/tst-relsort1mod1.c: New file.
15435 * elf/tst-relsort1mod2.c: New file.
15436
15437 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15438
15439 * math/s_ldexp.c: Remove __STDC__ conditionals.
15440 * math/s_ldexpf.c: Likewise.
15441 * math/s_ldexpl.c: Likewise.
15442 * math/s_nextafter.c: Likewise.
15443 * math/s_nexttowardf.c: Likewise.
15444 * math/s_significand.c: Likewise.
15445 * math/s_significandf.c: Likewise.
15446 * math/s_significandl.c: Likewise.
15447 * math/w_jnl.c: Likewise.
15448 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15449 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15450 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15451 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15452 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15454 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15455 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15456 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15458 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15460 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15461 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15467 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15468 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15469 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15470 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15472 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15473 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15474 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15475 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15476 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15479 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15480 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15481 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15482 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15487 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15488 * sysdeps/ieee754/k_standard.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15563 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15564 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15568 * sysdeps/ieee754/s_matherr.c: Likewise.
15569 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15570 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15571 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15573
15574 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15575
15576 * crypt/md5.h: Remove __STDC__ conditionals.
15577 * libio/libioP.h: Likewise.
15578 * locale/programs/config.h: Likewise.
15579 * sysdeps/generic/sysdep.h: Likewise.
15580 * sysdeps/i386/asm-syntax.h: Likewise.
15581 * sysdeps/s390/asm-syntax.h: Likewise.
15582 * sysdeps/unix/sysdep.h: Likewise.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15585
15586 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15587
15588 * libio/libio.h: Remove __STDC__ conditionals.
15589 * malloc/obstack.h: Likewise.
15590 * math/complex.h: Likewise.
15591 * math/math.h: Likewise.
15592 * sysdeps/generic/_G_config.h: Likewise.
15593 * sysdeps/gnu/_G_config.h: Likewise.
15594 * sysdeps/mach/hurd/_G_config.h: Likewise.
15595 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15596 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15597 * sysdeps/sparc/bits/mathdef.h: Likewise.
15598
15599 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15600
15601 [BZ #13583]
15602 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15603 Clean up HAS_* macros.
15604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15605 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15606 possible.
15607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15608 HAS_AVX.
15609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15610 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15611 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15612 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15614
15615 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15616
15617 * elf/tst-unique3.cc (gets): Remove declaration.
15618 * elf/tst-unique3lib.cc (gets): Likewise.
15619 * elf/tst-unique3lib2.cc (gets): Likewise.
15620 * elf/tst-unique4.cc (gets): Likewise.
15621
15622 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15623
15624 * include/stdio.h: Add C++ protection. Add gets declarations and
15625 definitions.
15626 * debug/tst-chk1.c: Don't declare gets here.
15627 * stdio-common/tst-gets.c: Likewise.
15628
15629 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15630
15631 * posix/glob: Remove directory.
15632
15633 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15634
15635 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15636
15637 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15638
15639 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15640 of the non-standard EPFNOSUPPORT.
15641
15642 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15643
15644 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15645 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15646 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15647
15648 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15649
15650 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15651
15652 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15653
15654 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15655 transient errors.
15656 * nscd/grpcache.c (cache_addgr): Likewise.
15657 * nscd/hstcache.c (cache_addhst): Likewise.
15658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15659 * nscd/pwdcache.c (cache_addpw): Likewise.
15660 * nscd/servicescache.c (cache_addserv): Likewise.
15661
15662 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15663
15664 * malloc/malloc.c: Various cleanups.
15665 * malloc/hooks.c: Likewise.
15666
15667 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15668 * stdlib/bug-fmtmsg1.c: New file.
15669
15670 * stdlib/fmtmsg.c (init): Add missing unlock.
15671 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15672
15673 2012-01-12 Marek Polacek <polacek@redhat.com>
15674
15675 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15676 and _GNU_SOURCE.
15677
15678 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15679
15680 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15681 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15682 macro to ensure uniqueness of label name.
15683 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15684 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15685
15686 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15687
15688 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15689
15690 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15691 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15692 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15694
15695 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15696
15697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15698
15699 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15702
15703 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15704
15705 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15706 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15707 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15709
15710 * math/bits/math-finite.h: Add ldexp support.
15711
15712 2012-01-10 Marek Polacek <polacek@redhat.com>
15713
15714 * locale/programs/localedef.h (show_archive_content): Add noreturn
15715 attribute.
15716
15717 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15718
15719 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15720
15721 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15722
15723 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15724
15725 * io/Makefile (headers): Add bits/poll2.h.
15726
15727 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15728
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15730 typo #include statement.
15731
15732 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15733
15734 * include/sys/cdefs.h: Define __attribute_alloc_size.
15735 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15736 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15737 * elf/pldd.c: Likewise.
15738 * iconv/iconv_charmap.c: Likewise.
15739 * iconv/iconvconfig.c: Likewise.
15740 * iconv/strtab.c: Likewise.
15741 * locale/programs/locale.c: Likewise.
15742 * locale/programs/localedef.h: Likewise.
15743 * locale/programs/simple-hash.c: Likewise.
15744 * nscd/nscd.h: Likewise.
15745 * nss/makedb.c: Likewise.
15746 * sysdeps/generic/ldconfig.h: Likewise.
15747 * locale/programs/localedef.c: Remove xmalloc prototype.
15748 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15749
15750 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15751
15752 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15753 appropriate.
15754
15755 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15756
15757 * math/Makefile (tests): Add tst-CMPLX.
15758 * math/tst-CMPLX.c: New file.
15759
15760 * math/complex.h (CMPLXL): Fix typo.
15761
15762 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15763 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15764 GLIBC_2.16.
15765 * debug/tst-chk1.c: Add poll and ppoll tests.
15766 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15767 * include/sys/poll.h: Add hidden proto for ppoll.
15768 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15769 * sysdeps/mach/hurd/ppoll.c: Likewise.
15770 * io/ppoll.c: Likewise.
15771 * debug/poll_chk.c: New file.
15772 * debug/ppoll_chk.c: New file.
15773 * include/bits/poll2.h: New file.
15774 * io/bits/poll2.h: New file.
15775
15776 [BZ #1350]
15777 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15778
15779 * configure.in: static is always set to yes. Remove.
15780 * config.make.in: Don't set build-static.
15781 * Makeconfig: Remove use of build-static.
15782 * dlfcn/Makefile: Likewise.
15783 * elf/Makefile: Likewise.
15784 * math/Makefile: Likewise.
15785 * misc/Makefile: Likewise.
15786 * nptl/Makefile: Likewise.
15787 * sysdeps/mach/hurd/Makefile: Likewise.
15788
15789 * configure.in: PWD_P is not used anymore.
15790 * config.make.in: Remove PWD_P entry.
15791
15792 * configure.in: Remove last remnants of RANLIB.
15793 No need to check for signed size_t anymore.
15794 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15795 and IA-64.
15796 Remove __builtin_expect test because we require at least gcc 3.4.
15797 * aclocal.m4: Likewise.
15798
15799 * wcsmbs/mbrtoc16.c: Implement using towc function.
15800 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15801 * wcsmbs/wcsmbsload.c: Likewise.
15802 * iconv/gconv_simple.c: Likewise.
15803 * iconv/gconv_int.h: Likewise.
15804 * iconv/gconv_builtin.h: Likewise.
15805 * iconv/iconv_prog.c: Remove CHAR16 handling.
15806
15807 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15808
15809 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15810
15811 * configure.in: Remove --with-elf and --enable-bounded options.
15812 Dont set base_machine for ia64. More non-ELF conditions removed.
15813 Remove testing and setting of leading underscore information.
15814 * config.make.in (build-bounded): Set to no.
15815 * config.h.in: Remove NO_UNDERSCORES entry.
15816 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15817 them.
15818 * csu/start.c: Remove !NO_UNDERSCORE code.
15819 * locale/localeinfo.h: Likewise.
15820 * sysdeps/generic/machine-gmon.h: Likewise.
15821 * sysdeps/generic/sysdep.h: Likewise.
15822 * sysdeps/i386/sysdep.h: Likewise.
15823 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15824 * sysdeps/mach/sysdep.h: Likewise.
15825 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15827 * sysdeps/sh/sysdep.h: Likewise.
15828 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15829 * sysdeps/unix/i386/sysdep.S: Likewise.
15830 * sysdeps/unix/sparc/start.c: Likewise.
15831 * sysdeps/unix/sparc/sysdep.S: Likewise.
15832 * sysdeps/unix/sparc/sysdep.h: Likewise.
15833 * sysdeps/unix/start.c: Likewise.
15834 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15835 * sysdeps/x86_64/sysdep.h: Likewise.
15836
15837 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15838
15839 [BZ #13553]
15840 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15841 for non-gcc.
15842 * argp/argp-fmtstream.h: Use const instead __const.
15843 * argp/argp.h: Likewise.
15844 * assert/assert.h: Likewise.
15845 * bits/fenv.h: Likewise.
15846 * bits/sched.h: Likewise.
15847 * bits/sigset.h: Likewise.
15848 * bits/sigthread.h: Likewise.
15849 * catgets/nl_types.h: Likewise.
15850 * conform/data/pthread.h-data: Likewise.
15851 * crypt/crypt-private.h: Likewise.
15852 * crypt/crypt.h: Likewise.
15853 * crypt/crypt_util.c: Likewise.
15854 * ctype/ctype.h: Likewise.
15855 * debug/execinfo.h: Likewise.
15856 * debug/mbsnrtowcs_chk.c: Likewise.
15857 * debug/mbsrtowcs_chk.c: Likewise.
15858 * debug/wcsnrtombs_chk.c: Likewise.
15859 * debug/wcsrtombs_chk.c: Likewise.
15860 * debug/wcstombs_chk.c: Likewise.
15861 * dirent/dirent.h: Likewise.
15862 * dlfcn/dlfcn.h: Likewise.
15863 * elf/neededtest4.c: Likewise.
15864 * grp/grp.h: Likewise.
15865 * gshadow/gshadow.h: Likewise.
15866 * iconv/gconv.h: Likewise.
15867 * iconv/gconv_int.h: Likewise.
15868 * iconv/gconv_simple.c: Likewise.
15869 * iconv/iconv.h: Likewise.
15870 * iconv/loop.c: Likewise.
15871 * iconv/skeleton.c: Likewise.
15872 * include/aio.h: Likewise.
15873 * include/aliases.h: Likewise.
15874 * include/argz.h: Likewise.
15875 * include/arpa/inet.h: Likewise.
15876 * include/assert.h: Likewise.
15877 * include/dirent.h: Likewise.
15878 * include/dlfcn.h: Likewise.
15879 * include/execinfo.h: Likewise.
15880 * include/fcntl.h: Likewise.
15881 * include/fenv.h: Likewise.
15882 * include/glob.h: Likewise.
15883 * include/grp.h: Likewise.
15884 * include/libintl.h: Likewise.
15885 * include/mntent.h: Likewise.
15886 * include/netdb.h: Likewise.
15887 * include/pwd.h: Likewise.
15888 * include/rpc/netdb.h: Likewise.
15889 * include/sched.h: Likewise.
15890 * include/search.h: Likewise.
15891 * include/shadow.h: Likewise.
15892 * include/signal.h: Likewise.
15893 * include/stdio.h: Likewise.
15894 * include/stdlib.h: Likewise.
15895 * include/string.h: Likewise.
15896 * include/sys/socket.h: Likewise.
15897 * include/sys/stat.h: Likewise.
15898 * include/sys/statfs.h: Likewise.
15899 * include/sys/statvfs.h: Likewise.
15900 * include/sys/syslog.h: Likewise.
15901 * include/sys/time.h: Likewise.
15902 * include/sys/uio.h: Likewise.
15903 * include/time.h: Likewise.
15904 * include/unistd.h: Likewise.
15905 * include/utmp.h: Likewise.
15906 * include/wchar.h: Likewise.
15907 * include/wctype.h: Likewise.
15908 * inet/aliases.h: Likewise.
15909 * inet/arpa/inet.h: Likewise.
15910 * inet/netinet/ether.h: Likewise.
15911 * inet/netinet/in.h: Likewise.
15912 * intl/libintl.h: Likewise.
15913 * io/bits/fcntl2.h: Likewise.
15914 * io/fcntl.h: Likewise.
15915 * io/ftw.h: Likewise.
15916 * io/sys/poll.h: Likewise.
15917 * io/sys/stat.h: Likewise.
15918 * io/sys/statfs.h: Likewise.
15919 * io/sys/statvfs.h: Likewise.
15920 * io/utime.h: Likewise.
15921 * libio/bits/stdio.h: Likewise.
15922 * libio/bits/stdio2.h: Likewise.
15923 * libio/libio.h: Likewise.
15924 * libio/libioP.h: Likewise.
15925 * libio/stdio.h: Likewise.
15926 * locale/lc-ctype.c: Likewise.
15927 * locale/locale.h: Likewise.
15928 * login/utmp.h: Likewise.
15929 * malloc/arena.c: Likewise.
15930 * malloc/malloc.c: Likewise.
15931 * malloc/malloc.h: Likewise.
15932 * malloc/mcheck.c: Likewise.
15933 * malloc/mtrace.c: Likewise.
15934 * math/bits/mathcalls.h: Likewise.
15935 * math/fenv.h: Likewise.
15936 * math/math_private.h: Likewise.
15937 * misc/bits/error.h: Likewise.
15938 * misc/bits/syslog.h: Likewise.
15939 * misc/err.h: Likewise.
15940 * misc/error.h: Likewise.
15941 * misc/fstab.h: Likewise.
15942 * misc/mntent.h: Likewise.
15943 * misc/regexp.h: Likewise.
15944 * misc/search.h: Likewise.
15945 * misc/sgtty.h: Likewise.
15946 * misc/sys/mman.h: Likewise.
15947 * misc/sys/syslog.h: Likewise.
15948 * misc/sys/uio.h: Likewise.
15949 * misc/sys/xattr.h: Likewise.
15950 * misc/ttyent.h: Likewise.
15951 * nis/rpcsvc/ypclnt.h: Likewise.
15952 * nss/nss.h: Likewise.
15953 * posix/bits/unistd.h: Likewise.
15954 * posix/fnmatch.h: Likewise.
15955 * posix/glob.h: Likewise.
15956 * posix/sched.h: Likewise.
15957 * posix/spawn.h: Likewise.
15958 * posix/sys/wait.h: Likewise.
15959 * posix/unistd.h: Likewise.
15960 * posix/wordexp.h: Likewise.
15961 * pwd/pwd.h: Likewise.
15962 * resolv/netdb.h: Likewise.
15963 * resource/sys/resource.h: Likewise.
15964 * rt/aio.h: Likewise.
15965 * rt/bits/mqueue2.h: Likewise.
15966 * rt/mqueue.h: Likewise.
15967 * shadow/shadow.h: Likewise.
15968 * signal/signal.h: Likewise.
15969 * socket/send.c: Likewise.
15970 * socket/sendto.c: Likewise.
15971 * socket/sys/socket.h: Likewise.
15972 * stdio-common/printf.h: Likewise.
15973 * stdlib/bits/stdlib.h: Likewise.
15974 * stdlib/fmtmsg.h: Likewise.
15975 * stdlib/monetary.h: Likewise.
15976 * stdlib/stdlib.h: Likewise.
15977 * stdlib/ucontext.h: Likewise.
15978 * streams/stropts.h: Likewise.
15979 * string/argz.h: Likewise.
15980 * string/bits/string2.h: Likewise.
15981 * string/string.h: Likewise.
15982 * string/strings.h: Likewise.
15983 * sunrpc/rpc/auth.h: Likewise.
15984 * sunrpc/rpc/auth_des.h: Likewise.
15985 * sunrpc/rpc/clnt.h: Likewise.
15986 * sunrpc/rpc/netdb.h: Likewise.
15987 * sunrpc/rpc/pmap_clnt.h: Likewise.
15988 * sunrpc/rpc/xdr.h: Likewise.
15989 * sysdeps/generic/inttypes.h: Likewise.
15990 * sysdeps/generic/net/if.h: Likewise.
15991 * sysdeps/generic/sys/swap.h: Likewise.
15992 * sysdeps/gnu/net/if.h: Likewise.
15993 * sysdeps/gnu/utmpx.h: Likewise.
15994 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15995 * sysdeps/i386/i486/bits/string.h: Likewise.
15996 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15997 * sysdeps/s390/bits/string.h: Likewise.
15998 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15999 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16000 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16001 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16002 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16003 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16004 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16005 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16006 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16007 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16008 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16009 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16010 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16011 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16012 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16013 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16014 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16016 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16019 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16020 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16021 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16022 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16023 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16024 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16026 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16027 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16028 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16029 * sysvipc/sys/ipc.h: Likewise.
16030 * sysvipc/sys/msg.h: Likewise.
16031 * sysvipc/sys/sem.h: Likewise.
16032 * sysvipc/sys/shm.h: Likewise.
16033 * termios/termios.h: Likewise.
16034 * time/sys/time.h: Likewise.
16035 * time/time.h: Likewise.
16036 * wcsmbs/bits/wchar2.h: Likewise.
16037 * wcsmbs/uchar.h: Likewise.
16038 * wcsmbs/wchar.h: Likewise.
16039 * wctype/wctype.h: Likewise.
16040
16041 [BZ #13551]
16042 * Makeconfig: Remove all but ELF support including AIX support.
16043 * Makerules: Likewise.
16044 * config.h.in: Likewise.
16045 * config.make.in: Likewise.
16046 * configure: Likewise.
16047 * configure.in: Likewise.
16048 * csu/Makefile: Likewise.
16049 * csu/version.c: Likewise.
16050 * debug/Makefile: Likewise.
16051 * dlfcn/Makefile: Likewise.
16052 * elf/Makefile: Likewise.
16053 * extra-lib.mk: Likewise.
16054 * iconv/Makefile: Likewise.
16055 * include/libc-symbols.h: Likewise.
16056 * include/shlib-compat.h: Likewise.
16057 * resolv/Makefile: Likewise.
16058 * resolv/res_libc.c: Likewise.
16059 * rt/Makefile: Likewise.
16060 * sysdeps/i386/asm-syntax.h: Likewise.
16061 * sysdeps/i386/sysdep.h: Likewise.
16062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16063 * sysdeps/mach/sysdep.h: Likewise.
16064 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16065 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16066 * sysdeps/s390/asm-syntax.h: Likewise.
16067 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16068 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16069 * sysdeps/sh/sysdep.h: Likewise.
16070 * sysdeps/unix/sparc/sysdep.h: Likewise.
16071 * sysdeps/wordsize-32/divdi3.c: Likewise.
16072 * sysdeps/x86_64/sysdep.h: Likewise.
16073
16074 * argp/Versions: Remove _argp_unlock_xxx.
16075
16076 [BZ #13559]
16077 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16078 * abilist/libBrokenLocale.abilist: Likewise.
16079 * abilist/libanl.abilist: Likewise.
16080 * abilist/libc.abilist: Likewise.
16081 * abilist/libcrypt.abilist: Likewise.
16082 * abilist/libdl.abilist: Likewise.
16083 * abilist/libm.abilist: Likewise.
16084 * abilist/libnsl.abilist: Likewise.
16085 * abilist/libpthread.abilist: Likewise.
16086 * abilist/libresolv.abilist: Likewise.
16087 * abilist/librt.abilist: Likewise.
16088 * abilist/libthread_db.abilist: Likewise.
16089 * abilist/libutil.abilist: Likewise.
16090 * abilist/libnss_db.abilist: New file.
16091
16092 * scripts/abilist.awk: Add support for indirect functions.
16093
16094 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16095
16096 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16097
16098 * shlib-versions: Remove entries for ports architectures.
16099
16100 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16101 files in ports.
16102 * elf/stackguard-macros.h: Remove support for IA-64.
16103 * elf/tst-auditmod1.c: Likewise.
16104 * sysdeps/generic/ldsodefs.h: Likewise.
16105
16106 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16107 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16108 configure files.
16109
16110 [BZ #13552]
16111 * configure.in: Remove --enable-omitfp support.
16112 * FAQ.in: Adjust.
16113 * config.make.in: Likewise.
16114 * Makeconfig: Likewise.
16115 * manual/install.texi: Likewise.
16116
16117 In case anyone cares, the IA-64 architecture could move to ports.
16118 * sysdeps/ia64/*: Removed.
16119 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16120 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16121
16122 [BZ #13555]
16123 * configure.in: Remove entries for unsupported architectures.
16124
16125 [BZ #13533]
16126 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16127 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16128 routines.
16129 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16130 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16131 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16132 fall back to using wcrtomb.
16133 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16134 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16135 renaming.
16136 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16137 * wcsmbs/tst-c16c32-1.c: New file.
16138
16139 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16140 local variable.
16141
16142 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16143
16144 * elf/tst-unique3.cc: Add explicit declaration of gets.
16145 * elf/tst-unique3lib.cc: Likewise.
16146 * elf/tst-unique3lib2.cc: Likewise.
16147 * elf/tst-unique4.cc: Likewise.
16148
16149 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16150
16151 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16152
16153 [BZ #13566]
16154 * assert/assert.h (static_assert): Don't define for C++.
16155 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16156 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16157
16158 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16159
16160 * iconv/loop.c (single loop): Fix assertion in storing of
16161 remaining bytes.
16162
16163 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16164
16165 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16166
16167 * posix/getconf.c: Update copyright year.
16168 * nss/getent.c: Likewise.
16169 * nss/makedb.c: Likewise.
16170 * iconv/iconvconfig.c: Likewise.
16171 * iconv/iconv_prog.c: Likewise.
16172 * elf/ldconfig.c: Likewise.
16173 * elf/pldd.c: Likewise.
16174 * elf/sotruss.ksh: Likewise.
16175 * catgets/gencat.c: Likewise.
16176 * csu/version.c: Likewise.
16177 * elf/ldd.bash.in: Likewise.
16178 * elf/sprof.c (print_version): Likewise.
16179 * locale/programs/locale.c: Likewise.
16180 * locale/programs/localedef.c: Likewise.
16181 * login/programs/pt_chown.c: Likewise.
16182 * nscd/nscd.c (print_version): Likewise.
16183 * debug/xtrace.sh: Likewise.
16184 * malloc/memusage.sh: Likewise.
16185 * malloc/mtrace.pl: Likewise.
16186 * debug/catchsegv.sh: Likewise.
16187
16188 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16189
16190 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16191 pure attribute.
16192
16193 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16194
16195 [BZ #13533]
16196 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16197 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16198 transformations.
16199 * iconv/gconv_int.h: Likewise.
16200 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16201 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16202 from libc for GLIBC_2.16.
16203 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16204 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16205 * wcsmbs/uchar.h: Really define mbstate_t.
16206 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16207 * wcsmbs/c16rtomb.c: New file.
16208 * wcsmbs/mbrtoc16.c: New file.
16209 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16210 for C/POSIX locale.
16211 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16212 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16213
16214 * wcsmbs/wchar.h: Add missing __restrict.
16215
16216 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16217
16218 [BZ #13532]
16219 * time/Makefile (routines): Add timespec_get.
16220 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16221 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16222 timespec for ISO C11.
16223 * time/timespec_get.c: New file.
16224 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16225 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16226
16227 [BZ #13531]
16228 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16229 * stdlib/stdlib.h: Declare aligned_alloc.
16230 * Versions.def: Add GLIBC_2.16 for libc.
16231 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16232
16233 [BZ 13527]
16234 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16235 ISO C11.
16236
16237 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16238 code.
16239
16240 [BZ #13528]
16241 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16242
16243 [BZ #13529]
16244 * assert/assert.h (static_assert): Define.
16245
16246 * version.h: Update for 2.16 development version.
16247
16248 [BZ #13526]
16249 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16250 _ISOC11_SOURCE.
16251
16252 * version.h (RELEASE): Bump for 2.15 release.
16253 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16254
16255 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16256 Patch by Marek Polacek <mpolacek@redhat.com>.
16257
16258 * bits/byteswap.h: Protect long long constants with __extension__.
16259 * sysdeps/i386/bits/byteswap.h: Likewise.
16260 * sysdeps/ia64/bits/byteswap.h: Likewise.
16261 * sysdeps/s390/bits/byteswap.h: Likewise.
16262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16263
16264 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16265
16266 [BZ #13540]
16267 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16268 destination buffer.
16269 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16270
16271 2011-12-23 Marek Polacek <polacek@redhat.com>
16272
16273 * elf/dl-addr.c (determine_info): Add inline keyword.
16274 * elf/tst-auditmod4b.c (check_avx): Likewise.
16275 * elf/tst-auditmod6b.c (check_avx): Likewise.
16276 * elf/tst-auditmod6c.c (check_avx): Likewise.
16277 * elf/tst-auditmod7b.c (check_avx): Likewise.
16278
16279 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16280
16281 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16282 !__SSE_MATH__.
16283
16284 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16285
16286 [BZ #13540]
16287 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16288 processing for last bytes.
16289
16290 2011-08-06 Bruno Haible <bruno@clisp.org>
16291
16292 [BZ #13061]
16293 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16294 U+0385, not to U+1FEE.
16295
16296 [BZ #13062]
16297 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16298 entry for U+00A5 U+0301.
16299
16300 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16301
16302 [BZ #13166]
16303 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16304 buffer for the output is too small.
16305
16306 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16307 optimization.
16308
16309 [BZ #13185]
16310 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16311 SSE flags if possible.
16312
16313 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16314
16315 [BZ #13540]
16316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16317 processing for last bytes.
16318
16319 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16320
16321 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16322 (syscall-list-default-options, syscall-list-default-condition)
16323 (syscall-list-includes): Define.
16324 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16325 list of ABIs and options and #if conditions for each ABI. Do not
16326 handle common syscalls between ABIs specially.
16327 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16328 Remove.
16329 (syscall-list-variants, syscall-list-32bit-options)
16330 (syscall-list-32bit-condition, syscall-list-64bit-options)
16331 (syscall-list-64bit-condition): Define.
16332 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16333 (syscall-list-variants, syscall-list-32bit-options)
16334 (syscall-list-32bit-condition, syscall-list-64bit-options)
16335 (syscall-list-64bit-condition): Define.
16336 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16337 Remove.
16338 (syscall-list-variants, syscall-list-32bit-options)
16339 (syscall-list-32bit-condition, syscall-list-64bit-options)
16340 (syscall-list-64bit-condition): Define.
16341 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16342 Remove.
16343 (syscall-list-variants, syscall-list-32bit-options)
16344 (syscall-list-32bit-condition, syscall-list-64bit-options)
16345 (syscall-list-64bit-condition): Define.
16346
16347 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16348
16349 * locale/iso-639.def: Add brx entry.
16350
16351 [BZ #13328]
16352 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16353 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16354
16355 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16356 __feraiseexcept_renamed.
16357
16358 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16359
16360 [BZ #13538]
16361 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16362 EPOLLET with unsigned values.
16363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16364 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16365
16366 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16367 to large cancellation.
16368 * math/s_cacoshf.c: Likewise.
16369 * math/s_cacoshl.c: Likewise.
16370
16371 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16372
16373 [BZ #13305]
16374 [BZ #12786]
16375 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16376 * math/s_cacoshf.c: Likewise.
16377 * math/s_cacoshl.c: Likewise.
16378
16379 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16380
16381 [BZ #13439]
16382 * iconv/gconv.h: Define __GCONV_SWAP.
16383 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16384 * iconvdata/utf-16.c: Likewise.
16385 * iconvdata/utf-32.c: Likewise.
16386
16387 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16388
16389 [BZ #13524]
16390 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16391 numerator after shifting it by one limb.
16392
16393 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16394
16395 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16396 under [__USE_EXTERN_INLINES].
16397
16398 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16399
16400 [BZ #13446]
16401 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16402
16403 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16404
16405 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16406 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16407 optimized code.
16408 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16409 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16410 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16411 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16412 for strncasecmp/strncasecmp_l compilation.
16413 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16414 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16415
16416 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16417
16418 [BZ #13484]
16419 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16420 of __asm__.
16421
16422 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16423
16424 [BZ #13506]
16425 * time/tzfile.c (__tzfile_read): Check values from file header.
16426
16427 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16428
16429 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16430 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16431 * powerpc/powerpc32/dl-start.S: Likewise.
16432 * powerpc/powerpc32/elf/start.S: Likewise.
16433 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16434 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16435 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16436 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16437 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16438 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16439 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16440 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16441 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16442 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16443 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16444 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16445 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16446 * powerpc/powerpc32/memset.S: Likewise.
16447 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16448 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16449 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16450 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16451 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16452 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16453 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16454 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16455 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16456 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16457 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16458 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16459 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16460
16461 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16462
16463 * math/libm-test.inc: Added more nearbyint tests.
16464 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16465 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16466 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16467 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16468
16469 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16470
16471 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16472 FD_CLOEXEC.
16473
16474 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16475
16476 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16477 Add wcscpy-ssse3 wcscpy-c.
16478 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16479 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16480 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16481 * sysdeps/x86_64/wcschr.S: New file.
16482 * sysdeps/x86_64/wcsrchr.S: New file.
16483 * string/test-strcmp.c: Remove checking of wcscmp function for
16484 wrong alignments.
16485 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16486 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16487 wcsrchr-sse2 wcsrchr-c.
16488 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16489 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16490 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16491 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16492 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16493 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16494 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16495 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16496 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16497 * wcsmbc/wcschr.c (WCSCHR): New macro.
16498
16499 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16500
16501 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16502 * wcsmbs/test-wcsrchr.c: New file.
16503 * string/test-strrchr.c: Add wcsrchr support.
16504 (WIDE): New macro.
16505 * wcsmbs/test-wcscpy.c: New file.
16506 * string/test-strcpy.c: Add wcscpy support.
16507 (WIDE): New macro.
16508
16509 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16510
16511 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16512 the inner loop.
16513
16514 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16515
16516 [BZ #13472]
16517 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16518
16519 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16520
16521 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16522 Minor optimizations.
16523
16524 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16525 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16526 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16527
16528 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16529
16530 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16531 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16532 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16533 for gcc to avoid warnings.
16534 * inet/Makefile (tests): Add tst-checks.
16535 * inet/tst-checks.c: New file.
16536
16537 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16538 warning.
16539
16540 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16541 __wmemcmp_sse2.
16542
16543 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16544 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16545
16546 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16547
16548 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16549
16550 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16551 problem.
16552
16553 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16554
16555 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16556
16557 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16558 conditional on GCC version.
16559 (__arch_compare_and_exchange_val_8_acq)
16560 (__arch_compare_and_exchange_val_16_acq)
16561 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16562 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16563 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16564
16565 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16566
16567 * sysdeps/sh/backtrace.c: New file.
16568
16569 2011-12-02 Andreas Schwab <schwab@redhat.com>
16570
16571 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16572 parenthesis.
16573
16574 2011-12-01 Andreas Schwab <schwab@redhat.com>
16575
16576 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16577 falling back to utime.
16578
16579 2011-11-30 Andreas Schwab <schwab@redhat.com>
16580
16581 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16582 expectations for float.
16583
16584 2011-11-29 Andreas Schwab <schwab@redhat.com>
16585
16586 * locale/weight.h (findidx): Add parameter len.
16587 * locale/weightwc.h (findidx): Likewise.
16588 * posix/fnmatch_loop.c (FCT): Adjust caller.
16589 * posix/regcomp.c (build_equiv_class): Likewise.
16590 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16591 * posix/regexec.c (check_node_accept_bytes): Likewise.
16592 * string/strcoll_l.c (STRCOLL): Likewise.
16593 * string/strxfrm_l.c (STRXFRM): Likewise.
16594
16595 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16596
16597 * Makefile.in: Remove CVSOPT handling.
16598 * configure.in: Remove use of AC_REVISION.
16599 * iconvdata/Makefile (distribute): No need to filter out CVS.
16600 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16601 handling.
16602
16603 2011-11-16 Andreas Schwab <schwab@redhat.com>
16604
16605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16606 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16607 [USE_AS_STRNCASECMP_L]: Likewise.
16608 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16609 NO_TLS_DIRECT_SEG_REFS.
16610 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16611 Fix argument offsets for non-PIC.
16612 [USE_AS_STRNCASECMP_L]: Likewise.
16613 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16614 NO_TLS_DIRECT_SEG_REFS.
16615
16616 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16617
16618 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16619 O_CLOEXEC.
16620 * locale/loadlocale.c (_nl_load_locale): Likewise.
16621
16622 2011-11-15 Andreas Schwab <schwab@redhat.com>
16623
16624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16625 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16626 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16627 (SYSCALL_GETTIME): Set errno on error.
16628
16629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16630 count references to noai6ai_cached.
16631
16632 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16633
16634 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16635
16636 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16637 FD_CLOEXEC for /proc/self/maps.
16638
16639 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16640 FD_CLOEXEC for /proc/meminfo.
16641
16642 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16643 gai.conf.
16644
16645 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16646 FD_CLOEXEC for given file.
16647
16648 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16649
16650 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16651 FD_CLOEXEC for /etc/hosts.
16652 (_gethtent): Likewise.
16653
16654 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16655
16656 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16657 cancellation and set FD_CLOEXEC for /etc/netgroup.
16658
16659 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16660 reading /etc/publickey.
16661
16662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16663 allow cancellation when reading /etc/group.
16664
16665 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16666 cancellation.
16667 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16668
16669 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16670 when using data file.
16671
16672 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16673
16674 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16675 (write_nis_obj): Use "c" and "e" in fopen.
16676
16677 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16678
16679 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16680
16681 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16682
16683 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16684
16685 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16686 locale.alias.
16687
16688 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16689
16690 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16691
16692 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16693
16694 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16695 file parsing and set FD_CLOEXEC.
16696
16697 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16698
16699 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16700
16701 2011-11-14 Andreas Schwab <schwab@redhat.com>
16702
16703 * malloc/arena.c (arena_get2): Don't call reused_arena when
16704 _int_new_arena failed.
16705
16706 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16707
16708 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16709 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16710 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16711 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16712 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16714 to compile strcasecmp and strncasecmp.
16715 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16716 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16717
16718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16719
16720 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16721
16722 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16723 locale-defines.sym to gen-as-const-headers.
16724 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16725 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16727 to compile strcasecmp and strncasecmp.
16728 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16729 strcasecmp_l and strncasecmp_l.
16730 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16731 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16732 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16733 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16734 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16735 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16736 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16737 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16738 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16739 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16740 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16741
16742 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16743
16744 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16745 result of SYSDEP_GETTIME_CPU to retval.
16746 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16747 parameter list to macro. Remove trailing semicolon. Adjust users.
16748
16749 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16750 variable.
16751
16752 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16753 mantissa words.
16754 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16755
16756 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16757 from unused variable.
16758
16759 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16760 DWARF definitions.
16761 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16762 for assembling.
16763
16764 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16765 over namespaces.
16766
16767 * sunrpc/rpc_prot.c (rejected): Fix case value.
16768
16769 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16770 unsigned long long int to avoid warnings in shift.
16771
16772 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16773 of use of trans.
16774 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16775 variable tmp.
16776
16777 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16778 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16779 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16780
16781 * nis/nis_table.c (nis_list): Use variable of correct type for
16782 result of __follow_path call.
16783
16784 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16785
16786 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16787 of math functions ceil, trunc, floor, round, and sqrt, when
16788 avaliable on the platform.
16789 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16790 name clash.
16791 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16792 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16793 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16794
16795 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16796
16797 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16798 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16799
16800 2011-11-11 Roland McGrath <roland@hack.frob.com>
16801
16802 * include/unistd.h: Fix __readlink return type.
16803 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16804
16805 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16806
16807 * stdlib/ucontext.h: Undo last change for makecontext.
16808
16809 2011-11-11 Andreas Schwab <schwab@redhat.com>
16810
16811 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16812
16813 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16814 * setjmp/setjmp.h: Mark functions as non-leaf.
16815 * setjmp/bits/setjmp2.h: Likewise.
16816 * stdlib/ucontext.h: Likewise.
16817
16818 2011-11-10 Andreas Schwab <schwab@redhat.com>
16819
16820 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16821 (reused_arena): Don't check arena limit.
16822 (arena_get2): Atomically check arena limit.
16823
16824 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16825
16826 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16827 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16828
16829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16830 instructions.
16831
16832 2011-11-07 Andreas Schwab <schwab@redhat.com>
16833
16834 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16835 handler when locking.
16836
16837 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16838 Fix size of allocated buffer.
16839
16840 2011-11-04 Andreas Schwab <schwab@redhat.com>
16841
16842 [BZ #10103]
16843 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16844 declarations for long double functions.
16845 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16846
16847 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16848
16849 2011-11-03 Andreas Schwab <schwab@redhat.com>
16850
16851 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16852 installed.
16853
16854 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16855 is disabled.
16856
16857 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16858
16859 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16860
16861 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16862
16863 * include/alloca.h (stackinfo_alloca_round): Define.
16864 (extend_alloca): Use it.
16865 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16866 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16867 here.
16868
16869 * scripts/check-local-headers.sh: Ignore libaudit.h.
16870
16871 * nscd/Makefile (extra-objs): Make recursively expanded.
16872
16873 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16874
16875 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16876 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16877
16878 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16879 * posix/tst-rfc3484-2.c: Likewise.
16880 * posix/tst-rfc3484-3.c: Likewise.
16881
16882 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16883 process_vm_writev.
16884 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16885 process_vm_writev.
16886 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16887 process_vm_writev from libc using GLIBC_2.15 version.
16888
16889 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16890
16891 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16892
16893 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16894 stack usage.
16895
16896 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16897
16898 [BZ #13367]
16899 * nss/getent.c (initgroups_keys): Show error message in case no group
16900 names are given.
16901
16902 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16903 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16904 __bump_nl_timestamp.
16905 * nscd/connections (nscd_init): When host database is served open
16906 netlink socket and request notification about configuration changes.
16907 (main_loop_poll): Track netlink file descriptor and bump timestamp
16908 in case data becomes available.
16909 (main_loop_epoll): Likewise.
16910 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16911 (database_pers_head): Add extra_data fileds.
16912 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16913 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16914 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16915 Adjust caller.
16916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16917 in6ai data, call __free_in6ai.
16918 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16919 Add -DHAVE_NETLINK.
16920 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16921 interface information. Reuse previous data if netlink timestamp
16922 is not changed.
16923 (__bump_nl_timestamp): New function.
16924 (__free_in6ai): New function.
16925
16926 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16927
16928 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16929 close_not_cancel_no_status here.
16930 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16931
16932 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16933
16934 [BZ #13276]
16935 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16936 return value.
16937
16938 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16939 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16940 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16941
16942 2011-07-03 Andreas Jaeger <aj@suse.de>
16943
16944 [BZ #10709]
16945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16946 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16947 * math/libm-test.inc (sin_test): Add test case.
16948
16949 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16950
16951 [BZ #13337]
16952 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16953 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16954
16955 * elf/chroot_canon.c (chroot_canon): Cleanups.
16956
16957 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16958
16959 [BZ #13335]
16960 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16961 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16962
16963 * string/test-strchr.c: Make usable for strchrnul testing.
16964 * string/test-strchrnul.c: New file.
16965 * string/Makefile (strop-tests): Add strchrnul.
16966
16967 * po/it.po: Update from translation team.
16968 * po/es.po: Likewise.
16969
16970 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16971
16972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16973 the three constants needed as parameters. Drop the others.
16974 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16975 __m128i_strloadu_tolower.
16976 Create and initialize variable zero and use it in all the places
16977 where _mm_setzero_si128 was used.
16978
16979 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16980 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16981 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16982 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16983 anymore.
16984 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16985 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16986 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16987 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16988 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16989 __mpranred, __mptan.
16990 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16991 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16992 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16993 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16994 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16995 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16996 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16997 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16999
17000 2011-10-28 Andreas Schwab <schwab@redhat.com>
17001
17002 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17003 redefine if SHARED.
17004 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17005
17006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17007 wide char related routines to wcsmbs subdir.
17008
17009 2011-10-27 Andreas Schwab <schwab@redhat.com>
17010
17011 [BZ #13344]
17012 * misc/sys/cdefs.h (__THROWNL): Define.
17013 * posix/unistd.h: Use __THREADNL instead of __THREAD
17014 for memory synchronization functions.
17015
17016 2011-10-26 Roland McGrath <roland@hack.frob.com>
17017
17018 [BZ #13349]
17019 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17020 doesn't exist.
17021 * manual/stdio.texi (Obstack Streams): Node removed.
17022
17023 2011-10-26 Andreas Schwab <schwab@redhat.com>
17024
17025 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17027 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17028
17029 * math/math_private.h (math_force_eval): Allow non-addressable
17030 arguments.
17031 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17032
17033 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17034
17035 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17036 file is not needed.
17037
17038 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17040 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17041 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17044 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17045 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17046 Add AVX variants.
17047 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17048 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17049 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17050 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17051 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17052 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17053 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17054 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17055 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17056 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17057 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17058 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17059 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17060 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17061 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17062 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17063 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17064 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17065 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17066
17067 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17068 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17069
17070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17071 place. Use VEX encoding when compiling for AVX.
17072
17073 2011-10-25 Andreas Schwab <schwab@redhat.com>
17074
17075 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17076 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17077
17078 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17079
17080 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17081
17082 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17083 useless if() expression.
17084 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17094 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17096 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17098 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17099 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17103
17104 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17105
17106 2011-10-25 Andreas Schwab <schwab@redhat.com>
17107
17108 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17109 condition.
17110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17111
17112 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17113
17114 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17115 .text section. Avoid duplicate constants.
17116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17126 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17128 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17131 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17133 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17139 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17140 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17141 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17142 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17143 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17144 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17145 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17146 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17147 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17148 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17149 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17150 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17151 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17152 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17154 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17155 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17156 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17157 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17158 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17159 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17160 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17161
17162 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17163
17164 * sysdeps/x86_64/dla.h: Move to ...
17165 * sysdeps/x86_64/fpu/dla.h: ...here.
17166 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17167 situations. Use __builtin_fma only for gcc 4.6 and up.
17168
17169 * config.make.in: Add have-mfma4 entry.
17170 * configure.in: Substitute libc_cv_cc_fma4.
17171 * math/Makefile (dbl-only-routines): Add sincostab.
17172 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17173 Use __sincostab not sincos.
17174 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17175 name is a macro.
17176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17180 using __copysign.
17181 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17182 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17183 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17184 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17185 and __inv.
17186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17187 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17188 __copysign.
17189 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17190 define aliases when function name is a macro.
17191 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17192 sysdeps/ieee754/dbl-64/sincos.tbl.
17193 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17194 fma4-enabled routines.
17195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17196 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17197 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17198 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17200 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17202 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17204 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17205 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17206 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17207 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17208 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17209 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17210 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17211 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17212 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17213 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17215 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17216 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17218 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17219 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17220 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17222 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17223 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17224 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17225
17226 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17227 rename.
17228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17234 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17236
17237 2011-10-24 Andreas Schwab <schwab@redhat.com>
17238
17239 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17240
17241 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17242
17243 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17244
17245 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17246 prediction.
17247 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17248
17249 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17250 Remove unused variable magic_bits.
17251 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17252
17253 * string/strnlen.c: Define and use STRNLEN macro.
17254 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17255 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17257 * wcsmbs/wcslen.c: Define and use WCSLEN.
17258 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17259 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17260 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17261 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17262 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17263 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17264 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17265
17266 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17267
17268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17269 strnlen-sse2-no-bsf.
17270 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17272 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17273 Add strnlen support.
17274 (USE_AS_STRNLEN): New macro.
17275 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17276 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17277 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17278 * sysdeps/x86_64/wcslen.S: New file.
17279
17280 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17281
17282 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17283 XMM-moves are used for copying on small sizes.
17284
17285 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17286
17287 * wcsmbs/Makefile (strop-tests): Add wcschr.
17288 * wcsmbs/test-wcschr.c: New file.
17289 * string/test-strchr.c: Update.
17290 Add wcschr support.
17291 (WIDE): New macro.
17292
17293 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17294
17295 * wcsmbs/Makefile (strop-tests): Add wcslen.
17296 * wcsmbs/test-wcslen.c: New file.
17297 * string/test-strlen.c: Update.
17298 Add wcslen support.
17299 (WIDE): New macro.
17300
17301 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17302
17303 * po/it.po: Update from translation team.
17304
17305 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17306
17307 * sysdeps/x86_64/wcscmp.S: Update.
17308 Fix wrong comparison semantics.
17309 wcscmp shall use signed comparison not unsigned.
17310 Don't use substraction to avoid overflow bug.
17311 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17312 * wcsmbc/wcscmp.c: Likewise.
17313 * string/test-strcmp.c: Likewise.
17314 Add new tests to check cases with negative values.
17315
17316 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17317
17318 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17319 * sysdeps/x86_64/dla.h: ...here. New file.
17320 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17329
17330 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17331
17332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17333 __ynl_finite aliases.
17334
17335 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17336
17337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17338
17339 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17340 define DLA_FMA.
17341 [DLA_FMA] (EMULV): Use DLA_FMA.
17342 [DLA_FMA] (MUL12): Use EMULV.
17343 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17344 that are not needed.
17345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17352
17353 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17354
17355 * math/s_nan.c: Undef __nan.
17356 * math/s_nanf.c: Undef __nanf.
17357 * math/s_nanl.c: Undef __nanl.
17358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17359 "math_private.h".
17360
17361 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17362
17363 * math/s_catan.c: Add branch predictions.
17364 * math/s_catanf.c: Likewise.
17365 * math/s_catanh.c: Likewise.
17366 * math/s_catanhf.c: Likewise.
17367 * math/s_catanhl.c: Likewise.
17368 * math/s_catanl.c: Likewise.
17369 * math/s_cexp.c: Likewise.
17370 * math/s_cexpf.c: Likewise.
17371 * math/s_cexpl.c: Likewise.
17372 * math/s_clog.c: Likewise.
17373 * math/s_clog10.c: Likewise.
17374 * math/s_clog10f.c: Likewise.
17375 * math/s_clog10l.c: Likewise.
17376 * math/s_clogf.c: Likewise.
17377 * math/s_clogl.c: Likewise.
17378 * math/s_csqrt.c: Likewise.
17379 * math/s_csqrtf.c: Likewise.
17380 * math/s_csqrtl.c: Likewise.
17381 * math/s_ctanf.c: Likewise.
17382 * math/s_ctanh.c: Likewise.
17383 * math/s_ctanhf.c: Likewise.
17384 * math/s_ctanhl.c: Likewise.
17385 * math/s_ctanl.c: Likewise.
17386
17387 * math/math_private.h: Define __nan, __nanf, __nanl.
17388 * math/s_cacosh.c: Include <math_private.h>.
17389 * math/s_cacoshl.c: Likewise.
17390 * math/s_casinh.c: Likewise.
17391 * math/s_casinhf.c: Likewise.
17392 * math/s_casinhl.c: Likewise.
17393 * math/s_ccos.c: Rely entire on ccosh.
17394 * math/s_ccosf.c: Rely entire on ccoshf.
17395 * math/s_ccosl.c: Rely entirely on ccoshl.
17396 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17397 Remove tests for FE_INVALID.
17398 * math/s_ccoshf.c: Likewise.
17399 * math/s_ccoshl.c: Likewise.
17400 * math/s_csin.c: Likewise.
17401 * math/s_csinf.c: Likewise.
17402 * math/s_csinh.c Likewise.
17403 * math/s_csinhf.c: Likewise.
17404 * math/s_csinhl.c: Likewise.
17405 * math/s_csinl.c: Likewise.
17406 * math/s_ctan.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17408 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17409 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17410
17411 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17412
17413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17414 compilation problems.
17415
17416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17417 __builtin_expect.
17418
17419 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17420
17421 * sysdeps/i386/configure.in: Test for -mfma4 option.
17422 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17423 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17424 COMMON_CPUID_INDEX_80000001.
17425 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17426 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17427 use it if FMA3 is not supported.
17428 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17429
17430 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17431 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17432
17433 2011-10-20 Andreas Schwab <schwab@redhat.com>
17434
17435 [BZ #12892]
17436 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17437 it would create a cycle with a link time dependency.
17438
17439 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17440
17441 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17442 instruction.
17443 * string/Makefile (strop-tests): Add rawmemchr.
17444 * string/test-rawmemchr.c: New file.
17445
17446 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17448 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17449 when compiling str{,n}casecmp and when AVX is available. Hook up
17450 new optimized code in initializers.
17451
17452 2011-10-19 Andreas Schwab <schwab@redhat.com>
17453
17454 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17455 __feraiseexcept instead of feraiseexcept.
17456
17457 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17458
17459 * math/math_private.h: Define defaults for libc_fetestexcept and
17460 libc_feupdateenv.
17461 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17462 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17464 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17466 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17467 libc_fetestexcept and libc_feupdateenv.
17468
17469 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17470 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17471 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17472 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17473 libc_feholdexcept_setround.
17474
17475 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17476 Add s_nearbyint-c and s_nearbyintf-c.
17477 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17478 nearbyintf inlines.
17479 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17480 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17481 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17482 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17483
17484 * math/math_private.h: Define defaults for libc_fegetround,
17485 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17486 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17487 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17489 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17490 standard functions.
17491 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17492 Remove comments and hacks for old compiler versions.
17493 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17494 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17495 libc_feholdexceptl.
17496
17497 2011-10-18 Andreas Schwab <schwab@redhat.com>
17498
17499 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17500 (__feraiseexcept_renamed): Add __NTH.
17501 (feraiseexcept): Add __NTH. Rename local variables to fix
17502 namespace violations.
17503
17504 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17505
17506 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17507
17508 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17509
17510 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17511 recently added interfaces.
17512 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17513
17514 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17515 about macro parameter expansion.
17516
17517 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17518 __NO_MATH_INLINES is defined. Cleanups.
17519
17520 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17521 and __floorf is target has SSE4.1.
17522 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17523 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17524 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17526
17527 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17528 name.
17529 (floorf): Likewise.
17530
17531 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17532
17533 2011-10-17 Andreas Schwab <schwab@redhat.com>
17534
17535 * misc/sys/cdefs.h: Fix last change.
17536
17537 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17538 database lookup.
17539
17540 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17541
17542 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17543
17544 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17550 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17551 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17552 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17553 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17554 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17555 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17556 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17557 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17558 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17559 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17560 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17561 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17562 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17563 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17564 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17565 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17566
17567 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17568 ceil, ceilf, floor, floorf.
17569
17570 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17571 Perform IRELATIVE relocations last.
17572
17573 * elf/do-rel.h: Add another parameter nrelative, replacing the
17574 local variable with the same name. Change name of the function
17575 to end in Rel or Rela (uppercase).
17576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17577 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17578 elf_dynamic_do_##reloc function.
17579
17580 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17581
17582 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17583 is sufficient, at least on modern CPUs.
17584
17585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17586
17587 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17588 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17589
17590 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17591 __expl_finite.
17592 * math/bits/math-finite.h: Add entries for exp.
17593 * math/e_expl.c: Add __*_finite alias.
17594 * sysdeps/i386/fpu/e_exp.S: Likewise.
17595 * sysdeps/i386/fpu/e_expf.S: Likewise.
17596 * sysdeps/i386/fpu/e_expl.c: Likewise.
17597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17601 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17602 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17603 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17604
17605 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17606 is sufficient, at least on modern CPUs.
17607
17608 * ctype/ctype-info.c (__ctype_init): Define.
17609 * include/ctype.h (__ctype_init): Declare.
17610 (__ctype_b_loc): The variable is always initialized.
17611 (__ctype_toupper_loc): Likewise.
17612 (__ctype_tolower_loc): Likewise.
17613 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17614 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17615
17616 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17617
17618 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17619
17620 * configure.in: Also look in $cxxmachine/include for C++ system
17621 headers.
17622
17623 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17624
17625 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17626 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17627 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17628 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17630 (USE_AS_WMEMCMP): New macro.
17631 Fixing indents.
17632 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17633 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17634 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17635 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17637 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17638 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17639 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17640 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17641 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17642 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17643 (USE_AS_WMEMCMP): New macro.
17644 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17645 * sysdeps/string/test-memcmp.c: Update.
17646 Fix simple_wmemcmp.
17647 Add new tests.
17648 * wcsmbs/wmemcmp.c: Update.
17649 (WMEMCMP): New macro.
17650 Fix overflow bug.
17651
17652 2011-10-12 Andreas Jaeger <aj@suse.de>
17653
17654 [BZ #13268]
17655 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17656
17657 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17658
17659 * libio/iofwide.c (do_length): Avoid warning.
17660
17661 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17662
17663 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17664
17665 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17666
17667 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17668 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17669 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17670 * sysdeps/i386/i686/fpu/e_log.S: New file.
17671 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17672 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17673
17674 * ctype/ctype.h: Add support for inlined isXXX functions when
17675 compiling C++ code.
17676
17677 2011-10-14 Andreas Schwab <schwab@redhat.com>
17678
17679 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17680
17681 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17682
17683 2011-10-13 Roland McGrath <roland@hack.frob.com>
17684
17685 [BZ #13291]
17686 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17687
17688 2011-10-13 Andreas Schwab <schwab@redhat.com>
17689
17690 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17691 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17692 feraiseexcept.
17693
17694 * sysdeps/x86_64/memrchr.S: Check for zero size.
17695
17696 * string/stratcliff.c: Add memrchr tests.
17697
17698 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17699
17700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17701 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17702 rawmemchr-sse2 rawmemchr-sse2-bsf.
17703 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17704 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17705 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17706 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17707 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17708 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17709 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17710 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17711 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17712 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17713 * string/memrchr.c (MEMRCHR): New macro.
17714
17715 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17716
17717 Add integration with gcc's -ffinite-math-only and optimize wrapper
17718 functions in libm.
17719 * Versions.def: Define GLIBC_2.15 version for libm.
17720 * math/Makefile (headers): Add bits/math-finite.h.
17721 * math/bits/math-finite.h: New file.
17722 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17723 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17724 * math/e_acoshl.c: Add __*_finite alias.
17725 * math/e_acosl.c: Likewise.
17726 * math/e_asinl.c: Likewise.
17727 * math/e_atan2l.c: Likewise.
17728 * math/e_atanhl.c: Likewise.
17729 * math/e_coshl.c: Likewise.
17730 * math/e_exp10.c: Likewise.
17731 * math/e_exp10f.c: Likewise.
17732 * math/e_exp10l.c: Likewise.
17733 * math/e_exp2l.c: Likewise.
17734 * math/e_fmodl.c: Likewise.
17735 * math/e_gammal_r.c: Likewise.
17736 * math/e_hypotl.c: Likewise.
17737 * math/e_j0l.c: Likewise.
17738 * math/e_j1l.c: Likewise.
17739 * math/e_jnl.c: Likewise.
17740 * math/e_lgammal_r.c: Likewise.
17741 * math/e_log10l.c: Likewise.
17742 * math/e_log2l.c: Likewise.
17743 * math/e_logl.c: Likewise.
17744 * math/e_powl.c: Likewise.
17745 * math/e_sinhl.c: Likewise.
17746 * math/e_sqrtl.c: Likewise.
17747 * math/e_scalb.c: Completely rewritten and optimized.
17748 * math/e_scalbf.c: Likewise.
17749 * math/e_scalbl.c: Likewise.
17750 * math/w_acos.c: Likewise.
17751 * math/w_acosf.c: Likewise.
17752 * math/w_acosl.c: Likewise.
17753 * math/w_acosh.c: Likewise.
17754 * math/w_acoshf.c: Likewise.
17755 * math/w_acoshl.c: Likewise.
17756 * math/w_asin.c: Likewise.
17757 * math/w_asinf.c: Likewise.
17758 * math/w_asinl.c: Likewise.
17759 * math/w_atan2.c: Likewise.
17760 * math/w_atan2f.c: Likewise.
17761 * math/w_atan2l.c: Likewise.
17762 * math/w_atanh.c: Likewise.
17763 * math/w_atanhf.c: Likewise.
17764 * math/w_atanhl.c: Likewise.
17765 * math/w_exp10.c: Likewise.
17766 * math/w_exp10f.c: Likewise.
17767 * math/w_exp10l.c: Likewise.
17768 * math/w_fmod.c: Likewise.
17769 * math/w_fmodf.c: Likewise.
17770 * math/w_fmodl.c: Likewise.
17771 * math/w_j0.c: Likewise.
17772 * math/w_j0f.c: Likewise.
17773 * math/w_j0l.c: Likewise.
17774 * math/w_j1.c: Likewise.
17775 * math/w_j1f.c: Likewise.
17776 * math/w_j1l.c: Likewise.
17777 * math/w_jn.c: Likewise.
17778 * math/w_jnf.c: Likewise.
17779 * math/w_log.c: Likewise.
17780 * math/w_logf.c: Likewise.
17781 * math/w_logl.c: Likewise.
17782 * math/w_log10.c: Likewise.
17783 * math/w_log10f.c: Likewise.
17784 * math/w_log10l.c: Likewise.
17785 * math/w_log2.c: Likewise.
17786 * math/w_log2f.c: Likewise.
17787 * math/w_log2l.c: Likewise.
17788 * math/w_pow.c: Likewise.
17789 * math/w_powf.c: Likewise.
17790 * math/w_powl.c: Likewise.
17791 * math/w_remainder.c: Likewise.
17792 * math/w_remainderf.c: Likewise.
17793 * math/w_remainderl.c: Likewise.
17794 * math/w_scalb.c: Likewise.
17795 * math/w_scalbf.c: Likewise.
17796 * math/w_scalbl.c: Likewise.
17797 * math/w_sqrt.c: Likewise.
17798 * math/w_sqrtf.c: Likewise.
17799 * math/w_sqrtl.c: Likewise.
17800 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17801 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17802 used.
17803 * math/math_private.h: Declare __kernel_standard_f.
17804 * math/w_cosh.c: Remove cruft and optimize a bit.
17805 * math/w_coshf.c: Likewise.
17806 * math/w_coshl.c: Likewise.
17807 * math/w_exp2.c: Likewise.
17808 * math/w_exp2f.c: Likewise.
17809 * math/w_exp2l.c: Likewise.
17810 * math/w_hypot.c: Likewise.
17811 * math/w_hypotf.c: Likewise.
17812 * math/w_hypotl.c: Likewise.
17813 * math/w_lgamma.c: Likewise.
17814 * math/w_lgamma_r.c: Likewise.
17815 * math/w_lgammaf.c: Likewise.
17816 * math/w_lgammaf_r.c: Likewise.
17817 * math/w_lgammal.c: Likewise.
17818 * math/w_lgammal_r.c: Likewise.
17819 * math/w_sinh.c: Likewise.
17820 * math/w_sinhf.c: Likewise.
17821 * math/w_sinhl.c: Likewise.
17822 * math/w_tgamma.c: Likewise.
17823 * math/w_tgammaf.c: Likewise.
17824 * math/w_tgammal.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17827 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17828 Minor optimizations. Pretty printing. Remove cruft.
17829 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17830 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17833 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17834 * sysdeps/i386/fpu/e_asin.S: Likewise.
17835 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17836 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17837 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17838 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17839 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17840 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17841 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17842 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17843 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17844 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17845 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17846 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17847 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17848 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17849 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17850 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17851 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17852 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17853 * sysdeps/i386/fpu/e_log.S: Likewise.
17854 * sysdeps/i386/fpu/e_log10.S: Likewise.
17855 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17856 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17857 * sysdeps/i386/fpu/e_log2.S: Likewise.
17858 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17859 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17860 * sysdeps/i386/fpu/e_logf.S: Likewise.
17861 * sysdeps/i386/fpu/e_logl.S: Likewise.
17862 * sysdeps/i386/fpu/e_pow.S: Likewise.
17863 * sysdeps/i386/fpu/e_powf.S: Likewise.
17864 * sysdeps/i386/fpu/e_powl.S: Likewise.
17865 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17866 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17867 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17868 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17870 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17871 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17872 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17873 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17895 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17896 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17897 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17898 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17899 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17900 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17901 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17902 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17903 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17904 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17905 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17906 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17907 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17908 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17909 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17910 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17911 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17912 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17913 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17914 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17915 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17917 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17919 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17920 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17921 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17922 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17924 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17925 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17927 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17929 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17930 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17931 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17932 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17933 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17934 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17935 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17940 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17945 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17951 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17952 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17953 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17954 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17955 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17957 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17959 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17960 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17962 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17965 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17966 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17967 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17968 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17969 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17970 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17971 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17972 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17973 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17974 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17975 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17976 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17977 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17978 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17979 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17980 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17981 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17982 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17983 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17984 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17985 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17986 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17987 (__isnanf): Likewise.
17988 (__isinf_ns): Likewise.
17989 (__isinf_nsf): Likewise.
17990 (__finite): Likewise.
17991 (__finitef): Likewise.
17992 (__ieee754_sqrt): Define as macro.
17993 (__ieee754_sqrtf): Define as macro.
17994 (__ieee754_sqrtl): Define as macro.
17995 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17996 inlined copy.
17997 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17998 __FINITE_MATH_ONLY__ consistent.
17999 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18000
18001 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18002
18003 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18004 of rawmemchr.
18005
18006 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18007
18008 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18009
18010 * po/ja.po: Update from translation team.
18011
18012 2011-10-08 Roland McGrath <roland@hack.frob.com>
18013
18014 * locale/programs/locarchive.c (prepare_address_space): New function.
18015 (create_archive, enlarge_archive, open_archive): Use it.
18016
18017 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18018 inside [SHARED], where it is used.
18019
18020 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18021
18022 * nss/getent.c (netgroup_keys): Remove unused variable.
18023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18024
18025 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18026
18027 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18028 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18030 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18031 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18032 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18033 * math/Makefile (libm-calls): Add s_isinf_ns.
18034 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18035 * math/multc3.c: Likewise.
18036 * math/s_casin.c: Likewise.
18037 * math/s_casinf.c: Likewise.
18038 * math/s_casinl.c: Likewise.
18039 * math/s_ccos.c: Likewise.
18040 * math/s_ccosf.c: Likewise.
18041 * math/s_ccosl.c: Likewise.
18042 * math/s_ctan.c: Likewise.
18043 * math/s_ctanf.c: Likewise.
18044 * math/s_ctanh.c: Likewise.
18045 * math/s_ctanhf.c: Likewise.
18046 * math/s_ctanhl.c: Likewise.
18047 * math/s_ctanl.c: Likewise.
18048 * math/w_fmod.c: Likewise.
18049 * math/w_fmodf.c: Likewise.
18050 * math/w_fmodl.c: Likewise.
18051 * math/w_remainder.c: Likewise.
18052 * math/w_remainderf.c: Likewise.
18053 * math/w_remainderl.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18055 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18056 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18058 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18059 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18060 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18061 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18062
18063 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18064 of the number.
18065 * stdio-common/printf_fphex.c: Likewise.
18066 * stdio-common/printf_size.c: Likewise.
18067
18068 * math/e_exp10.c: Include math_private.h using <...> not "...".
18069 * math/e_exp10f.c: Likewise.
18070 * math/e_exp10l.c: Likewise.
18071 * math/e_exp2l.c: Likewise.
18072 * math/e_j0l.c: Likewise.
18073 * math/e_j1l.c: Likewise.
18074 * math/e_jnl.c: Likewise.
18075 * math/e_lgammal_r.c: Likewise.
18076 * math/e_rem_pio2l.c: Likewise.
18077 * math/e_scalb.c: Likewise.
18078 * math/e_scalbf.c: Likewise.
18079 * math/e_scalbl.c: Likewise.
18080 * math/k_cosl.c: Likewise.
18081 * math/k_sinl.c: Likewise.
18082 * math/k_tanl.c: Likewise.
18083 * math/s_cacoshf.c: Likewise.
18084 * math/s_catan.c: Likewise.
18085 * math/s_catanf.c: Likewise.
18086 * math/s_catanh.c: Likewise.
18087 * math/s_catanhf.c: Likewise.
18088 * math/s_catanhl.c: Likewise.
18089 * math/s_catanl.c: Likewise.
18090 * math/s_ccosh.c: Likewise.
18091 * math/s_ccoshf.c: Likewise.
18092 * math/s_ccoshl.c: Likewise.
18093 * math/s_cexp.c: Likewise.
18094 * math/s_cexpf.c: Likewise.
18095 * math/s_cexpl.c: Likewise.
18096 * math/s_clog.c: Likewise.
18097 * math/s_clog10.c: Likewise.
18098 * math/s_clog10f.c: Likewise.
18099 * math/s_clog10l.c: Likewise.
18100 * math/s_clogf.c: Likewise.
18101 * math/s_clogl.c: Likewise.
18102 * math/s_csin.c: Likewise.
18103 * math/s_csinf.c: Likewise.
18104 * math/s_csinh.c: Likewise.
18105 * math/s_csinhf.c: Likewise.
18106 * math/s_csinhl.c: Likewise.
18107 * math/s_csinl.c: Likewise.
18108 * math/s_csqrt.c: Likewise.
18109 * math/s_csqrtf.c: Likewise.
18110 * math/s_csqrtl.c: Likewise.
18111 * math/s_ctan.c: Likewise.
18112 * math/s_ctanf.c: Likewise.
18113 * math/s_ctanh.c: Likewise.
18114 * math/s_ctanhf.c: Likewise.
18115 * math/s_ctanhl.c: Likewise.
18116 * math/s_ctanl.c: Likewise.
18117 * math/s_ldexp.c: Likewise.
18118 * math/s_ldexpf.c: Likewise.
18119 * math/s_ldexpl.c: Likewise.
18120 * math/s_significand.c: Likewise.
18121 * math/s_significandf.c: Likewise.
18122 * math/s_significandl.c: Likewise.
18123 * math/w_acos.c: Likewise.
18124 * math/w_acosf.c: Likewise.
18125 * math/w_acosh.c: Likewise.
18126 * math/w_acoshf.c: Likewise.
18127 * math/w_acoshl.c: Likewise.
18128 * math/w_acosl.c: Likewise.
18129 * math/w_asin.c: Likewise.
18130 * math/w_asinf.c: Likewise.
18131 * math/w_asinl.c: Likewise.
18132 * math/w_atan2.c: Likewise.
18133 * math/w_atan2f.c: Likewise.
18134 * math/w_atan2l.c: Likewise.
18135 * math/w_atanh.c: Likewise.
18136 * math/w_atanhf.c: Likewise.
18137 * math/w_atanhl.c: Likewise.
18138 * math/w_cosh.c: Likewise.
18139 * math/w_coshf.c: Likewise.
18140 * math/w_coshl.c: Likewise.
18141 * math/w_dremf.c: Likewise.
18142 * math/w_exp10.c: Likewise.
18143 * math/w_exp10f.c: Likewise.
18144 * math/w_exp10l.c: Likewise.
18145 * math/w_exp2.c: Likewise.
18146 * math/w_exp2f.c: Likewise.
18147 * math/w_fmod.c: Likewise.
18148 * math/w_fmodf.c: Likewise.
18149 * math/w_fmodl.c: Likewise.
18150 * math/w_hypot.c: Likewise.
18151 * math/w_hypotf.c: Likewise.
18152 * math/w_hypotl.c: Likewise.
18153 * math/w_j0.c: Likewise.
18154 * math/w_j0f.c: Likewise.
18155 * math/w_j0l.c: Likewise.
18156 * math/w_j1.c: Likewise.
18157 * math/w_j1f.c: Likewise.
18158 * math/w_j1l.c: Likewise.
18159 * math/w_jn.c: Likewise.
18160 * math/w_jnf.c: Likewise.
18161 * math/w_jnl.c: Likewise.
18162 * math/w_lgamma.c: Likewise.
18163 * math/w_lgamma_r.c: Likewise.
18164 * math/w_lgammaf.c: Likewise.
18165 * math/w_lgammaf_r.c: Likewise.
18166 * math/w_lgammal.c: Likewise.
18167 * math/w_lgammal_r.c: Likewise.
18168 * math/w_log.c: Likewise.
18169 * math/w_log10.c: Likewise.
18170 * math/w_log10f.c: Likewise.
18171 * math/w_log10l.c: Likewise.
18172 * math/w_log2.c: Likewise.
18173 * math/w_log2f.c: Likewise.
18174 * math/w_log2l.c: Likewise.
18175 * math/w_logf.c: Likewise.
18176 * math/w_logl.c: Likewise.
18177 * math/w_pow.c: Likewise.
18178 * math/w_powf.c: Likewise.
18179 * math/w_powl.c: Likewise.
18180 * math/w_remainder.c: Likewise.
18181 * math/w_remainderf.c: Likewise.
18182 * math/w_remainderl.c: Likewise.
18183 * math/w_scalb.c: Likewise.
18184 * math/w_scalbf.c: Likewise.
18185 * math/w_scalbl.c: Likewise.
18186 * math/w_sinh.c: Likewise.
18187 * math/w_sinhf.c: Likewise.
18188 * math/w_sinhl.c: Likewise.
18189 * math/w_sqrt.c: Likewise.
18190 * math/w_sqrtf.c: Likewise.
18191 * math/w_sqrtl.c: Likewise.
18192 * math/w_tgamma.c: Likewise.
18193 * math/w_tgammaf.c: Likewise.
18194 * math/w_tgammal.c: Likewise.
18195
18196 * po/ja.po: Update from translation team.
18197
18198 2011-09-29 Andreas Jaeger <aj@suse.de>
18199
18200 [BZ #13179]
18201 * sunrpc/netname.c (netname2host): Fix logic.
18202
18203 [BZ #6779]
18204 [BZ #6783]
18205 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18206 correctly.
18207 * math/w_remainder.c (__remainder): Likewise.
18208 * math/w_remainderf.c (__remainderf): Likewise.
18209 * math/libm-test.inc (remainder_test): Add test cases.
18210
18211 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18212
18213 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18214 sdiv_qrnnd.
18215
18216 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18217
18218 * string/test-memcmp.c: Avoid unncessary #defines.
18219 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18220
18221 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18222
18223 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18224 Use new sse2 version for core i3 - i7 as it's faster
18225 than sse42 version.
18226 (bit_Prefer_PMINUB_for_stringop): New.
18227 * sysdeps/x86_64/rawmemchr.S: Update.
18228 Replace with faster SSE2 version.
18229 * sysdeps/x86_64/memrchr.S: New file.
18230 * sysdeps/x86_64/memchr.S: Update.
18231 Replace with faster SSE2 version.
18232
18233 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18234
18235 * elf/dl-load.c (lose): Add cast to avoid warning.
18236
18237 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18238
18239 * po/ca.po: Update from translation team.
18240
18241 * inet/getnetgrent_r.c: Hook up nscd.
18242 * nscd/Makefile (routines): Add nscd_netgroup.
18243 (nscd-modules): Add netgroupcache.
18244 (CFLAGS-netgroupcache.c): Define.
18245 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18246 (cache_search): Add const to second parameter.
18247 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18248 INNETGR.
18249 (dbs): Add netgrdb entry.
18250 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18251 (verify_persistent_db): Handle netgrdb.
18252 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18253 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18254 GETFDNETGR.
18255 (netgroup_response_header): Define.
18256 (innetgroup_response_header): Define.
18257 (datahead): Add netgroup_response_header and innetgroup_response_header
18258 elements.
18259 * nscd/nscd.conf: Add entries for netgroup cache.
18260 * nscd/nscd.h (dbtype): Add netgrdb.
18261 (_PATH_NSCD_NETGROUP_DB): Define.
18262 (netgroup_iov_disabled): Declare.
18263 (xmalloc, xcalloc, xrealloc): Move declarations here.
18264 (cache_search): Adjust prototype.
18265 Add netgroup-related prototypes.
18266 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18267 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18268 (__nscd_innetgr): Declare.
18269 * nscd/selinux.c (perms): Use access_vector_t as element type and
18270 add netgroup-related initializers.
18271 * nscd/netgroupcache.c: New file.
18272 * nscd/nscd_netgroup.c: New file.
18273 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18274 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18275 For four parameters use innetgr.
18276 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18277 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18278 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18279 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18280
18281 * nscd/connections.c (register_traced_file): Don't register file
18282 for disabled databases.
18283
18284 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18285
18286 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18287
18288 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18289 from tree and freeing node.
18290
18291 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18292
18293 * nss/nsswitch.c (__nss_database_lookup): Handle
18294 nss_parse_service_list out of memory case.
18295
18296 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18297
18298 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18299 out of memory case.
18300
18301 2011-10-04 Andreas Schwab <schwab@redhat.com>
18302
18303 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18304 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18305 pass it down.
18306 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18307 elf_machine_rela, elf_machine_lazy_rel.
18308 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18309 (ELF_DYNAMIC_DO_REL): Likewise.
18310 (ELF_DYNAMIC_DO_RELA): Likewise.
18311 (ELF_DYNAMIC_RELOCATE): Likewise.
18312 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18313 to ELF_DYNAMIC_DO_REL.
18314 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18315 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18316 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18317 elf_machine_rela.
18318 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18319 skip_ifunc, don't call ifunc function if non-zero.
18320 (elf_machine_rela): Likewise.
18321 (elf_machine_lazy_rel): Likewise.
18322 (elf_machine_lazy_rela): Likewise.
18323 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18324 (elf_machine_lazy_rel): Likewise.
18325 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18326 Likewise.
18327 (elf_machine_lazy_rel): Likewise.
18328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18329 Likewise.
18330 (elf_machine_lazy_rel): Likewise.
18331 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18332 (elf_machine_lazy_rel): Likewise.
18333 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18334 (elf_machine_lazy_rel): Likewise.
18335 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18336 (elf_machine_lazy_rel): Likewise.
18337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18338 (elf_machine_lazy_rel): Likewise.
18339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18340 (elf_machine_lazy_rel): Likewise.
18341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18342 (elf_machine_lazy_rel): Likewise.
18343
18344 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18345
18346 * nss/nss_files/files-init.c (_nss_files_init): Use static
18347 initialization for all the *_traced_file variables.
18348
18349 2011-09-28 Andreas Schwab <schwab@redhat.com>
18350
18351 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18352
18353 2011-09-27 Roland McGrath <roland@hack.frob.com>
18354
18355 [BZ #13226]
18356 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18357
18358 2011-09-27 Andreas Schwab <schwab@redhat.com>
18359
18360 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18361 Reread the line before reparsing it.
18362
18363 2011-09-26 Andreas Schwab <schwab@redhat.com>
18364
18365 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18366
18367 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18368 Maxim Kuvyrkov <maxim@codesourcery.com>
18369 Joseph Myers <joseph@codesourcery.com>
18370
18371 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18372 if needed for __stack_chk_guard.
18373
18374 2011-09-19 Roland McGrath <roland@hack.frob.com>
18375
18376 * sysdeps/posix/spawni.c (script_execute): Always define it.
18377 It will be optimized away if unused.
18378 (maybe_script_execute): New function.
18379 (__spawni): Call it.
18380
18381 * Makerules: Don't include tls.make.
18382 (config-tls): Always set to thread.
18383 * tls.make.c: File removed.
18384
18385 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18386
18387 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18388 * config.make.in (CPPFLAGS-config): New substituted variable.
18389
18390 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18391
18392 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18393
18394 [BZ #13192]
18395 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18396 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18397
18398 2011-09-15 Roland McGrath <roland@hack.frob.com>
18399
18400 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18401 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18403 (CALL_FAIL): Likewise.
18404 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18405 (CALL_FAIL): Macro removed.
18406 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18407
18408 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18409
18410 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18411 for __FINITE_MATH_ONLY__ == 1.
18412
18413 2011-09-15 Andreas Schwab <schwab@redhat.com>
18414
18415 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18416 __ieee754_sqrt instead of sqrt.
18417 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18418 __ieee754_sqrtf instead of sqrtf.
18419 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18420 __floorf instead of floorf.
18421 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18422 __floorf, __truncf instead of floorf, truncf.
18423
18424 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18425
18426 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18427
18428 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18429 __extern_always_inline.
18430 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18431 32-bit.
18432
18433 2011-09-14 Andreas Schwab <schwab@redhat.com>
18434
18435 * elf/rtld.c (dl_main): Also relocate in dependency order when
18436 doing symbol dependency testing.
18437
18438 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18439
18440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18441 Always define `refsym'.
18442
18443 2011-09-13 Andreas Schwab <schwab@redhat.com>
18444
18445 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18446 (__FD_ELT): Renamed from __FDELT.
18447 * misc/bits/select2.h (__FD_ELT): Likewise.
18448 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18449 __FD_MASK instead of __FDELT, __FDMASK.
18450 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18451 Likewise.
18452 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18453 Likewise.
18454
18455 * elf/Makefile (gen-ldd): Fix pattern.
18456
18457 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18458 (init_tls): Likewise.
18459
18460 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18461
18462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18463
18464 2011-09-12 Andreas Schwab <schwab@redhat.com>
18465
18466 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18467 `struct cmsghdr *' instead of `void *'.
18468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18469 Likewise.
18470
18471 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18472
18473 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18474 if non-absolute.
18475 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18476 ldd_rewrite_script.
18477
18478 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18479
18480 * configure.in: Remove --with-tls option.
18481 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18482 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18483 out in case it is missing.
18484 * sysdeps/ia64/elf/configure.in: Likewise.
18485 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18486 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18487 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18488 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18489 * sysdeps/sh/elf/configure.in: Likewise.
18490 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18491 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18492 * sysdeps/x86_64/elf/configure.in: Likewise.
18493 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18494 * sysdeps/mach/hurd/tls.h: Likewise.
18495
18496 [BZ #13067]
18497 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18498
18499 [BZ #13090]
18500 * configure.in: Fix use of AC_INIT.
18501
18502 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18503
18504 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18505
18506 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18507 __set_errno.
18508 * malloc/hooks.c: Likewise.
18509
18510 [BZ #11929]
18511 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18512 variables statically.
18513 (narenas): Initialize.
18514 (list_lock): Initialize.
18515 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18516 initializtion of main_arena and list_lock. Small cleanups.
18517 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18518 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18519 Add initializers to main_arena and mp_.
18520 (malloc_state): Remove pagesize member. Change all users to use
18521 GLRO(dl_pagesize).
18522
18523 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18524 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18525 is always initialized.
18526
18527 * malloc/malloc.c: Removed unused configurations and dead code.
18528 * malloc/arena.c: Likewise.
18529 * malloc/hooks.c: Likewise.
18530 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18531
18532 * include/tls.h: Removed. USE___THREAD must always be defined.
18533 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18534 * elf/dl-libc.c: Likewise.
18535 * elf/dl-tsd.c: Likewise.
18536 * include/errno.h: Likewise.
18537 * include/netdb.h: Likewise.
18538 * include/resolv.h: Likewise.
18539 * inet/herrno-loc.c: Likewise.
18540 * inet/herrno.c: Likewise.
18541 * malloc/arena.c: Likewise.
18542 * malloc/hooks.c: Likewise.
18543 * malloc/malloc.c: Likewise.
18544 * resolv/res-state.c: Likewise.
18545 * resolv/res_libc.c: Likewise.
18546 * sysdeps/i386/dl-machine.h: Likewise.
18547 * sysdeps/ia64/dl-machine.h: Likewise.
18548 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18549 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18550 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18551 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18552 * sysdeps/sh/dl-machine.h: Likewise.
18553 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18554 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18555 * sysdeps/unix/i386/sysdep.S: Likewise.
18556 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18557 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18562 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18566 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18567 * sysdeps/x86_64/dl-machine.h: Likewise.
18568 * tls.make.c: Likewise.
18569
18570 * configure.in: Remove --with-__thread option. Make tests for
18571 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18572 tls_model attribute fail if no support is available. Remove
18573 USE_IN_LIBIO.
18574 * Makeconfig: Adjust for dropped configure option. All features are
18575 now mandatory.
18576 * Makerules: Likewise.
18577 * Versions.def: Likewise.
18578 * argp/argp-fmtstream.c: Likewise.
18579 * argp/argp-fmtstream.h: Likewise.
18580 * argp/argp-help.c: Likewise.
18581 * assert/assert.c: Likewise.
18582 * config.h.in: Likewise.
18583 * config.make.in: Likewise.
18584 * configure: Likewise.
18585 * configure.in: Likewise.
18586 * csu/Versions: Likewise.
18587 * csu/init.c: Likewise.
18588 * elf/tst-audit2.c: Likewise.
18589 * elf/tst-tls10.c: Likewise.
18590 * elf/tst-tls10.h: Likewise.
18591 * elf/tst-tls11.c: Likewise.
18592 * elf/tst-tls12.c: Likewise.
18593 * elf/tst-tls14.c: Likewise.
18594 * elf/tst-tlsmod11.c: Likewise.
18595 * elf/tst-tlsmod12.c: Likewise.
18596 * elf/tst-tlsmod13.c: Likewise.
18597 * elf/tst-tlsmod13a.c: Likewise.
18598 * elf/tst-tlsmod14a.c: Likewise.
18599 * elf/tst-tlsmod15b.c: Likewise.
18600 * elf/tst-tlsmod16a.c: Likewise.
18601 * elf/tst-tlsmod16b.c: Likewise.
18602 * elf/tst-tlsmod7.c: Likewise.
18603 * elf/tst-tlsmod8.c: Likewise.
18604 * elf/tst-tlsmod9.c: Likewise.
18605 * gmon/gmon.c: Likewise.
18606 * grp/fgetgrent_r.c: Likewise.
18607 * grp/putgrent.c: Likewise.
18608 * hurd/fopenport.c: Likewise.
18609 * include/libc-symbols.h: Likewise.
18610 * include/tls.h: Likewise.
18611 * intl/gettextP.h: Likewise.
18612 * intl/loadinfo.h: Likewise.
18613 * locale/global-locale.c: Likewise.
18614 * locale/localeinfo.h: Likewise.
18615 * mach/devstream.c: Likewise.
18616 * malloc/arena.c: Likewise.
18617 * malloc/set-freeres.c: Likewise.
18618 * misc/err.c: Likewise.
18619 * misc/getttyent.c: Likewise.
18620 * misc/mntent_r.c: Likewise.
18621 * posix/getopt.c: Likewise.
18622 * posix/wordexp.c: Likewise.
18623 * pwd/fgetpwent_r.c: Likewise.
18624 * resolv/Versions: Likewise.
18625 * resolv/res_hconf.c: Likewise.
18626 * shadow/fgetspent_r.c: Likewise.
18627 * shadow/putspent.c: Likewise.
18628 * stdio-common/printf_fphex.c: Likewise.
18629 * stdio-common/tmpfile.c: Likewise.
18630 * stdlib/abort.c: Likewise.
18631 * stdlib/fmtmsg.c: Likewise.
18632 * sunrpc/auth_unix.c: Likewise.
18633 * sunrpc/clnt_perr.c: Likewise.
18634 * sunrpc/clnt_tcp.c: Likewise.
18635 * sunrpc/clnt_udp.c: Likewise.
18636 * sunrpc/clnt_unix.c: Likewise.
18637 * sunrpc/openchild.c: Likewise.
18638 * sunrpc/svc_simple.c: Likewise.
18639 * sunrpc/svc_tcp.c: Likewise.
18640 * sunrpc/svc_udp.c: Likewise.
18641 * sunrpc/svc_unix.c: Likewise.
18642 * sunrpc/xdr.c: Likewise.
18643 * sunrpc/xdr_array.c: Likewise.
18644 * sunrpc/xdr_rec.c: Likewise.
18645 * sunrpc/xdr_ref.c: Likewise.
18646 * sunrpc/xdr_stdio.c: Likewise.
18647
18648 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18649
18650 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18651
18652 2011-07-03 Andreas Jaeger <aj@suse.de>
18653
18654 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18656 regenerate with gen-libm-tests.pl.
18657
18658 2010-05-12 Petr Baudis <pasky@suse.cz>
18659
18660 [BZ #11589]
18661 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18662 around j0() zero points by switching to j1().
18663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18666 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18667
18668 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18669
18670 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18671 instead of 0.
18672 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18673 instead of 0. .
18674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18675 Patch in part by Pavel Roskin <proski@gnu.org>.
18676
18677 [BZ #13138]
18678 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18679 realloc.
18680 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18681 Free memory block if necessary.
18682
18683 [BZ #12847]
18684 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18685 be NULL. Don't lock in this case.
18686
18687 2011-09-09 Roland McGrath <roland@hack.frob.com>
18688
18689 * elf/elf.h (ELFOSABI_GNU): New macro.
18690 (ELFOSABI_LINUX): Define to that.
18691
18692 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18693
18694 * string/strncat.c (strncat): Undef the symbol in case it has been
18695 defined in bits/string.h.
18696
18697 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18698
18699 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18700
18701 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18702 link map.
18703
18704 2011-08-17 Andreas Jaeger <aj@suse.de>
18705
18706 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18707
18708 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18709 Ian Lance Taylor <iant@google.com>
18710
18711 * math/libm-test.inc (lround_test): New testcase.
18712 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18713
18714 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18715
18716 * Makefile: Remove support for automatic cvs check-ins.
18717 * Makerules: Likewise.
18718 * config.make.in: Likewise.
18719 * configure.in: Likewise.
18720 * intl/Makefile: Likewise.
18721 * locale/Makefile: Likewise.
18722 * po/Makefile: Likewise.
18723 * posix/Makefile: Likewise.
18724 * sysdeps/gnu/Makefile: Likewise.
18725 * sysdeps/mach/hurd/Makefile: Likewise.
18726 * sysdeps/sparc/sparc32/Makefile: Likewise.
18727
18728 [BZ #13118]
18729 * posix/Makefile (bug-regex32-ENV): Define.
18730 Patch by John Stanley <jpsinthemix@verizon.net>.
18731
18732 * misc/Makefile (headers): Add bits/select2.h.
18733 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18734 * misc/bits/select2.h: New file.
18735 * include/bits/select2.h: New file.
18736 * debug/Makefile (routines): Add fdelt_chk.
18737 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18738 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18739 FD_ISSET.
18740 * debug/fdelt_chk.c: New file.
18741
18742 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18743 * wcsmbs/test-wmemcmp.c: Likewise.
18744 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18745 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18746
18747 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18748
18749 * string/Makefile (strop-tests): Add memcmp.
18750 * string/test-wmemcmp.c: New file.
18751 * string/test-memcmp.c: Add wmemcmp support.
18752
18753 2011-09-08 Roland McGrath <roland@hack.frob.com>
18754
18755 [BZ #13153]
18756 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18757 2011-07-19 change.
18758
18759 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18760 garbage value in a __mach_port_mod_refs call in the cases of the
18761 task-self and thread-self ports.
18762
18763 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18764
18765 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18766
18767 2011-09-08 Andreas Schwab <schwab@redhat.com>
18768
18769 * elf/dl-load.c (lose): Check for non-null L.
18770
18771 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18772
18773 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18774
18775 * elf/dl-libc.c (dlerror_run): Pass back error code from
18776 dl_catch_error.
18777
18778 [BZ #13123]
18779 * elf/dl-load.c (lose): Free l_origin if it is valid.
18780
18781 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18782 names.
18783 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18784 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18785 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18786 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18787 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18788 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18789
18790 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18791
18792 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18793 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18794 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18795 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18796 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18797 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18798 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18799 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18800 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18801 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18802
18803 2011-08-15 Alan Modra <amodra@gmail.com>
18804
18805 [BZ #13092]
18806 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18807 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18808 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18809 ppc_mcount to static-only-routines.
18810 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18811 __mcount_internal.
18812 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18813 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18814
18815 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18816
18817 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18818 for finite and infinity parameters.
18819
18820 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18821
18822 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18823 and add nop instructions for throughput optimization.
18824 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18825
18826 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18827
18828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18829 aligned copy for power7 with vector-scalar instructions.
18830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18831
18832 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18833
18834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18835 AVX check.
18836
18837 2011-09-07 Andreas Schwab <schwab@redhat.com>
18838
18839 [BZ #13144]
18840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18841 last change.
18842
18843 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18844
18845 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18846 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18847 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18848 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18849 clock_gettime.
18850
18851 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18852
18853 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18854 Forgot to demangle the pointer.
18855
18856 * sysdeps/i386/sysdep.h: Define atom_text_section.
18857 * sysdeps/x86_64/sysdep.h: Likewise.
18858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18859 section with atom_text_section.
18860 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18861 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18862 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18864 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18865
18866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18867 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18868 already be defined. Change to take two parameters and don't assign
18869 result to variable. Adjust all users.
18870 Define INTERNAL_GETTIME if not already defined.
18871 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18872 call.
18873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18874 HAVE_CLOCK_GETTIME_VSYSCALL.
18875 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18876
18877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18878 gettimeofday vsyscall, just use time.
18879
18880 2011-09-06 Andreas Schwab <schwab@redhat.com>
18881
18882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18883 <errno.h>.
18884
18885 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18886
18887 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18888 syscall on x86-64.
18889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18890 syscall.
18891 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18893 syscall if possible.
18894
18895 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18896
18897 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18898 e_ident. Don't pass to find_mapsXX.
18899 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18900
18901 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18902
18903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18904 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18905 * sysdeps/x86_64/multiarch/strchr.S: Update.
18906 Check bit_slow_BSF bit.
18907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18908 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18909 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18910
18911 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18912
18913 [BZ #13134]
18914 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18915 before glibc 2.15.
18916 (tryshell): Define.
18917 (__spawni): Change last parameter to be flag. Test
18918 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18919 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18920 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18921 * posix/spawni.c: Likewise.
18922 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18923 * posix/spawnp.c: Likewise. Change normal version to use
18924 SPAWN_XFLAGS_USE_PATH.
18925 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18926 SPAWN_XFLAGS_TRY_SHELL.
18927
18928 [BZ #13150]
18929 * posix/glob.h: Remove gcc 1.x support.
18930
18931 [BZ #13068]
18932 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18933
18934 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18935
18936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18937 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18938 strrchr-sse2-bsf
18939 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18940 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18941 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18942 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18945
18946 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18947
18948 * sysdeps/x86_64/wcscmp.S: New file.
18949
18950 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18951 wcscmp-c wcscmp-sse2
18952 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18953 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18954 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18955 * wcsmbs/wcscmp.c: Allow renaming.
18956
18957 2011-09-05 David S. Miller <davem@davemloft.net>
18958
18959 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18960 stack slot, rather than the struct return pointer slot.
18961 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18962 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18964 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18965
18966 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18967
18968 * po/ja.po: Update from translation team.
18969
18970 [BZ #13144]
18971 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18972 kernel in 64-bit binaries.
18973
18974 2011-09-01 David S. Miller <davem@davemloft.net>
18975
18976 * elf/elf.h (HWCAP_SPARC_*): Move to..
18977 * sysdeps/sparc/sysdep.h: this new file and add new values.
18978 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18979 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18980 _DL_HWCAP_COUNT to 24.
18981 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18982 entries.
18983 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18984 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18985 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18987 instead of magic constants.
18988 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18989
18990 2011-08-31 David S. Miller <davem@davemloft.net>
18991
18992 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18994 Reimplement to do errno handling inline.
18995 (SYSCALL_ERROR_HANDLER): New macro.
18996 (__SYSCALL_STRING): Do not do errno handling in asm.
18997 (__CLONE_SYSCALL_STRING): Delete.
18998 (__INTERNAL_SYSCALL_STRING): Delete.
18999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19000 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19001 (PSEUDO): Reimplement to do errno handling inline.
19002 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19003 (SYSCALL_ERROR_HANDLER): New macro.
19004 (__SYSCALL_STRING): Do not do errno handling in asm.
19005 (__CLONE_SYSCALL_STRING): Delete.
19006 (__INTERNAL_SYSCALL_STRING): Delete.
19007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19008 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19009 i386.
19010 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19011 (inline_syscall*): Add 'err' argument.
19012 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19013 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19014 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19015 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19016
19017 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19018 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19019
19020 2011-08-30 Andreas Schwab <schwab@redhat.com>
19021
19022 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19023
19024 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19025
19026 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19027 directive.
19028
19029 2011-08-24 David S. Miller <davem@davemloft.net>
19030
19031 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19032
19033 2011-08-24 Andreas Schwab <schwab@redhat.com>
19034
19035 * elf/Makefile: Add rules to build and run unload8 test.
19036 * elf/unload8.c: New file.
19037 * elf/unload8mod1.c: New file.
19038 * elf/unload8mod1x.c: New file.
19039 * elf/unload8mod2.c: New file.
19040 * elf/unload8mod3.c: New file.
19041
19042 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19043 it wasn't used.
19044
19045 2011-08-23 David S. Miller <davem@davemloft.net>
19046
19047 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19048 subtract stack bias.
19049 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19050 %sp not %fp in calculations.
19051 (_JMPBUF_UNWINDS_ADJ): Likewise.
19052
19053 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19054 (aio_suspend): Call it to force an exception region around the
19055 AIO_MISC_WAIT() invocation.
19056
19057 2011-08-23 Andreas Schwab <schwab@redhat.com>
19058
19059 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19060 backslash.
19061
19062 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19063
19064 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19065 protection macro.
19066 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19067 and <dl-machine.h>.
19068 (Elf64_FuncDesc): Remove.
19069
19070 2011-08-22 David S. Miller <davem@davemloft.net>
19071
19072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19073 sigaltstack check, add missing cfi directives.
19074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19075 missing cfi directives, and sigaltstack handling.
19076
19077 2011-08-16 Andreas Schwab <schwab@redhat.com>
19078
19079 [BZ #11724]
19080 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19081 object is seen twice.
19082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19083
19084 * elf/Makefile (distribute): Add tst-initorder2.c.
19085 (tests): Add tst-initorder2.
19086 (modules-names): Add tst-initorder2a tst-initorder2b
19087 tst-initorder2c tst-initorder2d. Add rules to build them.
19088 ($(objpfx)tst-initorder2.out): New rule.
19089 * elf/tst-initorder2.c: New file.
19090 * elf/tst-initorder2.exp: New file.
19091
19092 2011-08-22 Andreas Schwab <schwab@redhat.com>
19093
19094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19095
19096 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19097 dependencies back to end of function.
19098
19099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19100 $(elfobjdir)/ld.so.
19101
19102 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19103
19104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19105 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19107 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19108 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19109 of __vdso_gettimeofday.
19110 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19111 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19112 attribute_hidden.
19113 (_libc_vdso_platform_setup): Remove initialization of
19114 __vdso_gettimeofday and __vdso_time.
19115
19116 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19117
19118 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19119 and fgetc_unlocked.
19120 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19121 getc_unlocked.
19122
19123 * elf/dl-open.c (add_to_global): Report additions to the global scope
19124 for LD_DEBUG=scopes.
19125 (dl_open_worker): Also print scope of newly loaded dependencies.
19126 (_dl_show_scope): Indicate if there is no scope.
19127
19128 [BZ #13114]
19129 * stdio-common/Makefile (tests): Add bug24.
19130 * stdio-common/bug24.c: New file.
19131
19132 2011-08-19 Andreas Jaeger <aj@suse.de>
19133
19134 [BZ #13114]
19135 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19136 non-existant file when using close-on-exec mode.
19137
19138 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19139
19140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19141 the very first instruction.
19142
19143 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19144 the CFI state in the end.
19145 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19146 inclusion of dl-trampoline.h.
19147 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19148
19149 2011-08-19 Andreas Schwab <schwab@redhat.com>
19150
19151 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19152 expectations for long double.
19153
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19155 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19156
19157 2011-08-14 David S. Miller <davem@davemloft.net>
19158
19159 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19160 artificual limit depends upon the system page size.
19161
19162 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19163
19164 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19165 * resolv/Makefile: Define CFLAGS-libresolv.
19166
19167 2011-08-17 Andreas Schwab <schwab@redhat.com>
19168
19169 * nss/makedb.c (compute_tables): Make variables used in nested
19170 function static.
19171
19172 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19173
19174 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19175 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19176 if buffer was too small.
19177
19178 * elf/pldd.c (main): Attach to all threads in the process.
19179 Rewrite /proc handling to use *at functions.
19180
19181 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19182
19183 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19184 specifies first scope to show.
19185 (dl_open_worker): Update callers. Move printing scope of new
19186 object to before the relocation.
19187 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19188 * sysdeps/generic/ldsodefs.h: Update declaration.
19189
19190 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19191 string for the scope number.
19192
19193 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19194
19195 * nscd/servicescache.c (cache_addserv): Make sure written is always
19196 initialized.
19197
19198 2011-08-14 Roland McGrath <roland@hack.frob.com>
19199
19200 * sysdeps/i386/i486/bits/atomic.h
19201 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19202 statement expression, so as to suppress "set but not used" warning.
19203 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19204
19205 * string/strncat.c (STRNCAT): Use prototype definition.
19206
19207 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19208 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19209 -Iprograms here.
19210 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19211 (localedef-modules): Add localedef.
19212 (locale-modules): Add locale.
19213
19214 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19215 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19216 to avoid a warning.
19217
19218 2011-08-14 David S. Miller <davem@davemloft.net>
19219
19220 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19221 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19222
19223 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19224
19225 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19226 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19227 * elf/rtld.c (dl_main): Set l_name of vDSO.
19228 Call _dl_show_scope when DL_DEBUG_SCOPES.
19229 (process_dl_debug): Recognize scopes flag and also set it for all.
19230 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19231 Declare _dl_show_scope.
19232
19233 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19234 (do_dlopen): Pass caller_dlopen to dl_open.
19235 (__libc_dlopen_mode): Initialize caller_dlopen.
19236
19237 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19238 of libc. Make tolower call locale-independent. Optimize a bit by
19239 using isdigit instead of isalnum.
19240 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19241
19242 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19243
19244 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19245 was a dependency or dynamically loaded.
19246
19247 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19248
19249 * intl/l10nflist.c: Allow architecture-specific pop function.
19250 * sysdeps/x86_64/l10nflist.c: New file.
19251
19252 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19253 classification.
19254
19255 2011-08-10 Andreas Schwab <schwab@redhat.com>
19256
19257 * include/dirent.h: Add libc_hidden_proto for scandirat and
19258 scandirat64. Don't declare __scandirat64.
19259 * dirent/scandirat.c: Add libc_hidden_def.
19260 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19261 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19262
19263 2011-08-10 David S. Miller <davem@davemloft.net>
19264
19265 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19266 enum.
19267 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19270
19271 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19272
19273 * Versions.def [libc]: Add GLIBC_2.15.
19274 * dirent/Makefile (routines): Add scandirat and scandirat64.
19275 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19276 GLIBC_2.15.
19277 * dirent/dirent.h: Declare scandirat and scandirat64.
19278 * dirent/scandirat.c: New file.
19279 * dirent/scandirat64.c: New file.
19280 * sysdeps/wordsize-64/scandirat.c: New file.
19281 * sysdeps/wordsize-64/scandirat64.c: New file.
19282 * dirent/opendir.c: Define opendirat.
19283 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19284 using scandirat.
19285 * dirent/scandir64.c: Adjust for scandir.c change.
19286 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19287 __scandirat64, and __scandir_cancel_handler.
19288 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19289 additional parameter and use openat instead of open (outside of ld.so).
19290 Add new __opendir as wrapper around __opendirat.
19291 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19292 here without requiring old scandirat implementation.
19293
19294 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19295
19296 * dirent/scandir.c (cancel_handler): Renamed to
19297 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19298 defined. Adjust users.
19299 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19301
19302 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19303
19304 * string/test-string.h (IMPL): Use __STRING to expand name and then
19305 stringify it.
19306
19307 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19308 of cleanups.
19309
19310 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19311
19312 * string/Makefile: Update.
19313 (strop-tests): Append strncat.
19314 * string/test-wcscmp.c: New file.
19315 New comprehensive test for wcscmp.
19316 * string/test-strcmp.c: Update.
19317 (WIDE): New define.
19318
19319 2011-07-22 Andreas Schwab <schwab@redhat.com>
19320
19321 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19322 line.
19323
19324 2011-07-26 Andreas Schwab <schwab@redhat.com>
19325
19326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19327 encoding to ACE if AI_IDN.
19328
19329 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19330
19331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19332 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19333
19334 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19335
19336 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19337 Fix overflow bug in strncat.
19338 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19339
19340 * string/test-strncat.c: Update.
19341 Add new tests for checking overflow bugs.
19342
19343 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19344
19345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19346 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19347 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19348 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19349 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19350 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19351 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19352 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19353 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19354
19355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19356 (USE_AS_STRCAT): Define.
19357 Add strcat and strncat support.
19358 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19359
19360 2011-07-25 Andreas Schwab <schwab@redhat.com>
19361
19362 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19363 __n bigger than INT_MAX+1.
19364 (__strncmp_g): Likewise.
19365
19366 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19367
19368 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19369 * libio/stido.h: Likewise.
19370
19371 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19372 (AF_NFC): Define.
19373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19374 (AF_NFC): Define.
19375
19376 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19377 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19379 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19381
19382 [BZ #13021]
19383 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19384 installed.
19385
19386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19387 typo.
19388 (_dl_x86_64_save_sse): Likewise.
19389
19390 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19391
19392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19393 OSXSAVE.
19394 (_dl_x86_64_save_sse): Likewise.
19395
19396 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19397
19398 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19399
19400 2011-07-21 Andreas Schwab <schwab@redhat.com>
19401
19402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19403 change.
19404 (_dl_x86_64_save_sse): Use correct AVX check.
19405
19406 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19407
19408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19409 bug in strncpy/strncat.
19410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19411
19412 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19413
19414 * string/tester.c (test_strcat): Add tests for different alignments
19415 of source and destination.
19416 (test_strncat): Likewise.
19417
19418 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19419
19420 [BZ #12852]
19421 * posix/glob.c (glob): Check passed in values before using them in
19422 expressions to avoid some overflows.
19423 (glob_in_dir): Likewise.
19424
19425 [BZ #13007]
19426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19427 check for AVX enablement so that we don't crash with old kernels and
19428 new hardware.
19429 * elf/tst-audit4.c: Add same checks here.
19430 * elf/tst-audit6.c: Likewise.
19431
19432 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19433
19434 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19435
19436 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19437
19438 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19439
19440 * po/cs.po: Update from translation team.
19441 * po/bg.po: Likewise.
19442
19443 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19444
19445 * misc/sys/cdefs.h: Add support for const attribute.
19446 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19447 to gnu_dev_{major,minor,makedev} functions.
19448
19449 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19450
19451 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19452
19453 2011-07-20 Andreas Schwab <schwab@redhat.com>
19454
19455 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19456 strlen results.
19457
19458 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19459
19460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19461 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19462 register in order to avoid conflicts with the soft frame pointer
19463 being held in r11 when necessary.
19464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19465 (INTERNAL_VSYSCALL_NCS): Likewise.
19466
19467 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19468
19469 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19470 * elf/dl-fini.c (_dl_fini): Adjust caller.
19471 * elf/dl-close.c (_dl_close_worker): Likewise.
19472 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19473
19474 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19475
19476 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19477 "aux_cache->nlibs < 0".
19478
19479 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19480 in the reload-count case.
19481
19482 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19483
19484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19485 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19486 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19487 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19488 * sysdeps/x86_64/multiarch/strcat.S: New file.
19489 * sysdeps/x86_64/multiarch/strncat.S: New file.
19490 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19491 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19492 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19493 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19494 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19495 (USE_AS_STRCAT): Define.
19496 Add strcat and strncat support.
19497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19499 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19500 * string/strncat.c: Update.
19501 (USE_AS_STRNCAT): Define.
19502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19503 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19504 and i7.
19505 * sysdeps/x86_64/multiarch/init-arch.h
19506 (bit_Prefer_PMINUB_for_stringop): New.
19507 (index_Prefer_PMINUB_for_stringop): Likewise.
19508 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19509 bit_Prefer_PMINUB_for_stringop.
19510
19511 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19512
19513 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19514 buffer64.
19515 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19516 of casting of buffer.
19517 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19518 buffer32 and buffer64.
19519 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19520 writes instead of casting of buffer.
19521 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19522 buffer32.
19523 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19524 casting of buffer.
19525
19526 2011-07-19 Andreas Schwab <schwab@redhat.com>
19527
19528 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19529
19530 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19531
19532 * nscd/nscd.c (termination_handler): Don't do anything for a database
19533 if it has not yet been initialized.
19534
19535 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19536
19537 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19538
19539 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19540
19541 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19542
19543 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19544
19545 * po/nl.po: Update from translation team.
19546 * po/sv.po: Likewise.
19547
19548 2011-07-16 Roland McGrath <roland@hack.frob.com>
19549
19550 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19551 now disallowed by GCC.
19552
19553 * configure.in (use-default-link): Default to yes if a test -shared
19554 link meets our qualifications.
19555 * configure: Regenerated.
19556
19557 * config.make.in (output-format): New variable.
19558 * configure.in: Check for ld --print-output-format support.
19559 * configure: Regenerated.
19560 * Makerules ($(common-objpfx)format.lds)
19561 [$(output-format) != unknown]: Just use $(output-format),
19562 instead of the linker-script munging.
19563
19564 2011-07-14 Roland McGrath <roland@hack.frob.com>
19565
19566 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19567 of $(common-objpfx)shlib.lds.
19568 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19569
19570 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19571 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19572
19573 * configure.in (-z relro check): Adjust test code to add a large
19574 writable data section after it.
19575 * configure: Regenerated.
19576
19577 2011-07-11 Roland McGrath <roland@hack.frob.com>
19578
19579 * configure.in (-z relro check): Fix test code to make the variable
19580 truly const.
19581 * configure: Regenerated.
19582
19583 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19584
19585 * nscd/nscd.h (struct traced_file): Define.
19586 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19587 elements. Add traced_files.
19588 (inotify_fd): Declare.
19589 (register_traced_file): Declare.
19590 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19591 (inotify_fd): Export.
19592 (resolv_conf_descr): Remove.
19593 (nscd_init): Move inotify descriptor creation to main.
19594 Don't register files for notification here.
19595 (register_traced_file): New function.
19596 (invalidate_cache): Don't use reset_res to determine whether to call
19597 res_init, go through the list of registered files.
19598 (main_loop_poll): The inotify descriptors are now stored in the
19599 structures for the traced files.
19600 (main_loop_epoll): Likewise
19601 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19602 to __nss_disable_nscd.
19603 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19604 for a database anymore. Check the records for all the registered
19605 files instead.
19606 * nss/Makefile (libnss_files-routines): Add files-init.
19607 (libnss_db-routines): Add db-init.
19608 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19609 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19610 * nss/nss_db/db-init.c: New file.
19611 * nss/nss_files/files-init.c: New file.
19612 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19613 __nss_lookup_function.
19614 (__nss_lookup_function): Call nss_load_library.
19615 (nss_load_all_libraries): New function.
19616 (__nss_disable_nscd): Take parameter with callback function for files
19617 to register. Set is_nscd. Load all the DSOs for the NSS modules
19618 used for the cached services.
19619 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19620 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19621 options for features to all the files in nscd.
19622
19623 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19624
19625 2011-07-10 Roland McGrath <roland@hack.frob.com>
19626
19627 * csu/elf-init.c (__libc_csu_init): Comment typo.
19628
19629 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19630
19631 * po/pl.po: Update from translation team.
19632 * po/ja.po: Likewise.
19633 * po/ru.po: Likewise.
19634 * po/ko.po: Likewise.
19635 * po/fr.po: Likewise.
19636
19637 2011-07-09 Roland McGrath <roland@hack.frob.com>
19638
19639 * configure.in (.ctors/.dtors header and trailer check):
19640 Use an empirical test on a built program.
19641 * configure: Regenerated.
19642
19643 * configure.in (-z relro check): Use an empirical test on a built DSO.
19644 Detect, but do not require, on ia64.
19645 * configure: Regenerated.
19646
19647 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19648 Update tests that use readelf to use $READELF instead.
19649 * configure: Regenerated.
19650
19651 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19652
19653 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19654 if the result is not used.
19655
19656 2011-07-05 Andreas Jaeger <aj@suse.de>
19657
19658 [BZ#9696]
19659 * stdlib/tst-strtod.c: Add testcase.
19660
19661 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19662
19663 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19664 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19665 The latter has a higher limit. Take additional parameter to pass to
19666 the new function.
19667 (__pathconf): Pass file to __statfs_link_max.
19668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19669 __statfs_link_max.
19670 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19671 __statfs_link_max.
19672
19673 [BZ #12868]
19674 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19675 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19676 Handle Lustre.
19677 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19678 (__statfs_filesize_max): Likewise.
19679 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19680
19681 2011-07-05 Andreas Jaeger <aj@suse.de>
19682
19683 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19684
19685 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19686
19687 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19688 `status' variable.
19689 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19690 Likewise.
19691
19692 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19693
19694 * Makefile (strop-tests): Add strncat.
19695 * string/test-strncat.c: New file.
19696
19697 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19698
19699 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19700
19701 2011-06-21 Andreas Jaeger <aj@suse.de>
19702
19703 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19704 Copy rule from iconvdata/Makefile.
19705
19706 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19707
19708 [BZ #12922]
19709 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19710 but no long options are defined, just return 'W'.
19711
19712 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19713
19714 [BZ #9696]
19715 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19716
19717 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19718
19719 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19720 netgroups to read.
19721 (innetgr): Likewise.
19722
19723 2011-07-05 Roland McGrath <roland@hack.frob.com>
19724
19725 * config.make.in (install_root): Default to $(DESTDIR).
19726
19727 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19728
19729 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19730
19731 2011-07-02 Roland McGrath <roland@hack.frob.com>
19732
19733 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19734
19735 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19736 containing directory rather than embedding absolute directory names.
19737
19738 * scripts/check-local-headers.sh: Rewritten using awk.
19739 Match by word, not by line. Print error messages for matches.
19740 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19741
19742 * Makerules [shlib-lds-flags empty]:
19743 ($(common-objpfx)libc_pic.opts): New target.
19744 ($(common-objpfx)libc_pic.os.clean): New target.
19745 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19746
19747 * config.make.in (OBJCOPY): New variable.
19748 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19749 * configure: Regenerated.
19750
19751 * config.make.in (use-default-link): New variable.
19752 * configure.in (use_default_link): Grok --with-default-link to set it.
19753 * configure: Regenerated.
19754 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19755 (shlib-lds, shlib-lds-flags): Define to empty.
19756
19757 * Makerules (shlib-lds): New variable.
19758 (shlib-lds-flags): New variable.
19759 (build-shlib, build-moduile, build-module-asneeded): Use it.
19760 ($(common-objpfx)libc.so): Use $(shlib-lds).
19761 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19762 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19763
19764 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19765 DT_FLAGS/DT_FLAGS_1 with zero flags.
19766
19767 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19768 linker script munging.
19769
19770 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19771
19772 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19773 as 128-bit value.
19774 * crypt/sha512.c (sha512_process_block): Perform total addition using
19775 128-bit if possible.
19776 (__sha512_finish_ctx): Likewise.
19777 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19778 as 64-bit value.
19779 * crypt/sha256.c (SWAP64): Define.
19780 (sha256_process_block): Perform total addition using 64-bit if
19781 possible.
19782 (__sha256_finish_ctx): Likewise.
19783
19784 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19785
19786 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19788 * nscd/hstcache.c (cache_addhst): Likewise.
19789 * nscd/grpcache.c (cache_addgr): Likewise.
19790 * nscd/aicache.c (addhstaiX): Likewise
19791 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19792
19793 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19794
19795 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19797 * nscd/hstcache.c (cache_addhst): Likewise.
19798 * nscd/grpcache.c (cache_addgr): Likewise.
19799 * nscd/aicache.c (addhstaiX): Likewise
19800
19801 2011-07-01 Andreas Schwab <schwab@redhat.com>
19802
19803 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19804 domain only when needed.
19805
19806 2011-06-30 Andreas Schwab <schwab@redhat.com>
19807
19808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19809 is always restored.
19810
19811 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19812
19813 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19814 are re-adding the entry.
19815 * nscd/servicescache.c (cache_addserv): Likewise.
19816
19817 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19818
19819 * sysdeps/generic/dl-irel.h: fix protection against multiple
19820 inclusions.
19821 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19822
19823 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19824
19825 [BZ #12935]
19826 * malloc/memusage.sh: Fix quoting in message.
19827 * debug/xtrace.sh: Likewise.
19828
19829 * configure.in: Remove support for --experimental-malloc option, make
19830 it the default.
19831 * config.make.in: Likewise.
19832 * malloc/Makefile: Likewise.
19833
19834 2011-06-27 Andreas Schwab <schwab@redhat.com>
19835
19836 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19837 two-byte characters.
19838
19839 2011-06-27 Roland McGrath <roland@hack.frob.com>
19840
19841 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19842 AC_CACHE_CHECK invocation.
19843 * configure: Regenerated.
19844
19845 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19846
19847 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19848
19849 [BZ #12350]
19850 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19851 bit from old_res_options.
19852
19853 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19854
19855 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19856 value type for setfct.
19857
19858 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19859
19860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19861 __gettimeofday instead of gettimeofday.
19862
19863 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19864
19865 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19866
19867 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19870
19871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19872 info.
19873
19874 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19875
19876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19877 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19878 strcpy-sse2-unaligned strncpy-sse2-unaligned
19879 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19880 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19881 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19882 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19883 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19886 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19887 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19888 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19889 (STRCPY): Support SSE2 and SSSE3 versions.
19890
19891 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19892
19893 [BZ #12874]
19894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19895 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19896 kernels which artificially limit size of requests.
19897
19898 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19899
19900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19901 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19902 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19903 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19904 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19905 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19906 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19907 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19908 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19910 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19911 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19912 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19913 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19914 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19916 Enable unaligned load optimization for Intel Core i3, i5 and i7
19917 processors.
19918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19919 Define.
19920 (index_Fast_Unaligned_Load): Define.
19921 (HAS_FAST_UNALIGNED_LOAD): Define.
19922
19923 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19924
19925 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19926
19927 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19928
19929 [BZ #12907]
19930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19931 until it is clear that the information is realy needed.
19932 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19933
19934 2011-06-22 Andreas Schwab <schwab@redhat.com>
19935
19936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19937
19938 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19939
19940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19941 /sys/devices/system/cpu/online if it is usable.
19942
19943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19944 reading the information from the /proc filesystem to once a second.
19945
19946 2011-06-21 Andreas Jaeger <aj@suse.de>
19947
19948 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19949 NULL after inclusion of kernel headers.
19950
19951 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19952
19953 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19954 calls to internal_setent.
19955
19956 [BZ #12885]
19957 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19958 addresses using gethostbyname4_r ignore IPv4 addresses.
19959
19960 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19961 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19962
19963 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19964
19965 2011-06-20 David S. Miller <davem@davemloft.net>
19966
19967 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19968 inclusions.
19969 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19970
19971 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19972 (elf_irel): Use it.
19973 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19974 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19975 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19976 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19977 * sysdeps/x86_64/dl-irel.h: Likewise.
19978
19979 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19980 * elf/dl-sym.c: Likewise.
19981
19982 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19983
19984 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19985 need to dereference resplen2.
19986
19987 2011-06-14 Andreas Schwab <schwab@redhat.com>
19988
19989 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19990
19991 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19992
19993 * Makeconfig: Define vardbdir and inst_vardbdir.
19994 * nss/Makefile: Add rules to install db-Makefile.
19995
19996 * nss/nss_db/db-XXX.c: Cleanup.
19997
19998 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19999 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20000 GLIBC_PRIVATE.
20001 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20002 * nss/makedb.c: Implement -g option to specify that value strings
20003 are generated and should not be added to table iterated over for
20004 get*ent calls.
20005 * nss/nss_db/db-initgroups.c: New file.
20006
20007 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20008 interface.
20009
20010 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20011 (internal_getgrouplist): Adjust to name change.
20012 Update use_initgroups_entry if this is not the first call.
20013 * nss/databases.def: Add initgroups entry.
20014
20015 * nss/makedb.c (compute_tables): Check result of multiple hash table
20016 sizes to minimize maximum chain length.
20017
20018 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20019
20020 * Versions.def: Add entry for libnss_db.
20021 * shlib-versions: Likewise.
20022 * nss/Makefile: Add rules to build libnss_db.
20023 * nss/Versions: Add libnss_db information. Organize libnss_files
20024 entries better.
20025 * nss/db-Makefile: Add gshadow support. Change rules for the new
20026 makedb progra. Some minor improvements to generate smaller files.
20027 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20028 here from...
20029 * nss/makedb.c: ...here.
20030 Improve database format to be smaller and require less memory at
20031 runtime.
20032 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20033 db anymore.
20034 * nss/nss_db/db-netgrp.c: Likewise.
20035 * nss/nss_db/db-open.c: Likewise.
20036 * nss/nss_files/flies-XXX.x: Adjust comments.
20037 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20038 * nss/nss_files/files-grp.c: Likewise.
20039 * nss/nss_files/files-hosts.c: Likewise.
20040 * nss/nss_files/files-network.c: Likewise.
20041 * nss/nss_files/files-proto.c: Likewise.
20042 * nss/nss_files/files-pwd.c: Likewise.
20043 * nss/nss_files/files-rpc.c: Likewise.
20044 * nss/nss_files/files-service.c: Likewise.
20045 * nss/nss_files/files-sgrp.c: Likewise.
20046 * nss/nss_files/files-spwd.c: Likewise.
20047 * nss/nss_db/db-alias.c: Removed.
20048 * nss/nss_db/dummy-db.h: Removed.
20049
20050 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20051
20052 * nss/makedb.c: Rewritten to not use database library.
20053 * nss/Makefile: Update to build new makedb program.
20054
20055 2011-06-14 Andreas Jaeger <aj@suse.de>
20056
20057 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20058 memset declaration.
20059
20060 2011-06-10 Andreas Schwab <schwab@redhat.com>
20061
20062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20063 tmpbuf.
20064
20065 2011-06-10 Roland McGrath <roland@hack.frob.com>
20066
20067 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20068 * elf/Makefile ($(objpfx)ld.so): Likewise.
20069
20070 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20071 Don't list ld.so twice in dependencies.
20072
20073 * posix/bug-regex31.c: Include <stdlib.h>.
20074
20075 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20076
20077 * nis/nss_compat/compat-spwd.c
20078 (getspent_next_nss_netgr): Remove unused variable.
20079 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20080
20081 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20082 nonmembers" output to use the right array.
20083
20084 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20085
20086 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20087
20088 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20089 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20090 * catgets/gencat.c (read_input_file): Likewise.
20091 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20092
20093 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20094 variable definition inside #if's controlling its use.
20095
20096 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20097
20098 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20099
20100 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20101
20102 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20103 unreachable code.
20104
20105 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20106
20107 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20108 * configure: Regenerated.
20109
20110 * Makerules: Revert last change.
20111 * elf/Makefile: Likewise.
20112
20113 2011-06-09 Roland McGrath <roland@hack.frob.com>
20114
20115 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20116 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20117 (reloc-link): Likewise.
20118
20119 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20120
20121 * elf/Makefile: Add rules to build pldd.
20122 * elf/pldd.c: New file.
20123 * elf/pldd-xx.c: New file.
20124
20125 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20126
20127 * version.h: Update for 2.15 development version.
20128
20129 2011-06-07 David S. Miller <davem@davemloft.net>
20130
20131 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20132 ifuncs.
20133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20134 elf_machine_lazy_rel): Likewise.
20135 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20137 elf_machine_lazy_rel): Likewise.
20138 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20139 dl_hwcap via passed in argument.
20140 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20141 Likewise.
20142
20143 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20144
20145 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20146
20147 2011-06-06 Roland McGrath <roland@hack.frob.com>
20148
20149 [BZ #12849]
20150 * manual/fdl-1.1.texi: New file, verbatim from:
20151 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20152 * manual/lgpl-2.1.texi: New file, verbatim from:
20153 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20154 * manual/Makefile (licenses): New variable, list those new file names.
20155 (texis): Use it.
20156 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20157
20158 * manual/fdl.texi: File removed.
20159 * manual/lesser.texi: File removed.
20160 * manual/libc.texinfo (Copying, Documentation License):
20161 Use new @include file names, put @appendix directive before @include.
20162
20163 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20164
20165 [BZ #12841]
20166 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20167 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20168 (mq_open): Add __NTH.
20169
20170 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20171
20172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20173 Assume Intel Core i3/i5/i7 processor if AVX is available.
20174
20175 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20176
20177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20178 typo.
20179
20180 2011-05-31 Andreas Schwab <schwab@redhat.com>
20181
20182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20183 memory. Use alloca_account. Fix memory leak when retrying.
20184
20185 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20186
20187 * version.h (RELEASE): Bump for 2.14 release.
20188 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20189
20190 * config.make.in (RANLIB): Remove entry.
20191
20192 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20193
20194 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20195 (libc.pot): Work around missing support for .ksh extension in xgettext.
20196
20197 [BZ #12684]
20198 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20199 if both request failed.
20200 (send_dg): In case of server errors clear resplen or *resplen2.
20201
20202 [BZ #12454]
20203 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20204 when there are multiple maps.
20205 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20206 (_dl_fini): Remove test here.
20207
20208 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20209
20210 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20211
20212 [BZ #12350]
20213 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20214 bit from old_res_options.
20215 (gaih_inet): Likewise.
20216
20217 [BZ #11099]
20218 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20219 as signed.
20220
20221 * resolv/res_init.c (res_setoptions): Make the code more compact.
20222
20223 [BZ #11558]
20224 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20225 set RES_USEVC.
20226
20227 [BZ #11634]
20228 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20229
20230 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20231
20232 [BZ #11781]
20233 * malloc/malloc.h: Declare malloc hook variables as volatile.
20234
20235 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20236 in last patch.
20237
20238 [BZ #11799]
20239 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20240 raise in the comment.
20241 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20243 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20244
20245 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20246
20247 [BZ #12811]
20248 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20249 grow the buffers more if it already has to be sufficient.
20250 (build_wcs_upper_buffer): Likewise.
20251 * posix/regexec.c (check_matching): Likewise.
20252 (clean_state_log_if_needed): Likewise.
20253 (extend_buffers): Don't enlarge buffers beyond size of the input
20254 buffer.
20255 Patches mostly by Emil Wojak <emil@wojak.eu>.
20256 * posix/bug-regex32.c: New file.
20257 * posix/Makefile (tests): Add bug-regex32.
20258
20259 * locale/findlocale.c (_nl_find_locale): Return right away if
20260 _nl_explode_name failed.
20261 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20262
20263 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20264
20265 * debug/xtrace.sh: Unify messages.
20266 * malloc/memusage.sh: Likewise.
20267
20268 [BZ #12813]
20269 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20270 time symbol from vDSO. Substitute with vsyscall if not available.
20271 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20272 __vdso_time.
20273
20274 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20275 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20276 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20277 Add sendmmsg and internal_sendmmsg.
20278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20279 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20280 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20281
20282 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20283 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20284 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20285
20286 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20287
20288 [BZ #12813]
20289 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20290 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20291 available.
20292 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20293 __vdso_getcpu.
20294
20295 [BZ #12814]
20296 * iconvdata/Makefile (tests): Add bug-iconv9.
20297 * iconvdata/bug-iconv9.c: New file.
20298
20299 2011-05-27 Andreas Schwab <schwab@redhat.com>
20300
20301 [BZ #12814]
20302 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20303
20304 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20305
20306 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20307 (struct user_regs_struct): Change intcs field back to cs.
20308
20309 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20310
20311 * po/ja.po: Update from translation team.
20312
20313 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20314
20315 [BZ #12795]
20316 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20317 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20318
20319 2011-05-20 Andreas Schwab <schwab@redhat.com>
20320
20321 * stdlib/longlong.h: Update from GCC.
20322
20323 2011-05-23 Andreas Schwab <schwab@redhat.com>
20324
20325 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20326 parameter name.
20327 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20328 Add parameter name.
20329 (__sysconf): Pass it down.
20330
20331 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20332
20333 [BZ #12671]
20334 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20335 some situations.
20336 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20337 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20338 add in in __libc_use_alloca calls. Adjust callers.
20339 (glob): Use malloc in some situations.
20340
20341 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20342 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20343 pltexit.
20344
20345 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20346
20347 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20348 and CLOCK_BOOTTIME_ALARM.
20349
20350 [BZ #12782]
20351 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20352 is returned.
20353
20354 * string/_strerror.c (__strerror_r): Print negative errors as signed
20355 numbers.
20356
20357 [BZ #12777]
20358 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20359 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20360 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20361
20362 * configure.in: Fix typo in redirection and correct removal of test
20363 files in two cases.
20364
20365 [BZ #12788]
20366 * locale/setlocale.c (new_composite_name): Fix test to check for
20367 identical name of all categories.
20368
20369 [BZ #12792]
20370 * libio/filedoalloc.c (local_isatty): New function.
20371 (_IO_file_doallocate): Use local_isatty.
20372 * stdio-common/perror.c (perror): In case a new stream is used
20373 forward the stream error.
20374 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20375 error flag.
20376
20377 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20378
20379 [BZ #11869]
20380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20381 alloca.
20382 * include/alloca.h (extend_alloca_account): Define.
20383
20384 [BZ #11857]
20385 * posix/regex.h: Fix comments with documentation of user-accessible
20386 fields after compilation and describe correct free'ing of pattern
20387 after re_compile_pattern.
20388 Patch by Reuben Thomas <rrt@sc3d.org>.
20389
20390 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20391
20392 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20393 and -mno-altivec to prevent the compiler from using Altivec and/or
20394 VSX instructions when the corresponding registers are not available.
20395
20396 2011-05-19 Andreas Schwab <schwab@redhat.com>
20397
20398 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20399
20400 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20401
20402 * libio/freopen.c (freopen): Use __dup2, not dup2.
20403 * libio/freopen64.c (freopen64): Likewise.
20404
20405 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20406
20407 [BZ #12775]
20408 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20409 * math/Makefile (tests): Add test-powl.
20410 (CFLAGS-test-powl.c): Define.
20411 * math/test-powl.c: New file.
20412
20413 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20414
20415 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20416
20417 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20418
20419 [BZ #11837]
20420 * iconvdata/gb18030.c: Update to GB18020-2005.
20421
20422 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20423
20424 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20425 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20426 Patch by Aharon Robbins <arnold@skeeve.com>.
20427
20428 [BZ #11892]
20429 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20430 on the stack.
20431
20432 [BZ #11895]
20433 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20434 through underflows.
20435
20436 [BZ #12766]
20437 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20438 point to strings before performing equality test for error_one_per_line
20439 mode.
20440
20441 [BZ #11697]
20442 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20443
20444 [BZ #11820]
20445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20446 (struct user_fpregs_struct): Avoid __uint*_t types.
20447
20448 [BZ #6420]
20449 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20450 symbol info. Use it instead of calling _dl_addr locally.
20451 (lock_and_info): New function.
20452 (tr_freehook): Call lock_and_info and pass symbol info as additional
20453 parameter to tr_where.
20454 (tr_mallochook): Likewise.
20455 (tr_reallochook): Likewise.
20456 (tr_memalignhook): Likewise.
20457
20458 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20459 used and couldn't be at all thread-safe.
20460
20461 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20462
20463 * libio/freopen.c (freopen): Don't close old file descriptor
20464 before the new one is opened. Instead dup the new file descriptor
20465 to the old one after the new stream is created.
20466 * libio/freopen64.c (freopen64): Likewise.
20467 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20468 * libio/fileops.c (_IO_new_file_close_it): Handle new
20469 _IO_FLAGS2_NOCLOSE flag.
20470 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20471 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20472 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20473 _IO_FLAGS2_NOCLOSE flag.
20474 * include/unistd.h: Add hidden_proto for dup3.
20475 Define __have_dup3.
20476 * io/dup3.c: Define hidden symbol.
20477 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20478
20479 [BZ #7101]
20480 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20481 when an incomplete long option is used.
20482 * posix/tst-getopt_long1.c: New file.
20483 * posix/Makefile (tests): Add tst-getopt_long1.
20484
20485 [BZ #10138]
20486 * scripts/config.guess: Update from autoconf-2.68.
20487 * scripts/config.sub: Likewise.
20488
20489 [BZ #10157]
20490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20491 tests into ...
20492 (has_cpuclock): ...this. New function.
20493 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20494 macro here based on has_cpuclock code.
20495
20496 [BZ #10149]
20497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20498 First byte (not low byte) is now always NUL.
20499 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20500
20501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20502 Use non-cancelable interfaces.
20503
20504 [BZ #9809]
20505 * locale/iso-639.def: Add entry for Sorani.
20506
20507 [BZ #11901]
20508 * include/stdlib.h: Move include protection to the right place.
20509 Define abort_msg_s. Declare __abort_msg with it.
20510 * stdlib/abort.c (__abort_msg): Adjust type.
20511 * assert/assert.c (__assert_fail_base): New function. Majority
20512 of code from __assert_fail. Allocate memory for __abort_msg with
20513 mmap.
20514 (__assert_fail): Now call __assert_fail_base.
20515 * assert/assert-perr.c: Remove bulk of implementation. Use
20516 __assert_fail_base.
20517 * include/assert.hL Declare __assert_fail_base.
20518 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20519 mmap.
20520 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20521
20522 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20523
20524 [BZ #11952]
20525 [BZ #12453]
20526 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20527 until all modules are registered in the DTV.
20528 * elf/Makefile: Add rules to build and run tst-tls19.
20529 * elf/tst-tls19.c: New file.
20530 * elf/tst-tls19mod1.c: New file.
20531 * elf/tst-tls19mod2.c: New file.
20532 * elf/tst-tls19mod3.c: New file.
20533 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20534
20535 [BZ #12083]
20536 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20537 correctly.
20538
20539 [BZ #12601]
20540 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20541 two-byte sequence errors.
20542 * iconvdata/Makefile (tests): Add bug-iconv8.
20543 * iconvdata/bug-iconv8.c: New file.
20544
20545 [BZ #12626]
20546 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20547 buf2 definition.
20548
20549 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20550
20551 [BZ #12432]
20552 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20553 (dummy_getcfa): New function.
20554 (init): Get _Unwind_GetCFA address, use dummy if not found.
20555 (backtrace_helper): In recursion check, also check whether CFA changes.
20556 (__backtrace): Completely initialize arg.
20557
20558 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20559 storing incomplete byte sequence in state object. Avoid testing for
20560 guaranteed too small input if we know there is enough data available.
20561
20562 2011-05-11 Andreas Schwab <schwab@redhat.com>
20563
20564 * Makeconfig (+link-pie): Indent.
20565 * Rules (binaries-pie): Define if $(have-fpie) and
20566 $(build-shared).
20567 (binaries-shared): Also filter out $(binaries-pie).
20568 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20569 * nscd/Makefile (others-pie): Add nscd.
20570 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20571 ($(objpfx)nscd): Remove command override.
20572 * login/Makefile (others-pie): Add pt_chown.
20573 ($(objpfx)pt_chown): Remove command override.
20574 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20575 remove command overrides.
20576
20577 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20578
20579 * libio/tst_putwc.c: Fix error messages.
20580
20581 [BZ #12724]
20582 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20583 currently writing and seek to current position when not.
20584 * libio/Makefile (tests): Add bug-fclose1.
20585 * libio/bug-fclose1.c: New file.
20586
20587 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20588
20589 [BZ #12511]
20590 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20591 don't set DF_1_NODELETE here.
20592 (do_lookup_x): When entering new entry test for copy relocation
20593 and if necessary set DF_1_NODELETE flag.
20594 * elf/tst-unique4.cc: New file.
20595 * elf/tst-unique4.h: New file.
20596 * elf/tst-unique4lib.cc: New file.
20597 * elf/Makefile: Add rules to build and run tst-unique4.
20598 Patch by Piotr Bury <pbury@goahead.com>.
20599
20600 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20601
20602 [BZ #12052]
20603 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20604
20605 [BZ #12625]
20606 * misc/mntent_r.c (addmntent): Flush the stream after the output
20607
20608 [BZ #12393]
20609 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20610 (is_trusted_path_normalize): Skip initial colon. Append slash
20611 to empty buffer. Duplicate is_trusted_path code but allow
20612 constructed patch to be prefix.
20613 (is_dst): Allow $ORIGIN followed by /.
20614 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20615 Correct testing of result of is_trusted_path_normalize
20616 (decompose_rpath): Fix warning.
20617
20618 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20619
20620 [BZ #11257]
20621 * grp/initgroups.c (internal_getgrouplist): When we found the service
20622 list through the initgroups entry in nsswitch.conf do not always
20623 continue on a successful lookup. Don't always use the
20624 __nss_group_database value if it is set.
20625 * nss/nsswitch.conf (initgroups): Change action for successful db
20626 lookup to continue for compatibility.
20627
20628 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20629
20630 [BZ #11532]
20631 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20632 and CP774 modules.
20633 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20634 and CP774 modules.
20635 * iconvdata/tst-tables.sh: Likewise.
20636 * iconvdata/cp770.c: New file.
20637 * iconvdata/cp771.c: New file.
20638 * iconvdata/cp772.c: New file.
20639 * iconvdata/cp773.c: New file.
20640 * iconvdata/cp774.c: New file.
20641 * iconvdata/testdata/CP770: New file.
20642 * iconvdata/testdata/CP770..UTF8: New file.
20643 * iconvdata/testdata/CP771: New file.
20644 * iconvdata/testdata/CP771..UTF8: New file.
20645 * iconvdata/testdata/CP772: New file.
20646 * iconvdata/testdata/CP772..UTF8: New file.
20647 * iconvdata/testdata/CP773: New file.
20648 * iconvdata/testdata/CP773..UTF8: New file.
20649 * iconvdata/testdata/CP774: New file.
20650 * iconvdata/testdata/CP774..UTF8: New file.
20651
20652 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20653 END CHARMAP line.
20654 * iconvdata/gen-8bit-gap.sh: Likewise.
20655 * iconvdata/gen-8bit.sh: Likewise.
20656
20657 * locale/iso-639.def: Add ary entry.
20658
20659 [BZ #11258]
20660 * locale/C-translit.h.in: Add U20A1 transliteration.
20661
20662 [BZ #12178]
20663 * locale/iso-639.def: Add wae entry.
20664 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20665
20666 [BZ #12545]
20667 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20668 for n.
20669
20670 [BZ #12711]
20671 * locale/C-translit.h.in: Add entry for U20B9.
20672 Patch by pravin.d.s@gmail.com.
20673
20674 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20675
20676 [BZ #12713]
20677 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20678 ENAMETOOLONG use generic getcwd.
20679 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20680 in rtld. Use *stat64.
20681 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20682 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20683 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20684 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20685 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20686 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20687 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20688 __fstatat64 macros.
20689 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20690 * dirent/rewinddir.c: Add libc_hidden_def.
20691 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20692 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20693
20694 * include/dirent.h (__alloc_dir): Add flags parameter.
20695 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20696 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20697 __alloc_dir.
20698 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20699 from fdopendir if O_CLOEXEC is already set.
20700
20701 2011-03-15 Alan Modra <amodra@gmail.com>
20702
20703 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20704 l_tls_firstbyte_offset non-zero. Save padding offset in
20705 l_tls_firstbyte_offset for later use.
20706 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20707 freeing static tls block.
20708
20709 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20710
20711 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20712 where #ifdef was intended. The intent is to prevent ARG_MAX from
20713 being defined by the kernel headers.
20714
20715 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20716
20717 [BZ #12734]
20718 * resolv/resolv.h: Define RES_NOTLDQUERY.
20719 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20720 no-tld-query and set RES_NOTLDQUERY.
20721 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20722 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20723 modern BIND to search name as TLD unless forbidden.
20724
20725 2011-05-07 Petr Baudis <pasky@suse.cz>
20726 Ulrich Drepper <drepper@gmail.com>
20727
20728 [BZ #12393]
20729 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20730 (is_trusted_path): ...to here.
20731 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20732 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20733 using is_trusted_path_normalize() in setuid scripts.
20734
20735 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20736
20737 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20738 __BEGIN/__END_DECLS.
20739
20740 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20741
20742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20743 NSS_STATUS_NOTFOUND if no record was found.
20744
20745 2011-05-05 Andreas Schwab <schwab@redhat.com>
20746
20747 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20748 (headers-not-in-tirpc): Remove rpc/netdb.h
20749 * resolv/netdb.h: Revert last change.
20750
20751 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20752
20753 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20754 circular dependency between libgcc.a and libc.a.
20755
20756 2011-05-05 Andreas Schwab <schwab@redhat.com>
20757
20758 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20759 * nis/Makefile: Don't install rpcsvc/*.
20760 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20761 instead of <rpc/types.h>.
20762 (MAXHOSTNAMELEN): Define.
20763
20764 2011-05-03 Andreas Schwab <schwab@redhat.com>
20765
20766 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20767
20768 2011-04-28 Maciej Babinski <mbabinski@google.com>
20769
20770 [BZ #12714]
20771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20772 gethostbyname4_r when IPv6 results are possible.
20773
20774 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20775
20776 [BZ #12723]
20777 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20778 _PC_PIPE_BUF handling.
20779
20780 2011-04-30 Bruno Haible <bruno@clisp.org>
20781
20782 [BZ #12717]
20783 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20784 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20785 to 'int'.
20786 * inet/getnameinfo.c (getnameinfo): Likewise.
20787
20788 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20789
20790 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20791 to groups setting in database lookup.
20792 * nss/nsswitch.conf: Add initgroups entry.
20793
20794 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20795
20796 [BZ #12685]
20797 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20798 mode string.
20799 Patch by Eric Blake <eblake@redhat.com>.
20800
20801 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20802
20803 * sunrpc/Makefile (need-export-routines): Add svc_run.
20804 (routines): Remove svc_run.
20805 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20806 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20807 * sunrpc/svc_run.c (svc_run): Likewise.
20808 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20809
20810 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20811
20812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20813 problem in reallocation in last patch.
20814
20815 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20816
20817 * sunrpc/Makefile: Move inclusion of Rules.
20818
20819 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20820
20821 * nss/nss_files/files-initgroups.c: New file.
20822 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20823 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20824 _nss_files_initgroups_dyn.
20825
20826 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20827
20828 * elf/elf.h (R_ARM_IRELATIVE): Define.
20829
20830 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20831
20832 * po/ru.po: Update from translation team.
20833
20834 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20835
20836 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20837 dependencies.
20838
20839 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20840
20841 [BZ #12653]
20842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20843 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20845 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20847
20848 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20849
20850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20851 differing bytes.
20852 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20854 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20855
20856 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20857
20858 [BZ #12420]
20859 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20860 storing it.
20861 * stdlib/bug-getcontext.c: New file.
20862 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20863
20864 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20865
20866 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20867 instructions into .machine "z9-109".
20868 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20869 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20870
20871 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20872
20873 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20874 between environment variables and auxiliary vector.
20875
20876 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20877
20878 * Makefile: Add rules to build linkobj/libc.so.
20879 * include/libc-symbols.h: Define libc_hidden_nolink.
20880 * include/rpc/auth.h: Mark functions which are to be hidden.
20881 * include/rpc/auth_des.h: Likewise.
20882 * include/rpc/auth_unix.h: Likewise.
20883 * include/rpc/clnt.h: Likewise.
20884 * include/rpc/des_crypt.h: Likewise.
20885 * include/rpc/key_prot.h: Likewise.
20886 * include/rpc/pmap_clnt.h: Likewise.
20887 * include/rpc/pmap_prot.h: Likewise.
20888 * include/rpc/pmap_rmt.h: Likewise.
20889 * include/rpc/rpc_msg.h: Likewise.
20890 * include/rpc/svc.h: Likewise.
20891 * include/rpc/svc_auth.h: Likewise.
20892 * include/rpc/xdr.h: Likewise.
20893 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20894 * nss/Makefile: Likewise.
20895 * sunrpc/Makefile: Don't install headers. Build library with normal
20896 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20897 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20898 for the compat linking library. Remove use of INTDEF/INTUSE.
20899 * sunrpc/auth_none.c: Likewise.
20900 * sunrpc/auth_unix.c: Likewise.
20901 * sunrpc/authdes_prot.c: Likewise.
20902 * sunrpc/authuxprot.c: Likewise.
20903 * sunrpc/clnt_gen.c: Likewise.
20904 * sunrpc/clnt_perr.c: Likewise.
20905 * sunrpc/clnt_raw.c: Likewise.
20906 * sunrpc/clnt_simp.c: Likewise.
20907 * sunrpc/clnt_tcp.c: Likewise.
20908 * sunrpc/clnt_udp.c: Likewise.
20909 * sunrpc/clnt_unix.c: Likewise.
20910 * sunrpc/des_crypt.c: Likewise.
20911 * sunrpc/des_soft.c: Likewise.
20912 * sunrpc/get_myaddr.c: Likewise.
20913 * sunrpc/key_call.c: Likewise.
20914 * sunrpc/key_prot.c: Likewise.
20915 * sunrpc/netname.c: Likewise.
20916 * sunrpc/pm_getmaps.c: Likewise.
20917 * sunrpc/pm_getport.c: Likewise.
20918 * sunrpc/pmap_clnt.c: Likewise.
20919 * sunrpc/pmap_prot.c: Likewise.
20920 * sunrpc/pmap_prot2.c: Likewise.
20921 * sunrpc/pmap_rmt.c: Likewise.
20922 * sunrpc/publickey.c: Likewise.
20923 * sunrpc/rpc_cmsg.c: Likewise.
20924 * sunrpc/rpc_common.c: Likewise.
20925 * sunrpc/rpc_dtable.c: Likewise.
20926 * sunrpc/rpc_prot.c: Likewise.
20927 * sunrpc/rpc_thread.c: Likewise.
20928 * sunrpc/rtime.c: Likewise.
20929 * sunrpc/svc.c: Likewise.
20930 * sunrpc/svc_auth.c: Likewise.
20931 * sunrpc/svc_authux.c: Likewise.
20932 * sunrpc/svc_raw.c: Likewise.
20933 * sunrpc/svc_run.c: Likewise.
20934 * sunrpc/svc_simple.c: Likewise.
20935 * sunrpc/svc_tcp.c: Likewise.
20936 * sunrpc/svc_udp.c: Likewise.
20937 * sunrpc/svc_unix.c: Likewise.
20938 * sunrpc/svcauth_des.c: Likewise.
20939 * sunrpc/xcrypt.c: Likewise.
20940 * sunrpc/xdr.c: Likewise.
20941 * sunrpc/xdr_array.c: Likewise.
20942 * sunrpc/xdr_float.c: Likewise.
20943 * sunrpc/xdr_intXX_t.c: Likewise.
20944 * sunrpc/xdr_mem.c: Likewise.
20945 * sunrpc/xdr_rec.c: Likewise.
20946 * sunrpc/xdr_ref.c: Likewise.
20947 * sunrpc/xdr_sizeof.c: Likewise.
20948 * sunrpc/xdr_stdio.c: Likewise.
20949
20950 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20951
20952 [BZ #12650]
20953 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20954 * sysdeps/ia64/dl-tls.h: Likewise.
20955 * sysdeps/powerpc/dl-tls.h: Likewise.
20956 * sysdeps/s390/dl-tls.h: Likewise.
20957 * sysdeps/sh/dl-tls.h: Likewise.
20958 * sysdeps/sparc/dl-tls.h: Likewise.
20959 * sysdeps/x86_64/dl-tls.h: Likewise.
20960 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20961
20962 2011-03-14 Andreas Schwab <schwab@redhat.com>
20963
20964 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20965 rpath element also skip the following colon.
20966 (expand_dynamic_string_token): Add is_path parameter and pass
20967 down to DL_DST_REQUIRED and _dl_dst_substitute.
20968 (decompose_rpath): Call expand_dynamic_string_token with
20969 non-zero is_path. Ignore empty rpaths.
20970 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20971 with zero is_path.
20972
20973 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20974
20975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20976 Make cancelable.
20977
20978 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20979
20980 [BZ #12655]
20981 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20982 Patch by Filipe David Manana <fdmanana@apache.org>.
20983
20984 2011-04-07 Andreas Schwab <schwab@redhat.com>
20985
20986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20987 Maintain aligned stack.
20988 (CHECK_RSP): Remove unused macro.
20989
20990 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20991
20992 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20994
20995 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20996
20997 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20998
20999 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21000
21001 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21002
21003 [BZ #12518]
21004 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21005 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21006 * sysdeps/x86_64/memmove.c: New file.
21007 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21008 (memcpy): Renamed to ...
21009 (__new_memcpy): This.
21010 (memcpy): Provide GLIBC_2_14 memcpy.
21011 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21012 (memcpy): Provide GLIBC_2_2_5 memcpy.
21013
21014 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21015
21016 [BZ #12631]
21017 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21018
21019 2011-03-30 Andreas Schwab <schwab@redhat.com>
21020
21021 * misc/syncfs.c: New file.
21022 * misc/Makefile (routines): Add syncfs.
21023 * posix/unistd.h: Declare syncfs.
21024 * sysdeps/unix/syscalls.list: Add syncfs.
21025
21026 2011-04-01 Andreas Schwab <schwab@redhat.com>
21027
21028 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21029 open_by_handle_at.
21030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21031 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21033 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21035 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21037
21038 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21039
21040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21041 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21042 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21047
21048 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21049 sync_file_range.c with -fexceptions.
21050 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21051 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21052 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21053 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21054 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21055 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21057 sync_file_range as cancellation point
21058 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21059 now a wrapper around __call_sync_file_range with cancellation handling.
21060 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21061 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21062 function name to __call_sync_file_range.
21063 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21064 Add call_sync_file_range.
21065
21066 2011-04-01 Andreas Schwab <schwab@redhat.com>
21067
21068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21069 bits/timex.h.
21070
21071 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21072
21073 * iconv/iconv.h: Fix typo in comment.
21074 * io/fcntl.h: Likewise.
21075 * libio/stdio.h: Likewise.
21076 * posix/spawn.h: Likewise.
21077 * posix/unistd.h: Likewise.
21078 * stdlib/stdlib.h: Likewise.
21079 * time/time.h: Likewise.
21080 * wcsmbs/wchar.h: Likewise.
21081
21082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21083 open_by_handle): Add.
21084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21085 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21086 Augment a few comments.
21087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21092 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21093 open_by_handle.
21094
21095 * io/fcntl.h (AT_EMPTY_PATH): Define.
21096
21097 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21098
21099 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21100 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21101 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21102 to...
21103 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21104 * Versions.def: Add GLIBC_2.14.
21105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21106 Export.
21107
21108 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21109
21110 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21111 round counter.
21112 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21113
21114 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21115
21116 [BZ #12597]
21117 * string/test-strncmp.c (do_page_test): New function.
21118 (check2): Likewise.
21119 (test_main): Call check2.
21120 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21121
21122 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21123
21124 [BZ #12587]
21125 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21126 Handle cache information in CPU leaf 4.
21127 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21128
21129 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21130
21131 [BZ #12583]
21132 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21133 character representation.
21134 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21135
21136 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21137
21138 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21139 END(__isnan) to END(__isnanf) to match function entry point/label
21140 EALIGN(__isnanf,...).
21141
21142 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21143
21144 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21145
21146 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21147
21148 [BZ #12510]
21149 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21150 copy from the symbol referenced in the relocation to initialize the
21151 used variable.
21152 Patch by Piotr Bury <pbury@goahead.com>.
21153 * elf/Makefile: Add rules to build and tst-unique3.
21154 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21155 * elf/tst-unique3.cc: New file.
21156 * elf/tst-unique3.h: New file.
21157 * elf/tst-unique3lib.cc: New file.
21158 * elf/tst-unique3lib2.cc: New file.
21159
21160 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21161
21162 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21163
21164 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21165 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21166 to _start.
21167
21168 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21169
21170 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21171 to-be-loaded object along a path to loader is ld.so.
21172
21173 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21174 Ulrich Drepper <drepper@gmail.com>
21175
21176 * sysdeps/x86_64/memset.S: After aligning destination, code
21177 branches to different locations depending on the value of
21178 misalignment, when multiarch is enabled. Fix this.
21179
21180 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21181
21182 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21183 Set _x86_64_preferred_memory_instruction for AMD processsors.
21184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21185 Set bit_Prefer_SSE_for_memop for AMD processors.
21186
21187 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21188
21189 * libio/fmemopen.c (fmemopen): Optimize a bit.
21190
21191 2011-03-03 Andreas Schwab <schwab@redhat.com>
21192
21193 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21194
21195 2011-03-03 Roland McGrath <roland@redhat.com>
21196
21197 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21198
21199 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21200
21201 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21202 __bzero_ultra1 instead of __memset_ultra1.
21203
21204 2011-02-23 Andreas Schwab <schwab@redhat.com>
21205 Ulrich Drepper <drepper@gmail.com>
21206
21207 [BZ #12509]
21208 * include/link.h (struct link_map): Add l_orig_initfini.
21209 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21210 returning unsuccessfully.
21211 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21212 close of a file loaded at startup, restore the original l_initfini
21213 list.
21214 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21215 list, store the pointer.
21216 * elf/Makefile ($(objpfx)noload-mem): New rule.
21217 (noload-ENV): Define.
21218 (tests): Add $(objpfx)noload-mem.
21219 * elf/noload.c: Include <memcheck.h>.
21220 (main): Call mtrace. Close all opened handles.
21221
21222 2011-02-17 Andreas Schwab <schwab@redhat.com>
21223
21224 [BZ #12454]
21225 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21226 dependencies are missing.
21227
21228 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21229
21230 Fix __if_freereq crash: Unlike the generic version which uses free,
21231 Hurd needs munmap.
21232 * sysdeps/mach/hurd/ifreq.h: New file.
21233
21234 2011-01-27 Petr Baudis <pasky@suse.cz>
21235 Ulrich Drepper <drepper@gmail.com>
21236
21237 [BZ 12445]#
21238 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21239 to extend_alloca().
21240 * stdio-common/bug23.c: New file.
21241 * stdio-common/Makefile (tests): Add bug23.
21242
21243 2010-09-28 Andreas Schwab <schwab@redhat.com>
21244 Ulrich Drepper <drepper@gmail.com>
21245
21246 [BZ #12489]
21247 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21248 before performing relro protection. At old place add assertion
21249 to make sure nothing changed.
21250
21251 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21252 Glauber de Oliveira Costa <glommer@gmail.com>
21253
21254 * elf/elf.h: Add new ARM TLS relocs.
21255
21256 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21257
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21259 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21260 cast from r3.
21261 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21262 'tests' variable.
21263 * sysdeps/wordsize-64/tst-writev.c: New file.
21264
21265 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21266
21267 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21268 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21269 insns in _dl_start to prevent a TOC reference before relocs are
21270 resolved.
21271
21272 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21273
21274 [BZ #12469]
21275 * Makeconfig: Remove RANLIB definition.
21276 * Makerules: Don't use RANLIB.
21277 * aclocal.m4: Remove ranlib test.
21278 * configure.in: No need to check for ranlib.
21279 * elf/rtld-Rules: Don't use RANLIB.
21280
21281 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21282
21283 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21284 protection macro.
21285 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21286 inclusion protection macro.
21287
21288 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21289 SIGRTMIN and SIGRTMAX and print information in that case only when
21290 SIGRTMIN is defined.
21291
21292 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21293
21294 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21295 arginfo fn returning -1.
21296
21297 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21298 and thousands string is zero terminated.
21299
21300 2011-02-03 Andreas Schwab <schwab@redhat.com>
21301
21302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21303 sysdeps/unix/sysv/linux/bits/socket.h.
21304
21305 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21306
21307 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21308 (__CPU_COUNT): Remove old macros.
21309 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21310 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21311 (__CPU_ALLOC, __CPU_FREE): Add macros.
21312 (__sched_cpualloc, __sched_cpufree): Add declarations.
21313
21314 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21315
21316 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21317 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21318 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21319 (readdhstai): Return value of addhstaiX call.
21320 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21321 (addgrbyX): Return value returned by cache_addgr.
21322 (readdgrbyname): Return value returned by addgrbyX.
21323 (readdgrbygid): Likewise.
21324 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21325 (addpwbyX): Return value returned by cache_addpw.
21326 (readdpwbyname): Return value returned by addhstbyX.
21327 (readdpwbyuid): Likewise.
21328 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21329 (addservbyX): Return value returned by cache_addserv.
21330 (readdservbyname): Return value returned by addservbyX:
21331 (readdservbyport): Likewise.
21332 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21333 (addhstbyX): Return value returned by cache_addhst.
21334 (readdhstbyname): Return value returned by addhstbyX.
21335 (readdhstbyaddr): Likewise.
21336 (readdhstbynamev6): Likewise.
21337 (readdhstbyaddrv6): Likewise.
21338 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21339 (readdinitgroups): Return value returned by addinitgroupsX.
21340 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21341 (prune_cache): Keep track of timeout value of re-added entries.
21342 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21343 * nscd/nscd.h: Adjust prototypes of readd* functions.
21344
21345 2011-02-04 Roland McGrath <roland@redhat.com>
21346
21347 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21348 (nis_stats): Likewise.
21349 * nis/nis_modify.c (nis_modify): Likewise.
21350 * nis/nis_remove.c (nis_remove): Likewise.
21351 * nis/nis_add.c (nis_add): Likewise.
21352
21353 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21354
21355 * posix/fnmatch_loop.c: Add some consts.
21356
21357 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21358
21359 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21360
21361 [BZ #12460]
21362 * config.make.in (config-cflags-novzeroupper): Define.
21363 * configure.in: Substitute libc_cv_cc_novzeroupper.
21364 * elf/Makefile (AVX-CFLAGS): Define.
21365 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21366 (CFLAGS-tst-auditmod4a.c): Likewise.
21367 (CFLAGS-tst-auditmod4b.c): Likewise.
21368 (CFLAGS-tst-auditmod6b.c): Likewise.
21369 (CFLAGS-tst-auditmod6c.c): Likewise.
21370 (CFLAGS-tst-auditmod7b.c): Likewise.
21371 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21372
21373 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21374
21375 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21376 function to the callback.
21377 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21378
21379 2011-02-02 Andreas Schwab <schwab@redhat.com>
21380
21381 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21382 of errno.
21383
21384 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21385
21386 [BZ #11724]
21387 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21388 of constructors.
21389 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21390 of destructors.
21391 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21392
21393 [BZ #11724]
21394 * elf/Makefile: Add rules to build and run new test.
21395 * elf/tst-initorder.c: New file.
21396 * elf/tst-initorder.exp: New file.
21397 * elf/tst-initordera1.c: New file.
21398 * elf/tst-initordera2.c: New file.
21399 * elf/tst-initordera3.c: New file.
21400 * elf/tst-initordera4.c: New file.
21401 * elf/tst-initorderb1.c: New file.
21402 * elf/tst-initorderb2.c: New file.
21403 * elf/tst-order-a1.c: New file.
21404 * elf/tst-order-a2.c: New file.
21405 * elf/tst-order-a3.c: New file.
21406 * elf/tst-order-a4.c: New file.
21407 * elf/tst-order-b1.c: New file.
21408 * elf/tst-order-b2.c: New file.
21409 * elf/tst-order-main.c: New file.
21410 New test case by George Gensure <werkt0@gmail.com>.
21411
21412 2010-10-01 Andreas Schwab <schwab@redhat.com>
21413
21414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21415 decoding ACE if AI_CANONIDN.
21416
21417 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21418
21419 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21420
21421 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21422
21423 * version.h (RELEASE): Bump for 2.13 release.
21424 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21425
21426 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21427
21428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21429 MADV_NOHUGEPAGE.
21430 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21431 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21436
21437 * posix/getconf.c: Update copyright year.
21438 * catgets/gencat.c: Likewise.
21439 * csu/version.c: Likewise.
21440 * debug/catchsegv.sh: Likewise.
21441 * debug/xtrace.sh: Likewise.
21442 * elf/ldconfig.c: Likewise.
21443 * elf/ldd.bash.in: Likewise.
21444 * elf/sprof.c (print_version): Likewise.
21445 * iconv/iconv_prog.c: Likewise.
21446 * iconv/iconvconfig.c: Likewise.
21447 * locale/programs/locale.c: Likewise.
21448 * locale/programs/localedef.c: Likewise.
21449 * malloc/memusage.sh: Likewise.
21450 * malloc/mtrace.pl: Likewise.
21451 * nscd/nscd.c (print_version): Likewise.
21452 * nss/getent.c: Likewise.
21453
21454 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21455 PF_CAIF, and PF_ALG.
21456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21457
21458 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21459
21460 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21461 (modules-names): Use them.
21462 (ifunc-test-modules, ifunc-pie-tests): Define.
21463 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21464 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21465 (test-extras): Likewise.
21466 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21467 $(compile-command.c).
21468 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21469 (all-built-dso): Define.
21470 (check-textrel.out, check-execstack.out): Depend on it.
21471
21472 * configure.in: Don't override --enable-multi-arch.
21473
21474 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21475
21476 [BZ #6812]
21477 * nscd/hstcache.c (tryagain): Define.
21478 (cache_addhst): Return tryagain not notfound for temporary errors.
21479 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21480 failed.
21481
21482 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21483
21484 [BZ #10563]
21485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21486 to make the syscall.
21487 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21488
21489 [BZ #12378]
21490 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21491 and fall back to matching as normal character if the string ends before
21492 the matching ']' is found. This is what POSIX requires.
21493 * posix/testfnm.c: Adjust test result.
21494 * posix/globtest.sh: Adjust test result. Add new test.
21495 * posix/tst-fnmatch.input: Likewise.
21496 * posix/tst-fnmatch2.c: Add new test.
21497
21498 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21499
21500 * elf/Makefile (check-execstack): Revert last change. Depend on
21501 check-execstack.h.
21502 (check-execstack.h): New target.
21503 (generated): Add check-execstack.h.
21504 * elf/check-execstack.c: Include "check-execstack.h".
21505 (main): Revert last change.
21506 (handle_file): Return zero if GNU_STACK is absent and
21507 DEFAULT_STACK_PERMS doesn't include PF_X.
21508
21509 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21510
21511 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21512 in child fails because the descriptor is already closed.
21513 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21514 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21515 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21516
21517 [BZ #12397]
21518 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21519 syscall.
21520
21521 [BZ #10484]
21522 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21523 temporary buffer used to handle multi lookups locally.
21524 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21525
21526 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21527
21528 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21529 loader is ld.so.
21530
21531 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21532
21533 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21534 alignment for SSE2.
21535
21536 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21537
21538 [BZ #12394]
21539 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21540 characters. When rounding increased number of integer digits recompute
21541 number of groups.
21542 * stdio-common/tst-grouping.c: New file.
21543 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21544
21545 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21546
21547 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21548 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21549
21550 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21551 void.
21552 * bits/select.h: Likewise.
21553
21554 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21555
21556 * po/ja.po: Update from translation team.
21557
21558 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21559
21560 [BZ #11155]
21561 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21562 implementation just like for lxstat, fxstatat, et al.
21563
21564 2010-12-27 Jim Meyering <meyering@redhat.com>
21565
21566 [BZ #12348]
21567 * posix/regexec.c (build_trtable): Return failure indication upon
21568 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21569
21570 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21571
21572 [BZ #12201]
21573 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21574 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21575 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21576 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21577
21578 [BZ #12207]
21579 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21580
21581 [BZ #12204]
21582 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21583 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21584
21585 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21588 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21589 script has SORT_BY_INIT_PRIORITY.
21590 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21591 NO_CTORS_DTORS_SECTIONS is defined.
21592 * elf/soinit.c: Likewise.
21593 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21594 NO_CTORS_DTORS_SECTIONS is defined.
21595 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21596 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21597 * sysdeps/sh/init-first.c: Likewise.
21598 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21599
21600 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21601
21602 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21603 always use the slow path.
21604
21605 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21606
21607 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21608 similar rule which adds the sysdep directories to the header search in
21609 order to pick up the correct platform stackinfo.h.
21610 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21611 perform test if it is, otherwise return successfully without testing.
21612 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21613 DEFAULT_STACK_PERMS define in stackinfo.h.
21614 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21615 defined in stackinfo.h.
21616 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21617 DEFAULT_STACK_PERMS defined in stackinfo.h.
21618 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21619 * sysdeps/ia64/stackinfo.h: Likewise.
21620 * sysdeps/s390/stackinfo.h: Likewise.
21621 * sysdeps/sh/stackinfo.h: Likewise.
21622 * sysdeps/sparc/stackinfo.h: Likewise.
21623 * sysdeps/x86_64/stackinfo.h: Likewise.
21624 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21625 PF_X for powerpc64. Retain PF_X for powerpc32.
21626
21627 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21628
21629 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21630 accurately.
21631 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21632 GETDENTS_64BIT_ALIGNED.
21633
21634 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21635
21636 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21637
21638 2010-12-10 Andreas Schwab <schwab@redhat.com>
21639
21640 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21641 _GNU_SOURCE.
21642
21643 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21644 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21645 Remove __restrict.
21646 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21647 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21648
21649 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21650
21651 [BZ #11655]
21652 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21653 are initialized.
21654
21655 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21656
21657 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21658
21659 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21660
21661 * po/it.po: Update from translation team.
21662
21663 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21664
21665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21666 unused codes.
21667
21668 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21669
21670 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21671
21672 2010-11-24 Andreas Schwab <schwab@redhat.com>
21673
21674 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21675 specially.
21676 (gaih_getanswer_slice): Likewise.
21677
21678 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21679
21680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21681
21682 2010-05-31 Petr Baudis <pasky@suse.cz>
21683
21684 [BZ #11149]
21685 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21686 silently even in the chroot mode.
21687
21688 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21689
21690 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21691 last patch a bit. Pretty printing
21692
21693 2010-05-31 Petr Baudis <pasky@suse.cz>
21694
21695 [BZ #10085]
21696 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21697 initialization of skip_initgroups_dyn.
21698
21699 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21700
21701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21703
21704 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21705
21706 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21707
21708 2010-11-11 Andreas Schwab <schwab@redhat.com>
21709
21710 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21711 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21712 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21713 ($(objpfx)tst-fnmatch-mem): New rule.
21714 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21715 * posix/tst-fnmatch.c (main): Call mtrace.
21716
21717 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21720 Support Intel processor model 6 and model 0x2c.
21721
21722 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21723
21724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21725 signed comparison.
21726
21727 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21728
21729 [BZ #12205]
21730 * string/test-strncasecmp.c (check_result): New function.
21731 (do_one_test): Use it.
21732 (check1): New function.
21733 (test_main): Use it.
21734 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21735 Support strcasecmp and strncasecmp.
21736
21737 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21738
21739 [BZ #12194]
21740 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21742
21743 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21746 IFUNC support.
21747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21748 memset-x86-64.
21749 * sysdeps/x86_64/multiarch/bzero.S: New file.
21750 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21751 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21752 * sysdeps/x86_64/multiarch/memset.S: New file.
21753 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21755 Set bit_Prefer_SSE_for_memop for Intel processors.
21756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21757 Define.
21758 (index_Prefer_SSE_for_memop): Define.
21759 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21760
21761 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21762
21763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21764 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21765
21766 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21767
21768 [BZ #12191]
21769 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21770 (__x86_64_raw_data_cache_size_half): Likewise.
21771 (__x86_64_raw_shared_cache_size): Likewise.
21772 (__x86_64_raw_shared_cache_size_half): Likewise.
21773
21774 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21775 (__x86_64_raw_data_cache_size_half): Likewise.
21776 (__x86_64_raw_shared_cache_size): Likewise.
21777 (__x86_64_raw_shared_cache_size_half): Likewise.
21778 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21779 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21780 and __x86_64_raw_shared_cache_size_half. Round
21781 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21782 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21783 to multiple of 256 bytes.
21784
21785 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21786
21787 [BZ #12167]
21788 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21789 of inacessible symlinks. Verify result of symlink before returning it.
21790 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21791 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21792
21793 2010-10-28 Erich Ritz <erichritz@gmail.com>
21794
21795 * math/math.h (isinf): Fix typo in comment.
21796
21797 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21798
21799 * po/da.po: Update from translation team.
21800
21801 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21802
21803 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21804 is added to the list.
21805
21806 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21807 Ulrich Drepper <drepper@gmail.com>
21808
21809 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21810 the global list here. Move code to...
21811 (_dl_add_to_namespace_list): ...here. New function.
21812 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21813 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21814 * elf/dl-load.c (lose): Don't remove the element from the list.
21815 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21816 (_dl_map_object): Likewise.
21817
21818 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21819
21820 [BZ #12159]
21821 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21822 into all bytes of SSE register.
21823 Patch by Richard Li <richardpku@gmail.com>.
21824
21825 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21826
21827 [BZ #12140]
21828 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21829 perturbing.
21830
21831 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21832
21833 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21834 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21835 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21836 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21838 submachine.
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21840
21841 2010-10-22 Andreas Schwab <schwab@redhat.com>
21842
21843 * include/dlfcn.h (__RTLD_SECURE): Define.
21844 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21845 mode & __RTLD_SECURE instead.
21846 (open_path): Rename preloaded parameter to secure.
21847 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21848 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21849 * elf/dl-deps.c (openaux): Likewise.
21850 * elf/rtld.c (struct map_args): Remove is_preloaded.
21851 (map_doit): Don't use it.
21852 (dl_main): Likewise.
21853 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21854 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21855
21856 2010-09-09 Andreas Schwab <schwab@redhat.com>
21857
21858 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21859 (sysd-rules-targets): Remove duplicates.
21860 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21861 rtld-%.$o dependency.
21862
21863 2010-10-18 Andreas Schwab <schwab@redhat.com>
21864
21865 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21866 _dl_map_object do it.
21867
21868 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21869
21870 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21871 fast fma builtins, define the macros in the C99 standard.
21872 (FP_FAST_FMAF): Likewise.
21873 (FP_FAST_FMAL): Likewise.
21874 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21875
21876 * bits/mathdef.h: Update copyright year.
21877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21878
21879 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21880
21881 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21882 builtins, define the macros in the C99 standard.
21883 (FP_FAST_FMAF): Likewise.
21884 (FP_FAST_FMAL): Likewise.
21885 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21886 multiply/add.
21887 (FP_FAST_FMAF): Likewise.
21888
21889 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21890
21891 [BZ #3268]
21892 * math/libm-test.inc (fma_test): Some new testcases.
21893 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21894 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21895 y and infinite z. Do multiplication by C already in long double.
21896 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21898 y and infinite z. Do bitwise or of inexact bit into u.d.
21899 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21900 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21901 * sysdeps/i386/fpu/s_fma.S: Removed.
21902 * sysdeps/i386/fpu/s_fmal.S: Removed.
21903
21904 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21905
21906 [BZ #3268]
21907 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21909 computation is not scheduled after fetestexcept. Fix value
21910 of minimum denormal long double.
21911
21912 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21913
21914 [BZ #3268]
21915 * math/libm-test.inc (fma_test): Add some more tests.
21916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21917 correctly.
21918
21919 2010-10-15 Andreas Schwab <schwab@redhat.com>
21920
21921 * scripts/data/localplt-s390-linux-gnu.data: New file.
21922 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21923
21924 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21925
21926 [BZ #3268]
21927 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21928 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21929 instead of dbl-64.
21930 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21931 inlines.
21932 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21934 if one of x and y is very large and the other is subnormal.
21935 * sysdeps/s390/fpu/s_fmaf.c: New file.
21936 * sysdeps/s390/fpu/s_fma.c: New file.
21937 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21938 * sysdeps/powerpc/fpu/s_fma.S: New file.
21939 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21940 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21941 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21942
21943 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21944
21945 [BZ #3268]
21946 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21947 fma tests.
21948 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21949 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21950 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21951 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21952 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21953 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21955
21956 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21957
21958 [BZ #12078]
21959 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21960 * posix/bug-regex31.input: Add test case.
21961
21962 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21963
21964 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21965 * posix/bug-regex31.input: New file.
21966
21967 [BZ #12078]
21968 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21969 (parse_sub_exp): Fix last change, use postorder.
21970
21971 * posix/bug-regex31.c: New file.
21972 * posix/Makefile: Add rules to build and run bug-regex31.
21973
21974 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21975
21976 [BZ #12078]
21977 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21978
21979 [BZ #12108]
21980 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21981 to have entries in sys_siglist.
21982
21983 [BZ #12093]
21984 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21985 be NULL.
21986
21987 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21988
21989 [BZ #3268]
21990 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21991 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21992 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21993 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21994 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21995 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21996 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21997 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21998 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21999 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22000 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22001 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22002 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22003 * math/ftestexcept.c (fetestexcept): Likewise.
22004 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22005 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22006 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22007 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22008 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22009 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22010 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22011
22012 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22013
22014 [BZ #12107]
22015 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22016 newline.
22017
22018 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22019
22020 * string/bug-strstr1.c: New file.
22021 * string/Makefile: Add rules to build and run bug-strstr1.
22022
22023 2010-10-05 Eric Blake <eblake@redhat.com>
22024
22025 [BZ #12092]
22026 * string/str-two-way.h (two_way_long_needle): Always clear memory
22027 when skipping input due to the shift table.
22028
22029 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22030
22031 [BZ #12005]
22032 * malloc/mcheck.c: Handle large requests.
22033
22034 [BZ #12077]
22035 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22036 for strncmp and strncasecmp.
22037 * string/stratcliff.c: Add tests for strcmp and strncmp.
22038 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22039
22040 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22041
22042 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22043 __set_fpscr.
22044
22045 2010-09-30 Andreas Jaeger <aj@suse.de>
22046
22047 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22048 (CGROUP_SUPER_MAGIC): Define.
22049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22050 Handle btrfs and cgroup file systems.
22051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22052 Likewise.
22053
22054 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22055
22056 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22057 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22058
22059 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22060
22061 [BZ #12067]
22062 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22063 trying to locate the ELF header.
22064
22065 2010-09-27 Andreas Schwab <schwab@redhat.com>
22066
22067 [BZ #11611]
22068 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22069 Mask out sign-bit copies when constructing f_fsid.
22070
22071 2010-09-24 Petr Baudis <pasky@suse.cz>
22072
22073 * debug/stack_chk_fail_local.c: Add missing licence exception.
22074 * debug/warning-nop.c: Likewise.
22075
22076 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22077
22078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22079 implementing getdents64 using getdents syscall, set d_type if
22080 __ASSUME_GETDENTS32_D_TYPE.
22081
22082 2010-09-16 Andreas Schwab <schwab@redhat.com>
22083
22084 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22085 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22086
22087 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22088
22089 [BZ #12037]
22090 * posix/unistd.h: Undo change of feature selection for ftruncate from
22091 2010-01-11.
22092
22093 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22094
22095 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22096 detection.
22097
22098 2010-09-20 Andreas Schwab <schwab@redhat.com>
22099
22100 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22101 fanotify_mark.
22102 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22103
22104 2010-09-14 Andreas Schwab <schwab@redhat.com>
22105
22106 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22107 variables after CHECK_SP call.
22108 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22109
22110 2010-09-13 Andreas Schwab <schwab@redhat.com>
22111 Ulrich Drepper <drepper@redhat.com>
22112
22113 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22114 re-relocationg ld.so.
22115 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22116 _dl_init_paths call.
22117 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22118 here anymore.
22119
22120 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22121
22122 * resolv/res_init.c (__res_vinit): Count the default server we added.
22123
22124 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22125 Ulrich Drepper <drepper@redhat.com>
22126
22127 [BZ #11968]
22128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22129 (____longjmp_chk): Use %ebx for saving value across system call.
22130 Add unwind info.
22131
22132 2010-09-06 Andreas Schwab <schwab@redhat.com>
22133
22134 * manual/Makefile: Don't mix pattern rules with normal rules.
22135
22136 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22137
22138 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22139 operation.
22140 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22141 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22142 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22143 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22145 Likewise.
22146
22147 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22148
22149 [BZ #11979]
22150 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22151 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22152
22153 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22154
22155 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22156 * sysdeps/x86_64/addmul_1.S: Likewise.
22157 * sysdeps/x86_64/lshift.S: Likewise.
22158 * sysdeps/x86_64/mul_1.S: Likewise.
22159 * sysdeps/x86_64/rshift.S: Likewise.
22160 * sysdeps/x86_64/sub_n.S: Likewise.
22161 * sysdeps/x86_64/submul_1.S: Likewise.
22162
22163 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22164
22165 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22166 Define __sched_param instead of SCHED_* and sched_param when
22167 <bits/sched.h> is included with __need_schedparam defined.
22168 * bits/sched.h [__need_schedparam]
22169 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22170 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22171 (__defined_schedparam): Define to 1.
22172 (__sched_param): New structure, identical to sched_param.
22173 (__need_schedparam): Undefine.
22174
22175 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22176
22177 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22178 (epoll_create1): Declare.
22179
22180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22181
22182 2010-08-31 Andreas Schwab <schwab@redhat.com>
22183
22184 [BZ #7066]
22185 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22186 shifting retval into place.
22187
22188 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22189
22190 * nis/rpcsvc/nis.h: Update copyright notice.
22191 * nis/rpcsvc/nis.x: Likewise.
22192 * nis/rpcsvc/nis_callback.h: Likewise.
22193 * nis/rpcsvc/nis_callback.x: Likewise.
22194 * nis/rpcsvc/nis_object.x: Likewise.
22195 * nis/rpcsvc/nis_tags.h: Likewise.
22196 * nis/rpcsvc/yp.h: Likewise.
22197 * nis/rpcsvc/yp.x: Likewise.
22198 * nis/rpcsvc/ypupd.h: Likewise.
22199 * nis/yp_xdr.c: Likewise.
22200 * nis/ypupdate_xdr.c: Likewise.
22201
22202 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22203 mainly the body of pmap_getport. Add parameters to specify timeouts.
22204 (pmap_getport): Use __libc_rpc_getport.
22205 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22206 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22207 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22208
22209 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22210
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22212 fanotify_mark.
22213
22214 2010-08-27 Roland McGrath <roland@redhat.com>
22215
22216 * sysdeps/i386/i686/multiarch/Makefile
22217 (CFLAGS-varshift.c): New variable.
22218
22219 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22220
22221 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22222 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22223
22224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22225
22226 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22227
22228 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22229
22230 * sysdeps/x86_64/strlen.S: Unroll the loop.
22231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22232 strlen-sse2 strlen-sse2-bsf.
22233 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22234 __strlen_no_bsf if bit_Slow_BSF is set.
22235 (__strlen_sse42): Removed.
22236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22237 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22238
22239 2010-08-25 Roland McGrath <roland@redhat.com>
22240
22241 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22242 * sysdeps/x86_64/multiarch/varshift.c: New file.
22243 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22244 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22245 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22246 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22247
22248 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22249
22250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22251 strlen-sse2 strlen-sse2-bsf.
22252 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22253 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22254 (__strlen_sse2): Removed.
22255 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22258 bit_Slow_BSF for Atom.
22259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22260 (index_Slow_BSF): Define.
22261 (HAS_SLOW_BSF): Define.
22262
22263 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22264
22265 [BZ #10851]
22266 * resolv/res_init.c (__res_vinit): When no server address at all
22267 is given default to loopback.
22268
22269 2010-08-24 Roland McGrath <roland@redhat.com>
22270
22271 * configure.in: Remove config-name.h generation.
22272 * configure: Regenerated.
22273 * config-name.in: File removed.
22274 * scripts/config-uname.sh: New file.
22275 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22276 ($(objdir)config-name.h): New target.
22277
22278 * sunrpc/rpc_parse.h: Avoid nested comment.
22279
22280 2010-08-24 Richard Henderson <rth@redhat.com>
22281 Ulrich Drepper <drepper@redhat.com>
22282 H.J. Lu <hongjiu.lu@intel.com>
22283
22284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22286 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22287 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22288 _mm_alignr_epi8 with _mm_loadu_si128.
22289 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22290 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22291 (__m128i_shift_right): Removed.
22292 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22293 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22294 * sysdeps/x86_64/multiarch/varshift.h: New file.
22295 * sysdeps/x86_64/multiarch/varshift.S: New file.
22296
22297 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22298
22299 * configure.in: Move assembler checks to before sysdep dir checking.
22300
22301 2010-08-20 Petr Baudis <pasky@suse.cz>
22302
22303 * LICENSES: Sync the sunrpc license.
22304
22305 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22306
22307 * sunrpc/auth_des.c: Update copyright notice once again.
22308 * sunrpc/auth_none.c: Likewise.
22309 * sunrpc/auth_unix.c: Likewise.
22310 * sunrpc/authdes_prot.c: Likewise.
22311 * sunrpc/authuxprot.c: Likewise.
22312 * sunrpc/bindrsvprt.c: Likewise.
22313 * sunrpc/clnt_gen.c: Likewise.
22314 * sunrpc/clnt_perr.c: Likewise.
22315 * sunrpc/clnt_raw.c: Likewise.
22316 * sunrpc/clnt_simp.c: Likewise.
22317 * sunrpc/clnt_tcp.c: Likewise.
22318 * sunrpc/clnt_udp.c: Likewise.
22319 * sunrpc/clnt_unix.c: Likewise.
22320 * sunrpc/des_crypt.c: Likewise.
22321 * sunrpc/des_soft.c: Likewise.
22322 * sunrpc/get_myaddr.c: Likewise.
22323 * sunrpc/getrpcport.c: Likewise.
22324 * sunrpc/key_call.c: Likewise.
22325 * sunrpc/key_prot.c: Likewise.
22326 * sunrpc/openchild.c: Likewise.
22327 * sunrpc/pm_getmaps.c: Likewise.
22328 * sunrpc/pm_getport.c: Likewise.
22329 * sunrpc/pmap_clnt.c: Likewise.
22330 * sunrpc/pmap_prot.c: Likewise.
22331 * sunrpc/pmap_prot2.c: Likewise.
22332 * sunrpc/pmap_rmt.c: Likewise.
22333 * sunrpc/rpc/auth.h: Likewise.
22334 * sunrpc/rpc/auth_unix.h: Likewise.
22335 * sunrpc/rpc/clnt.h: Likewise.
22336 * sunrpc/rpc/des_crypt.h: Likewise.
22337 * sunrpc/rpc/key_prot.h: Likewise.
22338 * sunrpc/rpc/netdb.h: Likewise.
22339 * sunrpc/rpc/pmap_clnt.h: Likewise.
22340 * sunrpc/rpc/pmap_prot.h: Likewise.
22341 * sunrpc/rpc/pmap_rmt.h: Likewise.
22342 * sunrpc/rpc/rpc.h: Likewise.
22343 * sunrpc/rpc/rpc_des.h: Likewise.
22344 * sunrpc/rpc/rpc_msg.h: Likewise.
22345 * sunrpc/rpc/svc.h: Likewise.
22346 * sunrpc/rpc/svc_auth.h: Likewise.
22347 * sunrpc/rpc/types.h: Likewise.
22348 * sunrpc/rpc/xdr.h: Likewise.
22349 * sunrpc/rpc_clntout.c: Likewise.
22350 * sunrpc/rpc_cmsg.c: Likewise.
22351 * sunrpc/rpc_common.c: Likewise.
22352 * sunrpc/rpc_cout.c: Likewise.
22353 * sunrpc/rpc_dtable.c: Likewise.
22354 * sunrpc/rpc_hout.c: Likewise.
22355 * sunrpc/rpc_main.c: Likewise.
22356 * sunrpc/rpc_parse.c: Likewise.
22357 * sunrpc/rpc_parse.h: Likewise.
22358 * sunrpc/rpc_prot.c: Likewise.
22359 * sunrpc/rpc_sample.c: Likewise.
22360 * sunrpc/rpc_scan.c: Likewise.
22361 * sunrpc/rpc_scan.h: Likewise.
22362 * sunrpc/rpc_svcout.c: Likewise.
22363 * sunrpc/rpc_tblout.c: Likewise.
22364 * sunrpc/rpc_util.c: Likewise.
22365 * sunrpc/rpc_util.h: Likewise.
22366 * sunrpc/rpcinfo.c: Likewise.
22367 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22368 * sunrpc/rpcsvc/key_prot.x: Likewise.
22369 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22370 * sunrpc/rpcsvc/mount.x: Likewise.
22371 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22372 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22373 * sunrpc/rpcsvc/rex.x: Likewise.
22374 * sunrpc/rpcsvc/rstat.x: Likewise.
22375 * sunrpc/rpcsvc/rusers.x: Likewise.
22376 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22377 * sunrpc/rpcsvc/spray.x: Likewise.
22378 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22379 * sunrpc/rtime.c: Likewise.
22380 * sunrpc/svc.c: Likewise.
22381 * sunrpc/svc_auth.c: Likewise.
22382 * sunrpc/svc_authux.c: Likewise.
22383 * sunrpc/svc_raw.c: Likewise.
22384 * sunrpc/svc_run.c: Likewise.
22385 * sunrpc/svc_simple.c: Likewise.
22386 * sunrpc/svc_tcp.c: Likewise.
22387 * sunrpc/svc_udp.c: Likewise.
22388 * sunrpc/svc_unix.c: Likewise.
22389 * sunrpc/svcauth_des.c: Likewise.
22390 * sunrpc/xcrypt.c: Likewise.
22391 * sunrpc/xdr.c: Likewise.
22392 * sunrpc/xdr_array.c: Likewise.
22393 * sunrpc/xdr_float.c: Likewise.
22394 * sunrpc/xdr_mem.c: Likewise.
22395 * sunrpc/xdr_rec.c: Likewise.
22396 * sunrpc/xdr_ref.c: Likewise.
22397 * sunrpc/xdr_sizeof.c: Likewise.
22398 * sunrpc/xdr_stdio.c: Likewise.
22399
22400 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22401 handling.
22402
22403 2010-08-19 Andreas Schwab <schwab@redhat.com>
22404
22405 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22406
22407 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22408
22409 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22410 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22412 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22413 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22414 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22415 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22416 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22418 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22419 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22420 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22421 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22422 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22423
22424 2010-07-26 Anton Blanchard <anton@samba.org>
22425
22426 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22427 * malloc/arena.c (heap_trim): Likewise.
22428
22429 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22430
22431 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22432 here. Not...
22433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22434 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22435
22436 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22437
22438 * sysdeps/i386/elf/Makefile: New file.
22439
22440 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22441
22442 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22443 from fanotify_init.
22444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22446
22447 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22448
22449 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22450 of strncasecmp_l.
22451 * sysdeps/multiarch/strcmp.S: Likewise.
22452
22453 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22454
22455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22456 strncase_l-nonascii.
22457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22458 Add strncase_l-ssse3.
22459 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22460 * sysdeps/x86_64/strcmp.S: Likewise.
22461 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22462 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22463 * sysdeps/x86_64/strncase.S: New file.
22464 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22465 * sysdeps/x86_64/strncase_l.S: New file.
22466 * string/Makefile (strop-tests): Add strncasecmp.
22467 * string/test-strncasecmp.c: New file.
22468
22469 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22470 warning.
22471
22472 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22473 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22474
22475 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22476
22477 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22478
22479 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22480
22481 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22482 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22484
22485 2010-05-01 Alan Modra <amodra@gmail.com>
22486
22487 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22488 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22489 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22490 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22491 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22492 tidying. Don't tail-call __sigjmp_save for static lib.
22493 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22494 save location.
22495 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22496 (CALL_MCOUNT): Add eh info, and nop after bl.
22497 (TAIL_CALL_SYSCALL_ERROR): New macro.
22498 (PSEUDO_RET): Use it.
22499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22500 Correct save location of integer regs and cr.
22501 (_dl_profile_resolve): Correct cr save location. Delete nops
22502 after bl when SHARED. Reduce cfi size a little by better
22503 placement of cfi directives.
22504 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22505 make a stack frame. Instead use parm save area as a temp.
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22507 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22509 Don't make a stack frame for parent, use parm save area.
22510 Increase child stack frame to 112 bytes. Don't save unused reg,
22511 and adjust reg usage. Set up cfi on error recovery and
22512 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22514 (__makecontext): Add dummy nop after jump to exit.
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22516 Use correct parm save area and cr save, reduce stack frame.
22517 Correct cfi for possible PSEUDO_RET frame setup.
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22519 Branch to local label emitted by PSEUDO_RET rather than
22520 __syscall_error.
22521
22522 2010-08-12 Andreas Schwab <schwab@redhat.com>
22523
22524 [BZ #11904]
22525 * locale/programs/locale.c (print_assignment): New function.
22526 (show_locale_vars): Use it.
22527
22528 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22529
22530 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22531 field.
22532 (struct statfs64): Likewise.
22533 (_STATFS_F_FLAGS): Define.
22534 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22536 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22537 (ST_VALID): Define locally.
22538 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22539 __statvfs_getflags, use the provided value.
22540 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22541 __ASSUME_STATFS_F_FLAGS.
22542
22543 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22544
22545 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22546 Add sys/fanotify.h.
22547 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22548 fanotify_mask for GLIBC_2.13.
22549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22550 fanotify_init and fanotify_mark.
22551 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22552 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22553
22554 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22555 Add prlimit.
22556 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22557 prlimit64 for GLIBC_2.13.
22558 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22559 prlimit64.
22560 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22561 syscall.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22564 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22565 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22566 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22567 add prlimit alias.
22568 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22569
22570 [BZ #11903]
22571 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22572 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22573
22574 * nss/Makefile: Add rules to build and run tst-nss-test1.
22575 * shlib-versions: Add entry for libnss_test1.
22576 * nss/nss_test1.c: New file.
22577 * nss/tst-nss-test1.c: New file.
22578
22579 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22580 (__nss_configure_lookup): Set appropriate entry in
22581 __nss_configure_lookup to true.
22582 * nss/nsswitch.h: Define enum with indeces of databases in
22583 databases and __nss_database_custom arrays. Declare
22584 __nss_database_custom.
22585 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22586 to avoid using nscd when custom rules are installed.
22587 * nss/getXXbyYY_r.c: Likewise.
22588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22589
22590 * nss/nss_files/files-parse.c: Whitespace fixes.
22591
22592 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22593
22594 [BZ #11883]
22595 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22596 * posix/fnmatch_loop.c: Likewise.
22597
22598 2010-07-17 Andi Kleen <ak@linux.intel.com>
22599
22600 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22601 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22602 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22603 * Versions.def [GLIBC_2.13]: Add.
22604
22605 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22606
22607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22608 Also fail if tpwd after pwuid call is NULL.
22609
22610 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22611
22612 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22613 when converting to ms.
22614
22615 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22616
22617 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22618 EOPNOTSUPP errors with ENOTTY.
22619 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22620 EOPNOTSUPP errors with ENOTTY.
22621
22622 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22623
22624 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22625 Add strcasecmp_l-ssse3.
22626 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22627 strcasecmp.
22628 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22629 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22630 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22631
22632 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22633
22634 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22635
22636 * string/Makefile (strop-tests): Add strcasecmp.
22637 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22638 strcasecmp_l-nonascii.
22639 (gen-as-const-headers): Add locale-defines.sym.
22640 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22641 * sysdeps/x86_64/strcasecmp.S: New file.
22642 * sysdeps/x86_64/strcasecmp_l.S: New file.
22643 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22644 * sysdeps/x86_64/locale-defines.sym: New file.
22645 * string/test-strcasecmp.c: New file.
22646
22647 * string/test-strcasestr.c: Test both ends of the range of characters.
22648 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22649
22650 2010-07-29 Roland McGrath <roland@redhat.com>
22651
22652 [BZ #11856]
22653 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22654
22655 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22656
22657 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22658 for ld.so.
22659
22660 2010-07-27 Andreas Schwab <schwab@redhat.com>
22661
22662 * manual/memory.texi (Malloc Tunable Parameters): Document
22663 M_PERTURB.
22664
22665 2010-07-26 Roland McGrath <roland@redhat.com>
22666
22667 [BZ #11840]
22668 * configure.in (-fgnu89-inline check): Set and substitute
22669 gnu89_inline, not libc_cv_gnu89_inline.
22670 * configure: Regenerated.
22671 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22672
22673 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22674
22675 * string/test-strnlen.c: New file.
22676 * string/Makefile (strop-tests): Add strnlen.
22677 * string/tester.c (test_strnlen): Add a few more test cases.
22678 * string/tst-strlen.c: Better error reporting.
22679
22680 * sysdeps/x86_64/strnlen.S: New file.
22681
22682 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22683
22684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22685 lower-latency instructions.
22686
22687 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22688
22689 * string/test-strcasestr.c: New file.
22690 * string/test-strstr.c: New file.
22691 * string/Makefile (strop-tests): Add strstr and strcasestr.
22692 * string/str-two-way.h: Don't undefine MAX.
22693 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22694
22695 2010-07-21 Andreas Schwab <schwab@redhat.com>
22696
22697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22698 strcasestr-nonascii.
22699 (CFLAGS-strcasestr-nonascii.c): Define.
22700 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22701 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22702 Remove unused attribute.
22703
22704 2010-07-20 Roland McGrath <roland@redhat.com>
22705
22706 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22707 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22708 ld.so.cache was broken. With it, there is no way to disable dsocaps
22709 like LD_HWCAP_MASK can disable hwcaps.
22710
22711 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22712
22713 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22714
22715 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22716
22717 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22718 call in strcasestr.
22719 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22720 __strcasestr_sse42_nonascii.
22721 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22722 strcasestr-nonascii.c.
22723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22724
22725 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22726
22727 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22728 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22729 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22731
22732 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22733
22734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22735 fcntl.
22736
22737 2010-07-06 Andreas Schwab <schwab@redhat.com>
22738
22739 [BZ #11577]
22740 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22741 dl_signal_cerror.
22742
22743 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22744
22745 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22746 _PC_PIPE_BUF using F_GETPIPE_SZ.
22747
22748 2010-07-05 Roland McGrath <roland@redhat.com>
22749
22750 * manual/arith.texi (Rounding Functions): Fix rint description
22751 implicit in round description.
22752
22753 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22754
22755 * elf/Makefile: Fix linking for a few tests to make recent linker
22756 happy.
22757
22758 2010-06-30 Andreas Schwab <schwab@redhat.com>
22759
22760 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22761 $(common-objpfx)libc_nonshared.a.
22762
22763 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22764
22765 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22766 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22767 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22768 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22769 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22770 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22771 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22772 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22787 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22788 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22789 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22790 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22791 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22792 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22793 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22794 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22795 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22796 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22797 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22798 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22813
22814 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22815
22816 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22817 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22818 * string/memmove.c (memmove): Renamed to ...
22819 (MEMMOVE): ...this. Default to memmove.
22820 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22821 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22822 (END_CHK): Define.
22823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22824 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22825 mempcpy-ssse3-back memmove-ssse3-back.
22826 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22828 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22829 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22830 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22831 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22832 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22833 * sysdeps/x86_64/multiarch/memmove.c: New file.
22834 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22835 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22836 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22837 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22838 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22840 Define.
22841 (index_Fast_Copy_Backward): Define.
22842 (HAS_ARCH_FEATURE): Define.
22843 (HAS_FAST_REP_STRING): Define.
22844 (HAS_FAST_COPY_BACKWARD): Define.
22845
22846 2010-06-21 Andreas Schwab <schwab@redhat.com>
22847
22848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22849 Restore proper fallback handling.
22850
22851 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22852
22853 [BZ #11701]
22854 * posix/group_member.c (__group_member): Correct checking loop.
22855
22856 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22857 OOM in getpwuid_r correctly. Return error number when the caller
22858 should return, otherwise -1.
22859 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22860 call returning > 0 value.
22861 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22862
22863 2010-06-07 Andreas Schwab <schwab@redhat.com>
22864
22865 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22866 libc_nonshared.a from targets in modules-names.
22867
22868 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22869
22870 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22871 requires it.
22872
22873 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22874
22875 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22876 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22879
22880 2010-06-02 Andreas Schwab <schwab@redhat.com>
22881
22882 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22883
22884 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22885
22886 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22887 and F_GETPIPE_SZ.
22888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22893 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22894
22895 2010-06-14 Roland McGrath <roland@redhat.com>
22896
22897 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22898
22899 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22900
22901 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22902 __REDIRECT followed by __THROW.
22903 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22904 * posix/getopt.h (getopt): Likewise.
22905
22906 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22907
22908 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22909 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22910 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22911 in AT_FLAGS.
22912 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22913 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22914
22915 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22916
22917 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22918
22919 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 [BZ #11640]
22922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22923 Properly check family and model.
22924
22925 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22926
22927 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22928
22929 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22930
22931 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22932
22933 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22934
22935 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22936 symbol reference.
22937
22938 2010-05-19 Andreas Schwab <schwab@redhat.com>
22939
22940 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22941 symbol reference.
22942
22943 2010-05-21 Andreas Schwab <schwab@redhat.com>
22944
22945 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22946 and internal_recvmmsg.
22947 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22948 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22949 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22950 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22951
22952 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22953 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22954 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22955
22956 2010-05-20 Andreas Schwab <schwab@redhat.com>
22957
22958 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22959
22960 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22961
22962 POWER7 optimizations.
22963 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22964 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22965
22966 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22967
22968 * version.h: Update for 2.13 development version.
22969
22970 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22971
22972 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22973 exceptions. Return 0.
22974
22975 2010-05-07 Roland McGrath <roland@redhat.com>
22976
22977 * elf/ldconfig.c (main): Add a const.
22978
22979 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22980
22981 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22982 (args_options): Add no-idn option.
22983 (ahosts_keys_int): Add idn_flags to ai_flags.
22984 (parse_option): Handle 'i' option to clear idn_flags.
22985
22986 * malloc/malloc.c (_int_free): Possible race in the most recently
22987 added check. Only act on the data if no current modification
22988 happened.
22989
22990 See ChangeLog.17 for earlier changes.
This page took 1.047418 seconds and 6 git commands to generate.